Task #977 (new)
Opened 11 years ago
Last modified 9 years ago
Need absolute PYTHONPATH for scripts
| Reported by: | jamoore | Owned by: | jamoore |
|---|---|---|---|
| Priority: | major | Milestone: | Unscheduled |
| Component: | Scripting | Version: | 3.0-M1 |
| Keywords: | icegrid, icepatch, blitz | Cc: | dzmacdonald, cxallan |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 1.0d |
| Sprint: | n.a. |
Description
Adding a workaround to omero/processor.py:
+ # WORKAROUND
+ # Currently duplicating the logic here as in the PYTHONPATH
+ # setting of the grid application descriptor (see etc/grid/*.xml)
+ # This should actually be taken care of in the descriptor itself
+ # by having setting PYTHONPATH to an absolute value. This is
+ # not currently possible with IceGrid (without using icepatch --
+ # see 39.17.2 "node.datadir).
+ self.env.append("PYTHONPATH", os.path.join(os.getcwd(), "lib"))
Optimal would be to simply start using icepatch such that all nodes only need:
icegridnode --Ice.Config=NODENAME.config
and they then download their configuration and are ready to go using ${node.datadir}.
Change History (4)
comment:1 Changed 10 years ago by jmoore
- Milestone changed from OMERO-Beta4 to OMERO-Beta4.2
comment:2 Changed 9 years ago by jmoore
- Type changed from Bug to Task
comment:3 Changed 9 years ago by jmoore
- Remaining Time set to 1
comment:4 Changed 9 years ago by jmoore
- Milestone changed from OMERO-Beta4.2 to Unscheduled
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Moving to other build/script/analysis fixes in 4.2