Forum Header

Stepconf does not start

More
6 years 5 months ago #166783 by prochj51
Hi,
I have problem running stepconf.
It gives following output
Code:
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 to join the conversation.

More
6 years 5 months ago #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 to join the conversation.

More
6 years 5 months ago #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 to join the conversation.

More
6 years 5 months ago #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 to join the conversation.

More
6 years 5 months ago #166983 by tommylight
Replied by tommylight on topic Stepconf does not start

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

Who did he kill ? :woohoo:

Please Log in to join the conversation.

More
6 years 5 months ago #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 to join the conversation.

More
6 years 5 months ago #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 to join the conversation.

More
6 years 5 months ago #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

Please Log in to join the conversation.

More
6 years 5 months ago #167059 by cmorley
Replied by cmorley on topic Stepconf does not start
This is fixed properly in master now.

Please Log in to join the conversation.

More
6 years 5 months ago #167175 by nicokid
Replied by nicokid on topic Stepconf does not start
Ok, many thanks.
Nicola.

Please Log in to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum