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 #4246 (closed)

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

Bug: bin/omero config edit fails on absolute EDITOR path

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.3
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-02-24 (6)

Description

jmoore@necromancer ~/git/dist $ bin/omero config edit
Traceback (most recent call last):
  File "bin/omero", line 123, in <module>
    rv = omero.cli.argv()
  File "/homes/jmoore/git/dist/lib/python/omero/cli.py", line 1151, in argv
    cli.invoke(args[1:])
  File "/homes/jmoore/git/dist/lib/python/omero/cli.py", line 704, in invoke
    stop = self.onecmd(line, previous_args)
  File "/homes/jmoore/git/dist/lib/python/omero/cli.py", line 773, in onecmd
    self.execute(line, previous_args)
  File "/homes/jmoore/git/dist/lib/python/omero/cli.py", line 853, in execute
    args.func(args)
  File "/homes/jmoore/git/dist/lib/python/omero/plugins/prefs.py", line 67, in open_and_close_config
    return func(*args, **kwargs)
  File "/homes/jmoore/git/dist/lib/python/omero/plugins/prefs.py", line 217, in edit
    edit_path(temp_file, start_text)
  File "/homes/jmoore/git/dist/lib/python/omero/util/__init__.py", line 684, in edit_path
    editor_path = which(editor)
  File "/homes/jmoore/git/dist/lib/python/which.py", line 248, in which
    raise WhichError("Could not find '%s' on the path." % command)
which.WhichError: Could not find '/usr/bin/vim' on the path.
[1]+  Done                    bin/omero admin stopasync
jmoore@necromancer ~/git/dist $ which vim
/usr/bin/vim
jmoore@necromancer ~/git/dist $ vim
jmoore@necromancer ~/git/dist $ echo $EDITOR

Change History (3)

comment:1 Changed 13 years ago by jmoore

  • Status changed from new to accepted

comment:2 Changed 13 years ago by jmoore <josh@…>

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

(In [9f6e64f31b4aef43e4d469ae0cf4de48c07ce598/ome.git] on branch develop) Accepting absolute paths for EDITOR (Fix #4246)

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

(In [1624df82ddb4a46636eac00b78d0d4c94e54ecba/ome.git] on branch dev_4_2) Accepting absolute paths for EDITOR (Fix #4246)

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

We're Hiring!