windows-only problem with launchpad plugin
Lukáš Lalinský
lalinsky at gmail.com
Tue Jul 10 14:25:59 BST 2007
On Ut, 2007-07-10 at 20:39 +1000, Martin Pool wrote:
> https://bugs.launchpad.net/bugs/124899
>
> There seems to be something strange happening with the registration of
> the lp: plugin on Windows. I can't reproduce it in 0.19dev on Ubuntu.
> Could anyone investigate this and see if they can reproduce it or
> diagnose it? I wonder if the plugin code is interacting badly with
> the way things are packaged into a zip on windows.
The problem is that load_from_zip creates a new zipimporter object for
the main zip file, which already has one. This somehow confuses Python
and later on lazy_importing the lp transport it imports
bzrlib.plugins.launchpad again. Letting Python to import from zip files
automatically (thanks to bzrlib.plugins.__path__) seems to fix the
problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-zipimport.diff
Type: text/x-patch
Size: 3114 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070710/11c37052/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?ISO-8859-1?Q?digit=E1lne?=
=?ISO-8859-1?Q?_podp=EDsan=E1?= =?UTF-8?Q?_=C4=8Das=C5=A5?=
=?ISO-8859-1?Q?_spr=E1vy?=
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070710/11c37052/attachment.pgp
More information about the bazaar
mailing list