Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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"

Bug #1400 (closed)

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

admin.py on Windows is not properly internationalized.

Reported by: jamoore Owned by: jamoore
Priority: blocker Cc: javiereduardodiaz@…
Sprint: n.a.
Total Remaining Time: n.a.

Description

The "bin/omero admin start" command on Windows checks for "does not exist", which in non-English languages (i.e. almost everywhere) fails. The original issue was that the Windows "sc.exe" command does not return a non-0 exit code when the service does not exist.

A new method for testing for service non-existance is needed.

Change History (2)

comment:1 Changed 15 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

r4760 now uses the win32 API in python for checking whether or not the service exists. If win32 is not installed, then falls back to the previous code, which may either need to be improved or removed if we decide win32 is a requirement: #1440

comment:2 Changed 15 years ago by jmoore

see also: r4840 and r4854

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.64244 sec.)

We're Hiring!