Comment 9 for bug 448665

Revision history for this message
COLIN Stéphane (bigbob-fun) wrote :

Ok, since lucid, ensymble can't run properly anymore :

bigbob@bigbob-laptop:~$ ensymble
Traceback (most recent call last):
  File "/usr/bin/ensymble", line 1059, in <module>
    import cmdmain
  File "/usr/lib/python2.6/ihooks.py", line 406, in import_module
    q, tail = self.find_head_package(parent, str(name))
  File "/usr/lib/python2.6/ihooks.py", line 442, in find_head_package
    q = self.import_it(head, qname, parent)
  File "/usr/lib/python2.6/ihooks.py", line 497, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "<package>", line 28, in load_module
  File "cmdmain.py", line 34, in <module>
  File "/usr/lib/python2.6/ihooks.py", line 406, in import_module
    q, tail = self.find_head_package(parent, str(name))
  File "/usr/lib/python2.6/ihooks.py", line 442, in find_head_package
    q = self.import_it(head, qname, parent)
  File "/usr/lib/python2.6/ihooks.py", line 497, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "<package>", line 28, in load_module
  File "cmd_py2sis.py", line 33, in <module>
  File "/usr/lib/python2.6/ihooks.py", line 406, in import_module
    q, tail = self.find_head_package(parent, str(name))
  File "/usr/lib/python2.6/ihooks.py", line 442, in find_head_package
    q = self.import_it(head, qname, parent)
  File "/usr/lib/python2.6/ihooks.py", line 497, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "<package>", line 28, in load_module
  File "sisfile.py", line 28, in <module>
  File "/usr/lib/python2.6/ihooks.py", line 406, in import_module
    q, tail = self.find_head_package(parent, str(name))
  File "/usr/lib/python2.6/ihooks.py", line 442, in find_head_package
    q = self.import_it(head, qname, parent)
  File "/usr/lib/python2.6/ihooks.py", line 497, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "<package>", line 22, in load_module
  File "/usr/lib/python2.6/ihooks.py", line 272, in load_module
    m = self.hooks.load_source(name, filename, file)
  File "/usr/lib/python2.6/ihooks.py", line 170, in load_source
    return imp.load_source(name, filename, file)
  File "/usr/lib/python2.6/sha.py", line 8, in <module>
    DeprecationWarning, 2)
TypeError: import_module() takes at most 5 arguments (6 given)

It look like I have find someone talking about a possible fix, permitting to use ensymble with python 2.6 without revert back to python 2.5.

BTW, I'm not sure to understand corectly the informations the guy explain :

http://www.forum.nokia.com/forum/showthread.php?t=191010

Can someone have a look and fix in a new release ???

Hope it help ...

A++