Python Forum
FileNotFoundError...System cannot find the path specified
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FileNotFoundError...System cannot find the path specified
#11
FInput = r"C:\Users\admin\Music\source.mp4"
FOutput = r"C:\Users\admin\Music\decryptedvideo.mp4"
Reply
#12
thank u let me check

(Apr-02-2019, 01:19 PM)alex9745 Wrote: thank u let me check

still showing same error ...

where it needs to place can you please add that lines in that full script brother please

still showing line 35 error

mp4_data = subprocess.check_output([mp4dump, '--format', 'json', '--verbosity', '3', FInput])
mp4_data = json.loads(mp4_data)


this is my error lines
Reply
#13
Now that you have posted script and i have looked at it.
You don't need to change path,but you most place files like this.
And using Desktop is not best folder for this,better to start with a clean folder.
Here how the structure should look.
Desktop\
  |-- sunnxt.py
  |-- encryptedvideo.mp4  
  binaries\
    |-- mp4dump.exe
Reply
#14
nothing worked
Reply
#15
(Apr-02-2019, 05:38 PM)alex9745 Wrote: nothing worked
Okay Shifty
Reply
#16
"Nothing worked" is never an OK reply, as snippsat demonstrated.

If you're totally stuck, it's worth reposting whatever the most recent code attempt was along with stack traces, desired output, actual output, etc.

That said, you should also simplify your code. Typically 5-10 lines is more than enough, and in your case a single line should be enough to reproduce your problem
open("path")
Try to get working just opening the file. There's no reason to involve any more than a single line of code right now.
Reply
#17
some one please explain clearly i am new to this i dont know much i already put full script here some one please edit it correctl and give me please
Reply
#18
(Apr-03-2019, 11:51 AM)alex9745 Wrote: already put full script here some one please edit it correctl and give me please
We can of course not run this,because of missing files needed eg wvDecrypter.exe, challenge.bin, licence.bin
The structure is as i told you.
foo\
  |-- sunnxt.py
  |-- encryptedvideo.mp4  
  binaries\
    |-- mp4dump.exe
    |-- wvDecrypter.exe
    |-- challenge.bin
    |-- licence.bin
So i have mp4dump.exe now i don't get error at line 35.
So it work til line 54.
E:\div_code\foo
λ python sunnxt.py
unable to extract PSSSH
I don't have a encrypted mp4 video to test with,so it make sense that it don't find PSSSH.
Do you have a source for this script like eg GitHub with all files needed?
Reply
#19
(Apr-03-2019, 11:51 AM)alex9745 Wrote: i already put full script here
You said that something "didn't work" which implies you changed the original code, so having already posted some code is orthogonal to my comment.

Also, at this point, you should have posted a single line of code which reproduces your problem. This seems like it's just a path issue, so if we can simplify and cut out all the noise this should be an easy problem to tackle.
Reply
#20
(Apr-03-2019, 02:44 PM)snippsat Wrote:
(Apr-03-2019, 11:51 AM)alex9745 Wrote: already put full script here some one please edit it correctl and give me please
We can of course not run this,because of missing files needed eg wvDecrypter.exe, challenge.bin, licence.bin
The structure is as i told you.
foo\
  |-- sunnxt.py
  |-- encryptedvideo.mp4  
  binaries\
    |-- mp4dump.exe
    |-- wvDecrypter.exe
    |-- challenge.bin
    |-- licence.bin
So i have mp4dump.exe now i don't get error at line 35.
So it work til line 54.
E:\div_code\foo
λ python sunnxt.py
unable to extract PSSSH
I don't have a encrypted mp4 video to test with,so it make sense that it don't find PSSSH.
Do you have a source for this script like eg GitHub with all files needed?

can you please help me through team viewer
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't Find Path hatflyer 8 1,047 Oct-30-2023, 06:17 AM
Last Post: Gribouillis
  FileNotFoundError: [WinError 2] The system cannot find the file specified NewBiee 2 1,572 Jul-31-2023, 11:42 AM
Last Post: deanhystad
  Need Help: FileNotFoundError:[Errno 2] No such file or directory python202209 5 2,645 Sep-12-2022, 04:50 AM
Last Post: python202209
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,210 Sep-09-2021, 01:25 PM
Last Post: Yoriz
Exclamation "System cannot find path specified"(Geany) kiwi99 2 3,873 Mar-18-2021, 07:37 PM
Last Post: kiwi99
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,632 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  FileNotFoundError: [Errno 2] No such file or directory: 5l3y3r 6 8,120 Nov-02-2020, 12:48 PM
Last Post: 5l3y3r
  How could i change the python interpreter path of os.system() 12019202386 2 2,564 Sep-02-2020, 06:58 AM
Last Post: DeaD_EyE
  Shutil FileNotFoundError: Errno 2 Help lord_kaiser 8 10,528 Aug-10-2020, 08:45 AM
Last Post: lord_kaiser
  Getting FileNotFoundError: [Errno 2] ,if tries to acees same file from sub-directory pmpinaki 2 2,497 May-04-2020, 03:39 PM
Last Post: pmpinaki

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020