There are also other problems. Once the build is fixed (by changing the
"XS-Python-Version: >= 2.4, << 2.7 " line, the package reporter doesn't
seem to work well:

r...@ip-10-242-206-223:/var/log/landscape# sudo -u landscape 
landscape-package-reporter
2011-01-07 12:43:31,489 WARNING  [MainThread] Couldn't download hash=>id 
database: Server returned HTTP code 404
2011-01-07 12:43:31,495 ERROR    [MainThread] None
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 441, 
in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/landscape/package/reporter.py", line 
72, in <lambda>
    result.addCallback(lambda x: self.remove_expired_hash_id_requests())
  File "/usr/lib/python2.7/dist-packages/landscape/package/reporter.py", line 
319, in remove_expired_hash_id_requests
    for request in self._store.iter_hash_id_requests():
  File "/usr/lib/python2.7/dist-packages/landscape/package/store.py", line 305, 
in iter_hash_id_requests
    cursor.execute("SELECT id FROM hash_id_request")
ProgrammingError: Cannot operate on a closed cursor.
r...@ip-10-242-206-223:/var/log/landscape# 

** Also affects: landscape-client
   Importance: Undecided
       Status: New

** Changed in: landscape-client
   Importance: Undecided => High

** Changed in: landscape-client
    Milestone: None => 11.01

** Changed in: landscape-client
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/697123

Title:
  landscape-sysinfo doesn't run with Python 2.7

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to