× Forum Header

Stepconf wizard machinename not defined

More
07 Jul 2009 19:50 - 07 Jul 2009 19:54 #490 by cj01
Hi
Getting this error with stepconf wizard in EMC2.3.2. (Ubuntu 8.04)


Stepconf encountered an error. The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/stepconf", line 1817, in on_complete_finish
self.data.save()
File "/usr/bin/stepconf", line 1075, in save
shortcut = os.path.join(desktop, machinename)
NameError: global name 'machinename' is not defined


Can anyone help please? :huh:
Last edit: 07 Jul 2009 19:54 by cj01.

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

More
08 Jul 2009 01:32 #492 by PCW
Silly question: Is you machine name defined?
(google ubuntu machine name)

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

More
08 Jul 2009 20:37 - 08 Jul 2009 20:45 #496 by cj01
Hi
Thanks for the reply
Yes and it worked OK in previous versions of EMC
only falling down since newest upgrade

cj01
Last edit: 08 Jul 2009 20:45 by cj01.

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

More
09 Jul 2009 02:12 #498 by chuck1024
I just did a complete install of the new liveCD because an upgrade bombed badly. I got the same problem trying to run stepconf. THis is the error. Any yes I entered a machine name..

Stepconf encountered an error. The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/stepconf", line 1817, in on_complete_finish
self.data.save()
File "/usr/bin/stepconf", line 1075, in save
shortcut = os.path.join(desktop, machinename)
NameError: global name 'machinename' is not defined

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

More
09 Jul 2009 03:54 #499 by chuck1024
I am not familiar with py code but I hacked on stepconf program as follows.

1075c1075
< shortcut = os.path.join(desktop, machinename)
---
> shortcut = os.path.join(desktop, self.machinename)

I copied stepconf to stepconf_test and change the one line. I ran stepconf_test from a terminal window by just typing in the name. It created all the necessary files and links on the desktop but it did print some warnings.

Now my machine is basically working. :)

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

More
09 Jul 2009 12:14 - 09 Jul 2009 12:33 #502 by BigJohnT
Looks like a little bug in the stepconf code. It does the same thing here. As a temporary work around if you uncheck the "Create a desktop shortcut (symlink) to configuration files." it will save the config.

It actually saved the config but bombed when trying to save the symlink.

And as fast as fast can be a Developer has fixed the bug... Thanks for finding it.

John
Last edit: 09 Jul 2009 12:33 by BigJohnT.

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

More
09 Jul 2009 20:01 #506 by cj01
Uncheck the "Create a desktop shortcut (symlink) to configuration files." works ok
and after first use, a desktop shortcut appears on the desktop and works too

thanks :)

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

Time to create page: 0.066 seconds
Powered by Kunena Forum