Task #5726 (closed)
Opened 8 years ago
Closed 8 years ago
Bug: DropBox fails to start on 10.6
| Reported by: | jamoore | Owned by: | cblackburn |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4.3 |
| Component: | OmeroFs | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | n.a. |
Description
2011-05-31 18:20:14,540 ERROR [ fsserver.MonitorServer] (MainThread) System requirements not met:
Traceback (most recent call last):
File "lib/python/fsServerMS.py", line 43, in run
import fsMonitorServer
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsMonitorServer.py", line 24, in <module>
from fsMonitor import MonitorFactory
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsMonitor.py", line 20, in <module>
PlatformMonitor = __import__(fsUtil.monitorPackage())
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsMac-10-5-Monitor.py", line 10, in <module>
import FSEvents
ImportError: No module named FSEvents
2011-05-31 18:20:14,875 INFO [ fsserver.MonitorServer] (MainThread) Exiting with exit code: -1
Change History (4)
comment:1 Changed 8 years ago by cblackburn
- Owner changed from cblackburn to jmoore
comment:2 Changed 8 years ago by jmoore
- Remaining Time set to 0.25
- Status changed from new to accepted
comment:3 Changed 8 years ago by jmoore
- Owner changed from jmoore to cblackburn
Colin, this seems to work fine. Passing back to you for any documentation needs.
Before changes
2011-06-02 21:11:25,995 ERROR [ fsserver.MonitorServer] (MainThread) System requirements not met:
Traceback (most recent call last):
File "lib/python/fsServerMS.py", line 43, in run
import fsMonitorServer
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsMonitorServer.py", line 24, in <module>
from fsMonitor import MonitorFactory
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsMonitor.py", line 20, in <module>
PlatformMonitor = __import__(fsUtil.monitorPackage())
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsMac-10-5-Monitor.py", line 10, in <module>
import FSEvents
ImportError: No module named FSEvents
2011-06-02 21:11:26,121 INFO [ fsserver.MonitorServer] (MainThread) Exiting with exit code: -1
Changes made
~/git/dist $ git diff
diff --git a/etc/grid/default.xml b/etc/grid/default.xml
index dcd560d..6782b5a 100644
--- a/etc/grid/default.xml
+++ b/etc/grid/default.xml
@@ -15,7 +15,7 @@
<variable name="OMERO_LOGFILE" value="${OMERO_LOGS}$${omero.name}.log"/>
<variable name="OMEROPY_HOME" value="lib/python/"/>
<variable name="OMEROPY_SERV" value="lib/python/omero/"/>
- <variable name="PYTHONPATH" value="PYTHONPATH=${OMEROPY_HOME}:$${PYTHONPATH}"/>
+ <variable name="PYTHONPATH" value="PYTHONPATH=${OMEROPY_HOME}:$${PYTHONPATH}:/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObj
<variable name="PYTHON" value="python"/>
<variable name="JAVA" value="java"/>
<variable name="ROUTERPORT" value="4064"/>
After changes
2011-06-02 21:14:06,594 WARNI [ stderr] (MainThread) /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC/objc/_bridgesupport.py:9: UserWarning: Module PyObjCTools was already imported from None, but /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC is being added to sys.path import pkg_resources 2011-06-02 21:14:07,814 INFO [ fsserver.MonitorServer] (MainThread) Started OMERO.fs MonitorServer 2011-06-02 21:14:07,882 INFO [ fsserver.fsMac-10-5-Monitor] (Dummy-3 ) Monitor set-up on /tmp/data/DropBox 2011-06-02 21:14:07,882 INFO [ fsserver.fsMac-10-5-Monitor] (Dummy-3 ) Monitoring ['Creation', 'Modification'] events 2011-06-02 21:14:07,883 INFO [ fsserver.fsMonitorServer] (Dummy-3 ) Monitor id = 7d2bcda1-8d4c-11e0-b046-58b035fbf9a7 created. Proxy: DropBox.default -t @ DropBox.omerofs.DropBox 2011-06-02 21:14:07,883 INFO [ fsclient.fsNotificationScheduler] (Thread-4 ) Notification Scheduler running 2011-06-02 21:14:07,884 INFO [ fsserver.fsMonitorServer] (Dummy-5 ) Monitor id = 7d2bcda1-8d4c-11e0-b046-58b035fbf9a7 started
comment:4 Changed 8 years ago by cblackburn
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from accepted to closed
Documentation on http:////www.openmicroscopy.org/site/support/omero4/server/fs updated.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
This looks like a macports problems rather than 10.6 specifically. Could you try adding /System/Library/Frameworks/Python?.framework/Versions/2.X/Extras/lib/python/PyObjC/ to the PYTHONPATH ?