Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2567 (closed)

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

BUG: Can't find the file 'var/lib/custom_settings.py'

Reported by: atarkowska Owned by: atarkowska
Priority: major Milestone: OMERO-Beta4.2
Component: Web Version: n.a.
Keywords: n.a. Cc: wmoore, cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-06-24 (12)

Description (last modified by atarkowska)

wjm:dist will$ bin/omero web settings
You just installed OMERO, which means you didn't have settings configured in OMERO.web.
Please enter the domain you want to run OMERO.web on (http://www.domain.com:8000/):localhost:8000
Please enter the Email address you want to send from (omero_admin@example.com): w
Please enter the SMTP server host you want to send from (smtp.example.com): w
Optional: please enter the SMTP server port (default 25): 
Optional: Please enter the SMTP server username: 
Optional: Password: 
Optional: TSL? (yes/no): 
Saved to /Users/will/Documents/workspace/Omero/dist/var/lib/custom_settings.py
['/Users/will/Documents/workspace/Omero/dist/lib/python', '/Users/will/Documents/workspace/Omero/dist/var/lib', 
'/Users/will/Documents/workspace/Omero/dist/bin', '/Applications/EMAN2/EMAN2.cvs/bin', 
'/Applications/EMAN2/EMAN2.cvs/lib', '/Applications/EMAN2/EMAN2.cvs/sparx/libpy', 
'/Applications/EMAN2/extlib/site-packages', '/Applications/CecogPackage/CecogAnalyzer.app/Contents/Resources/lib/python2.5', 
'/Users/will/Documents/workspace/Omero/dist/lib/python', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages', 
'/opt/Ice-3.3.1/python', '/Users/will/Documents/workspace/Omero/dist', 
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PIL', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip', 
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin', 
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages', 
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', 
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/Library/Python/2.5/site-packages', 
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC', '/Applications/EMAN2/EMAN2.cvs/sparx/libpy', 
'/Users/will/Documents/workspace/Omero/dist/lib/fallback']
Error: Can't find the file 'var/lib/custom_settings.py'It appears you haven't customized things.
You'll have to run 'bin/omero web settings', passing it your settings module.
(If the file custom_settings.py does indeed exist, it's causing an ImportError somehow.)
wjm:dist will$


Change History (6)

comment:1 Changed 14 years ago by atarkowska

  • Description modified (diff)
  • Owner set to atarkowska

comment:2 Changed 14 years ago by atarkowska

  • Status changed from new to assigned

comment:3 Changed 14 years ago by atarkowska

  • Cc wmoore cblackburn added

comment:4 Changed 14 years ago by atarkowska

  • Description modified (diff)

comment:5 Changed 14 years ago by atarkowska

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7482]) this might fix #2567

comment:6 Changed 14 years ago by atarkowska

Colin: This problem is related to http://bugs.python.org/issue6636. The path is added to sys.path before the directory exists. This means a NullImporter? object is added to the cache. So when you try to import it claims the file isn't there.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66455 sec.)

We're Hiring!