Falls over with "NameError: global name 'file' is not defined" in "modutils.py" because variable name is wrong. Apply the following patch:
--- C:/Python33/Lib/site-packages/logilab/common/modutils.py Sat Mar 23 15:28:37 2013
+++ C:/Python33/Lib/site-packages/logilab/common/modutils.py Sat Mar 23 15:24:49 2013
@@ -570,7 +570,7 @@
if importer.find_module(modpath[0]):
if not importer.find_module('/'.join(modpath)):
raise ImportError('No module named %s in %s/%s' % (
- '.'.join(modpath[1:]), file, modpath))
+ '.'.join(modpath[1:]), filepath, modpath))
return ZIPFILE, abspath(filepath) + '/' + '/'.join(modpath), filepath
raise ImportError('No module named %s' % '.'.join(modpath))
|