Opened 8 years ago

Closed 5 years ago

#2973 closed defect (wontfix)

i.pansharpen - python UnicodeEncodeError

Reported by: alf Owned by: grass-dev@…
Priority: normal Milestone: 7.0.7
Component: Imagery Version: 7.0.3
Keywords: i.pansharpen Cc:
CPU: Unspecified Platform: Linux

Description (last modified by martinl)

Hi,

unicode encode error arose from i.pansharpen. It exits with error both from gui and cli.

...
Assigning grey equalized color tables to output images...
Traceback (most recent call last):
  File "/usr/lib/grass70/scripts/i.pansharpen", line 452, in <module>
    main()
  File "/usr/lib/grass70/scripts/i.pansharpen", line 319, in main
    flags="e", col='grey')
  File "/usr/lib/grass70/etc/python/grass/script/core.py", line 394, in run_command
    return handle_errors(returncode, returncode, args, kwargs)
  File "/usr/lib/grass70/etc/python/grass/script/core.py", line 312, in handle_errors
    returncode=returncode)
  File "/usr/lib/grass70/etc/python/grass/exceptions/__init__.py", line 68, in __init__
    msg = _("Module run %s %s ended with error") % (module, code)
  File "/usr/lib/python2.7/gettext.py", line 369, in lgettext
    return tmsg.encode(locale.getpreferredencoding())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 30: ordinal not in range(128)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 30: ordinal not in range(128)

Change History (7)

comment:1 by martinl, 8 years ago

Description: modified (diff)
Keywords: i.pansharpen added

comment:2 by cmbarton, 8 years ago

Could you specify what you were doing (the exact command with arguments and flags) when it gave this error? Thanks

comment:3 by martinl, 8 years ago

Milestone: 7.0.47.0.5

comment:4 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:5 by mlennert, 6 years ago

Still an issue ?

comment:6 by neteler, 6 years ago

Milestone: 7.0.67.0.7

comment:7 by martinl, 5 years ago

Resolution: wontfix
Status: newclosed

No activity.

Note: See TracTickets for help on using tickets.