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

Fails running external programs on Windows #1097

Closed
fmos opened this issue May 27, 2020 · 4 comments
Closed

Fails running external programs on Windows #1097

fmos opened this issue May 27, 2020 · 4 comments

Comments

@fmos
Copy link
Collaborator

fmos commented May 27, 2020

For example editing a template with an external editor fails with the error dialog "Failed running: C: \Program Files\Sublime Text 3\subli...".

This is the debug log:

DEBUG: Action: show_templateeditor
DEBUG: Opening dialog "Templates"
DEBUG: open_file(C:\Users\xyz\AppData\Roaming\zim\data\zim\templates\wiki\Journal.txt, text/plain)
DEBUG: Loading config from: C:\Users\xyz\AppData\Roaming\zim\data\applications\sublime text 3-usercreated-1.desktop
INFO: Spawning: ('C:\\Program Files\\Sublime Text 3\\sublime_text.exe', 'C:\\Users\\xyz\\AppData\\Roaming\\zim\\data\\zim\\templates\\wiki\\Journal.txt') (cwd: C:\Program Files\Zim)
DEBUG: Running ErrorDialog
DEBUG: Failed running: C:\Program Files\Sublime Text 3\sublime_text.exe
Traceback (most recent call last):
  File "zim/applications.py", line 352, in spawn
gi.repository.GLib.GError: g-exec-error-quark: Hilfsprogramm (Invalid argument) konnte nicht ausgeführt werden (19)
ERROR: Failed running: C:\Program Files\Sublime Text 3\sublime_text.exe
DEBUG: Running MessageDialog
DEBUG: Closed dialog "Templates"
@jaap-karssenberg
Copy link
Member

jaap-karssenberg commented May 27, 2020 via email

@Callisos
Copy link

The error "Failed running: ..." also happens when trying to edit the source of a page. Unfortunately I can't supply the debug log since this is another thing which doesn't work for me.

Tested with Zim v0.73.1 on Win10.

@jaap-karssenberg
Copy link
Member

jaap-karssenberg commented Jul 14, 2020 via email

@fmos
Copy link
Collaborator Author

fmos commented Jul 14, 2020 via email

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

3 participants