Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.8.5 can't compile on windows #174

Closed
craiq opened this issue Aug 30, 2018 · 13 comments
Closed

Version 0.8.5 can't compile on windows #174

craiq opened this issue Aug 30, 2018 · 13 comments

Comments

@craiq
Copy link

craiq commented Aug 30, 2018

Hey,

OS: Windows 10 Pro 64-Bit (10.0, Build 15063)
Arduino IDE 1.8.6

after updating to version 0.8.5 I get following compiler error:

[18560] Failed to execute script __main__

Traceback (most recent call last):

  File "nordicsemi\__main__.py", line 315, in <module>

  File "site-packages\click\core.py", line 722, in __call__

  File "site-packages\click\core.py", line 697, in main

  File "site-packages\click\core.py", line 1066, in invoke

  File "site-packages\click\core.py", line 1066, in invoke

  File "site-packages\click\core.py", line 895, in invoke

  File "site-packages\click\core.py", line 535, in invoke

  File "nordicsemi\__main__.py", line 240, in genpkg

  File "site-packages\click\utils.py", line 259, in echo

  File "site-packages\click\_winconsole.py", line 180, in write

  File "site-packages\click\_winconsole.py", line 164, in write

OSError: Windows error 1

exit status -1
Fehler beim Kompilieren für das Board Adafruit Bluefruit nRF52 Feather.

going back to 0.8.4 solves the problem.

Tested this on the bleuart example.

@hathach
Copy link
Member

hathach commented Aug 30, 2018

can you post your full log of compilation.

@craiq
Copy link
Author

craiq commented Aug 30, 2018

it's the full log

@hathach
Copy link
Member

hathach commented Aug 30, 2018

Ah sorry, i didn't state it clear, can you enabled the verbose output during compilation in preference. It provide a bit more information. You dont have to paste the full log, only the last command that trigger the error. it is probably adafruit-nrfutil .......

image

@craiq
Copy link
Author

craiq commented Aug 30, 2018

with this options activated there is no error anymore oO
deactivating it and it comes back

@hathach
Copy link
Member

hathach commented Aug 30, 2018

@craiq did you installed the win10 version from windows app store, or just a normal exe file from Arduino website ?

Never mind, I could reproduce this issue. I was on 1.8.5 previsouly. This only happens with 1.8.6

@craiq
Copy link
Author

craiq commented Aug 30, 2018

from the website
Windows` Installer, for Windows XP and up

@hathach
Copy link
Member

hathach commented Aug 30, 2018

Thanks for reporting, we will try to fix this asap.

@clratzlaff
Copy link

I just installed Arduino IDE 1.8.6 onto my Windows 10 (10.0.17134 Build 17134) and had the exact same issue. Enabling the verbose output solved the problem also.

@ladyada
Copy link
Member

ladyada commented Sep 11, 2018

@craiq @clratzlaff try replacing your adafruit-nrfutil exec in Adafruit_nRF52_Arduino\tools\adafruit-nrfutil\win32 with this one and try again?

https://s3.amazonaws.com/uploads.hipchat.com/95690/1622213/Fkh16cYONkP3owE/adafruit-nrfutil.exe

if that fixes it we'll bump and re-release

@clratzlaff
Copy link

Thanks for the fix. That fixed the problem. I can now compile and upload without the verbose flags set.

@ladyada
Copy link
Member

ladyada commented Sep 11, 2018

yay thanks for checking :)

@hathach
Copy link
Member

hathach commented Sep 15, 2018

We just release 0.8.6 that should fix this issue along with other minors issue. Thanks for posting.

@craiq
Copy link
Author

craiq commented Sep 25, 2018

back from holiday. thx its solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants