Ich habe einen Code welcher mir diese Fehlermeldung auswirft. Allerdings komme ich nicht weiter mit der Fehlermeldung. Bei google habe ich leider auch nichts gefunden. Ich hoffe ihr könnt mir helfen.
Fehlercode:
ERROR! Cannot copy files.
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Tim PC\PycharmProjects\MakeBackup\save.py", line 29, in savedata
copyfile(line.rstrip(), dest + dat)
File "C:\Users\Tim PC\AppData\Local\Programs\Python\Python36-32\lib\shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'C:\Users\Tim PC\PycharmProjects\MakeBackup\testbackups\17.05.2018 14-26-54'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Tim PC\AppData\Local\Programs\Python\Python36-32\lib\tkinter__init__.py", line 1702, in __call__
return self.func(args) File "C:/Users/Tim PC/PycharmProjects/MakeBackup/main.py", line 116, in <lambda> save_1_button = Button(fenster, text="Save", command=lambda: save.savedata()) File "C:\Users\Tim PC\PycharmProjects\MakeBackup\save.py", line 32, in savedata raise Exception Exception
Quellcode:
https://gist.github.com/McCrafterIV/20388d3a2b8f1519ccc9f1fa811b2f9f