- Posts: 140
- Thank you received: 0
panelui error
6 years 3 months ago #173688
by roland
panelui error was created by roland
Hi,
I would like to use panelui. linuxcnc.org/docs/devel/html/gui/panelui.html
But already the start of the demo fails.
What am I doing wrong?
Linuxcnc 2.9, Debian 9
Roland
I would like to use panelui. linuxcnc.org/docs/devel/html/gui/panelui.html
But already the start of the demo fails.
What am I doing wrong?
Linuxcnc 2.9, Debian 9
Roland
Attachment not found
Attachment not found
Please Log in to join the conversation.
6 years 3 months ago #173689
by cmorley
Replied by cmorley on topic panelui error
The sim works from a RIP development environment.
I'll test an installed version soon.
Chris
I'll test an installed version soon.
Chris
Please Log in to join the conversation.
6 years 3 months ago #173708
by cmorley
Replied by cmorley on topic panelui error
I tried on debian and it worked for me...
Can you tell me more about your system and how did you get linuxcnc on it?
Can you tell me more about your system and how did you get linuxcnc on it?
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 3 months ago #173726
by tommylight
Replied by tommylight on topic panelui error
From the error report:
ImportError: No module named pyui
Twice.
It should be in :
cnc@shop:~$ whereis pyui
pyui: /usr/bin/pyui
It is not a stand alone package, so i do not know what to install to get it.
ImportError: No module named pyui
Twice.
It should be in :
cnc@shop:~$ whereis pyui
pyui: /usr/bin/pyui
It is not a stand alone package, so i do not know what to install to get it.
Please Log in to join the conversation.
6 years 3 months ago #173730
by roland
Replied by roland on topic panelui error
i have installed debian stretch using this iso:
cdimage.debian.org/cdimage/archive/9.12.....0-amd64-netinst.iso
I installed LinuxCNC following these instructions:
buildbot.linuxcnc.org/
These are the sources:
deb buildbot.linuxcnc.org/ stretch master-rtpreempt
deb-src buildbot.linuxcnc.org/ stretch master-rtpreempt
sudo apt-get install linuxcnc-uspace
sudo apt-get install linuxcnc-uspace-dev
Everything ist up-to-date
I tested it on two machines:
One is a virtual machine (VirtualBox). See linuxcnc.error in first post.
The other on is my real machine. Same result. See linuxcnc.error attached this post.
cdimage.debian.org/cdimage/archive/9.12.....0-amd64-netinst.iso
I installed LinuxCNC following these instructions:
buildbot.linuxcnc.org/
These are the sources:
deb buildbot.linuxcnc.org/ stretch master-rtpreempt
deb-src buildbot.linuxcnc.org/ stretch master-rtpreempt
sudo apt-get install linuxcnc-uspace
sudo apt-get install linuxcnc-uspace-dev
Everything ist up-to-date
I tested it on two machines:
One is a virtual machine (VirtualBox). See linuxcnc.error in first post.
The other on is my real machine. Same result. See linuxcnc.error attached this post.
Attachment not found
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 3 months ago #173737
by tommylight
Replied by tommylight on topic panelui error
That is a Python issue, not a LinuxCNC issue.
That should be packaged with something Python related
Some info here, a bit outdated, but might give a clue
ubuntuforums.org/showthread.php?t=29969&...7e806f0a4ab1d5cb9ba4
That should be packaged with something Python related
Some info here, a bit outdated, but might give a clue
ubuntuforums.org/showthread.php?t=29969&...7e806f0a4ab1d5cb9ba4
Please Log in to join the conversation.
6 years 3 months ago #173757
by roland
Replied by roland on topic panelui error
i tried LinuxCNC 2.8 in a virtual machine: sim starts without error.
I compared the files:
/usr/lib/python2.7/dist-packages/pyui/__init__.py and /usr/lib/python2.7/dist-packages/pyui/master.py between 2.8 and 2.9
and found some differences.
__init__.py 2.8:
__init__.py 2.9:
master.py 2.8:
master.py 2.9:
i changed the entries .pyui to pyui and now i can start the sim in 2.9
I compared the files:
/usr/lib/python2.7/dist-packages/pyui/__init__.py and /usr/lib/python2.7/dist-packages/pyui/master.py between 2.8 and 2.9
and found some differences.
__init__.py 2.8:
Code:
from pyui import master
Code:
from .pyui import master
master.py 2.8:
Code:
from pyui import widgets as WIDGETS
from pyui import commands
master.py 2.9:
Code:
from .pyui import widgets as WIDGETS
from .pyui import commands
i changed the entries .pyui to pyui and now i can start the sim in 2.9
Please Log in to join the conversation.
6 years 3 months ago #173801
by cmorley
Replied by cmorley on topic panelui error
ok that's weird ! I'm glad you found a work around.
Please Log in to join the conversation.
6 years 3 months ago #174117
by roland
Replied by roland on topic panelui error
Unfortunately this work around only works until the next apt-get upgrade
I hope this will be fixed in the master sometime
I hope this will be fixed in the master sometime
Please Log in to join the conversation.
6 years 3 months ago #174160
by cmorley
Replied by cmorley on topic panelui error
I see the change to .pyui was made durin the python3 transition.
I'm not sure why it was done. I'll inquire.
Chris
I'm not sure why it was done. I'll inquire.
Chris
Please Log in to join the conversation.
Time to create page: 0.227 seconds
