Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-19 Thread Ryan Roth
It is a good idea to run a 'clean' before any build

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-19 Thread Jason Tackaberry
On Mon, 2007-11-19 at 22:21 +0900, mike lewis wrote:
> If I was a better user I would have cut and paste the output to prove it..

I believe you. :)  I know what the problem is.  It just may not be worth
the effort fixing, so long as we document well enough that you have to
clean out the build/ directory before recompiling.

The problem is the first time you built kaa.display, you didn't have the
imlib2 devel package.  Later you installed it, but when you reran build
in kaa/display it figured there was nothing to do as everything was
already compiled, not realizing that the library situation has changed.

Fixing it will require somewhat retrofitting the build system in
kaa.base.

Cheers,
Jason.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-19 Thread mike lewis
On Nov 19, 2007 10:12 PM, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-11-19 at 20:36 +0900, mike lewis wrote:
> > Jason, is this a bug worth looking into in kaa?  pythin setup clean
> > and then install; the output is the same; but now it works!  yay!
>
> It's tricky enough to solve that it might not be worth it.  I'll take it
> under advisement. :)
>
If I was a better user I would have cut and paste the output to prove it..

Cheers!

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-19 Thread Jason Tackaberry
On Mon, 2007-11-19 at 20:36 +0900, mike lewis wrote:
> Jason, is this a bug worth looking into in kaa?  pythin setup clean
> and then install; the output is the same; but now it works!  yay!

It's tricky enough to solve that it might not be worth it.  I'll take it
under advisement. :)



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-19 Thread mike lewis
On Nov 19, 2007 11:55 AM, Ryan Roth <[EMAIL PROTECTED]> wrote:
> Have you tried a 'python setup.py clean' and then 'python setup.py
> install'?  I have had this issue before when I have not cleaned up after
> a failed install.
>
>
Hi Ryan.  Thanks.  This fixed it.

Jason, is this a bug worth looking into in kaa?  pythin setup clean
and then install; the output is the same; but now it works!  yay!

Mick
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-19 Thread mike lewis
On Nov 19, 2007 11:42 AM, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-11-19 at 11:36 +0900, mike lewis wrote:
> > > SystemError: kaa-display compiled without imlib2 display support.
> > ---
> >
> > Would this mean that ubuntu's version of imlib2 is compiled without
> > something needed by kaa?
>
> No, it means that kaa.display was built without imlib2 support.
>
> The typical cause is lack of devel package when building kaa.display.
>
> If you just run 'python setup.py' (no arguments) inside kaa/display, it
> will start by outputting the result of what it's able to detect.  e.g.:
>
> checking for X11 ... ok
> checking for imlib2 >= 1.1.1 ... 1.3.0
> checking for evas >= 0.9.9.010 ... 0.9.9.038
> checking for directfb >= 0.9.20 ... no
> checking for pygame ... not installed
> checking for XComposite ... ok
> + X11 (imlib2, evas, evasGL)
> + Framebuffer (imlib2, evas)
> - DirectFB
> - SDL
>
> So it found imlib2 1.3.0.  And notice that beside the + X11 line, in
> parens, it says 'imlib2'.  This is what you want to see.
>
> Cheers,
> Jason.
>
Thanks Jason,  but if you look at my previous post, that is exactly
the output I have...

>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>
> ___
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-18 Thread Ryan Roth
Have you tried a 'python setup.py clean' and then 'python setup.py 
install'?  I have had this issue before when I have not cleaned up after 
a failed install.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-18 Thread Jason Tackaberry
On Mon, 2007-11-19 at 11:36 +0900, mike lewis wrote:
> > SystemError: kaa-display compiled without imlib2 display support.
> ---
> 
> Would this mean that ubuntu's version of imlib2 is compiled without
> something needed by kaa?

No, it means that kaa.display was built without imlib2 support.

The typical cause is lack of devel package when building kaa.display.

If you just run 'python setup.py' (no arguments) inside kaa/display, it
will start by outputting the result of what it's able to detect.  e.g.:

checking for X11 ... ok
checking for imlib2 >= 1.1.1 ... 1.3.0
checking for evas >= 0.9.9.010 ... 0.9.9.038
checking for directfb >= 0.9.20 ... no
checking for pygame ... not installed
checking for XComposite ... ok
+ X11 (imlib2, evas, evasGL)
+ Framebuffer (imlib2, evas)
- DirectFB
- SDL

So it found imlib2 1.3.0.  And notice that beside the + X11 line, in
parens, it says 'imlib2'.  This is what you want to see.

Cheers,
Jason.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-18 Thread mike lewis
On Nov 15, 2007 8:34 PM, mike lewis <[EMAIL PROTECTED]> wrote:
> OK, cleared the db error; but with the same checkout I have an imlib2
> error.  Here is the (I think) relavent output from kaa install:
>
> ---
> [EMAIL PROTECTED]:~/build/kaa$ sudo python setup.py install
> ...
> [setup] Entering kaa submodule imlib2
> POSIX shared memory enabled
> running install
> running build
> running build_py
> running build_ext
> running install_lib
> writing byte-compilation script '/tmp/tmpYr4JV-.py'
> /usr/bin/python -O /tmp/tmpYr4JV-.py
> removing /tmp/tmpYr4JV-.py
> running install_egg_info
> Removing /usr/lib/python2.5/site-packages/kaa_imlib2-0.2.2.egg-info
> Writing /usr/lib/python2.5/site-packages/kaa_imlib2-0.2.2.egg-info
> [setup] Leaving kaa submodule imlib2
> [setup] Entering kaa submodule display
> checking for X11 ... ok
> checking for imlib2 >= 1.1.1 ... 1.3.0
> checking for evas >= 0.9.9.010 ... no
> checking for directfb >= 0.9.20 ... no
> checking for pygame ... not installed
> checking for XComposite ... no
> + X11 (imlib2)
> + Framebuffer (imlib2)
> - DirectFB
> - SDL
> ---
>
> Here is the output I get when I attempt to run freevo (from within x)
>
> ---
> [EMAIL PROTECTED]:~/build/kaa$ freevo
> INFO __init__(91): beacon connected
> INFO mbus_wrapper(453): register mbus.register
> ERROR __init__(1021): Crash!
> Traceback (most recent call last):
>   File "/usr/bin/freevo", line 300, in 
> splash = Splashscreen(_('Starting Freevo, please wait ...'), 
> num_plugins-1)
>   File "/usr/bin/freevo", line 226, in __init__
> self.engine.show()
>   File "/usr/lib/python2.5/site-packages/freevo/ui/gui/areas/handler.py",
> line 260, in show
> self.canvas.update()
>   File "/usr/lib/python2.5/site-packages/kaa/mevas/canvasobject.py",
> line 228, in update
> self.canvas().child_paint(self, force)
>   File "/usr/lib/python2.5/site-packages/kaa/mevas/displays/bitmapcanvas.py",
> line 95, in child_paint
> self._blit_regions(img, dirty_rects)
>   File "/usr/lib/python2.5/site-packages/kaa/mevas/displays/bitmapcanvas.py",
> line 134, in _blit_regions
> self._blit(img, r)
>   File "/usr/lib/python2.5/site-packages/kaa/mevas/displays/imlib2canvas.py",
> line 72, in _blit
> self._blend)
>   File "/usr/lib/python2.5/site-packages/kaa/display/x11.py", line
> 274, in render_imlib2_image
> src_pos, size, dither, blend)
> SystemError: kaa-display compiled without imlib2 display support.
> ERROR __init__(1021): signal.emit
> Traceback (most recent call last):
>   File "../base/build/lib.linux-ppc64-2.5/kaa/notifier/callback.py",
> line 391, in emit
>   File "../base/build/lib.linux-ppc64-2.5/kaa/notifier/callback.py",
> line 236, in __call__
>   File "../base/build/lib.linux-ppc64-2.5/kaa/notifier/callback.py",
> line 168, in __call__
>   File "/usr/lib/python2.5/site-packages/freevo/ui/gui/areas/handler.py",
> line 140, in _cleanup_on_shutdown
> self.areas.pop().clear_all()
>   File "/usr/lib/python2.5/site-packages/freevo/ui/gui/areas/area.py",
> line 117, in clear_all
> self.clear()
>   File "/usr/bin/freevo", line 233, in clear
> self.bar.unparent()
> AttributeError: 'NoneType' object has no attribute 'unparent'
> Exception exceptions.TypeError: "'NoneType' object is not callable" in
>  object at 0x103222f0>> ignored
> [EMAIL PROTECTED]:~/build/kaa$
> ---
>
> I do notice an onscreen flicker during the process.. My guess is a
> window is being drawn?
>
> I'm using a ps3 running the latest version of ubunut.  I know that X
> is unaccelaerated; but it should still work in software mode right??
>
> Mick
>

Bump.  Has anyone seen this error before?  I'm not sure where to start
on this one.  At a guess this is the relavent feedback:
---
> SystemError: kaa-display compiled without imlib2 display support.
---

Would this mean that ubuntu's version of imlib2 is compiled without
something needed by kaa?

Mick

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-15 Thread mike lewis
On Nov 13, 2007 11:37 PM, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On 2007-11-13 08:39, mike lewis wrote:
> >   File "/usr/lib/python2.5/site-packages/kaa/db.py", line 48, in 
> > from _objectrow import ObjectRow
> > ImportError: No module named _objectrow
> > [EMAIL PROTECTED]:~/build/freevo$
> >
>
> I'm guessing that you don't have the glib devel package installed on
> your system.  The _objectrow extension is compiled C, but it requires glib.
>
> When you do "python setup.py build" inside kaa/base, does it say:
>
>glib >= 2.4.0 not found; kaa.db will be unavailable
>
Yep, that fixed it.  Thanks.

Looking in kaa.display; are all the following supported by freevo2?

fb, dfb, gtkwin, sdl, x11 ?

The comment in freevo.conf indicates not..  Is this a limit in
freevo's vo capability or just in the support within kaa's media
players? (thats kaa.canvas right?)

Mick





>
> Cheers,
> Jason.
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-15 Thread mike lewis
OK, cleared the db error; but with the same checkout I have an imlib2
error.  Here is the (I think) relavent output from kaa install:

---
[EMAIL PROTECTED]:~/build/kaa$ sudo python setup.py install
...
[setup] Entering kaa submodule imlib2
POSIX shared memory enabled
running install
running build
running build_py
running build_ext
running install_lib
writing byte-compilation script '/tmp/tmpYr4JV-.py'
/usr/bin/python -O /tmp/tmpYr4JV-.py
removing /tmp/tmpYr4JV-.py
running install_egg_info
Removing /usr/lib/python2.5/site-packages/kaa_imlib2-0.2.2.egg-info
Writing /usr/lib/python2.5/site-packages/kaa_imlib2-0.2.2.egg-info
[setup] Leaving kaa submodule imlib2
[setup] Entering kaa submodule display
checking for X11 ... ok
checking for imlib2 >= 1.1.1 ... 1.3.0
checking for evas >= 0.9.9.010 ... no
checking for directfb >= 0.9.20 ... no
checking for pygame ... not installed
checking for XComposite ... no
+ X11 (imlib2)
+ Framebuffer (imlib2)
- DirectFB
- SDL
---

Here is the output I get when I attempt to run freevo (from within x)

---
[EMAIL PROTECTED]:~/build/kaa$ freevo
INFO __init__(91): beacon connected
INFO mbus_wrapper(453): register mbus.register
ERROR __init__(1021): Crash!
Traceback (most recent call last):
  File "/usr/bin/freevo", line 300, in 
splash = Splashscreen(_('Starting Freevo, please wait ...'), num_plugins-1)
  File "/usr/bin/freevo", line 226, in __init__
self.engine.show()
  File "/usr/lib/python2.5/site-packages/freevo/ui/gui/areas/handler.py",
line 260, in show
self.canvas.update()
  File "/usr/lib/python2.5/site-packages/kaa/mevas/canvasobject.py",
line 228, in update
self.canvas().child_paint(self, force)
  File "/usr/lib/python2.5/site-packages/kaa/mevas/displays/bitmapcanvas.py",
line 95, in child_paint
self._blit_regions(img, dirty_rects)
  File "/usr/lib/python2.5/site-packages/kaa/mevas/displays/bitmapcanvas.py",
line 134, in _blit_regions
self._blit(img, r)
  File "/usr/lib/python2.5/site-packages/kaa/mevas/displays/imlib2canvas.py",
line 72, in _blit
self._blend)
  File "/usr/lib/python2.5/site-packages/kaa/display/x11.py", line
274, in render_imlib2_image
src_pos, size, dither, blend)
SystemError: kaa-display compiled without imlib2 display support.
ERROR __init__(1021): signal.emit
Traceback (most recent call last):
  File "../base/build/lib.linux-ppc64-2.5/kaa/notifier/callback.py",
line 391, in emit
  File "../base/build/lib.linux-ppc64-2.5/kaa/notifier/callback.py",
line 236, in __call__
  File "../base/build/lib.linux-ppc64-2.5/kaa/notifier/callback.py",
line 168, in __call__
  File "/usr/lib/python2.5/site-packages/freevo/ui/gui/areas/handler.py",
line 140, in _cleanup_on_shutdown
self.areas.pop().clear_all()
  File "/usr/lib/python2.5/site-packages/freevo/ui/gui/areas/area.py",
line 117, in clear_all
self.clear()
  File "/usr/bin/freevo", line 233, in clear
self.bar.unparent()
AttributeError: 'NoneType' object has no attribute 'unparent'
Exception exceptions.TypeError: "'NoneType' object is not callable" in
> ignored
[EMAIL PROTECTED]:~/build/kaa$
---

I do notice an onscreen flicker during the process.. My guess is a
window is being drawn?

I'm using a ps3 running the latest version of ubunut.  I know that X
is unaccelaerated; but it should still work in software mode right??

Mick

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] freevo 2 + kaa checkout

2007-11-13 Thread Jason Tackaberry
On 2007-11-13 08:39, mike lewis wrote:
>   File "/usr/lib/python2.5/site-packages/kaa/db.py", line 48, in 
> from _objectrow import ObjectRow
> ImportError: No module named _objectrow
> [EMAIL PROTECTED]:~/build/freevo$
>   

I'm guessing that you don't have the glib devel package installed on
your system.  The _objectrow extension is compiled C, but it requires glib.

When you do "python setup.py build" inside kaa/base, does it say:

   glib >= 2.4.0 not found; kaa.db will be unavailable


Cheers,
Jason.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel