Opened 9 years ago

Last modified 5 years ago

#2738 new defect

sigfile problem with i.gensigset

Reported by: carminem Owned by: grass-dev@…
Priority: major Milestone: 7.6.2
Component: Imagery Version: 7.0.1
Keywords: Cc:
CPU: x86-64 Platform: Linux

Description

When I launch i.gensigset I receive this error as popup: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128) Then I compile all the field required from the form but grass is not able to produce the sigfile, the only two line written are reported:

title: Rasterized vector map from labels
nbands: 47

I use grass 7.0.1 in ubuntu 14.04.

Attachments (1)

x63907_g_EL_sub_sig (52 bytes ) - added by carminem 9 years ago.

Download all attachments as: .zip

Change History (7)

by carminem, 9 years ago

Attachment: x63907_g_EL_sub_sig added

comment:1 by annakrat, 9 years ago

Could be 2 different problems. Could you switch on debug mode?

comment:2 by carminem, 9 years ago

I set g.gisenv set="DEBUG=5"

GRASS 7.0.1 (xxxxx):~ > i.gensigset
D1/5: G_set_program_name(): i.gensigset
D2/5: G_file_name(): path = /mnt/sdb1/Mappe/GRASS/xxxxx/PERMANENT
D3/5: G_recreate_command()
D1/5: G_set_program_name(): g.gisenv
D2/5: G_option_to_separator(): key = separator -> sep = '
'
D1/5: grass.script.core.start_command(): g.gisenv -n
D1/5: G_set_program_name(): g.gisenv
D2/5: G_option_to_separator(): key = separator -> sep = '
'
Traceback (most recent call last):
  File "/usr/lib/grass70/gui/wxpython/gui_core/forms.py", line 2515, in <module>
    Debug.msg(1, "forms.py opening form for: %s" % task.get_cmd(ignoreErrors=True, ignoreRequired=True))
  File "/usr/lib/grass70/etc/python/grass/script/task.py", line 243, in get_cmd
    errList = self.get_cmd_error()
  File "/usr/lib/grass70/etc/python/grass/script/task.py", line 203, in get_cmd_error
    {'name': p['name'], 'desc': desc})
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)
D1/5: G_set_program_name(): g.gisenv
D2/5: G_option_to_separator(): key = separator -> sep = '/'

comment:3 by martinl, 6 years ago

Milestone: 7.2.4

comment:4 by martinl, 5 years ago

Still relevant?

in reply to:  4 comment:5 by mmetz, 5 years ago

Replying to martinl:

Still relevant?

Yes, UnicodeDecodeError errors are still relevant.

comment:6 by martinl, 5 years ago

Milestone: 7.2.47.6.2
Note: See TracTickets for help on using tickets.