We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
desktop-app install
>>> desktop-app install dycall Traceback (most recent call last): File "/home/demberto/.local/bin/desktop-app", line 8, in <module> sys.exit(main()) File "/home/demberto/.local/lib/python3.8/site-packages/desktop_app/__main__.py", line 50, in main install(module, path=args.path, verbose=not args.quiet, File "/home/demberto/.local/lib/python3.8/site-packages/desktop_app/shell.py", line 264, in install create_desktop_file( File "/home/demberto/.local/lib/python3.8/site-packages/desktop_app/linux.py", line 41, in create_desktop_file path.write_text(dedent(contents), encoding='utf8') File "/usr/lib/python3.8/pathlib.py", line 1255, in write_text with self.open(mode='w', encoding=encoding, errors=errors) as f: File "/usr/lib/python3.8/pathlib.py", line 1222, in open return io.open(self, mode, buffering, encoding, errors, newline, File "/usr/lib/python3.8/pathlib.py", line 1078, in _opener return self._accessor.open(self, flags, mode) FileNotFoundError: [Errno 2] No such file or directory: '/home/demberto/.local/share/applications/dycall.desktop'
The text was updated successfully, but these errors were encountered:
Thanks for the bug report. Looks like /home/demberto/.local/share/applications/ doesn't exist. Is that correct?
/home/demberto/.local/share/applications/
If so, the fix should be easy enough, will just need to make the calling code create the directory.
Sorry, something went wrong.
Damn, I will check this tommorow for sure. Yea the fix would be simple, like using os.mkdirs.
os.mkdirs
a393d54
No branches or pull requests
The text was updated successfully, but these errors were encountered: