Need help with dxf2gcode [solved]
Once again i need your help...
After a fresh install of Ubuntu 12.04 and of linuxcnc 2.6 now everything works fine...
But after reading here some G Code generators i tried to use dxf2gcode, i think that i have everyhing installed from python to run the program...
But when i open linuxcnc and open the (dxf2gcode.py) i have this error:
filipe@Vaio-VPCEH3K1E:~/Transferências/source$ ./dxf2gcode.py
(PyQt4.QtCore.QString(u'dxf2gcode_pt_PT'), './i18n')
Traceback (most recent call last):
File "./dxf2gcode.py", line 980, in <module>
window = Main(app)
File "./dxf2gcode.py", line 89, in __init__
self.MyPostProcessor = MyPostProcessor()
File "/home/filipe/Transferências/source/PostPro/PostProcessor.py", line 100, in __init__
self.get_output_vars()
File "/home/filipe/Transferências/source/PostPro/PostProcessor.py", line 123, in get_output_vars
PostProConfig.load_config()
File "/home/filipe/Transferências/source/PostPro/PostProcessorConfig.py", line 187, in load_config
logger.debug(self.tr("read existing varspace '%s'") % (self.filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)
filipe@Vaio-VPCEH3K1E:~/Transferências/source$
Help please..
Thanks.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Went to all files "__init__.py"
and take off the
" _ "
Now only appear one error...
filipe@Vaio-VPCEH3K1E:~/Transferências/source$ ./dxf2gcode.py
Traceback (most recent call last):
File "./dxf2gcode.py", line 34, in <module>
from dxf2gcode_pyQt4_ui.dxf2gcode_pyQt4_ui import Ui_MainWindow
ImportError: No module named dxf2gcode_pyQt4_ui.dxf2gcode_pyQt4_ui
Try to edit that file... but no sucess...
Please Log in or Create an account to join the conversation.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)
ASCII charactors are from 0x00 to 0x7F
A charactor 0xc3 has been detected as per the error message.
However I am not sure if this is something you have put through it or an internal error.
Try using dxf2gcode on the commandline and make sure it works properly before trying to use it through linuxcnc
regards
Please Log in or Create an account to join the conversation.
Went to all files "__init__.py"
and take off the
" _ "
Now only appear one error...
You can't do that, they are system files, you only get 1 error because it did not get far enough for more of them.
What cncbasher meant was make sure you dont have spaces in your file names, also ensure they were not created with a windows editor.
Please Log in or Create an account to join the conversation.
Tried to do from begining..
But no luck..
The same errors...
Did like this:
Download the source: 2014-02-12-DXF2GCODE_PyQt4_beta_source.rar 2014-02-12 348.5 kB
Put the folder in:
/home/filipe/Downloads
Then follow the instalation from wiki all the steps (1,2,3)
[code.google.com/p/dxf2gcode/wiki/Installation
Reboot Pc...
Tried on terminal:
./dxf2gcode.py
But no luck....
Please Log in or Create an account to join the conversation.
JT
Please Log in or Create an account to join the conversation.
Go to folder "source" then execute the command..
Terminal:
filipe@Vaio-VPCEH3K1E:~/Transferências/source$ ls
config
d2gexceptions.py
dxf2gcode.py
DxfImport
i18n
make_exe.py
PostPro
Core
d2gexceptions.pyc
dxf2gcode_pyQt4_ui
Gui
images
make
_pylupdate4_dxf2gcode.py
postpro_config
filipe@Vaio-VPCEH3K1E:~/Transferências/source$ ./dxf2gcode.py
This is correct right?
After the command appears the error..
Please Log in or Create an account to join the conversation.
What happened after this command?
filipe@Vaio-VPCEH3K1E:~/Transferências/source$ ./dxf2gcode.py
JT
Please Log in or Create an account to join the conversation.
filipe@Vaio-VPCEH3K1E:~/Transferências/source$ ./dxf2gcode.py
(PyQt4.QtCore.QString(u'dxf2gcode_pt_PT'), './i18n')
Traceback (most recent call last):
File "./dxf2gcode.py", line 980, in <module>
window = Main(app)
File "./dxf2gcode.py", line 89, in __init__
self.MyPostProcessor = MyPostProcessor()
File "/home/filipe/Transferências/source/PostPro/PostProcessor.py", line 100, in __init__
self.get_output_vars()
File "/home/filipe/Transferências/source/PostPro/PostProcessor.py", line 123, in get_output_vars
PostProConfig.load_config()
File "/home/filipe/Transferências/source/PostPro/PostProcessorConfig.py", line 187, in load_config
logger.debug(self.tr("read existing varspace '%s'") % (self.filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)
filipe@Vaio-VPCEH3K1E:~/Transferências/source$
Please Log in or Create an account to join the conversation.