Re: kaa.base changes for those tracking trunk

"Richard van Paasen" <[email protected]>
Newsgroups gmane.comp.video.freevo.devel
Message-ID <[email protected]>
Hi Jason,

After the svn update and re-install, freevo now boots. But, a new error is
thrown by the recordserver. And, not sure if this is related to kaa, but
freevo automatically quits (w/o debug output) after a few seconds. I updated
both kaa and freevo to latest svn.

freevodev@Zeus ~/work $ WARNING: Multiple and mixed (egg and non-egg)
versions of kaa.base installed.
         Using: /usr/lib/python2.6/site-packages/kaa
/usr/lib/python2.6/site-packages/twisted/web/microdom.py:157: SyntaxWarning:
assertion is always true, perhaps remove parentheses?
  assert (oldChild.parentNode is self,
Traceback (most recent call last):
  File "/home/freevodev/work/freevo-svn/freevo/src/helpers/recordserver.py",
line 1489, in <module>
    main()
  File "/home/freevodev/work/freevo-svn/freevo/src/helpers/recordserver.py",
line 1455, in main
    recordserver = RecordServer()
  File "/home/freevodev/work/freevo-svn/freevo/src/helpers/recordserver.py",
line 142, in __init__
    self.es = EncodingClientActions()
  File "/home/freevodev/work/freevo-svn/freevo/src/video/encodingclient.py",
line 89, in __init__
    self.channel = kaa.rpc.connect(socket, config.ENCODINGSERVER_SECRET,
retry=1)
  File "/usr/lib/python2.6/site-packages/kaa/rpc.py", line 774, in __init__
    super(Client, self).__init__(kaa.Socket(buffer_size), auth_secret)
  File "/usr/lib/python2.6/site-packages/kaa/rpc.py", line 247, in __init__
    self._connect_inprogress = kaa.InProgress()
  File
"/home/freevodev/lib/python2.6/site-packages/kaa_base-0.99.0-py2.6-linux-i686.egg/kaa/__init__.py",
line 253, in __call__
    return cls.__get()(*args, **kwargs)
  File
"/home/freevodev/lib/python2.6/site-packages/kaa_base-0.99.0-py2.6-linux-i686.egg/kaa/__init__.py",
line 232, in __get
    globals()[n] = getattr(omod, n)
AttributeError: 'module' object has no attribute 'InProgressCallable'
WARNING: 'module' object has no attribute 'InProgressCallable'

Richard.

----- Oorspronkelijk bericht -----
From: Jason Tackaberry <[email protected]>
To: [email protected]
Date: 30-Jun-2009 22:14
Subject: Re: [Freevo-devel] kaa.base changes for those tracking trunk

> Hi Richard,
> 
> On Tue, 2009-06-30 at 20:41 +0200, Richard van Paasen wrote:
> > I checked out the latest kaa from svn. I have a seperate user for freevo
> > development that installs python packages in the home directory. When I
> > install kaa using "python ./setup.py install --prefix=$HOME" then it
looks as
> > if kaa is not installed properly: (no kaa subdirectory present).
> 
> Actually on some systems (those with setuptools installed) individual
> kaa modules will now be installed as eggs.  What you see there are
> zipped eggs, although I recently made a change to kaa.base to disable
> module installation as zipped eggs -- instead they'll be installed
> directory trees, but still as separate egg directories.
> 
> 
> > TypeError: Error when calling the metaclass bases
> >     module.__init__() takes at most 2 arguments (3 given)
> > 
> > With the previous version this approach worked fine. Do I have to install
kaa
> > diferently now?
> 
> Do an svn up on your kaa checkout now, rm -f
> ~/lib/python2.6/site-packages/kaa*, and reinstall all the modules again.
> 
> Please let me know if this works for you.
> 
> Thanks,
> Jason.
> 
> 
>
------------------------------------------------------------------------------
> _______________________________________________
> Freevo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.