qtvcp issues

More
7 years 9 months ago #124439 by KCJ
Replied by KCJ on topic qtvcp issues
Chris, this is great news!

Not sure if this is the right place to report errors ...
I just tried running the QtVCP example configs and got an error with this traceback:

Code:
Traceback (most recent call last): File "/usr/bin/qtvcp", line 10, in <module> from qtvcp.core import Status, Info File "/usr/lib/python2.7/dist-packages/qtvcp/core.py", line 10, in <module> from qtvcp.qt_istat import _IStat as IStatParent File "/usr/lib/python2.7/dist-packages/qtvcp/qt_istat.py", line 5, in <module> import logger File "/usr/lib/python2.7/dist-packages/qtvcp/logger.py", line 29, in <module> from lib.colored_formatter import ColoredFormatter ImportError: No module named lib.colored_formatter

Looks like it can't find the colored_formatter.py module. Probably a packaging problem (I installed from BuildBot deb).

I had forgotten I added the colored logger to QtVCP, I have a couple of efficiency improvements and minor bug fixes I will port over from QtPyVCP when I get a chance.

Cheers,
Kurt

Please Log in to join the conversation.

More
7 years 9 months ago #124451 by cmorley
Replied by cmorley on topic qtvcp issues
I haven't added any dependencies to linuxcnc's packaging (mostly cause i don't know how). Strange error as i don't remember ever having to get a package for colored logging.
i would be very happy with any improvements you have for your logger work - though it works great as is!

Chris M

Please Log in to join the conversation.

More
7 years 9 months ago #124466 by phillc54
Replied by phillc54 on topic qtvcp issues
I followed this README.txt at /lib/python/qtvcp/designer:
Warning: Spoiler!


When I try designer -qt=5 I get the following:
Warning: Spoiler!

I am using Debian Stretch with Qt Designer 5.7.1

Cheers, Phill.

Please Log in to join the conversation.

More
7 years 9 months ago #124469 by cmorley
Replied by cmorley on topic qtvcp issues
Those are common warnings, that you can ignore.
Since the editor has no INI file, it complains, but they are not needed for editing.
The missing widget icons are unimportant (but would look nicer)
and the Macro widget can't find any macro programs because there is no INI entry.

I assume you did see the widgets shown up on the left side of the editor.

Chris M

Please Log in to join the conversation.

More
7 years 9 months ago #124470 by phillc54
Replied by phillc54 on topic qtvcp issues
Thanks, I kinda thought that but wanted to make sure.
Yes, all the widgets appear to be there.

Cheers, Phill.

Please Log in to join the conversation.

More
7 years 9 months ago #124471 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
I pushed some up dates to the x1mill gui. I was not happy with the location of the status LED's and also some of my code relating to switching from inch to metric and back.

The picture below shows the new location of the alarm LED's. I hope to be able to improve on the appearance of the LED's later. it appears that the layers inside of them are not aligned up properly.

Attachment not found

Please Log in to join the conversation.

More
7 years 9 months ago #124473 by cmorley
Replied by cmorley on topic qtvcp issues
I couldn't run your development screen as I don't have the hatdware, but I do like the new location of the LEDs.

Please Log in to join the conversation.

More
7 years 9 months ago #124515 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
I ran into a axis 3 warning for exceeding limits if the code was allowed to run that I don’t understand since the code does not have movement for axis 3 and axis 3 is a rotary with no limits.

Attachment not found



Attachment not found



The multiple voice warning messages that are on top of each other is a problem and near impossible to understand. I think they may even trigger on a button press and release. They to go out one after the other and not at the same time.

Please Log in to join the conversation.

More
7 years 9 months ago #124517 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
The code did not attach for display last time:

Attachment not found

Please Log in to join the conversation.

More
7 years 9 months ago #124523 by rodw
Replied by rodw on topic qtvcp issues
Without seeing your ini file, it sounds like you are missing some of the immediate homing settings in your .ini file.
linuxcnc.org/docs/devel/html/config/ini-...ml#_immediate_homing
Master branch docs linked to.

I only ever had a quick play with a rotary axis and did not have a rotary table connected, just a bare stepper motor.

Please Log in to join the conversation.

Time to create page: 0.157 seconds
Powered by Kunena Forum