Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#570685: mypaint: fails to start

3 views
Skip to first unread message

jMax

unread,
Feb 20, 2010, 1:30:02 PM2/20/10
to
Package: mypaint
Version: 0.8.0-2
Severity: important


Since last update (0.7.1-2 to 0.8.0-2), mypaint prints this trackback to
console and stops.

Traceback (most recent call last):
File "/usr/bin/mypaint", line 109, in <module>
from gui import main
File "/usr/share/mypaint/gui/main.py", line 15, in <module>
from gui import application
File "/usr/share/mypaint/gui/application.py", line 14, in <module>
import filehandling, keyboard, brushmanager
File "/usr/share/mypaint/gui/filehandling.py", line 17, in <module>
from lib import document, helpers
File "/usr/share/mypaint/lib/document.py", line 17, in <module>
import command, stroke, layer
File "/usr/share/mypaint/lib/command.py", line 9, in <module>
import layer
File "/usr/share/mypaint/lib/layer.py", line 11, in <module>
import tiledsurface, strokemap, strokemap_pb2
File "/usr/share/mypaint/lib/strokemap.py", line 13, in <module>
import tiledsurface, idletask, strokemap_pb2
File "/usr/share/mypaint/lib/strokemap_pb2.py", line 10, in <module>
DESCRIPTOR = descriptor.FileDescriptor(
AttributeError: 'module' object has no attribute 'FileDescriptor'

I tried removing preference directory ~/.mypaint, with no success.

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mypaint depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-9 GCC support library
ii libglib2.0-0 2.22.4-1 The GLib library of C routines
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
ii mypaint-data 0.8.0-2 Brushes and backgrounds for the my
ii python 2.5.4-9 An interactive high-level object-o
ii python-numpy 1:1.3.0-3+b1 Numerical Python adds a fast array
ii python-protobuf 2.2.0a-0.1 Python bindings for protocol buffe
ii python2.5 2.5.5-2 An interactive high-level object-o

mypaint recommends no packages.

mypaint suggests no packages.

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Martin Renold

unread,
Feb 21, 2010, 4:10:02 AM2/21/10
to
On Sat, Feb 20, 2010 at 07:14:11PM +0100, jMax wrote:
> File "/usr/share/mypaint/lib/strokemap_pb2.py", line 10, in <module>
> DESCRIPTOR = descriptor.FileDescriptor(
> AttributeError: 'module' object has no attribute 'FileDescriptor'

Must be related with protobuf. My strokemap_pb2.py (which is generated by
protoc) is using "descriptor.Descriptor" instead. So maybe a different
version of the protobuf compiler was used when generating the file in the
package.

> Versions of packages mypaint depends on:

> ii python-protobuf 2.2.0a-0.1 Python bindings for protocol buffe

That's the same version I have installed on my system. (MyPaint is working,
but I compile it myself, so I run my own protoc version.)

$ protoc --version
libprotoc 2.2.0

--
Martin Renold

0 new messages