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

Run error #8

Closed
Randomjunk999 opened this issue Jul 20, 2018 · 3 comments
Closed

Run error #8

Randomjunk999 opened this issue Jul 20, 2018 · 3 comments

Comments

@Randomjunk999
Copy link

I get:

./hikvision_ftfpd.py: 8: ./hikvision_tftpd.py: Syntax Error: newline unexpected

(Running on Ubuntu in VirtualBox with the "$ sudo ./hikvision_tftpd.py --server-ip=172.9.18.80 --filename=digicap.mav" version of the command)

@scottlamb
Copy link
Owner

What version of Ubuntu? What does python --version say?

@Randomjunk999
Copy link
Author

Hi,
It's Ubuntu 18.04 with Python 3.6.5 (What are you using to run & I'll try that one.)

@scottlamb
Copy link
Owner

Ahh, I developed this with Python 2. So I think this is a dupe of #5. I'm playing around with upgrading, but the workaround is to do sudo python2 hikvision_tftpd.py ...

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