You are not logged in.

#1 2013-10-15 19:24:09

Hank0
Member
Registered: 2013-10-15
Posts: 1

Intel Galileo Arduino IDE error compiling [Solved]

Hello everybody,
i am having some issues with this IDE, i managed to install the normal arduino IDE with the PKGBUILD,
but with this other that has a different programmer Intel Izmer, i can launch it but when i go for compiling it gives error, something im sure you would recognize but i can't:

File "/home/hank/Arduino/hardware/tools/relocate_sdk.py", line 98
Setting it up...SDK could not be set up. Relocate script failed. Abort!
print "ERROR: could not relocate %s, interp size = %i and %i is needed." % (elf_file_name, p_memsz, len(new_dl_path) + 1)
                                                                           ^
SyntaxError: invalid syntax

Also both the arduino IDEs continue to say me that i have no permission to create lock file even if i have added my account into uucp group

UPDATE:

the problem was that i forgot that arch uses python3 on default , just had to

ln -s python2 python
ln -s python2-config python-config

Last edited by Hank0 (2013-10-16 20:38:20)

Offline

#2 2014-03-04 23:20:38

joaocandre
Member
Registered: 2013-02-23
Posts: 157

Re: Intel Galileo Arduino IDE error compiling [Solved]

Same problem, solved it the same way. This, however, sets python2 as default system-wide. Is there a way to just point python2 to the Galileo IDE?

Offline

#3 2014-09-10 09:53:06

johnHucks
Member
Registered: 2014-09-10
Posts: 1

Re: Intel Galileo Arduino IDE error compiling [Solved]

Setting it up.../tmp/tmp.9Bl67DGpPW/relocate_sdk.sh /home/john/opt/arduino-1.5.3/hardware/tools/relocate_sdk.sh
  File "/home/john/opt/arduino-1.5.3/hardware/tools/relocate_sdk.py", line 98
    print "ERROR: could not relocate %s, interp size = %i and %i is needed." % (elf_file_name, p_memsz, len(new_dl_path) + 1)
                                                                           ^
SyntaxError: invalid syntax
SDK could not be set up. Relocate script failed. Abort!


I have encountered the same problem shown above.
I  solved it as follows:
I substitute the first line of the following file:
(/home/john/opt/arduino-1.5.3/hardware/tools/relocate_sdk.py) with " #!/usr/bin/env python2 "

Offline

#4 2015-01-08 14:51:22

IlikePepsi
Member
Registered: 2013-10-29
Posts: 10

Re: Intel Galileo Arduino IDE error compiling [Solved]

Thanks for the fix guys,

I was just about getting pissed off and you saved me a lot of time. Thanks.

Anyway, is there a solution to that lock file issue? I also added my user to the lock and uucp groups but only as root i don't receive these errors..

check_group_uucp(): error testing lock file creation Error details:Keine Berechtigungcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL

Thanks in advance.

Offline

Board footer

Powered by FluxBB