Need help with dxf2gcode [solved]

More
12 years 3 months ago - 12 years 3 months ago #48712 by Lc1975
Need help with dxf2gcode [solved] was created by Lc1975
Hello.

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.
Last edit: 12 years 3 months ago by Lc1975.

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

More
12 years 3 months ago #48718 by cncbasher
Replied by cncbasher on topic Need help with dxf2gcode
not sure if this will help but , check that you do not have spaces in file names .

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

More
12 years 3 months ago - 12 years 3 months ago #48721 by Lc1975
Replied by Lc1975 on topic Need help with dxf2gcode
Thanks for the tip.

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...
Last edit: 12 years 3 months ago by Lc1975.

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

More
12 years 3 months ago #48722 by ArcEye
Replied by ArcEye on topic Need help with dxf2gcode

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.

More
12 years 3 months ago #48723 by ArcEye
Replied by ArcEye on topic Need help with dxf2gcode

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.

More
12 years 3 months ago - 12 years 3 months ago #48724 by Lc1975
Replied by Lc1975 on topic Need help with dxf2gcode
My mistake on erasing ( _ ) :whistle: :whistle:

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....
Last edit: 12 years 3 months ago by BigJohnT. Reason: don't use code tags for links

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

Time to create page: 1.464 seconds
Powered by Kunena Forum