Python 2.4 support

Bug #397175 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Unassigned

Bug Description

We aim to support python 2.4, however it doesn't really work:

python2.4 scripts/ibid-setup
Couldn't load apt plugin: No module named etree
Couldn't load bzr plugin: No module named etree
Couldn't load core plugin: 'botname'
Couldn't load crypto plugin: No module named hashlib
Couldn't load feeds plugin: No module named etree
Couldn't load games plugin: No module named etree
Couldn't load google plugin: No module named etree
Couldn't load imdb plugin: invalid syntax (imdb.py, line 6)
Couldn't load info plugin: No module named etree
Couldn't load knab plugin: No module named perl
Couldn't load lookup plugin: invalid syntax (lookup.py, line 9)
Couldn't load math plugin: invalid syntax (math.py, line 95)
Couldn't load memo plugin: No module named etree
Couldn't load misc plugin: No module named etree
Couldn't load network plugin: No module named etree
Couldn't load rfc plugin: No module named etree
Couldn't load seen plugin: No module named etree
Couldn't load tools plugin: No module named etree
Couldn't load trac plugin: No module named etree
Couldn't load url plugin: invalid syntax (url.py, line 36)
Database tables created

Related branches

Revision history for this message
Michael Gorven (mgorven) wrote : Re: [Bug 397175] Re: Python 2.4 support

 status inprogress
 assignee stefanor

Changed in ibid:
assignee: nobody → Stefano Rivera (stefanor)
status: Confirmed → In Progress
Revision history for this message
Stefano Rivera (stefanor) wrote :

Bug partly solved, however the absolute imports are still problematic

Changed in ibid:
assignee: Stefano Rivera (stefanor) → nobody
Changed in ibid:
status: In Progress → Fix Released
assignee: nobody → Stefano Rivera (stefanor)
assignee: Stefano Rivera (stefanor) → nobody
status: Fix Released → Confirmed
Revision history for this message
Stefano Rivera (stefanor) wrote :

Current state of 2.4: wokkel doesn't seem to work (looks like a hardy issue, not Python2.4 specific):
2009-10-26 11:09:44,636 ERROR core.reloader: Couldn't import ibid.source.jabber and instantiate ibid.source.jabber.SourceFactory
Traceback (most recent call last):
  File "/home/stefanor/projects/ibid/tibid/ibid/core.py", line 151, in load_source
    __import__(module)
  File "/home/stefanor/projects/ibid/tibid/ibid/source/jabber.py", line 3, in <module>
    from wokkel import client, xmppim, subprotocols
  File "/var/lib/python-support/python2.5/wokkel/client.py", line 18, in <module>
    from wokkel import generic
  File "/var/lib/python-support/python2.5/wokkel/generic.py", line 14, in <module>
    from twisted.words.protocols.jabber.xmlstream import toResponse
ImportError: cannot import name toResponse

and imdb + silc can't be loaded becasue we don't have absolute imports

Revision history for this message
Stefano Rivera (stefanor) wrote :

That solved the immediate problems. The wokkel + silc issues can be opened as new bugs if necessary.

Changed in ibid:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.