[Bug 335799] Re: landscape-sysinfo crashed with ValueError in module()
It's run via cron every 10min by default. Hmm, ok, I'm out of ideas, I'm going to blame this on the python 2.6.x upgrade that messed up with a lot of packages and was bound to introduce spurious errors while the upgrade was going on and packages were being rebuilt. ** Changed in: landscape-client (Ubuntu) Status: Confirmed = Invalid -- landscape-sysinfo crashed with ValueError in module() https://bugs.launchpad.net/bugs/335799 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335799] Re: landscape-sysinfo crashed with ValueError in module()
Can you please run landscape-sysinfo in the command line, as yourself? I believe this issue was caused by the recent upgrade to python-2.6.1, which temporarily broke a number of packages. ** Changed in: landscape-client (Ubuntu) Status: New = Incomplete -- landscape-sysinfo crashed with ValueError in module() https://bugs.launchpad.net/bugs/335799 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335799] Re: landscape-sysinfo crashed with ValueError in module()
$ landscape-sysinfo /usr/lib/python2.6/dist-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead import itertools, md5 /usr/lib/python2.6/dist-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Traceback (most recent call last): File /usr/bin/landscape-sysinfo, line 12, in module run(sys.argv[1:], reactor) File /usr/lib/python2.6/dist-packages/landscape/sysinfo/deployment.py, line 86, in run setup_logging() File /usr/lib/python2.6/dist-packages/landscape/sysinfo/deployment.py, line 77, in setup_logging maxBytes=500 * 1024, backupCount=1) File /usr/lib/python2.6/logging/handlers.py, line 107, in __init__ BaseRotatingHandler.__init__(self, filename, mode, encoding, delay) File /usr/lib/python2.6/logging/handlers.py, line 59, in __init__ logging.FileHandler.__init__(self, filename, mode, encoding, delay) File /usr/lib/python2.6/logging/__init__.py, line 791, in __init__ StreamHandler.__init__(self, self._open()) File /usr/lib/python2.6/logging/__init__.py, line 810, in _open stream = open(self.baseFilename, self.mode) IOError: [Errno 13] Permission denied: '/home/dominic/.landscape/sysinfo.log' $ sudo chown dominic:dominic /home/dominic/.landscape/sysinfo.log [sudo] password for dominic: $ landscape-sysinfo /usr/lib/python2.6/dist-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead import itertools, md5 /usr/lib/python2.6/dist-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha System load: 0.12 Swap usage: 0% Users logged in: 1 Usage of /: 73.9% of 16.75GB Temperature: 49 C Memory usage: 42%Processes: 158 = /media/windows is using 93.1% of 19.56GB = There is 1 zombie process. Graph this data and manage this system at https://landscape.canonical.com/ So it seems to work again after setting permission again. Don't know, why they have changed ... ** Changed in: landscape-client (Ubuntu) Status: Incomplete = Confirmed -- landscape-sysinfo crashed with ValueError in module() https://bugs.launchpad.net/bugs/335799 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs
[Bug 335799] Re: landscape-sysinfo crashed with ValueError in module()
Interesting. Do you have any idea what the ownership was before you fixed it? I'm curious if it would be root or something like uid 1000 or thereabouts. -- landscape-sysinfo crashed with ValueError in module() https://bugs.launchpad.net/bugs/335799 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335799] Re: landscape-sysinfo crashed with ValueError in module()
No, sorry. I didn't look after this before changing the ownership. I thought it would be root... I don't even know which program started landscape-sysinfo when it crashed the first time. -- landscape-sysinfo crashed with ValueError in module() https://bugs.launchpad.net/bugs/335799 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335799] Re: landscape-sysinfo crashed with ValueError in module()
** Tags removed: need-duplicate-check -- landscape-sysinfo crashed with ValueError in module() https://bugs.launchpad.net/bugs/335799 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335799] Re: landscape-sysinfo crashed with ValueError in module()
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/23218981/Dependencies.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/23218982/ProcMaps.txt ** Attachment added: ProcStatus.txt http://launchpadlibrarian.net/23218983/ProcStatus.txt ** Attachment added: Traceback.txt http://launchpadlibrarian.net/23218984/Traceback.txt -- landscape-sysinfo crashed with ValueError in module() https://bugs.launchpad.net/bugs/335799 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs