Couple questions about QTPYVCP

More
25 Feb 2019 23:45 #127133 by Leon82
i get some error messages in place of what i imagine would be alarms. not a big deal, just wanted to let you know.

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

More
26 Feb 2019 14:23 #127159 by KCJ
Replied by KCJ on topic Couple questions about QTPYVCP
LinuxCNC only provides messages as two levels, error, and info, so there is not really any straight forward way to indicate the actual severity. Since most of the errors are actually more like warnings, I guess it might be best to treat all LCNC errors as warnings ..

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

More
02 Mar 2019 01:03 #127471 by Leon82
I figured out the source of my error messages.

I had my display set to vcp1.

I switched it to

display = qtpyvcp
Vcp = vcp1.

It must not have been loading the library it was looking for

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

More
06 Mar 2019 00:56 - 06 Mar 2019 01:05 #127842 by Leon82
sometimes i get errors like this.

from this mdi button
G10L20P0Z[#5223 - #<offsetLabel>]

how do i decipher it?

Traceback (most recent call last):
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/plugins/notifications.py", line 134, in onTimeout
self.error_message.setValue(msg)
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/plugins/plugin.py", line 115, in setValue
self.fset(self.instance, self, value)
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/plugins/plugin.py", line 126, in inner
fset(*args, **kwargs)
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/plugins/notifications.py", line 83, in error_message
self.captureMessage('error', msg)
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/plugins/notifications.py", line 88, in captureMessage
self.showDesktopNotification(typ, msg)
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/plugins/notifications.py", line 104, in showDesktopNotification
self.desktop_notifier.show(title=typ.capitalize(), body=msg, icon=icon)
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/lib/notify.py", line 145, in show
self.timeout,
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.81 was not provided by any .service files

Last edit: 06 Mar 2019 01:05 by Leon82.
The following user(s) said Thank You: KCJ

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

More
06 Mar 2019 02:22 #127852 by KCJ
Replied by KCJ on topic Couple questions about QTPYVCP
TurBoss also reported that same error today, I'm not sure what is causing it, but I don't think it has anything to do with your MDIButton. It seems to be an intermittent error in the DBus desktop notifications server. Thanks for reporting, I will see if I can reproduce it and find a solution.
The following user(s) said Thank You: Leon82

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

More
06 Mar 2019 02:30 - 06 Mar 2019 02:31 #127854 by Leon82

TurBoss also reported that same error today, I'm not sure what is causing it, but I don't think it has anything to do with your MDIButton. It seems to be an intermittent error in the DBus desktop notifications server. Thanks for reporting, I will see if I can reproduce it and find a solution.


No problem, I don't want you to think I'm pestering you.
Last edit: 06 Mar 2019 02:31 by Leon82.

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

More
06 Mar 2019 02:52 #127857 by KCJ
Replied by KCJ on topic Couple questions about QTPYVCP


No problem, I don't want you to think I'm pestering you.


No, no not at all! Error reports are very helpful.
The following user(s) said Thank You: Leon82

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

More
12 Mar 2019 18:37 #128458 by Leon82
Is there a signal to refresh the gcode display box?

I have a signal to double click in the file list opens the editor. After saving It runs the edited code fine but the widget doesn't update.

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

More
12 Mar 2019 18:38 #128459 by KCJ
Replied by KCJ on topic Couple questions about QTPYVCP
Are you using the build in editer, or an external editer like Gedit?

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

More
12 Mar 2019 18:45 #128460 by Leon82
I think it's called gcode edit widget

I'll have to update and look for it. I was using pluma

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

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