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

Cannot run from a read-only location #41

Closed
probonopd opened this issue Mar 13, 2021 · 2 comments
Closed

Cannot run from a read-only location #41

probonopd opened this issue Mar 13, 2021 · 2 comments
Assignees

Comments

@probonopd
Copy link

probonopd commented Mar 13, 2021

Cannot run from a read-only location. Please make it save its settings in $XDG_CONFIG_HOME.

% python3 /var/run/user/1001/_home_user_Desktop_ExCo-6.15.zip/ExCo-6.15/main.py 
No module named 'cython_lexers'
No module named 'nim_lexers'
Traceback (most recent call last):
  File "/var/run/user/1001/_home_user_Desktop_ExCo-6.15.zip/ExCo-6.15/main.py", line 154, in <module>
    main()
  File "/var/run/user/1001/_home_user_Desktop_ExCo-6.15.zip/ExCo-6.15/main.py", line 145, in main
    file_arguments=file_arguments
  File "/var/run/user/1001/_home_user_Desktop_ExCo-6.15.zip/ExCo-6.15/gui/mainwindow.py", line 129, in __init__
    self.settings   = self.Settings(self)
  File "/var/run/user/1001/_home_user_Desktop_ExCo-6.15.zip/ExCo-6.15/gui/mainwindow.py", line 2657, in __init__
    data.resources_directory
  File "/var/run/user/1001/_home_user_Desktop_ExCo-6.15.zip/ExCo-6.15/settings.py", line 332, in __init__
    self.create_settings_file(self.empty_settings_list)
  File "/var/run/user/1001/_home_user_Desktop_ExCo-6.15.zip/ExCo-6.15/settings.py", line 343, in create_settings_file
    file = open(self.settings_filename_with_path, "w", encoding="utf-8")
OSError: [Errno 30] Read-only file system: '/var/run/user/1001/_home_user_Desktop_ExCo-6.15.zip/ExCo-6.15/exco.ini'
@matkuki matkuki self-assigned this Mar 14, 2021
@matkuki
Copy link
Owner

matkuki commented Mar 14, 2021

Thanks, will do. Have been meaning to change this to save to $HOME/.exco/.

@matkuki
Copy link
Owner

matkuki commented Mar 16, 2021

Commit 46eff73 upgrades this.

@matkuki matkuki closed this as completed Mar 16, 2021
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

2 participants