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

scons --menuconfig fail #39

Open
spara7C5 opened this issue Apr 30, 2021 · 1 comment
Open

scons --menuconfig fail #39

spara7C5 opened this issue Apr 30, 2021 · 1 comment

Comments

@spara7C5
Copy link

Windows10 OS
followed procedure @ http://autoas.github.io/as/autosar/2018/02/20/as-study-platform.html

This is the error i get:

scons: Reading SConscript files ...
D:\Devel\as/com/as.tool/config.infrastructure.system/third_party/autosar/base.py:157: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(tmp[2])>0 is not None:
D:\Devel\as/com/as.tool/config.infrastructure.system/third_party/autosar/writer/behavior_writer.py:767: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise ValueError('Invalid portRef "%s" in runnable "%s"'(self.portRef,runnable.ref))
D:\Devel\as/com/as.tool/config.infrastructure.system/third_party/autosar/writer/behavior_writer.py:770: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise ValueError('Invalid portInterfaceRef "%s" in port "%s"'(port.portInterfaceRef,port.ref))
sh: line 1: cd: D:Develas/com/as.tool/kconfig-frontends: No such file or directory
Exception: FAIL of RunCommand "cd D:\Devel\as/com/as.tool/kconfig-frontends && curl -O http://distortos.org/files/kconfig-frontends-3.12.0-windows.7z && "C:/Program Files/7-Zip/7z.exe" e kconfig-frontends-3.12.0-windows.7z" = 256:
File "/d/Devel/as/SConstruct", line 8:
asenv = PrepareEnv()
File "/d/Devel/as/com/as.tool/config.infrastructure.system/building.py", line 193:
PrepareBuilding(asenv)
File "/d/Devel/as/com/as.tool/config.infrastructure.system/building.py", line 270:
menuconfig(env)
File "/d/Devel/as/com/as.tool/config.infrastructure.system/building.py", line 375:
RunCommand(cmd2)
File "/d/Devel/as/com/as.tool/config.infrastructure.system/building.py", line 652:
raise Exception('FAIL of RunCommand "%s" = %s'%(cmd, ret))

@AndreasStark
Copy link

AndreasStark commented May 12, 2021

I had the same, I found this workaround:

Do these steps manually in CMD: (assuming you checked out the repo to C:\dev\autoas\as)

  1. "cd C:\dev\autoas\as/com/as.tool/kconfig-frontends"
  2. Download manually in browser: http://distortos.org/files/kconfig-frontends-3.12.0-windows.7z into the folder in 1.
  3. back in CMD in the folder from 1. "C:/Program Files\7-Zip/7z.exe" e kconfig-frontends-3.12.0-windows.7z"
    Then rerun scons --menuconfig, make no changes, save on exit

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

2 participants