gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] permission problem for .gnumed directory


From: Sebastian Hilbert
Subject: [Gnumed-devel] permission problem for .gnumed directory
Date: Sat, 20 Sep 2008 01:37:58 +0200
User-agent: KMail/1.9.9

Hi all,

Today we encountered a strange problem. When the directory /home/user/.gnumed 
belongs to root GNUmed will not start and complain about missing modules for 
version 0.2.8.10

Cannot open any log file.

Critical ERROR: Cannot load GNUmed Python modules ! - Program halted

.....

For version 0.3.2 it complains like this and will not start:

gnumed
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Gnumed/wxpython/gnumed.py", line 378, 
in <module>
    setup_logging()
  File "/usr/lib/python2.5/site-packages/Gnumed/wxpython/gnumed.py", line 156, 
in setup_logging
    from Gnumed.pycommon import gmLog2 as _gmLog2
  File "/usr/lib/python2.5/site-packages/Gnumed/pycommon/gmLog2.py", line 265, 
in <module>
    __setup_logging()
  File "/usr/lib/python2.5/site-packages/Gnumed/pycommon/gmLog2.py", line 214, 
in __setup_logging
    _logfile = codecs.open(filename = _logfile_name, mode = 'wb', encoding 
= 'utf8', errors = 'replace')
  File "/usr/lib/python2.5/codecs.py", line 817, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 13] Permission denied: '/home/basti/.gnumed/gnumed-6638.log'


We should try to write to temp then instead or run without a log file.



-- 
Sebastian Hilbert 
Leipzig / Germany
[www.gnumed.de]  -> PGP welcome, HTML ->/dev/null




reply via email to

[Prev in Thread] Current Thread [Next in Thread]