halcompile error
05 May 2016 20:52 - 06 May 2016 02:39 #74283
by joekline9
halcompile error was created by joekline9
I can't get halcompile to work for a userpace comp. See error below:
joe@Shermill:~$ sudo halcompile --install --userspace testusr.comp
Traceback (most recent call last):
File "/usr/bin/halcompile", line 1353, in <module>
main()
File "/usr/bin/halcompile", line 1322, in main
process(f, mode, outfile)
File "/usr/bin/halcompile", line 1192, in process
a, b = parse(filename)
File "/usr/bin/halcompile", line 417, in parse
a, b = f.split("\n;;\n", 1)
ValueError: need more than 1 value to unpack
I am on Debian Wheezy and linuxcnc 2.7.4
joe@Shermill:~$ sudo halcompile --install --userspace testusr.comp
Traceback (most recent call last):
File "/usr/bin/halcompile", line 1353, in <module>
main()
File "/usr/bin/halcompile", line 1322, in main
process(f, mode, outfile)
File "/usr/bin/halcompile", line 1192, in process
a, b = parse(filename)
File "/usr/bin/halcompile", line 417, in parse
a, b = f.split("\n;;\n", 1)
ValueError: need more than 1 value to unpack
I am on Debian Wheezy and linuxcnc 2.7.4
Last edit: 06 May 2016 02:39 by joekline9.
Please Log in or Create an account to join the conversation.
06 May 2016 18:27 #74313
by joekline9
Well I found the problem. DOS style line endings.
I just had to do Save As in Gedit and choose Unix/Linux not windows Line endings.
It would be nice if Halcompile would just ignore the '/r' but............
Replied by joekline9 on topic halcompile error
Well I found the problem. DOS style line endings.
I just had to do Save As in Gedit and choose Unix/Linux not windows Line endings.
It would be nice if Halcompile would just ignore the '/r' but............
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 4963
- Thank you received: 1369
06 May 2016 19:32 #74315
by Todd Zuercher
Replied by Todd Zuercher on topic halcompile error
Be nicer if Microsoft would just use the same endings as every one else
Please Log in or Create an account to join the conversation.
Time to create page: 0.134 seconds