W. Trevor King | 3 Mar 2011 20:41
Picon
Favicon

Re: BE on Windows

On Thu, Mar 03, 2011 at 02:05:32PM +0100, Anders Sneckenborg wrote:
> I am trying to use BE on Windows but I can't figure out how to install it.
> Anyone know how to do it?

Download the latest stable release [1].  Then unpack the tarball with
something like 7-zip [2].  After installing the runtime dependencies
(Python [2] and PyYAML [3]), you can install BE from its unpacked
directory with:
  python setup.py install

[1] http://download.bugseverywhere.org/releases/be-1.0.0.tar.gz
[1] http://www.7-zip.org/
[2] http://www.python.org/
  The Windows installer for the current 2.x series is
    http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi
[3] http://pyyaml.org/
  The Windows installer for Python 2.7 is
    http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py2.7.exe

--

-- 
This email may be signed or encrypted with GPG (http://www.gnupg.org).
The GPG signature (if present) will be attached as 'signature.asc'.
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
(Continue reading)

Anders Sneckenborg | 3 Mar 2011 21:22
Picon

Re: BE on Windows



2011/3/3 W. Trevor King <wking <at> drexel.edu>
On Thu, Mar 03, 2011 at 02:05:32PM +0100, Anders Sneckenborg wrote:
> I am trying to use BE on Windows but I can't figure out how to install it.
> Anyone know how to do it?

Download the latest stable release [1].  Then unpack the tarball with
something like 7-zip [2].  After installing the runtime dependencies
(Python [2] and PyYAML [3]), you can install BE from its unpacked
directory with:
 python setup.py install

[1] http://download.bugseverywhere.org/releases/be-1.0.0.tar.gz
[1] http://www.7-zip.org/
[2] http://www.python.org/
 The Windows installer for the current 2.x series is
   http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi
[3] http://pyyaml.org/
 The Windows installer for Python 2.7 is
   http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py2.7.exe


Hi and thanks

I managed to install the software but when I try to use it I get error messages. Maybe I still need to install something? 


C:\temp\testbzrbe>be init
Traceback (most recent call last):
  File "c:\be-1.0.0\be", line 26, in <module>
    sys.exit(libbe.ui.command_line.main())
  File "c:\be-1.0.0\libbe\ui\command_line.py", line 332, in main
    ret = dispatch(ui, command, args)
  File "c:\be-1.0.0\libbe\ui\command_line.py", line 264, in dispatch
    ret = ui.run(command, options, args)
  File "c:\be-1.0.0\libbe\command\base.py", line 534, in run
    return command.run(options, args)
  File "c:\be-1.0.0\libbe\command\base.py", line 262, in run
    self.status = self._run(**params)
  File "c:\be-1.0.0\libbe\command\init.py", line 90, in _run
    storage.connect()
  File "c:\be-1.0.0\libbe\storage\base.py", line 216, in connect
    self._connect()
  File "c:\be-1.0.0\libbe\storage\vcs\base.py", line 614, in _connect
    self.root()
  File "c:\be-1.0.0\libbe\storage\vcs\base.py", line 577, in root
    root = self._vcs_root(self.repo)
  File "c:\be-1.0.0\libbe\storage\vcs\bzr.py", line 136, in _vcs_root
    cmd = bzrlib.builtins.cmd_root()
AttributeError: 'NoneType' object has no attribute 'builtins'
  

/Anders

_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
W. Trevor King | 4 Mar 2011 01:31
Picon
Favicon

Re: BE on Windows

On Thu, Mar 03, 2011 at 09:22:09PM +0100, Anders Sneckenborg wrote:
> I managed to install the software but when I try to use it I get error
> messages. Maybe I still need to install something?
> 
> 
> C:\temp\testbzrbe>be init
> Traceback (most recent call last):
>   ...
>   File "c:\be-1.0.0\libbe\storage\vcs\bzr.py", line 136, in _vcs_root
>     cmd = bzrlib.builtins.cmd_root()
> AttributeError: 'NoneType' object has no attribute 'builtins'

Hmm, looks like you've managed to install Bazaar but leave bzrlib out
of your Python path ;).  What version of Bazaar are you using and how
did you install it?

The error comes from the way BE tries to import bzrlib in
libbe.storage.vcs.bzr:

  try:
      import bzrlib
      ...
  except ImportError:
      bzrlib = None

This allows us to detect if Bazaar is installed (bzrlib references a
module) or not (bzrlib is None).  The other Python-based backends
(Mercurial) is similar.  Perhaps we should be raising a more
descriptive error message in these cases?  I hadn't expected users to
be using the Bazaar or Mercurial plugins without installing the
respective Python libraries when I wrote the backends.  I'm surprised
it is even possible.

--

-- 
This email may be signed or encrypted with GPG (http://www.gnupg.org).
The GPG signature (if present) will be attached as 'signature.asc'.
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
Anders Sneckenborg | 4 Mar 2011 08:11
Picon

Re: BE on Windows



2011/3/4 W. Trevor King <wking <at> drexel.edu>
On Thu, Mar 03, 2011 at 09:22:09PM +0100, Anders Sneckenborg wrote:
> I managed to install the software but when I try to use it I get error
> messages. Maybe I still need to install something?
>
>
> C:\temp\testbzrbe>be init
> Traceback (most recent call last):
>   ...
>   File "c:\be-1.0.0\libbe\storage\vcs\bzr.py", line 136, in _vcs_root
>     cmd = bzrlib.builtins.cmd_root()
> AttributeError: 'NoneType' object has no attribute 'builtins'

Hmm, looks like you've managed to install Bazaar but leave bzrlib out
of your Python path ;).  What version of Bazaar are you using and how
did you install it?

The error comes from the way BE tries to import bzrlib in
libbe.storage.vcs.bzr:

 try:
     import bzrlib
     ...
 except ImportError:
     bzrlib = None

This allows us to detect if Bazaar is installed (bzrlib references a
module) or not (bzrlib is None).  The other Python-based backends
(Mercurial) is similar.  Perhaps we should be raising a more
descriptive error message in these cases?  I hadn't expected users to
be using the Bazaar or Mercurial plugins without installing the
respective Python libraries when I wrote the backends.  I'm surprised
it is even possible.


Hi

I am using Bazaar version 2.3.0 and I installed the "standalone" version at http://wiki.bazaar.canonical.com/WindowsDownloads 

Best regards
Anders

  
 

_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
W. Trevor King | 4 Mar 2011 12:43
Picon
Favicon

Re: BE on Windows

On Fri, Mar 04, 2011 at 08:11:30AM +0100, Anders Sneckenborg wrote:
> 2011/3/4 W. Trevor King <wking <at> drexel.edu>
> 
> > On Thu, Mar 03, 2011 at 09:22:09PM +0100, Anders Sneckenborg wrote:
> > > I managed to install the software but when I try to use it I get error
> > > messages. Maybe I still need to install something?
> > >
> > >
> > > C:\temp\testbzrbe>be init
> > > Traceback (most recent call last):
> > >   ...
> > >   File "c:\be-1.0.0\libbe\storage\vcs\bzr.py", line 136, in _vcs_root
> > >     cmd = bzrlib.builtins.cmd_root()
> > > AttributeError: 'NoneType' object has no attribute 'builtins'
> >
> > Hmm, looks like you've managed to install Bazaar but leave bzrlib out
> > of your Python path ;).  What version of Bazaar are you using and how
> > did you install it?
> 
> I am using Bazaar version 2.3.0 and I installed the "standalone" version at
> http://wiki.bazaar.canonical.com/WindowsDownloads

As the notes say, the Standalone installer bundles Python.  You're
probably using a different Python installation to run BE.  The problem
is that the Python installation running BE can't find the bzrlib
package installed with the Python installation that's running bzr.
You should keep the Python you use for BE and install Bazaar for that
Python following
  http://wiki.bazaar.canonical.com/WindowsInstall

Alternatively, we could provide fallback command-line storage backends
for Bazaar and Mercurial for split-installation cases like this...

--

-- 
This email may be signed or encrypted with GPG (http://www.gnupg.org).
The GPG signature (if present) will be attached as 'signature.asc'.
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
Anders Sneckenborg | 5 Mar 2011 11:51
Picon

Re: BE on Windows



2011/3/4 W. Trevor King <wking <at> drexel.edu>
On Fri, Mar 04, 2011 at 08:11:30AM +0100, Anders Sneckenborg wrote:
> 2011/3/4 W. Trevor King <wking <at> drexel.edu>
>
> > On Thu, Mar 03, 2011 at 09:22:09PM +0100, Anders Sneckenborg wrote:
> > > I managed to install the software but when I try to use it I get error
> > > messages. Maybe I still need to install something?
> > >
> > >
> > > C:\temp\testbzrbe>be init
> > > Traceback (most recent call last):
> > >   ...
> > >   File "c:\be-1.0.0\libbe\storage\vcs\bzr.py", line 136, in _vcs_root
> > >     cmd = bzrlib.builtins.cmd_root()
> > > AttributeError: 'NoneType' object has no attribute 'builtins'
> >
> > Hmm, looks like you've managed to install Bazaar but leave bzrlib out
> > of your Python path ;).  What version of Bazaar are you using and how
> > did you install it?
>
> I am using Bazaar version 2.3.0 and I installed the "standalone" version at
> http://wiki.bazaar.canonical.com/WindowsDownloads

As the notes say, the Standalone installer bundles Python.  You're
probably using a different Python installation to run BE.  The problem
is that the Python installation running BE can't find the bzrlib
package installed with the Python installation that's running bzr.
You should keep the Python you use for BE and install Bazaar for that
Python following
 http://wiki.bazaar.canonical.com/WindowsInstall

Alternatively, we could provide fallback command-line storage backends
for Bazaar and Mercurial for split-installation cases like this...

--


Hi

I reinstalled bzr and now it looks like BE finds bzrlib but another error message. Any ideas?


Best regards
Anders



C:\temp2>be list
Traceback (most recent call last):
  File "c:\be-1.0.0\be", line 26, in <module>
    sys.exit(libbe.ui.command_line.main())
  File "c:\be-1.0.0\libbe\ui\command_line.py", line 332, in main
    ret = dispatch(ui, command, args)
  File "c:\be-1.0.0\libbe\ui\command_line.py", line 264, in dispatch
    ret = ui.run(command, options, args)
  File "c:\be-1.0.0\libbe\command\base.py", line 534, in run
    return command.run(options, args)
  File "c:\be-1.0.0\libbe\command\base.py", line 262, in run
    self.status = self._run(**params)
  File "c:\be-1.0.0\libbe\command\list.py", line 126, in _run
    bugdir = self._get_bugdir()
  File "c:\be-1.0.0\libbe\command\base.py", line 510, in get_bugdir
    self._bugdir = libbe.bugdir.BugDir(self.get_storage(),
  File "c:\be-1.0.0\libbe\command\base.py", line 498, in get_storage
    self._storage.connect()
  File "c:\be-1.0.0\libbe\storage\base.py", line 216, in connect
    self._connect()
  File "c:\be-1.0.0\libbe\storage\vcs\base.py", line 614, in _connect
    self.root()
  File "c:\be-1.0.0\libbe\storage\vcs\base.py", line 577, in root
    root = self._vcs_root(self.repo)
  File "c:\be-1.0.0\libbe\storage\vcs\bzr.py", line 139, in _vcs_root
    cmd.cleanup_now()
  File "c:\Python27\lib\site-packages\bzrlib\commands.py", line 441, in cleanup_now
    self._operation.cleanup_now()
AttributeError: 'cmd_root' object has no attribute '_operation'

_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
W. Trevor King | 5 Mar 2011 15:10
Picon
Favicon

Re: BE on Windows

On Sat, Mar 05, 2011 at 11:51:01AM +0100, Anders Sneckenborg wrote:
> I reinstalled bzr and now it looks like BE finds bzrlib but another error
> message. Any ideas?
> 
> C:\temp2>be list
> Traceback (most recent call last):
>   ...
>   File "c:\Python27\lib\site-packages\bzrlib\commands.py", line 441, in
> cleanup_now
>     self._operation.cleanup_now()
> AttributeError: 'cmd_root' object has no attribute '_operation'

We sorted this out recently and there is a fix in the development
repositories [1].  You should try installing BE from a Git snapshot
that includes the bug fix [2].

Chris, perhaps you should put out a 1.0.1 release that includes the
fix, since Windows+Bazaar+BE seems to be picking up ;).

[1]: http://gitorious.org/be/be/commits/v1.0.x
[2]: http://gitorious.org/be/be/archive-tarball/v1.0.x

--

-- 
This email may be signed or encrypted with GPG (http://www.gnupg.org).
The GPG signature (if present) will be attached as 'signature.asc'.
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
Chris Ball | 5 Mar 2011 18:37
Favicon
Gravatar

Re: BE on Windows

Hi,

On Sat, Mar 05 2011, W. Trevor King wrote:
> We sorted this out recently and there is a fix in the development
> repositories [1].  You should try installing BE from a Git snapshot
> that includes the bug fix [2].
>
> Chris, perhaps you should put out a 1.0.1 release that includes the
> fix, since Windows+Bazaar+BE seems to be picking up ;).
>
> [1]: http://gitorious.org/be/be/commits/v1.0.x
> [2]: http://gitorious.org/be/be/archive-tarball/v1.0.x

Makes sense.  Here it is:

http://download.bugseverywhere.org/releases/be-1.0.1.tar.gz
sha256: d9d364cf30945b51826e3ba792c9bf8240b2e5d1584a1c03b884c48a387a5d86

and it's tagged on the v1.0.x branch.

Thanks,

- Chris.
--

-- 
Chris Ball   <cjb <at> laptop.org>   <http://printf.net/>
One Laptop Per Child
Anders Sneckenborg | 5 Mar 2011 21:41
Picon

Re: BE on Windows



2011/3/5 Chris Ball <cjb <at> laptop.org>
Hi,

On Sat, Mar 05 2011, W. Trevor King wrote:
> We sorted this out recently and there is a fix in the development
> repositories [1].  You should try installing BE from a Git snapshot
> that includes the bug fix [2].
>
> Chris, perhaps you should put out a 1.0.1 release that includes the
> fix, since Windows+Bazaar+BE seems to be picking up ;).
>
> [1]: http://gitorious.org/be/be/commits/v1.0.x
> [2]: http://gitorious.org/be/be/archive-tarball/v1.0.x

Makes sense.  Here it is:

http://download.bugseverywhere.org/releases/be-1.0.1.tar.gz
sha256: d9d364cf30945b51826e3ba792c9bf8240b2e5d1584a1c03b884c48a387a5d86

and it's tagged on the v1.0.x branch.

Thanks,

- Chris.
--
Chris Ball   <cjb <at> laptop.org>   <http://printf.net/>
One Laptop Per Child


Thanks

Now it installed and it seems to be working. 

Best regards
Anders


_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel

Gmane