Couple questions about QTPYVCP

More
7 years 8 months ago #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 to join the conversation.

More
7 years 8 months ago #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 to join the conversation.

More
7 years 7 months ago #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 to join the conversation.

More
7 years 7 months ago #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

Please Log in to join the conversation.

More
7 years 7 months ago #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.

Please Log in to join the conversation.

More
7 years 7 months ago #127854 by Leon82

KCJ wrote: 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.

Please Log in to join the conversation.

More
7 years 7 months ago #127857 by KCJ
Replied by KCJ on topic Couple questions about QTPYVCP

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


No, no not at all! Error reports are very helpful.

Please Log in to join the conversation.

More
7 years 7 months ago #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 to join the conversation.

More
7 years 7 months ago #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 to join the conversation.

More
7 years 7 months ago #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 to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum