Bugs item #1568724, was opened at 2006-10-01 15:46
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1568724&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Molohan (johnmolohan)
Assigned to: Nobody/Anonymous (nobody)
Summary: mmpython missing ifoparser

Initial Comment:
Hi,

I'm testing the encodingserver from the addons page. I
had to patch this for use on my old 1.5.3 install
because of the following traceback.

Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/twisted/web/http.py",
line 601, in requestReceived
    self.process()
  File
"/usr/lib/python2.4/site-packages/twisted/web/server.py",
line 160, in process
    self.render(resrc)
  File
"/usr/lib/python2.4/site-packages/twisted/web/server.py",
line 167, in render
    body = resrc.render(self)
  File
"/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py",
line 117, in render
    defer.maybeDeferred(function, *args).addErrback(
--- <exception caught here> ---
  File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py",
line 107, in maybeDeferred
    result = f(*args, **kw)
  File
"/usr/lib/python2.4/site-packages/freevo/helpers/encodingserver.py",
line 85, in xmlrpc_initEncodeJob
    self.jobs[idnr] = EncodingJob(source, output,
friendlyname, idnr, chapter)
  File
"/usr/lib/python2.4/site-packages/freevo/helpers/encodingcore.py",
line 147, in __init__
    self._AnalyzeSource()
  File
"/usr/lib/python2.4/site-packages/freevo/helpers/encodingcore.py",
line 223, in _AnalyzeSource
    mmpython.disc.ifoparser.open(self.source)
exceptions.AttributeError: 'module' object has no
attribute 'ifoparser'

Adding the following 'from mmpython.disc import
ifoparser' to
/usr/lib/python2.4/site-packages/freevo/helpers/encodingcore.py
worked and I was able to use the encodingserver.

With current svn of mmpython and freevo 1.x trunk I get
the original error but when I add that line I get this
traceback:

/usr/lib/python2.4/site-packages/freevo/helpers/encodingserver.py:35:
DeprecationWarning: twisted.persisted.marmalade is
deprecated
  from twisted.persisted import marmalade
Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/freevo/helpers/encodingserver.py",
line 40, in ?
    from encodingcore import EncodingJob, EncodingQueue
  File
"/usr/lib/python2.4/site-packages/freevo/helpers/encodingcore.py",
line 37, in ?
    from mmpython.disc import ifoparser
ImportError: cannot import name ifoparser

Looking in mmpython/disc/ ifoparser.so seems to be
missing. Was this removed from mmpython or did I come
up with that from somewhere else the last time I did this?



----------------------------------------------------------------------

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-10-02 11:57

Message:
Logged In: YES 
user_id=104395

It should also be in:
./build/lib.linux-i686-2.4/mmpython/disc/ifoparser.so
./build/lib.linux-x86_64-2.3/mmpython/disc/ifoparser.so
from the mmpython svn directory.
As you can see I'm running Python2.4 on the P3 and Python2.3
on the AMD64.

----------------------------------------------------------------------

Comment By: Duncan Webb (duncanwebb)
Date: 2006-10-01 19:41

Message:
Logged In: YES 
user_id=104395

It should be there, will you check in your mmpython svn
directory that it was built. Thanks

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1568724&group_id=46652

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to