× Forum Header

Stepconf does not start

More
05 May 2020 18:05 #166783 by prochj51
Hi,
I have problem running stepconf.
It gives following output
prochj51@linuxcnc:~$ stepconf
Traceback (most recent call last):
  File "/usr/bin/stepconf", line 116, in <module>
    from stepconf import build_INI
  File "/usr/lib/python2.7/dist-packages/stepconf/build_INI.py", line 30, in <module>
    importlib.reload(sys)
AttributeError: 'module' object has no attribute 'reload'

I did not change the script in any way.
I am using LinuxCNC master branch installed.

Would any of you know what problem might be?
So far I have been running PNCCONF, it runs fine.

Thanks
Jiri

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

More
06 May 2020 06:33 #166845 by bbsr_5a
Replied by bbsr_5a on topic Stepconf does not start
did you update from buildbot
or did you update after install at all

use the Packige manager to update your linuxcnc version
it does not effect any config at all

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

More
06 May 2020 07:01 #166850 by prochj51
Replied by prochj51 on topic Stepconf does not start
I updated it with Package manager.

I tried reinstallation of LinCNC master branch, still have the same issue.

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

More
07 May 2020 21:24 #166982 by nicokid
Replied by nicokid on topic Stepconf does not start
I just found out that stepconf can no longer work with Ubuntu 16.04 :angry:
importlib.reload exists only in python3.
Also in ubuntu 16.04 there is no yapp package for python3.
The killer is rene-dev with the work of the last 5 days...:unsure:

Nicola.

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

More
07 May 2020 21:45 #166983 by tommylight
Replied by tommylight on topic Stepconf does not start

The killer is rene-dev with the work of the last 5 days...:unsure:

Who did he kill ? :woohoo:

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

More
07 May 2020 23:00 #166989 by nicokid
Replied by nicokid on topic Stepconf does not start
Stepconf is dead...:laugh:
In my ubuntu 16.04 it no longer runs.

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

More
07 May 2020 23:50 #166995 by phillc54
Replied by phillc54 on topic Stepconf does not start
You should create a new issue if a similar one does not yet exist.

github.com/LinuxCNC/linuxcnc/issues

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

More
08 May 2020 07:37 - 08 May 2020 07:38 #167017 by cmorley
Replied by cmorley on topic Stepconf does not start
change line 38 in build_ini.py to :

reload(sys)

I should add if using python2
Last edit: 08 May 2020 07:38 by cmorley.

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

More
08 May 2020 17:19 #167059 by cmorley
Replied by cmorley on topic Stepconf does not start
This is fixed properly in master now.
The following user(s) said Thank You: tommylight, nicokid

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

More
09 May 2020 20:52 #167175 by nicokid
Replied by nicokid on topic Stepconf does not start
Ok, many thanks.
Nicola.

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

Time to create page: 0.136 seconds
Powered by Kunena Forum