CLI problem retrieving user list.
Posted: Wed Jun 11, 2014 12:05 pm
Dear all,
using the command line client, I'm experiencing the following problem:
Is this a bug in OMERO or did we break something?
Cheers
~Niko
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