We're Hiring!

CLI problem retrieving user list.

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

CLI problem retrieving user list.

Postby ehrenfeu » Wed Jun 11, 2014 12:05 pm

Dear all,

using the command line client, I'm experiencing the following problem:

Code: Select all
$ omero user list
Using session 8a19bf1f-fefb-4bd4-86f8-7688ab7204d8 (root@localhost:4064). Idle timeout: 10.0 min. Current group: IMCF
Traceback (most recent call last):
  File "/home/omeronas/OMERO.server/bin/omero", line 125, in <module>
    rv = omero.cli.argv()
  File "/home/omeronas/OMERO.server/lib/python/omero/cli.py", line 1242, in argv
    cli.invoke(args[1:])
  File "/home/omeronas/OMERO.server/lib/python/omero/cli.py", line 791, in invoke
    stop = self.onecmd(line, previous_args)
  File "/home/omeronas/OMERO.server/lib/python/omero/cli.py", line 860, in onecmd
    self.execute(line, previous_args)
  File "/home/omeronas/OMERO.server/lib/python/omero/cli.py", line 940, in execute
    args.func(args)
  File "/home/omeronas/OMERO.server/lib/python/omero/plugins/user.py", line 293, in list
    self.ctx.out(str(tb.build()))
  File "/home/omeronas/OMERO.server/lib/python/omero/util/text.py", line 245, in __str__
    return '\n'.join(self.get_rows())
  File "/home/omeronas/OMERO.server/lib/python/omero/util/text.py", line 241, in get_rows
    for row in self.style.get_rows(self):
  File "/home/omeronas/OMERO.server/lib/python/omero/util/text.py", line 54, in get_rows
    yield self.SEPARATOR.join(table.get_row(i))
  File "/home/omeronas/OMERO.server/lib/python/omero/util/text.py", line 232, in get_row
    x[i].decode("ascii")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 1: ordinal not in range(128)


Is this a bug in OMERO or did we break something?

Cheers
~Niko
User avatar
ehrenfeu
 
Posts: 90
Joined: Fri May 11, 2012 8:21 am
Location: Basel, Switzerland

Re: CLI problem retrieving user list.

Postby manics » Wed Jun 11, 2014 1:09 pm

Hi Niko

It's a bug, thanks for reporting it. I've opened a ticket:
https://trac.openmicroscopy.org.uk/ome/ticket/12370

Simon
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: CLI problem retrieving user list.

Postby ehrenfeu » Wed Jun 11, 2014 1:26 pm

Thanks, Simon!

Would you mind putting me on CC for the ticket you've created?

~Niko
User avatar
ehrenfeu
 
Posts: 90
Joined: Fri May 11, 2012 8:21 am
Location: Basel, Switzerland

Re: CLI problem retrieving user list.

Postby manics » Wed Jun 11, 2014 1:42 pm

Done (you should've received a notification from trac).
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest