Task #3276 (closed)
Bug: running script serves from another directory
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.2.1 |
Component: | Scripting | Version: | n.a. |
Keywords: | n.a. | Cc: | wmoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2010-11-25 (20) |
Description
Console 1
/tmp $ export PATH=$PATH:/tmp/OMERO.py-4.2.1-r8605-Beta4.2-b35/bin/ ~ $ cd /tmp/master/components/tools/OmeroPy/scripts/ /tmp/master/components/tools/OmeroPy/scripts $ omero script serve
Console 2:
/tmp/OMERO.py-4.2.1-r8605-Beta4.2-b35 $ bin/omero script launch 35470 Using session 110f539e-25d2-40be-bb91-bcb483c44f08 (bk@localhost). Idle timeout: 10.0 min. Current group: demo Job 2010 ready Waiting.... Callback received: FINISHED *** start stderr *** * Traceback (most recent call last): * File "./script", line 9, in <module> * import omero.util.mpfit as mpfit * ImportError: No module named omero.util.mpfit *
Change History (7)
comment:1 Changed 13 years ago by jmoore
comment:2 Changed 13 years ago by jmoore
comment:3 Changed 13 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4.2.1
- Owner set to jmoore
- Sprint set to 2020-11-25 (20)
- Status changed from new to assigned
comment:4 Changed 13 years ago by jmoore
(In [8607]) Pointing usermode_processor at OMERO_HOME (See #3276)
original-svn-id: file:///home/svn/omero/trunk@8606 05709c45-44f0-0310-885b-81a1db45b4a6
comment:5 Changed 13 years ago by jmoore
- Resolution set to fixed
- Status changed from assigned to closed
comment:6 Changed 13 years ago by Josh Moore <josh@…>
(In [d32efd2459a6747deff01683a9d7be12648370b2/ome.git] on branch develop) Changing missed os.curdir use in Processor (See #3276)
comment:7 Changed 13 years ago by Josh Moore <josh@…>
(In [0ba53ce21f1ccd472462ac19f30a22c4683adf82/ome.git] on branch dev_4_2) Changing missed os.curdir use in Processor (See #3276)
Printing sys.path from a script: