Comment 2 for bug 862855

Revision history for this message
Krzysztof Sikorski (krzysztof-sikorski) wrote :

On my machine the change from r354 method introduces an import bug:

rad@reyka:~/vineyard$ ./vineyard-preferences
Error occured
There was an error running the threaded function: global name 'wine' is not defined
/home/rad/vineyard/vineyard/async.py:64
./vineyard-preferences:177
<type 'exceptions.NameError'>: global name 'wine' is not defined
None

It seems like the import from __init_modules method is not seen in async class.
I pulled the source to confirm - and yes, the error doesn't appear in r353.

It might matter that I just upgraded to Oneiric (which might bumped up libs' versions etc) - but I haven't used the prefs program for a while so I'm not sure if that's the cause.