-
Notifications
You must be signed in to change notification settings - Fork 239
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
Error while archiving dictionary kobo.zip (Windows 7/64) #294
Comments
Please remove |
Actually a stupid question was, sorry. Added 'C:\Program Files (x86)\GnuWin32\bin' to PATH and all worked. Only the '.kobo' folder is not deleted after archiving for some reason. Can you fix this? |
Please try again. |
Already :) Great, thanks for your work, and quick fixes. Everything works, archives and removes tails. |
Hello, tell me how to fix this ...
`INFO:pyglossary:
[INFO] Writing to Kobo file 'D:\Downloads\dicthtml_English_Swedish.kobo'
INFO:pyglossary:Writing to Kobo file 'D:\Downloads\dicthtml_English_Swedish.kobo'
[INFO] Using Reader class from BabylonBgl plugin for direct conversion without loading into memory
INFO:pyglossary:Using Reader class from BabylonBgl plugin for direct conversion without loading into
memory
[INFO] Kobo: sorting entries...
INFO:pyglossary:Kobo: sorting entries...
[INFO] Kobo: writing entries...
INFO:pyglossary:Kobo: writing entries...
[WARNING] ignored 3 files (data entries) and replaced '<img ...' tags in definitions with placeholde
rs
WARNING:pyglossary:ignored 3 files (data entries) and replaced '<img ...' tags in definitions with p
laceholders
INFO:pyglossary:
[INFO] Compressing 'D:\Downloads\dicthtml_English_Swedish.kobo' with 'zip'
INFO:pyglossary:Compressing 'D:\Downloads\dicthtml_English_Swedish.kobo' with 'zip'
[ERROR] Exception in Tkinter callback:
Traceback (most recent call last):
File "D:\pyglossary-4.0.11\pyglossary\ui\ui_tk.py", line 216, in CallWrapper__call__
return self.func(*args)
File "D:\pyglossary-4.0.11\pyglossary\ui\ui_tk.py", line 1433, in convert
finalOutputFile = self.glos.convert(
File "D:\pyglossary-4.0.11\pyglossary\glossary.py", line 1301, in convert
finalOutputFile = self._compressOutput(finalOutputFile, compression)
File "D:\pyglossary-4.0.11\pyglossary\glossary.py", line 1219, in _compressOutput
return compress(self, filename, compression)
File "D:\pyglossary-4.0.11\pyglossary\glossary_utils.py", line 84, in compress
error = zipFileOrDir(glos, filename)
File "D:\pyglossary-4.0.11\pyglossary\glossary_utils.py", line 44, in zipFileOrDir
output, error = subprocess.Popen(
File "C:\Users\swe144\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in in
it
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\swe144\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in ex
ecute_child
hp, ht, pid, tid = winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The specified file cannot be found
Traceback (most recent call last):
File "D:\pyglossary-4.0.11\pyglossary\ui\ui_tk.py", line 216, in CallWrapper__call
return self.func(*args)
File "D:\pyglossary-4.0.11\pyglossary\ui\ui_tk.py", line 1433, in convert
finalOutputFile = self.glos.convert(
File "D:\pyglossary-4.0.11\pyglossary\glossary.py", line 1301, in convert
finalOutputFile = self._compressOutput(finalOutputFile, compression)
File "D:\pyglossary-4.0.11\pyglossary\glossary.py", line 1219, in _compressOutput
return compress(self, filename, compression)
File "D:\pyglossary-4.0.11\pyglossary\glossary_utils.py", line 84, in compress
error = zipFileOrDir(glos, filename)
File "D:\pyglossary-4.0.11\pyglossary\glossary_utils.py", line 44, in zipFileOrDir
output, error = subprocess.Popen(
File "C:\Users\swe144\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in in
it
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\swe144\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _ex
ecute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The specified file cannot be found
ERROR:pyglossary:Exception in Tkinter callback:
Traceback (most recent call last):
File "D:\pyglossary-4.0.11\pyglossary\ui\ui_tk.py", line 216, in CallWrapper__call__
return self.func(*args)
File "D:\pyglossary-4.0.11\pyglossary\ui\ui_tk.py", line 1433, in convert
finalOutputFile = self.glos.convert(
File "D:\pyglossary-4.0.11\pyglossary\glossary.py", line 1301, in convert
finalOutputFile = self._compressOutput(finalOutputFile, compression)
File "D:\pyglossary-4.0.11\pyglossary\glossary.py", line 1219, in _compressOutput
return compress(self, filename, compression)
File "D:\pyglossary-4.0.11\pyglossary\glossary_utils.py", line 84, in compress
error = zipFileOrDir(glos, filename)
File "D:\pyglossary-4.0.11\pyglossary\glossary_utils.py", line 44, in zipFileOrDir
output, error = subprocess.Popen(
File "C:\Users\swe144\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in in
it
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\swe144\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _ex
ecute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The specified file cannot be found
`
The text was updated successfully, but these errors were encountered: