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"

Task #7273 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: bin/omero config raises nasty exception

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-4.4
Component: Client Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-11-29 (3)

Description

....lots of stuff....
    stop_index = consume_positionals(start_index)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero_ext/argparse.py", line 1894, in consume_positionals
    take_action(action, args)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero_ext/argparse.py", line 1787, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero_ext/argparse.py", line 2227, in _get_values
    value = [self._get_value(action, v) for v in arg_strings]
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero_ext/argparse.py", line 2242, in _get_value
    result = type_func(arg_string)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero_ext/argparse.py", line 1156, in __call__
    return open(string, self._mode)
IOError: [Errno 2] No such file or directory: '../43'

Change History (3)

comment:1 Changed 12 years ago by jmoore

  • Sprint set to 2011-11-29 (3)
  • Status changed from new to accepted

comment:2 Changed 12 years ago by jmoore

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

Failing fast on missing files during bin/omero config load. Use omero.cli.ExistingFile for this behavior. (to be pushed to my sprint4-bugs branch)

comment:3 Changed 12 years ago by jmoore <josh@…>

(In [d3398feebd74e4d872e3535e2bf04b2bddefb6fa/ome.git]) Fail fast on missing files (Fix #7273)

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

We're Hiring!