[BUG] bzr.exe is unable to load built-in plugin 'launchpad'

John Arbash Meinel john at arbash-meinel.com
Tue Oct 24 23:11:47 BST 2006


Alexander Belchenko wrote:
> I just discover (when test bzr.exe on clean machine) that standalone
> bzr.exe unable to load and use built-in plugins 'launchpad'.
> 
> This is because bzrlib (and all subpackages) packed to one library.zip
> file, therefore plugin launchpad is also resides inside this zip file.
> And current implementation of plugin load mechanism is unable to look
> into zip and load module from zip.
> 
> This bug is here from 0.8 release (when launchpad and bzr.exe was
> introduced).
> 
> I think this need to be fixed, but it's not trivial right now (for me),
> so I think it should be fixed for 0.13.
> 
> -- 
> Alexander

I agree it is a bug. I'm not sure how to fix it at this point.

One possibility would be to check the path for bzrlib.plugins.__path__,
and if it is in a zip file, do the extra work to read the zip file, and
see what files are inside.

So you can certainly file it as a bug, though the resolution of it is a
little unclear to me.

John
=:->



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061024/be2cd18e/attachment.pgp 


More information about the bazaar mailing list