SasView / sasview

Code for the SasView application.
BSD 3-Clause "New" or "Revised" License
47 stars 41 forks source link

SasView does not restart after Preferences change #2910

Open smk78 opened 1 week ago

smk78 commented 1 week ago

Describe the bug Having changed Preferences > Display Options to set automatic scaling the popup said that SasView needed to restart for the change to be applied. I confirmed the restart and the following appeared in an error popup window:

Unhandled exception in script
Failed to execute script 'sasview' due to unhandled exception: source code string cannot contain null bytes
Traceback (most recent call last):
  File "sasview.py", line 15, in <module>
  File "sas\cli.py", line 156, in main
  File "<frozen runpy>", line 290, in run_path
  File "<frozen runpy>", line 259, in _get_code_from_file
SyntaxError: source code string cannot contain null by