Hi Timmie,

I saw you you reported an issue in googlecode for this, which Pierre as quickly as always already resolved. I'm glad you (finally) liked the object inspector's rich view.

Thanks for your interest in the project,
Carlos

El 09/03/11 22:51, Carlos Córdoba escribió:
Hi Timmie,

Thanks a lot for your patience and for reporting back to us with a clear traceback. It seems that the root of your problems is the sphinx version you have installed. It's a development version (1.1pre_ce4bb37a1409dev_20110307) and Spyder only works with versions 0.6.* and 1.0.*. Please downgrade to version 1.0.7 and everything should be fine. (Report back if this solves your problem, so we can open a bug for this issue.)

Just for the record, sphinxify is a little script we use (taken from the sage project) to transform a plain text docstring to a rich html file.

Cheers,
Carlos

El 09/03/11 16:55, Timmie escribió:
As David rightly notes, the root of your problem can be that you have
installed Spyder 1 and Spyder 2 side by side. If this is the case, you
have to uninstall both before install Spyder 2 again.
I installed everything again.

1. Do a mouse right-click above any toolbar and select "Internal
Console". This is the place where all internal error messages go. So
make it visible when you are working on the editor, and please check
what gets printed there when you type "("
I started Spyder after having removed all configuration files.

Then I entered:
np.arange(<=== the "(" never apeared.

Here is the traceback from internal console:


#######

Traceback (most recent call last):
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\widgets\shell.py", line 298, in keyPressEvent
     self.postprocess_keyevent(event)
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\widgets\shell.py", line 799, in postprocess_keyevent
     ShellBaseWidget.postprocess_keyevent(self, event)
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\widgets\shell.py", line 445, in postprocess_keyevent
     self._key_parenleft(text)
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\widgets\shell.py", line 880, in _key_parenleft
     self.show_docstring(last_obj, call=True)
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\widgets\shell.py", line 1025, in show_docstring
     self.inspector.set_object_text(text, ignore_unknown=True)
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\plugins\inspector.py", line 525, in set_object_text
     found = self.show_help(text, ignore_unknown=ignore_unknown)
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\plugins\inspector.py", line 691, in show_help
     self.set_sphinx_text(doc_text)
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\plugins\inspector.py", line 657, in set_sphinx_text
     html_text = sphinxify(text)
   File "C:\Python26\lib\site-packages\spyder-2.0.9-py2.6.egg\spyderlib
\utils\sphinxify.py", line 120, in sphinxify
     confoverrides, None, None, True)
   File "C:\Python26\lib\site-packages
\sphinx-1.1pre_ce4bb37a1409dev_20110307-py2.6.egg\sphinx
\application.py", line 102, in __init__
     confoverrides or {}, self.tags)
   File "C:\Python26\lib\site-packages
\sphinx-1.1pre_ce4bb37a1409dev_20110307-py2.6.egg\sphinx\config.py",
line 212, in __init__
     raise ConfigError(CONFIG_SYNTAX_ERROR % err)
sphinx.errors.ConfigError: There is a syntax error in your
configuration file: invalid syntax (conf.py, line 1)

####

Could you please assist?

I tried to check with:
sphinxify.py

Why is the Sphinx not maintained in an extra file?

The code completion in Editor and Console are somewhat still disabled.

Thanks in advance,
Timmie


--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to