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

Error when syncing source #165

Open
dieselman8228 opened this issue Dec 8, 2020 · 3 comments
Open

Error when syncing source #165

dieselman8228 opened this issue Dec 8, 2020 · 3 comments

Comments

@dieselman8228
Copy link

When trying to sync to the repo I get this error....

Traceback (most recent call last):
File "/home/aaron/halium/.repo/repo/main.py", line 56, in
from subcmds.version import Version
File "/home/aaron/halium/.repo/repo/subcmds/init.py", line 38, in
['%s' % name])
File "/home/aaron/halium/.repo/repo/subcmds/upload.py", line 27, in
from hooks import RepoHook
File "/home/aaron/halium/.repo/repo/hooks.py", line 472
file=sys.stderr)
^
SyntaxError: invalid syntax

I am trying to build for a Samsung tab 4.7.0 (degaswifi) any help would be appreciated.

@doniks
Copy link
Member

doniks commented Dec 9, 2020

I'm not sure, but maybe something to do with python 2 vs 3 and the version of the repo command you use?!

@dieselman8228
Copy link
Author

I tried both commands out of the official build documentation. Is there a recommended python version?

@JamiKettunen
Copy link

JamiKettunen commented Dec 16, 2024

I'm not sure much can be done here still years later, best build legacy Halium versions on legacy Ubuntu versions like 16.04 (or unfortunately maybe even 14.04) due to potentially many other incompatabilities from changes to userspace.

Python 2 was officially removed from repo since Ubuntu 24.04 LTS for example so there you'd have to find your own way around that anyway

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

3 participants