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

Not working with python 2 on wdmycloud(debian wheezy, sort of) #5

Open
retrosapien opened this issue Feb 3, 2021 · 1 comment
Open

Comments

@retrosapien
Copy link

using sources here and at http://www.csclub.uwaterloo.ca:11068/mymc/mymc-pysrc-2.6.zip

this is what i get when i try to run the python script in my terminal.(ssh using putty)
what command is it looking for?

included some info about my system in case it just isn't compatible.

I don't think python 3 can be installed.

$ python --version
Python 2.7.3

$ python -m platform
Linux-3.2.26-armv7l-with-debian-7.1

$ uname -a
Linux WDMyCloud 3.2.26 #1 SMP Thu Jul 9 11:14:15 PDT 2015 wd-2.4-rel armv7l GNU/Linux

$ dpkg --print-architecture
armhf

$ lscpu | grep Endian
Byte Order: Little Endian

$ ./mymc.py -h
./mymc.py: line 7: $'\r': command not found
./mymc.py: line 8: $'A utility for manipulating PS2 memory card images.\r': command not found
./mymc.py: line 9: $'\r': command not found
./mymc.py: line 10: _SCCS_ID: command not found
./mymc.py: line 11: $'\r': command not found
./mymc.py: line 12: import: command not found
./mymc.py: line 13: import: command not found
./mymc.py: line 14: import: command not found
./mymc.py: line 15: import: command not found
./mymc.py: line 16: import: command not found
./mymc.py: line 17: import: command not found
./mymc.py: line 18: import: command not found
from: can't read /var/mail/errno
./mymc.py: line 20: $'\r': command not found
./mymc.py: line 21: import: command not found
./mymc.py: line 22: import: command not found
from: can't read /var/mail/ps2mc_dir
from: can't read /var/mail/round
./mymc.py: line 25: import: command not found
./mymc.py: line 26: $'\r': command not found
./mymc.py: line 27: syntax error near unexpected token (' '/mymc.py: line 27: class subopt_error(Exception):

@sl1pkn07
Copy link

i think you need launch the program with python instead with bash

try:

python2 mymc.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