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

Linux: SasView >5.0.1 binary cannot copy default custom_config.py #1640

Closed
franzlang opened this issue Jul 24, 2020 · 3 comments
Closed

Linux: SasView >5.0.1 binary cannot copy default custom_config.py #1640

franzlang opened this issue Jul 24, 2020 · 3 comments
Labels
Defect Bug or undesirable behaviour
Milestone

Comments

@franzlang
Copy link

I have found that the Linux release binaries for SasView versions 5.0.1 and above give the following error when executing the run_sasview.sh script:

ERROR: Could not copy default custom config.
Traceback (most recent call last):
  File "sasview.py", line 117, in <module>
  File "site-packages/sasview-5.0.1-py3.6-linux-x86_64.egg/sas/qtgui/MainWindow/MainWindow.py", line 62, in run_sasview
  File "site-packages/sasview-5.0.1-py3.6-linux-x86_64.egg/sas/logger_config.py", line 43, in config_development
    self._disable_debug_from_config()
  File "site-packages/sasview-5.0.1-py3.6-linux-x86_64.egg/sas/logger_config.py", line 50, in _disable_debug_from_config
    custom_config = get_custom_config()
  File "site-packages/sasview-5.0.1-py3.6-linux-x86_64.egg/sas/__init__.py", line 44, in get_custom_config
  File "site-packages/sasview-5.0.1-py3.6-linux-x86_64.egg/sas/_config.py", line 98, in setup_custom_config
FileNotFoundError: [Errno 2] No such file or directory: '/home/my_home_folder_goes_here/.sasview/config/custom_config.py'

Version 5.0.0 works fine and creates the custom_config.py file upon first launch. Once this file exists, versions 5.0.1 and above also launch.

@franzlang franzlang changed the title Linux: SasView >5.0.1 binary cannot copy default custom config Linux: SasView >5.0.1 binary cannot copy default custom_config.py Jul 24, 2020
@smk78 smk78 added this to the SasView 5.0.3 milestone Jul 24, 2020
@smk78 smk78 added the Defect Bug or undesirable behaviour label Jul 24, 2020
@smk78
Copy link
Contributor

smk78 commented Jul 24, 2020

As we are close to releasing 5.0.3, maybe this needs looking at?

@butlerpd butlerpd modified the milestones: SasView 5.0.3, SasView 5.0.4 Aug 4, 2020
@butlerpd
Copy link
Member

butlerpd commented Aug 4, 2020

given 5.0.3 has left the station am moving this to 5.0.4

@smk78
Copy link
Contributor

smk78 commented Sep 15, 2020

Closing this issue in favour of #1672

@smk78 smk78 closed this as completed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Defect Bug or undesirable behaviour
Projects
None yet
Development

No branches or pull requests

3 participants