Woodpecker - 1080x1920 Portrait mode problems

More
21 Dec 2021 14:18 #229624 by spumco
Hottabich,

Didn't want to clutter up the GUI Examples thread, but I'm having some newbie problems getting it to run.  The portrait sim starts but closes with errors (but no log file).

Lcnc 2.9 RIP, regular Qtvcp sims work fine.

A number of the .ini files and so forth have /home/jura/ file paths in them causing errors.  Can you give me a list of what all needs to be edited to get it working? Or if there's a better way of installing it than extracting the .zip to my /configs folder?

Thx,
R

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

More
21 Dec 2021 14:27 #229627 by tommylight
Those file paths have to be changed to where you have the files.

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

More
21 Dec 2021 14:36 #229628 by spumco
Thanks Tommy.

I did a file contents search and replaced all the path instances I could find, but there's a missing file somewhere.  It's /jura/line-number.txt referenced in numbstr.py.

Not sure if that's a (or the) problem but the GUI still opens and then closes about halfway through the loading process.

-R

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

More
21 Dec 2021 17:15 - 21 Dec 2021 17:54 #229633 by hottabich
Create an empty line-number.txt file like in the screenshot and in the numstr.py file write your path to the file. The line number will be saved there when the machine is stopped in an emergency. If you do not need it, then delete or comment out the last two lines in woodpecker_postgui.hal.
Attachments:
Last edit: 21 Dec 2021 17:54 by hottabich.
The following user(s) said Thank You: spumco

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

More
21 Dec 2021 21:01 #229654 by spumco
Still failing to load completely.  The handwheel panel shows up for a second, but then everything closes.

Problem is that I don't get an error message and the terminal closes automatically before I can see what's going on.  Even set [EMC] DEBUG = 1 but it's still closing.

Debug file contents:
5225
5254
Stopping realtime threads
Unloading hal components

linuxcnc_print contents:
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/mill/linuxcnc-dev/bin
LINUXCNC_TCL_DIR=/home/mill/linuxcnc-dev/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/mill/linuxcnc-dev/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/mill/linuxcnc-dev/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/home/mill/linuxcnc/configs/sim.qtvcp_screens.woodpecker/woodpecker_xyza.ini
VERSION=1.1
PARAMETER_FILE=woodpecker.var
TASK=milltask
HALUI=halui
DISPLAY=qtvcp woodpecker
COORDINATES=XYZA
KINEMATICS=trivkins coordinates=XYZA
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Starting TASK program: milltask
Starting DISPLAY program: qtvcp
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments


 

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

More
21 Dec 2021 21:54 #229662 by hottabich
Why are there such difficulties. Place the files as shown in the screenshots. Woodpecker interface in linuxcnc 2.9 default. Replace the two files woodpecker.ui, woodpecker_handler.py, with yours from your configuration and everything works.
Attachments:

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

More
21 Dec 2021 22:02 #229664 by hottabich
Perhaps you need to replace sim_panel.ui with a file from the configuration.
Attachments:

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

More
21 Dec 2021 22:09 - 21 Dec 2021 22:41 #229668 by spumco

Why are there such difficulties.
 


 


Probably because Linux is still a mystery to me.

Copied the two files to /share/qtvcp/screens/woodpecker/, and copied sim_panel.ui to /qtvcp/panels/sim_panel/.

Next error:
Traceback (most recent call last):File "/home/mill/linuxcnc-dev/bin/qtvcp", line 481, in <module>APP = QTVCP()File "/home/mill/linuxcnc-dev/bin/qtvcp", line 287, in __init__window.handler_instance.initialized__()File "/home/mill/linuxcnc-dev/share/qtvcp/screens/woodpecker/woodpecker_handler.py", line 148, in initialized__self.init_utils()File "/home/mill/linuxcnc-dev/share/qtvcp/screens/woodpecker/woodpecker_handler.py", line 375, in init_utilsfrom facing import FacingModuleNotFoundError: No module named 'facing' 
Last edit: 21 Dec 2021 22:41 by spumco.

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

More
21 Dec 2021 22:20 - 21 Dec 2021 23:01 #229672 by hottabich
Please describe your actions in order. I have linuxcnc installed from the official iso image and no problems.
Last edit: 21 Dec 2021 23:01 by hottabich.

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

More
21 Dec 2021 23:01 #229677 by spumco
Lcnc 2.9 RIP
  • installed qtvcp from the thread pinned to the top of this sub-forum and selected development version ("2")
  • qtvcp was installed in /linuxcnc-dev/share/, not usr/share
  • downloaded the .zip file from your link
  • unzipped to network drive
  • copied unzipped folder to /linuxcnc/configs
  • edited all instances of paths /jura/linuxcnc... to /mill/linuxcnc
  • copied (new) woodpecker.ui and woodpecker_handler.py from linuxcnc/configs to /linuxcnc-dev/share/qtvcp/screens/woodpecker
  • copied (new) sim_panel.ui from linuxcnc/configs to linuxcnc-dev/share/qtvcp/panels/sim_panel
  • started lcnc using launcher: /home/mill/linuxcnc-dev/scripts/linuxcnc

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

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