SourceForge has been redesigned. Learn more.
Close

#63 Reduce error

v1.0 (example)
closed-rejected
nobody
5
2014-04-25
2013-05-08
Andrea Wong
No

Running python reduce.py produces the following error:

test_reduce (__main__.Test)
Reduce test ... Loading PDB...

Warning (ignored): Could not find file with user-defined settings in /home/andrea/.biskit/settings_Dock.cfg

Warning (ignored): Creating new user configuration file /home/andrea/.biskit/settings_Dock.cfg.

Fatal Error: Error importing Biskit.Dock settings
<type 'exceptions.IOError'> in /home/andrea/py/Biskit/Dock/settings.py line 75:
(13, 'Permission denied').
TraceBack:
settings: 75 (<module>) m.updateNamespace( locals() )
SettingsManager: 244 (updateNamespace) self.writeUserSettings( errorsonly=True )
SettingsManager: 196 (writeUserSettings) f = open( self.fuser, 'w' )

ERROR

======================================================================
ERROR: test_reduce (__main__.Test)
Reduce test
----------------------------------------------------------------------
Traceback (most recent call last):
File "reduce.py", line 225, in test_reduce
self.m2 = T.load( T.testRoot( 'com/ref.complex' ) )
File "/home/andrea/py/Biskit/tools.py", line 550, in load
this = cPickle.load(f)
File "/home/andrea/py/Biskit/Dock/__init__.py", line 31, in <module>
from Docker import Docker
File "/home/andrea/py/Biskit/Dock/Docker.py", line 37, in <module>
import settings
File "/home/andrea/py/Biskit/Dock/settings.py", line 78, in <module>
B.EHandler.fatal( 'Error importing Biskit.Dock settings')
File "/home/andrea/py/Biskit/ErrorHandler.py", line 59, in fatal
raise FatalError
FatalError

----------------------------------------------------------------------
Ran 1 test in 0.050s

FAILED (errors=1)

Discussion

  • Raik Gruenberg

    Raik Gruenberg - 2014-04-25

    This seems to be an issue unrelated to reduce.py. Something is wrong with the user config files. The reduce.py test case still works with the latest version of the program.

     
  • Raik Gruenberg

    Raik Gruenberg - 2014-04-25
    • status: open --> closed-rejected
    • Group: --> v1.0 (example)
     

Log in to post a comment.