Zeitgeist is not compatible with Python 2.5

Bug #401198 reported by Thomas Klausner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Wishlist
Siegfried Gevatter

Bug Description

When starting up zeitgeist-daemon for the first time, I got:
INFO:zeitgeist.engine.base:Creating database: sqlite:/home/wiz/.local/share/zeitgeist/database.sqlite
DEBUG:root:Checking for another running instance...
DEBUG:root:No other instances found.
INFO:root:Starting Zeitgeist service...
/usr/pkg/share/zeitgeist/_zeitgeist/loggers/zeitgeist_setup_service.py:223: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
  File "/usr/pkg/bin/zeitgeist-datahub", line 33, in <module>
    from _zeitgeist.loggers.zeitgeist_setup_service import DataProviderService
  File "/usr/pkg/share/zeitgeist/_zeitgeist/loggers/zeitgeist_setup_service.py", line 223
    with open(self.CONFIGFILE, "w") as configfile:
            ^
SyntaxError: invalid syntax

That is with Python-2.5.4.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Right, Zeitgeist requires Python 2.6 or later.

summary: - zeitgeist-0.2.0: Error during startup
+ Zeitgeist is not compatible with Python 2.5
Changed in zeitgeist:
milestone: none → 0.3
Changed in zeitgeist:
milestone: 0.3 → 0.2.1
Revision history for this message
Siegfried Gevatter (rainct) wrote :

------------------------------------------------------------
revno: 1055
committer: Siegfried-Angel Gevatter Pujals <email address hidden>
branch nick: zeitgeist
timestamp: Sat 2009-08-08 15:52:31 +0200
message:
  Remove a 'with'-statement to get compatibility with Python 2.5 (LP: #401198).
------------------------------------------------------------

Changed in zeitgeist:
assignee: nobody → Siegfried Gevatter (rainct)
importance: Undecided → Wishlist
status: New → 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.