Project

General

Profile

Actions

Bug #1792

closed

methods.log permission error on leginon installed from autoinstaller

Added by Amber Herold over 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Amber Herold
Category:
Leginon subsystem
Start date:
05/10/2012
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.2.0
Show in known bugs:
No
Workaround:

Description

Happened when starting with start-leginon.py as a regular user. Maybe the file is being saved in site-package? This need to be fixed before release

Traceback (most recent call last):
File "/usr/bin/start-leginon.py", line 9, in ?
from leginon import start
File "/usr/lib/python2.4/site-packages/leginon/start.py", line 13, in ?
import leginon.gui.wx.Manager
File "/usr/lib/python2.4/site-packages/leginon/gui/wx/Manager.py", line 20, in ?
from leginon import manager
File "/usr/lib/python2.4/site-packages/leginon/manager.py", line 19, in ?
import launcher
File "/usr/lib/python2.4/site-packages/leginon/launcher.py", line 14, in ?
import noderegistry
File "/usr/lib/python2.4/site-packages/leginon/noderegistry.py", line 33, in ?
import leginon.allnodes
File "/usr/lib/python2.4/site-packages/leginon/allnodes.py", line 163, in ?
from driftmanager import DriftManager
File "/usr/lib/python2.4/site-packages/leginon/driftmanager.py", line 20, in ?
import EM
File "/usr/lib/python2.4/site-packages/leginon/EM.py", line 15, in ?
from pyscope import tem, ccdcamera, registry
File "/usr/lib/python2.4/site-packages/pyscope/tem.py", line 7, in ?
import baseinstrument
File "/usr/lib/python2.4/site-packages/pyscope/baseinstrument.py", line 2, in ?
import loggedmethods
File "/usr/lib/python2.4/site-packages/pyscope/loggedmethods.py", line 11, in ?
rothandler = logging.handlers.TimedRotatingFileHandler(logname, when='h', backupCount=72)
File "/usr/lib/python2.4/logging/handlers.py", line 164, in init
BaseRotatingHandler.__init__(self, filename, 'a', encoding)
File "/usr/lib/python2.4/logging/handlers.py", line 59, in init
logging.FileHandler.__init__(self, filename, mode, encoding)
File "/usr/lib/python2.4/logging/__init__.py", line 757, in init
stream = open(filename, mode)
IOError: [Errno 13] Permission denied: 'methods.log'
[

Actions #1

Updated by Jim Pulokas over 12 years ago

  • Status changed from Assigned to In Test
  • Assignee changed from Jim Pulokas to Amber Herold

r16619 should fix it. Since this module is only for debugging and seldom used, I made sure it does not attempt to open a log file just by importing the module.

Actions #2

Updated by Amber Herold over 10 years ago

  • Status changed from In Test to Closed
  • Affected Version changed from Appion/Leginon 2.2.0 (trunk) to Appion/Leginon 2.2.0
Actions

Also available in: Atom PDF