Spyder crashed during last session Mac Os Sierra

166 views
Skip to first unread message

Claudio Casiccia

unread,
Apr 28, 2017, 3:57:48 PM4/28/17
to spyder
I am spyder user from Anaconda, but today is not run. when I click in Spyder on Anaconda appear a window with the message Spyder crashed during las session, I did in a terminal "conda reset --spyder" but Spyder not run.
Thanks in advance for help me.
this is the spyder_crash.log

Traceback (most recent call last):
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/spyder/app/mainwindow.py", line 2999, in main
    mainwindow = run_spyder(app, options, args)
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/spyder/app/mainwindow.py", line 2901, in run_spyder
    main.setup()
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/spyder/app/mainwindow.py", line 784, in setup
    from spyder.plugins.help import Help
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/spyder/plugins/help.py", line 33, in <module>
    from spyder.utils.help.sphinxify import (CSS_PATH, generate_context,
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/spyder/utils/help/sphinxify.py", line 32, in <module>
    from sphinx.application import Sphinx
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/Sphinx-1.5.1-py3.5.egg/sphinx/application.py", line 32, in <module>
    from sphinx.config import Config
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/Sphinx-1.5.1-py3.5.egg/sphinx/config.py", line 21, in <module>
    from sphinx.util.i18n import format_date
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/Sphinx-1.5.1-py3.5.egg/sphinx/util/i18n.py", line 20, in <module>
    import babel.dates
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/babel/dates.py", line 29, in <module>
    from babel.util import UTC, LOCALTZ
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/babel/util.py", line 19, in <module>
    from babel import localtime
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/babel/localtime/__init__.py", line 74, in <module>
    LOCALTZ = get_localzone()
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/babel/localtime/__init__.py", line 70, in get_localzone
    return _get_localzone()
  File "/Users/ccasiccia/anaconda/lib/python3.5/site-packages/babel/localtime/_unix.py", line 73, in _get_localzone
    tz_match = _systemconfig_tz.search(sys_result)
TypeError: cannot use a string pattern on a bytes-like object

Carlos Córdoba

unread,
Apr 28, 2017, 3:59:17 PM4/28/17
to spyd...@googlegroups.com
Hi,

Please run

    conda update sphinx babel

and try again.


Cheers,
Carlos

El 28/04/17 a las 14:00, Claudio Casiccia escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To post to this group, send email to spyd...@googlegroups.com.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Claudio Casiccia

unread,
May 1, 2017, 2:08:58 PM5/1/17
to spyder
Hi, "conda update sphinx babel" it was not work. I will try uninstall anaconda but the Anaconda Navegator was impossible (for me) uninstall. I just uninstall anaconda and was installed again, but the problem remain..... Spyder not run. Please help me!!!!! I need work

Claudio Casiccia

unread,
May 1, 2017, 2:09:06 PM5/1/17
to spyder
Hi Carlos, finally I uninstall everything and install again. The Spyder come back but I lost a big file that I was working. Do you how can recovery that?
Is Spyder unstable?  At seen is not very  trustworthy.


El viernes, 28 de abril de 2017, 16:59:17 (UTC-3), Carlos Córdoba escribió:

Claudio Casiccia

unread,
May 2, 2017, 12:08:41 PM5/2/17
to spyder
well.... Spyder was working with Python 2.7... I uninstall anaconda, clean everything and reinstall anaconda with Python 3.6.... result: AGAIN THE WINDOW with the message "Spyder crashed during last session"....Please anybody can help me?
Meanwhile was installed Pychram but is not the same. Thanks

Claudio Casiccia

unread,
May 2, 2017, 4:24:17 PM5/2/17
to spyder
I try run Spyder from a command line. and that was the output:

Claudios-iMac:Pyth_prog ccasiccia$ Spyder

Traceback (most recent call last):

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 2989, in main

    mainwindow = run_spyder(app, options, args)

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 2893, in run_spyder

    main.setup()

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 783, in setup

    from spyder.plugins.help import Help

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/spyder/plugins/help.py", line 33, in <module>

    from spyder.utils.help.sphinxify import (CSS_PATH, generate_context,

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/spyder/utils/help/sphinxify.py", line 32, in <module>

    from sphinx.application import Sphinx

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/Sphinx-1.5.4-py3.6.egg/sphinx/application.py", line 32, in <module>

    from sphinx.config import Config

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/Sphinx-1.5.4-py3.6.egg/sphinx/config.py", line 21, in <module>

    from sphinx.util.i18n import format_date

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/Sphinx-1.5.4-py3.6.egg/sphinx/util/i18n.py", line 20, in <module>

    import babel.dates

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/babel/dates.py", line 29, in <module>

    from babel.util import UTC, LOCALTZ

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/babel/util.py", line 19, in <module>

    from babel import localtime

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/babel/localtime/__init__.py", line 74, in <module>

    LOCALTZ = get_localzone()

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/babel/localtime/__init__.py", line 70, in get_localzone

    return _get_localzone()

  File "/Users/ccasiccia/anaconda/lib/python3.6/site-packages/babel/localtime/_unix.py", line 73, in _get_localzone

    tz_match = _systemconfig_tz.search(sys_result)

TypeError: cannot use a string pattern on a bytes-like object


El lunes, 1 de mayo de 2017, 15:09:06 (UTC-3), Claudio Casiccia escribió:
Reply all
Reply to author
Forward
0 new messages