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

file_type, bin_name = mime_type.split('/') #6040

Closed
haifeng19cc opened this issue Dec 23, 2017 · 1 comment
Closed

file_type, bin_name = mime_type.split('/') #6040

haifeng19cc opened this issue Dec 23, 2017 · 1 comment

Comments

@haifeng19cc
Copy link

Description

What steps will reproduce the problem?

What is the expected output? What do you see instead?

Please provide any additional information below

File "d:\python\lib\site-packages\spyder\widgets\explorer.py", line 156, in icon
file_type, bin_name = mime_type.split('/')
ValueError: not enough values to unpack (expected 2, got 1)
File "d:\python\lib\site-packages\spyder\widgets\explorer.py", line 156, in icon
file_type, bin_name = mime_type.split('/')
ValueError: not enough values to unpack (expected 2, got 1)

Version and main components

  • Spyder Version: 3.2.4
  • Python Version: 3.6.2
  • Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies

pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.1 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.26.1 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.1.0 (OK)
pylint >=0.25    :  1.7.2 (OK)

@CAM-Gerlach
Copy link
Member

Thanks for reporting. This appears to be a duplicate of #5080 that is already being worked on, and so this issue will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants