qtvcp issues

More
19 Jan 2019 16:51 #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:

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 or Create an account to join the conversation.

More
19 Jan 2019 19:15 #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 or Create an account to join the conversation.

More
20 Jan 2019 05:25 #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 or Create an account to join the conversation.

More
20 Jan 2019 06:06 #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
The following user(s) said Thank You: phillc54

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

More
20 Jan 2019 06:08 #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 or Create an account to join the conversation.

More
20 Jan 2019 07:53 #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.

Attachments:

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

More
20 Jan 2019 10:11 #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.
The following user(s) said Thank You: auto-mation-assist

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

More
21 Jan 2019 09:54 - 21 Jan 2019 10:00 #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.





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.
Attachments:
Last edit: 21 Jan 2019 10:00 by auto-mation-assist. Reason: Added missing gcode picture

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

More
21 Jan 2019 09:57 #124517 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
The code did not attach for display last time:

Attachments:

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

More
21 Jan 2019 12:30 #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 or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.175 seconds
Powered by Kunena Forum