Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5728 (closed)

Opened 8 years ago

Closed 8 years ago

Bug: DropBox fails to start on win-2k8

Reported by: jamoore Owned by: cblackburn
Priority: minor Milestone: OMERO-Beta4.3
Component: OmeroFs Version: n.a.
Keywords: n.a. Cc: cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

2011-06-01 07:39:08,911 ERROR [                  fsserver.MonitorServer] (MainThread) System requirements not met: 
Traceback (most recent call last):
  File "c:\\OMERO-CURRENT\\lib\\python\\fsServerMS.py", line 43, in run
    import fsMonitorServer
  File "c:\OMERO-CURRENT\lib\python\fsMonitorServer.py", line 24, in <module>
    from fsMonitor import MonitorFactory
  File "c:\OMERO-CURRENT\lib\python\fsMonitor.py", line 20, in <module>
    PlatformMonitor = __import__(fsUtil.monitorPackage())
  File "c:\OMERO-CURRENT\lib\python\fsUtil.py", line 88, in monitorPackage
    raise Exception("Libraries required by OMERO.fs monitor unavailable: " + errorString)
Exception: Libraries required by OMERO.fs monitor unavailable: Windows XP or 2003Server required. You have: ['Windows', 'Vista', '6.1.7601', 'SP1']
2011-06-01 07:39:08,943 INFO  [                  fsserver.MonitorServer] (MainThread) Exiting with exit code: -1

Change History (4)

comment:1 Changed 8 years ago by cblackburn

  • Cc cblackburn added

At the moment Vista is not included by a simple check using platform.platform()
If the libs win32con and win32file are available then Vista could be turned on.
Could it be tested on this server?

comment:2 Changed 8 years ago by jmoore

From the win-2k8 box:

C:\Users\ome>python
ActivePython 2.5.5.7 (ActiveState Software Inc.) based on
Python 2.5.5 (r255:77872, Jan 31 2010, 15:49:35) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.win32_ver()
('', '6.1.7601', 'SP1', 'Multiprocessor Free')
>>> import win32con
>>> import win32file
>>> platform.release()
'Vista'
>>>
>>> def isVista():
...     if getattr(sys, "getwindowsversion", None) is not None:
...         return sys.getwindowsversion()[0] == 6
...     else:
...         return False
...
>>> import sys
>>> isVista()
True
>>>

See: http://stackoverflow.com/questions/196930/how-to-check-if-os-is-vista-in-python

comment:3 Changed 8 years ago by cblackburn

  • Owner set to cblackburn
  • Remaining Time set to 0.1
  • Status changed from new to accepted

comment:4 Changed 8 years ago by Colin Blackburn <C.Blackburn@…>

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [2408c44d9e1ac0293e1cdfaf5ae4ee3c5727956c/ome.git] on branch develop) Add Vista to recognised platforms. Closes #5728

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.80538 sec.)

We're Hiring!