question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot access preferences

See original GitHub issue

Description

What steps will reproduce the problem?

Clicking on preferences button will reproduce this issue.

Traceback

Traceback (most recent call last):
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\preferences\plugin.py", line 276, in <lambda>
    lambda: self.open_dialog(main.prefs_dialog_size))
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\preferences\plugin.py", line 258, in open_dialog
    self.get_main())
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\preferences\widgets\container.py", line 62, in create_dialog
    page.initialize()
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\preferences\api.py", line 80, in initialize
    self.setup_page()
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\appearance\confpage.py", line 157, in setup_page
    self.update_combobox()
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\appearance\confpage.py", line 227, in update_combobox
    self.scheme_choices_dict[self.get_option('{0}/name'.format(n))] = n
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\api\plugins\new_api.py", line 484, in get_conf
    return self._conf.get(section, option, default)
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\config\manager.py", line 461, in get
    value = config.get(section=section, option=option, default=default)
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\config\user.py", line 980, in get
    return config.get(section=section, option=option, default=default)
  File "C:\Users\Jana\AppData\Local\Programs\Spyder\pkgs\spyder\config\user.py", line 517, in get
    raise cp.NoOptionError(option, section)
configparser.NoOptionError: No option 'custom-0/name' in section: 'appearance'

Versions

  • Spyder version: 5.2.2
  • Python version: 3.7.9
  • Qt version: 5.12.10
  • PyQt5 version: 5.12.3
  • Operating System: Windows 10

Dependencies

# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  2.0.0 (OK)
cookiecutter >=1.6.0          :  1.7.3 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree                  :  None (OK)
IPython >=7.6.0;<8.0.0        :  7.31.1 (OK)
jedi >=0.17.2;<0.19.0         :  0.18.1 (OK)
jellyfish >=0.7               :  0.9.0 (OK)
jsonschema >=3.2.0            :  4.4.0 (OK)
keyring >=17.0.0              :  23.5.0 (OK)
nbconvert >=4.0               :  6.4.0 (OK)
numpydoc >=0.6.0              :  1.1.0 (OK)
paramiko >=2.4.0              :  2.9.2 (OK)
parso >=0.7.0;<0.9.0          :  0.8.3 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.9.0 (OK)
pygments >=2.0                :  2.11.2 (OK)
pylint >=2.5.0                :  2.12.2 (OK)
pyls_spyder >=0.4.0           :  0.4.0 (OK)
pylsp >=1.3.2;<1.4.0          :  1.3.3 (OK)
pylsp_black >=1.0.0           :  1.0.1 (OK)
qdarkstyle =3.0.2             :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.2.1 (OK)
qtawesome >=1.0.2             :  1.1.1 (OK)
qtconsole >=5.2.1;<5.3.0      :  5.2.2 (OK)
qtpy >=1.5.0                  :  2.0.0 (OK)
rtree >=0.9.7                 :  0.9.7 (OK)
setuptools >=49.6.0           :  60.5.0 (OK)
sphinx >=0.6.6                :  4.3.2 (OK)
spyder_kernels >=2.2.1;<2.3.0 :  2.2.1 (OK)
textdistance >=4.2.0          :  4.2.2 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog                      :  2.1.6 (OK)
zmq >=17                      :  22.3.0 (OK)

# Optional:
cython >=0.21                 :  0.29.26 (OK)
matplotlib >=2.0.0            :  3.5.1 (OK)
numpy >=1.7                   :  1.19.3 (OK)
pandas >=1.1.1                :  1.3.5 (OK)
scipy >=0.17.0                :  1.7.3 (OK)
sympy >=0.7.3                 :  1.9 (OK)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
dan123456-engcommented, Feb 17, 2022

@ccordoba12 It worked here.Tks!

@staticmethod 
def get_name():
      """Return widget title"""
      return _("PyMR")
0reactions
ccordoba12commented, Feb 28, 2022

Closing due to lack of response.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Q: Cannot access system preferences after upgrading to Big Sur
Click on the Apple menu and select System Preferences, to open the version that is not working.
Read more >
How to fix Mac preferences errors - MacPaw
In the Finder, click on the Go menu and choose Go to Folder. · Type ~/Library in the box. · Select the Preferences...
Read more >
Fix System Preferences Not Responding & Preferences Errors
Launch System Preferences from Launchpad. Press Command + Space bar to bring up Spotlight search, then type in System Preferences. Open System ...
Read more >
Preferences bar greyed out. Can't access preferences. Do you ...
For some reason I can't access preferences in Word - Office for Mac 2011. Tried repairing permissions and using the shift key when...
Read more >
Can't access Preferences in Google Drive Desktop settings ...
"Option 2" requires access to Preferences. THAT is what was broken. After many more attempts to install and uninstall Google Drive I eventually ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found