Problem updating from 2.8.0-pre to 2.8.2
- strahlensauger
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 195
- Thank you received: 65
10 Jan 2022 22:10 #231351
by strahlensauger
Problem updating from 2.8.0-pre to 2.8.2 was created by strahlensauger
Hello everybody,
I wanted to update from linuxcnc from 2.8.0 to 2.8.2. I did a fresh install of the 2.8.2 iso on a new harddrive and copied my
config folder to the new drive. (no hardwarechange, except the drive)
When I start linuxcnc with my working machineconfig under 2.8.2 it throws some python errors and doesn't start.
Because the errors belong to files in /usr/lib I don't think my machineconfiguration is the reason.
I just copied the errors from the output of linuxcnc running my ini file:
Starting LinuxCNC...
application-specific initialization failed: couldn't connect to display "axis"
Error in startup script: invalid command name "."
while executing
". configure -borderwidth 0 -highlightthickness 0"
(file "/usr/lib/tcltk/linuxcnc/bin/popimage" line 35)
and after loading the Mesa card it shows
Found file(REL): ./custom.hal
Traceback (most recent call last):
File "/usr/bin/hal_manualtoolchange", line 62, in <module>
app = Tkinter.Tk(className="AxisToolChanger")
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1828, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "axis"
Traceback (most recent call last):
File "/usr/bin/axis", line 121, in <module>
root_window = Tkinter.Tk(className="Axis")
File "/usr/bin/axis", line 44, in __init__
OldTk.__init__(self, *args, **kw)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1828, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "axis"
Shutting down and cleaning up LinuxCNC...
Traceback (most recent call last):
File "/usr/bin/axis-remote", line 78, in <module>
t = Tkinter.Tk(); t.wm_withdraw()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1828, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "axis"
Running HAL shutdown script
task: 49 cycles, min=0.000069, max=0.010266, avg=0.007056, 0 latency excursions (> 10x expected cycle time of 0.010000s)
A non blocked signal was caught
hm2_eth: in hm2_eth_reset
advice is appreciated...
I wanted to update from linuxcnc from 2.8.0 to 2.8.2. I did a fresh install of the 2.8.2 iso on a new harddrive and copied my
config folder to the new drive. (no hardwarechange, except the drive)
When I start linuxcnc with my working machineconfig under 2.8.2 it throws some python errors and doesn't start.
Because the errors belong to files in /usr/lib I don't think my machineconfiguration is the reason.
I just copied the errors from the output of linuxcnc running my ini file:
Starting LinuxCNC...
application-specific initialization failed: couldn't connect to display "axis"
Error in startup script: invalid command name "."
while executing
". configure -borderwidth 0 -highlightthickness 0"
(file "/usr/lib/tcltk/linuxcnc/bin/popimage" line 35)
and after loading the Mesa card it shows
Found file(REL): ./custom.hal
Traceback (most recent call last):
File "/usr/bin/hal_manualtoolchange", line 62, in <module>
app = Tkinter.Tk(className="AxisToolChanger")
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1828, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "axis"
Traceback (most recent call last):
File "/usr/bin/axis", line 121, in <module>
root_window = Tkinter.Tk(className="Axis")
File "/usr/bin/axis", line 44, in __init__
OldTk.__init__(self, *args, **kw)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1828, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "axis"
Shutting down and cleaning up LinuxCNC...
Traceback (most recent call last):
File "/usr/bin/axis-remote", line 78, in <module>
t = Tkinter.Tk(); t.wm_withdraw()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1828, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "axis"
Running HAL shutdown script
task: 49 cycles, min=0.000069, max=0.010266, avg=0.007056, 0 latency excursions (> 10x expected cycle time of 0.010000s)
A non blocked signal was caught
hm2_eth: in hm2_eth_reset
advice is appreciated...
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10795
- Thank you received: 3556
11 Jan 2022 00:08 #231373
by rodw
Replied by rodw on topic Problem updating from 2.8.0-pre to 2.8.2
Can you run an Axis sim?
Please Log in or Create an account to join the conversation.
- strahlensauger
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 195
- Thank you received: 65
11 Jan 2022 10:11 #231424
by strahlensauger
Replied by strahlensauger on topic Problem updating from 2.8.0-pre to 2.8.2
Yes Axis sim runs fine.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10795
- Thank you received: 3556
11 Jan 2022 10:15 #231426
by rodw
Replied by rodw on topic Problem updating from 2.8.0-pre to 2.8.2
Then its something in your config that is not liked.
Sometimes when I get stuff like this, I make a new config from scratch with pncconf (stepconf would work) using rubbish values to get it done quick then copy and paste my ini file and hal files to the new config.
Sometimes when I get stuff like this, I make a new config from scratch with pncconf (stepconf would work) using rubbish values to get it done quick then copy and paste my ini file and hal files to the new config.
The following user(s) said Thank You: strahlensauger
Please Log in or Create an account to join the conversation.
- strahlensauger
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 195
- Thank you received: 65
11 Jan 2022 10:21 #231429
by strahlensauger
Replied by strahlensauger on topic Problem updating from 2.8.0-pre to 2.8.2
I also tried to start the machine and now linuxcnc is showing a different error.
It seems I have to rebuild my hal and ini from scratch...
Not too enthusiastic about that...
hm2/hm2_7i76e.0: registered
Found file(REL): ./custom.hal
note: MAXV max: 166.667 units/sec 10000.000 units/min
note: LJOG max: 166.667 units/sec 10000.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
Traceback (most recent call last):
File "/usr/bin/axis", line 4149, in <module>
_dynamic_tabs(inifile)
File "/usr/bin/axis", line 3981, in _dynamic_tabs
child = Popen(cmd)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Shutting down and cleaning up LinuxCNC...
It seems I have to rebuild my hal and ini from scratch...
Not too enthusiastic about that...
hm2/hm2_7i76e.0: registered
Found file(REL): ./custom.hal
note: MAXV max: 166.667 units/sec 10000.000 units/min
note: LJOG max: 166.667 units/sec 10000.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
Traceback (most recent call last):
File "/usr/bin/axis", line 4149, in <module>
_dynamic_tabs(inifile)
File "/usr/bin/axis", line 3981, in _dynamic_tabs
child = Popen(cmd)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Shutting down and cleaning up LinuxCNC...
Please Log in or Create an account to join the conversation.
- strahlensauger
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 195
- Thank you received: 65
14 Jan 2022 23:22 #231818
by strahlensauger
Replied by strahlensauger on topic Problem updating from 2.8.0-pre to 2.8.2
Found the error. I had a camera module installed, for whhich mplayer was needed and not installed. I would have expected other errors,. Now everything runs fine.
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds