Closed Deadened closed 5 years ago
The README contains an example of how to use the script and help on individual arguments. If you still need help, you will need to give me more detail, including exactly how you are running the command (including the full command used), and all output - not just "an invalid syntax error" - I would need to see what that error was to say more.
For starters, I'm not sure if the unrpa
I download is supposed to be a .py
or not. Python doesn't seem to recognize it in the first place.
You have opened a Python console, which is for typing code in, not running files of code. You need to open a command prompt (cmd.exe
).
Just opened Powershell and ran one of the example code from the README. Modified it with the input and output, but I got this:
(null): can't open file 'unrpa': [Errno 2] No such file or directory
You need to be in the directory the script is located - use the cd
command to change directory until you can see the unrpa
file when you use dir
. Then when you run the command it should work.
So this requires some experience with command lines?
(BTW, this was from using PowerShell:)
PS C:\Users\*******> cd -Path "C:\Users\*******\Downloads\unrpa-1.5.3.zip\unrpa-1.5.3"
cd : Cannot find path 'C:\Users\*******\Downloads\unrpa-1.5.3.zip\unrpa-1.5.3' because it does not exist.
At line:1 char:1
+ cd -Path "C:\Users\*******\Downloads\unrpa-1.5.3.zip\unrpa-1.5.3"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\******...zip\unrpa-1.5.3:String) [Set-Location], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
It's a command line tool, yes.
The error there is telling you what the issue is, that path doesn't exist. I would assume, based on that command, because you are trying to move to a directory in a zip file. An archive isn't a real directory, even if windows explorer depicts it that way.
You need to extract the archive first (copy the files from the archive to a directory), then move to the location you have extracted the files to.
And I do this how? I'm really not sure how to do that.
Hang on--
I'm sorry, but since I'm offering you this help in my free time for a script I've developed as open source, I'm not going to walk you through every fine detail, it's unreasonable to ask me to walk you through how to do a simple task without any attempt to do so yourself - I would suggest using google to search for guides if you do not know how to extract files from an archive.
Okay, finally got it working! I'm sorry for taking up your time.
It's fine, I have no problem helping, but hopefully you understand I also don't want to just be offering generic computer support to everyone who has issues with my script. I'm happy to help where I'm not just doing google's job by hand.
I'm glad you got it working.
I recently downloaded this script, along with Python 3.7.0. Yet I have no idea what I'm doing; I keep trying to open
unrpa
, but it keeps giving me an invalid syntax error. Without an instruction manual or something, I'm driving completely blind.