Task #4194 (closed)
Opened 9 years ago
Closed 9 years ago
Bug: cli can lose uuid file on login
| 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: | n.a. |
| Sprint: | 2011-02-10 (5) |
Description
~/git/dist $ bin/omero shell --login
Previously logged in to localhost:4064 as josh
Server: [localhost]
Username: [moore]josh
Password:
Password check failed
Password:
Password check failed
Password:
3 incorrect password attempts
~/git/dist $ bin/omero group add
^CCancelled
~/git/dist $ bin/omero group add ome
Traceback (most recent call last):
File "bin/omero", line 123, in <module>
rv = omero.cli.argv()
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 1151, in argv
cli.invoke(args[1:])
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 704, in invoke
stop = self.onecmd(line, previous_args)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 773, in onecmd
self.execute(line, previous_args)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 853, in execute
args.func(args)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/plugins/group.py", line 65, in add
c = self.ctx.conn(args)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 1015, in conn
self.controls["sessions"].login(args)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/plugins/sessions.py", line 131, in login
previous_props = store.get(*previous)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/util/sessions.py", line 122, in get
return self.props(self.dir / host / name / uuid)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/util/sessions.py", line 305, in props
txt = f.text()
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/path.py", line 602, in text
f = self.open(_textmode)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/path.py", line 559, in open
return file(self, mode)
IOError: [Errno 2] No such file or directory: path('/Users/moore/omero/sessions/localhost/josh/7b6b81bc-4643-4098-a33f-0eae780a7690')
Change History (1)
comment:1 Changed 9 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4.3
- Resolution set to invalid
- Sprint set to 2011-02-10 (5)
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
This was caused by local changes (which have been fixed).