$ 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 mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to