Re: [linux-pythonxy] So pythonxy-linux is dead?

Skip to first unread message

Tim Michelsen

unread,
Sep 11, 2010, 9:11:50 AM9/11/10
to pythonx...@googlegroups.com, spyd...@googlegroups.com
> Since for some software there is no native Ubuntu package, I though to
> start providing
> development snapshots
> (https://launchpad.net/~pythonxy/+archive/individual-devel) and release
> packages (https://launchpad.net/~pythonxy/+archive/individual-releases)
> of these packages.
I pondered around and checked things out:
https://help.launchpad.net/Packaging/SourceBuilds/Recipes

Not quite easy at first place for non-debian insiders.
But I succeeded to build Spyder:
https://code.edge.launchpad.net/~pythonxy/+archive/individual-devel

I also configure the recipie to run a daily build for the development
code of Spyder:
https://code.edge.launchpad.net/~pythonxy/+recipe/spyder2.x

Please test these packages and provide feedback.

Regards,
Timmie

Noli Sicad

unread,
Sep 11, 2010, 10:07:26 AM9/11/10
to spyd...@googlegroups.com, pythonx...@googlegroups.com
I did not install properly. However, i could not copy the logs in
Synaptic. I got one error.

Here's the error in running it.

**************

laptop:~$ spyder
Traceback (most recent call last):
File "/usr/bin/spyder", line 2, in <module>
from spyderlib import spyder
File "/usr/lib/python2.6/dist-packages/spyderlib/spyder.py", line
38, in <module>
from spyderlib.utils.environ import WinUserEnvDialog
File "/usr/lib/python2.6/dist-packages/spyderlib/utils/environ.py",
line 16, in <module>
from spyderlib.widgets.dicteditor import DictEditor
File "/usr/lib/python2.6/dist-packages/spyderlib/widgets/dicteditor.py",
line 28, in <module>
from spyderlib.config import get_icon, get_font
File "/usr/lib/python2.6/dist-packages/spyderlib/config.py", line
423, in <module>
from spyderlib.widgets.codeeditor.syntaxhighlighters import (
File "/usr/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/__init__.py",
line 1

^
SyntaxError: invalid syntax
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I am using Editra for python IDE for a moment.


Noli

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

Noli Sicad

unread,
Sep 11, 2010, 10:15:45 AM9/11/10
to spyd...@googlegroups.com
Here=s error.

E: spyderlib: subprocess installed post-installation script returned
error exit status 1

Noli

Noli Sicad

unread,
Sep 11, 2010, 10:22:11 AM9/11/10
to spyd...@googlegroups.com
Here's the error.


laptop:~$ sudo apt-get install spyderlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgnomenu0-2
Use 'apt-get autoremove' to remove them.
Suggested packages:
pylint ipython python-scipy python-enthoughtbase
The following NEW packages will be installed:
spyderlib
0 upgraded, 1 newly installed, 0 to remove and 286 not upgraded.
Need to get 0B/1,242kB of archives.
After this operation, 4,186kB of additional disk space will be used.
Selecting previously deselected package spyderlib.
(Reading database ... 199516 files and directories currently installed.)
Unpacking spyderlib (from
.../spyderlib_2.0.0beta1+865-0ubuntu0+201009111252~lucid1_i386.deb)
...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_AU.utf8.cache...
Processing triggers for python-support ...
Setting up spyderlib (2.0.0beta1+865-0ubuntu0+201009111252~lucid1) ...
Compiling /usr/lib/python2.6/dist-packages/spyderlib/utils/classparser.py ...
SyntaxError: ('invalid syntax',
('/usr/lib/python2.6/dist-packages/spyderlib/utils/classparser.py', 1,
1, '\x01\n'))

Compiling /usr/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/__init__.py
...
SyntaxError: ('invalid syntax',
('/usr/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/__init__.py',
1, 1, '\x01\n'))

pycentral: pycentral pkginstall: error byte-compiling files (399)
pycentral pkginstall: error byte-compiling files (399)
dpkg: error processing spyderlib (--configure):


subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:
spyderlib
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tim Michelsen

unread,
Sep 11, 2010, 10:28:28 AM9/11/10
to spyd...@googlegroups.com
> I did not install properly. However, i could not copy the logs in
> Synaptic. I got one error.
THis comes from an error in the source code or import of the code into
Launchpad

See the first 4 lines in:
http://bazaar.launchpad.net/~pythonxy/spyderlib/spyder_devel/annotate/head%3A/spyderlib/utils/classparser.py
http://bazaar.launchpad.net/~pythonxy/spyderlib/spyder_devel/annotate/head%3A/spyderlib/widgets/codeeditor/__init__.py

I will check this.

Tim Michelsen

unread,
Sep 11, 2010, 10:39:38 AM9/11/10
to spyd...@googlegroups.com

> I will check this.
A clear bug in the Launchpad code importer:

Just reported here:
https://bugs.edge.launchpad.net/bzr/+bug/635782

Reply all
Reply to author
Forward
0 new messages