[Develop] Miro Under Gentoo Problems

Paul Widmer pwidmer at gmail.com
Wed Dec 5 15:43:58 EST 2007


 Unfortunately with pyrex removed there was no change in the errors.  And
re-instalilng both python and pyrex didn't change anything. I have
python2.5.1-r4 and pyrex-0.9.6.3.

The section of code causing the error below is this:
> File "database.pyx", line 531, in database.DynamicDatabase.next
> TypeError: exceptions must be strings, classes, or instances, not type

    518     # next() function used by iterator
    519     def next(self):
    520         self.confirmDBThread()
    521         try:
    522             if self.cursor is None:
    523                 self.cursor = self.objects.firstIter().copy()
    524             else:
    525                 self.cursor.forward();
    526             return self.objects[self.cursor][1]
    527         except:
    528             try:
    529                 raise StopIteration, "No next"
    530             except TypeError:
    531                 raise StopIteration

Any other ideas?  Ring any bells now?

-Paul

On Dec 5, 2007 9:33 AM, Ben Dean-Kawamura < ben at pculture.org> wrote:

> I think I remember seeing that bug when I built Miro using python2.4, then
> tried to rebuild it again under python2.5 but without clearing the pyrex
> code.
> But, I could be making that up...
>
> Ben
>
> On Wed, Dec 05, 2007 at 10:14:15AM -0500, will wrote:
> > The traceback is this:
> >
> > Traceback (most recent call last):
> > File "usr/lib/python2.5/site-packages/miro/app.py", line 111, in wrapped
> > func(*args, **kwargs)
> > File "usr/lib/python2.5/site-packages/miro/app.py", line 697, in
> > checkMoviesDirectoryGone
> > if not self.moviesDirectoryGone():
> > File "usr/lib/python2.5/site-packages/miro/app.py", line 900, in
> > moviesDirectoryGone
> > for downloader in views.remoteDownloads :
> > File "database.pyx", line 531, in database.DynamicDatabase.next
> > TypeError: exceptions must be strings, classes, or instances, not type
> >
> > I've seen that TypeError a couple of times over the last month when
> > skimming through bugs and talking to people.  Does Miro require a
> > specific version of Pyrex?
> >
> > /will
> >
> >
> > Paul Widmer wrote:
> > > I have been trying to nail down the installation process for
> installing Miro
> > > on Gentoo on an embedded PowerPC platform.  I've got Miro installed,
> but
> > > then I hit on an error with Miro that I can't figure out and it's
> looking
> > > like there are other users that are hitting on this.  Even if you
> haven't
> > > used Miro with Gentoo, I was wondering if you might be able to help me
> out
> > > with this, and point me in the direction of what might be going wrong.
>  Are
> > > there certain options that Python needs to be compiled with to support
> Miro?
> > >
> > > Here are the errors posted on the Miro forums:
> > > http://www.getmiro.com/forum/comments.php?DiscussionID=381&page=1#Item_4
>
> > >
> > > Here are the errors on the bottom of the Gentoo bugs page:
> > > http://bugs.gentoo.org/show_bug.cgi?id=131527
> > >
> > > Thanks!
> > >
> > > -Regards Paul (pwidmer, pwiddy)
> > _______________________________________________
> > Develop mailing list
> > Develop at pculture.org
> > http://participatoryculture.org/mailman/listinfo/develop
> _______________________________________________
> Develop mailing list
> Develop at pculture.org
> http://participatoryculture.org/mailman/listinfo/develop
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://participatoryculture.org/pipermail/develop/attachments/20071205/d597cf13/attachment.html 


More information about the Develop mailing list