programm python error need help

More
23 Mar 2021 20:02 #203423 by horntreiber
when i start gmocappy it shows :
The programm python exited with code1
file"/home/cnc/linuxcnc/nc_files/examples/holecorcle.py.line2,in module
Base=os.environ(EMC2Home)
File"/usr/lib/python2.7/UserDict.py".line40.in _getitemraise KeyError (key)
KeyError:ÉMC"_Home

what can i do

greetings Thomas
Attachments:

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

More
23 Mar 2021 21:50 #203441 by newbynobi
It seems you try to load a ngc file at start up, and that one seems to be an very old out of date one.

Just erase the preference file in your home dir and start again and report.

Holecircle. Py is not part of gmoccapy.

Norbert

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

More
24 Mar 2021 15:17 #203513 by horntreiber
Hallo Norbert

Gehe mal davon aus das wir deutsch schreiben können.
Nachdem ich Python in den Papierkerb verschoben habe öffnete sich Gmocappy sehr sehr langsam und reagiert überhaupt nicht.
Nach wiederherstellung von Python reagierte Gmocappy wieder.Es kamen neue Fehlermeldungen und der Werkzeugwechsel funktioniert nicht mehr.
Attachments:

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

More
24 Mar 2021 16:11 #203517 by newbynobi
Hallo,

please post the complete config folder and please inform if you start from rip-environment or with LinuxCNC release you use.

Norbert

P.S. Englisch ist hier besser, dann können andere auch davon profitieren.
Schau mal in den Quelltext, da steht meine Email Adresse, dann kannst du mich auch per Mail erreichen.

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

More
24 Mar 2021 17:51 #203529 by horntreiber
Hello Norbert
I start from Linux CNC

Here the Congig
Attachments:

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

More
24 Mar 2021 17:53 #203530 by horntreiber
Config
Attachments:

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

More
25 Mar 2021 06:11 #203585 by horntreiber
Guten Morgen
Ich finde deine E- Mail Adresse nicht.
Gruß Thomas

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

Moderators: newbynobiHansU
Time to create page: 0.085 seconds
Powered by Kunena Forum