Probebasic - Error on loading widgets

More
17 Sep 2022 10:17 #252157 by BigDee
Hi all,

so far i've been running Axis and Gmocappy succesfully. Now i've installed Probebasic. The GUI is starting up without errors, i can reference all axis, jog around, adjust speeds etc. But as soon as i want to run one of the widgets an error occurs:
Traceback (most recent call last):File "/home/cnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 428, in load_programself.load(fname)File "/home/cnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/base_backplot.py", line 70, in loadresult, seq = gcode.parse(filename, self.canon, unitcode, initcode)UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 25: ordinal not in range(128)

To my limited understanding this seems that i'm using the wrong charakter encoding. My actual setting is de_DE.UTF-8.
Can anybody guide me in a direction to get this solved?

Thanks in advance.
Dieter

Please Log in or Create an account to join the conversation.

More
17 Sep 2022 10:29 - 17 Sep 2022 10:31 #252160 by BigDee
Sorry, need to correct:

The displayed error message occurs, when the setting in en_US.UTF-8. When i change to de_DE.UTF-8 it reads
Traceback (most recent call last):
File "/home/cnc/.local/lib/python2.7/site-packages/qtpyvcp/widgets/button_widgets/subcall_button.py", line 59, in callSub
subfile = os.path.join(dir, self._filename)
File "/usr/lib/python2.7/posixpath.py", line 73, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)
Last edit: 17 Sep 2022 10:31 by BigDee.

Please Log in or Create an account to join the conversation.

More
17 Sep 2022 21:44 #252205 by TurBoss
Hello,

does by any chance the filename include some special characters?

thanks

Please Log in or Create an account to join the conversation.

More
19 Sep 2022 17:29 #252356 by BigDee
Which filename are you referring to?

Just in case: nor username or names of folders contain any special characters. And since no .ngc is loaded into LinuxCNC there are also no special characters.

Does this help?

Regards,
Dieter

Please Log in or Create an account to join the conversation.

More
19 Sep 2022 17:33 #252357 by TurBoss
I remenber this begin a issue

github.com/kcjengr/qtpyvcp/issues/61

looks like a tool table tool comment with special characters there

can you please take look at the tooltable commnets

thanks

Please Log in or Create an account to join the conversation.

More
19 Sep 2022 17:38 #252358 by BigDee
That's it. There are plenty of special characters in there...

Thanks for the help.

Regards,
Dieter
The following user(s) said Thank You: TurBoss, Lcvette

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.149 seconds
Powered by Kunena Forum