[ome-users] DropBox problem
Colin Blackburn
c.blackburn at dundee.ac.uk
Wed Feb 23 08:42:50 GMT 2011
Hi Chris,
There are different dependencies between the different versions of
pyinotify and Python. However, it looks like there may be a fault here
with 0.8.5. I've raised a ticket to check these dependencies and
update fsUtil.py.
http://trac.openmicroscopy.org/ome/ticket/4483
Cheers,
Colin
On 22 Feb 2011, at 22:52, Wood, Christopher wrote:
> 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
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
Colin Blackburn
Wellcome Trust Centre for Gene Regulation & Expression
College of Life Sciences
MSI/WTB/JBC Complex
University of Dundee
Dow Street
Dundee DD1 5EH
http://openmicroscopy.org
More information about the ome-users
mailing list