Any known problems for 0.5 on Windows?

Asked by Alex Bepple

Hey.

Are there any known problems with the 0.5 branch on Windows? I am using Bazaar 1.5.

I get the following error.

Unable to load plugin u'xmloutput' from u'C:/Documents and Settings/foo/Application Data/bazaar/2.0/plugins'

The 0.4.5 version works fine.

Question information

Language:
English Edit question
Status:
Solved
For:
bzr-xmloutput Edit question
Assignee:
No assignee Edit question
Solved by:
Guillermo Gonzalez
Solved:
Last query:
Last reply:
Revision history for this message
Guillermo Gonzalez (verterok) said :
#1

Hi Albe,
   I'm not aware of specific windows issues.
   Please, to get a more detailed error message, check your bzr.log file (in the user home folder) or run bzr with -Derror option.

Regards,

--
Guillermo

Revision history for this message
Alex Bepple (alex.bepple) said :
#2

This is the debug output from the .bzr.log file. I did not receive any verbose output with the -Derror option.

0.140 encoding stdout as sys.stdout encoding 'cp437'
0.140 bzr arguments: [u'plugins']
0.140 looking for plugins in C:/Documents and Settings/foo/Application Data/bazaar/2.0/plugins
[ 1000] 2008-08-10 11:14:47.921 WARNING: Unable to load plugin u'xmloutput' from u'C:/Documents and Settings/foo/Application Data/bazaar/2.0/plugins'
0.171 Traceback (most recent call last):
  File "bzrlib\plugin.pyc", line 208, in load_from_dir
  File "<string>", line 1, in <module>
  File "C:/Documents and Settings/foo/Application Data/bazaar/2.0/plugins\xmloutput\__init__.py", line 401, in <module>
  File "bzrlib\lazy_import.pyc", line 106, in __getattribute__
  File "bzrlib\lazy_import.pyc", line 89, in _replace
  File "bzrlib\lazy_import.pyc", line 195, in _import
  File "C:/Documents and Settings/foo/Application Data/bazaar/2.0/plugins\xmloutput\service.py", line 22, in <module>
ImportError: No module named SimpleXMLRPCServer

The SimpleXMLRPCServer is missing, right? Can I install the module separately?

Revision history for this message
Best Guillermo Gonzalez (verterok) said :
#3

I assume you are using the standalone bzr.exe, right?

The problem is that bzr.exe is builded using py2exe, which bundles all the required modules into the exe.

SimpleXMLRPCServer is not a bzr dependecy, so it's not included and I don't think it can be easily installed.
Using the bzr installer, that requires a Python installation, should solve this.

I'll ask the bzr developers if is possible to include this dependecies into the bzr.exe standalone executable.

Regards,

Revision history for this message
faenvie (fanny-aenvie) said :
#4

yes - please try to fix this because it makes
bazaar-eclipse-plugin unusable for most of us
windows-bound users.

Revision history for this message
Guillermo Gonzalez (verterok) said :
#5

faenvie,
   You could use the Python based installer (that needs a Python Installation), to workaround this bzr.exe limitation.

Cheers,

Revision history for this message
Alex Bepple (alex.bepple) said :
#6

Thanks Guillermo Gonzalez, that solved my question.

Revision history for this message
jkkn (2-launchpad-com-jkkn-dk) said :
#7

Hey,

If you want to keep the nice stand-alone bzr.exe installation just throw a copy of "SimpleXMLRPCServer.py" into your "xmloutput_0_5_0"-plugin directory.

After this it will work like a charm.

Regards
Kristian Kræmmer