Actions
Bug #745
closedos.path.dirname(__file__) is not valid for Mac.app programs
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
07/18/2010
Due date:
% Done:
100%
Estimated time:
Affected Version:
Appion/Leginon 2.0.1
Show in known bugs:
No
Workaround:
Description
os.path.dirname(file) is not valid for Mac.app programs
Need to find alternative in apParam.getAppionPath and leginon/icons/__init__.py
Updated by Neil Voss over 14 years ago
I should maybe try the inspect module:
import inspect this_file = inspect.currentframe().f_code.co_filename
Updated by Neil Voss over 14 years ago
- Status changed from Assigned to In Code Review
- Assignee changed from Neil Voss to Jim Pulokas
- Priority changed from High to Normal
- Target version set to TiltPicker v2.0
- % Done changed from 0 to 100
Updated by Neil Voss over 14 years ago
- Project changed from TiltPicker to Appion
- Affected Version set to Appion/Leginon 2.0.1
- Show in known bugs set to No
Updated by Jim Pulokas over 14 years ago
- Status changed from In Code Review to Closed
reviewed code and tested with Leginon. assuming appion stuff works too.
Actions