[ome-users] DropBox problem

Wood, Christopher CJW at stowers.org
Tue Feb 22 22:52:24 GMT 2011


Hi,

I have been trying to get the DropBox to work, but I run into the following:

OMERO Beta4.2.2-r8718-Beta4.2-b56

I have python  2.4
Python 2.4.3 (#1, Nov 11 2010, 13:30:19)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2

Linux  2.6.18-164.10.1.el5

In DropBox.log
=======================
2011-02-22 16:34:42,087 ERROR [                        fsclient.DropBox] (MainThread) System requirements not met:
Traceback (most recent call last):
  File "lib/python/fsDropBox.py", line 66, in run
    fsUtil.monitorPackage()
  File "/OMERO/omero_dist/lib/python/fsUtil.py", line 117, in monitorPackage
    raise Exception("Libraries required by OMERO.fs monitor unavailable: " + errorString)
Exception: Libraries required by OMERO.fs monitor unavailable: pynotify version 0.8.5 is not compatible with Python 2.4. Install 0.8.5 or lower to use DropBox
===============================


I think this is the offending code in fsUtil.py
============================
 try:
                    # 0.8.x has a __version__ attribute.
                    version = pyinotify.__version__.split('.')
                    if int(version[0]) == 0 and int(version[1]) == 8:
                        try:
                            pyinotify.PyinotifyLogger
                            current = 'LINUX_2_6_13+pyinotify_0_8'
                        except AttributeError:
                            if sys.version[:3] == '2.5':
                                current = 'LINUX_2_6_13+pyinotify_0_8'
                            else:
                                errorString = "pynotify version %s is not compatible with Python 2.4. Install 0.8.5 or lower to use DropBox" % pyinotify.__version__

============================

In python console
============================
>>> import pyinotify
>>> print pyinotify.__version__
0.8.5

>>> pyinotify.PyinotifyLogger
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'PyinotifyLogger'


>>> pyinotify.PyinotifyLogger()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'PyinotifyLogger'
========================================

I can't find PyinotifyLogger in pyinotify.py
It looks like fsUtil.py is trying to do something that pyinotify cannot do.

Thanks

Chris



More information about the ome-users mailing list