Re: [Freevo-users] Android Developer Wanted

2013-06-09 Thread Dirk Meyer
Hi,

On 06/05/2013 03:26 AM, Jim Duda wrote:
 On 06/01/2013 03:20 AM, Dirk Meyer wrote:
 Hi,

 On 06/01/2013 02:53 AM, Jim Duda wrote:
 I removed the display directory.  But now mplayer is looking for display.
 I wish I could be more helpful here...

 That is expected, but it shouldn't matter for just starting the
 simple.py. It still crashes?

 ERROR candy:__init__(45): unable to import mplayer: No module named display
 INFO candy:main(97): imp name:candy filename: 
 /usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
 WARNING candy:main(127): sync took 0.0357 sec
 INFO candy:main(92): imp 
 path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/player

 In kaa-candy/src/backend/player/mplayer.py, we have this:
 
 # kaa.display for mplayer to draw to
 import kaa.display
 
 Is this the problem?
 
 kaa.dispaly is not referenced until do_play method.

Yes, try to remove the line and see what is happening. If it still
crashes, than I guess your clutter version is too old. Clutter changed a
lot the last years.

Regards,

Dischi

-- 
Only Irish coffee provides in a single glass all four essential food
groups -- alcohol, caffeine, sugar, and fat.
-- Alex Levine

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-06-04 Thread Jim Duda
On 06/01/2013 03:20 AM, Dirk Meyer wrote:
 Hi,
 
 On 06/01/2013 02:53 AM, Jim Duda wrote:
 I removed the display directory.  But now mplayer is looking for display.
 I wish I could be more helpful here...
 
 That is expected, but it shouldn't matter for just starting the
 simple.py. It still crashes?
 
 ERROR candy:__init__(45): unable to import mplayer: No module named display
 INFO candy:main(97): imp name:candy filename: 
 /usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
 WARNING candy:main(127): sync took 0.0357 sec
 INFO candy:main(92): imp 
 path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/player
 
In kaa-candy/src/backend/player/mplayer.py, we have this:

# kaa.display for mplayer to draw to
import kaa.display

Is this the problem?

kaa.dispaly is not referenced until do_play method.

My python skills are very limited unfortunately.

Jim


--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-06-01 Thread Dirk Meyer
Hi,

On 06/01/2013 02:53 AM, Jim Duda wrote:
 I removed the display directory.  But now mplayer is looking for display.
 I wish I could be more helpful here...

That is expected, but it shouldn't matter for just starting the
simple.py. It still crashes?

 ERROR candy:__init__(45): unable to import mplayer: No module named display
 INFO candy:main(97): imp name:candy filename: 
 /usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
 WARNING candy:main(127): sync took 0.0357 sec
 INFO candy:main(92): imp 
 path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/player

That is still the last line you see? Can you increase the debug with
print in backend/player to see where the problem is?

I don't understand what's going on here.


Regards,

Dischi

-- 
The 50-50-90 rule: Any time you have a 50-50 chance of getting
something right, there's a 90% probability you'll get it wrong.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-31 Thread Jim Duda
On 05/30/2013 04:56 PM, Dirk Meyer wrote:
 Sorry for the long delay with my answer
 
 On 05/23/2013 02:24 AM, Jim Duda wrote:
 Um, I honestly don't know how to do an uninstall.  I've never done this 
 before.
 I tried python setup.py --help-commands but no obvious uninstall or removal 
 options, just install.
 How do I remove kaa-display?
 
 You should have everything in something similar to
 /usr/local/lib/python2.7/dist-packages/kaa
 (maybe lib64 or maybe a different Python version).
 
 Just delete the display subdirectory.
 

I removed the display directory.  But now mplayer is looking for display.
I wish I could be more helpful here...

INFO candy:utils(505): After mod: gstreamer

INFO candy:utils(503): Before mod: gstreamer2

INFO candy:utils(505): After mod: gstreamer2

INFO candy:utils(503): Before mod: label

INFO candy:utils(505): After mod: label

INFO candy:utils(503): Before mod: video

INFO candy:utils(505): After mod: video

INFO candy:utils(503): Before mod: widget

INFO candy:utils(505): After mod: widget

INFO candy:utils(503): Before mod: rectangle

INFO candy:utils(505): After mod: rectangle

INFO candy:utils(503): Before mod: text

INFO candy:utils(505): After mod: text

INFO candy:utils(503): Before mod: group

INFO candy:utils(505): After mod: group

INFO candy:utils(503): Before mod: mplayer

INFO candy:utils(503): Before mod: image

INFO candy:utils(505): After mod: image

ERROR candy:__init__(45): unable to import mplayer: No module named display
INFO candy:main(97): imp name:candy filename: 
/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
WARNING candy:main(127): sync took 0.0357 sec
INFO candy:main(92): imp 
path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/player




--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-30 Thread Dirk Meyer
Sorry for the long delay with my answer

On 05/23/2013 02:24 AM, Jim Duda wrote:
 Um, I honestly don't know how to do an uninstall.  I've never done this 
 before.
 I tried python setup.py --help-commands but no obvious uninstall or removal 
 options, just install.
 How do I remove kaa-display?

You should have everything in something similar to
/usr/local/lib/python2.7/dist-packages/kaa
(maybe lib64 or maybe a different Python version).

Just delete the display subdirectory.

 BTW, what distro are you using?
 
 Ubuntu 12.04 LTS

IIRC there was a bug in clutter with that version with gstreamer. But it
should work with the basic simple.py. But I updated the code since I
used 12.04. The problem may be, that clutter, the lib I use to draw
the GUI wasn't finished at that time and had some bugs.


Regards,

Dischi

-- 
I get to go to lots of overseas places, like Canada. - Britney Spears

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-22 Thread Dirk Meyer
Hi,

On 05/19/2013 12:33 AM, Jim Duda wrote:
 Traceback (most recent call last):
   File /usr/lib/python2.7/logging/__init__.py, line 846, in emit
 msg = self.format(record)
   File /usr/lib/python2.7/logging/__init__.py, line 723, in format
 return fmt.format(record)
   File /usr/lib/python2.7/logging/__init__.py, line 464, in format
 record.message = record.getMessage()
   File /usr/lib/python2.7/logging/__init__.py, line 328, in getMessage
 msg = msg % self.args
 TypeError: not all arguments converted during string formatting
 Logged from file main.py, line 97

I do not see any log call in line 97. I guess, it is because you added
additional lines for your debug. But all the debug looks good. Maybe you
added some debug in this line which is broken?

 INFO candy:main(92): imp 
 path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/player
 Fatal Python error: (pygame parachute) Segmentation Fault

I wonder what pygame is doing here? Ah, I guess it is kaa.display having
SDL support (which I guess nobody is usinf anymore). Can you remove the
kaa.display installation just to be sure it is not breaking anything?

For my list I already have:
1. Add a flag to increase debugging to avoid such long mail threads
2. Check why the xrandr stuff (x11.py) is crashing your system
3. Cleanup kaa.display -- maybe move the two files I need to kaa.candy

BTW, what distro are you using?


Regards,

Dischi

-- 
All bombs with electronic timing devices are fitted with large red
readouts so you know exactly when they're going to go off.

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-22 Thread Jim Duda
On 05/22/2013 12:52 PM, Dirk Meyer wrote:
 Hi,
 
 I do not see any log call in line 97. I guess, it is because you added
 additional lines for your debug. But all the debug looks good. Maybe you
 added some debug in this line which is broken?
 

Right, I was just missing a parameter in a debug message.

 INFO candy:main(92): imp 
 path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/player
 Fatal Python error: (pygame parachute) Segmentation Fault
 
 I wonder what pygame is doing here? Ah, I guess it is kaa.display having
 SDL support (which I guess nobody is usinf anymore). Can you remove the
 kaa.display installation just to be sure it is not breaking anything?
 

Um, I honestly don't know how to do an uninstall.  I've never done this before.
I tried python setup.py --help-commands but no obvious uninstall or removal 
options, just install.
How do I remove kaa-display?

 For my list I already have:
 1. Add a flag to increase debugging to avoid such long mail threads
 2. Check why the xrandr stuff (x11.py) is crashing your system
 3. Cleanup kaa.display -- maybe move the two files I need to kaa.candy
 
 BTW, what distro are you using?

Ubuntu 12.04 LTS
 

Regards,

Jim

IOError: kaa.rpc channel closed
INFO candy:main(67): run entry
INFO candy:main(70): clutter imported
INFO candy:main(72): clutter threads init
INFO candy:main(74): clutter init
INFO candy:main(92): imp 
path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
INFO candy:utils(503): Before mod: clone

INFO candy:utils(505): After mod: clone

INFO candy:utils(503): Before mod: gstreamer

INFO candy:utils(505): After mod: gstreamer

INFO candy:utils(503): Before mod: gstreamer2

INFO candy:utils(505): After mod: gstreamer2

INFO candy:utils(503): Before mod: label

INFO candy:utils(505): After mod: label

INFO candy:utils(503): Before mod: video

INFO candy:utils(505): After mod: video

INFO candy:utils(503): Before mod: widget

INFO candy:utils(505): After mod: widget

INFO candy:utils(503): Before mod: rectangle

INFO candy:utils(505): After mod: rectangle

INFO candy:utils(503): Before mod: text

INFO candy:utils(505): After mod: text

INFO candy:utils(503): Before mod: group

INFO candy:utils(505): After mod: group

INFO candy:utils(503): Before mod: mplayer

INFO candy:utils(505): After mod: mplayer

INFO candy:utils(503): Before mod: image

INFO candy:utils(505): After mod: image

INFO candy:main(97): imp name:candy filename: 
/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
WARNING candy:main(127): sync took 0.1099 sec
INFO candy:main(92): imp 
path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/player
Fatal Python error: (pygame parachute) Segmentation Fault




--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-18 Thread Dirk Meyer
Hi,

On 05/16/2013 01:55 AM, Jim Duda wrote:
 INFO candy:utils(503): Before mod: video
 
 2013-05-15 19:54:21,544 [ERROR] stage(164): backend error, restarting
 2013-05-15 19:54:21,547 [ERROR] async(552): Unhandled InProgress exception:

Ah, now I think I have an idea. Can you go deeper? src/backend/video.py
is importing x11.py. Can you remove this import and the two lines in the
file using it (setting the resolution with xrandr)? My guess is that the
ctypes stuff does not work for you.

We are getting very close.

Regards,

Dischi

-- 
Alcohol doesn't solve any problem...but fuck it neither does milk
-- A wise man?

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-18 Thread Jim Duda
On 05/18/2013 04:45 AM, Dirk Meyer wrote:
 Hi,
 
 On 05/16/2013 01:55 AM, Jim Duda wrote:
 INFO candy:utils(503): Before mod: video

 2013-05-15 19:54:21,544 [ERROR] stage(164): backend error, restarting
 2013-05-15 19:54:21,547 [ERROR] async(552): Unhandled InProgress exception:
 
 Ah, now I think I have an idea. Can you go deeper? src/backend/video.py
 is importing x11.py. Can you remove this import and the two lines in the
 file using it (setting the resolution with xrandr)? My guess is that the
 ctypes stuff does not work for you.
 
 We are getting very close.
 
 Regards,

Make those changes.  Now we get.


INFO candy:main(67): run entry
INFO candy:main(70): clutter imported
INFO candy:main(72): clutter threads init
INFO candy:main(74): clutter init
INFO candy:main(92): imp 
path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
INFO candy:utils(503): Before mod: clone

INFO candy:utils(505): After mod: clone

INFO candy:utils(503): Before mod: gstreamer

INFO candy:utils(505): After mod: gstreamer

INFO candy:utils(503): Before mod: gstreamer2

INFO candy:utils(505): After mod: gstreamer2

INFO candy:utils(503): Before mod: label

INFO candy:utils(505): After mod: label

INFO candy:utils(503): Before mod: video

INFO candy:utils(505): After mod: video

INFO candy:utils(503): Before mod: widget

INFO candy:utils(505): After mod: widget

INFO candy:utils(503): Before mod: rectangle

INFO candy:utils(505): After mod: rectangle

INFO candy:utils(503): Before mod: text

INFO candy:utils(505): After mod: text

INFO candy:utils(503): Before mod: group

INFO candy:utils(505): After mod: group

INFO candy:utils(503): Before mod: mplayer

INFO candy:utils(505): After mod: mplayer

INFO candy:utils(503): Before mod: image

INFO candy:utils(505): After mod: image

Traceback (most recent call last):
  File /usr/lib/python2.7/logging/__init__.py, line 846, in emit
msg = self.format(record)
  File /usr/lib/python2.7/logging/__init__.py, line 723, in format
return fmt.format(record)
  File /usr/lib/python2.7/logging/__init__.py, line 464, in format
record.message = record.getMessage()
  File /usr/lib/python2.7/logging/__init__.py, line 328, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Logged from file main.py, line 97
WARNING candy:main(127): sync took 0.1087 sec
INFO candy:main(92): imp 
path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/player
Fatal Python error: (pygame parachute) Segmentation Fault
^Cshutdown

Regards,

Jim


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-15 Thread Dirk Meyer
Hi,

On 05/15/2013 01:55 AM, Jim Duda wrote:
 I don't get past sys.modules call in imp

I have to add some more debug in kaa.candy to avoid this is in the
future, but for now your debugging has to do.

 INFO candy:main(92): imp 
 path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets

Next step: edit kaa/base/sr/utils.py function get_plugins and add a
print before and after __import__ to see which file causes the problem.

Thanks for debugging this.


Dischi
-- 
Sorry - yesterday was the deadline for all complaints.

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-15 Thread Jim Duda
On 05/15/2013 02:07 AM, Dirk Meyer wrote:

 INFO candy:main(92): imp 
 path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
 
 Next step: edit kaa/base/sr/utils.py function get_plugins and add a
 print before and after __import__ to see which file causes the problem.
 
INFO candy:main(92): imp 
path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
INFO candy:utils(503): Before mod: clone

INFO candy:utils(505): After mod: clone

INFO candy:utils(503): Before mod: gstreamer

INFO candy:utils(505): After mod: gstreamer

INFO candy:utils(503): Before mod: gstreamer2

INFO candy:utils(505): After mod: gstreamer2

INFO candy:utils(503): Before mod: label

INFO candy:utils(505): After mod: label

INFO candy:utils(503): Before mod: video

2013-05-15 19:54:21,544 [ERROR] stage(164): backend error, restarting
2013-05-15 19:54:21,547 [ERROR] async(552): Unhandled InProgress exception:

 Thanks for debugging this.
 

Glad to help.

Jim



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-14 Thread Jim Duda
I don't get past sys.modules call in imp

def run(self):
# Import clutter only in the gobject thread
# This function will be the running mainloop
log.info('run entry')
try:
from gi.repository import Clutter as clutter
log.info('clutter imported')
clutter.threads_init()
log.info('clutter threads init')
clutter.init([])
log.info('clutter init')
clutter.main()
log.info('clutter main')
except Exception, e:
log.exception('unable to import clutter')
return

def imp(self, name, path, server):

Import inside the clutter thread

path = os.path.abspath(path)
log.info('imp path:%s', path)
basename, dirname = os.path.basename(path), os.path.dirname(path)
(file, filename, data) = imp.find_module(basename, [ dirname ])
# hack to provide the module to other modules for import
sys.modules[name] = imp.load_module(name, file, filename, data)
log.info('imp name:%s filename: ', name, filename)
 
INFO candy:main(67): run entry
INFO candy:main(70): clutter imported
INFO candy:main(72): clutter threads init
INFO candy:main(74): clutter init
INFO candy:main(92): imp 
path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
2013-05-14 19:52:48,635 [ERROR] stage(164): backend error, restarting
2013-05-14 19:52:48,638 [ERROR] async(552): Unhandled InProgress exception:
IOError: kaa.rpc channel closed
INFO candy:main(67): run entry
INFO candy:main(70): clutter imported
INFO candy:main(72): clutter threads init
INFO candy:main(74): clutter init
INFO candy:main(92): imp 
path:/usr/local/lib/python2.7/dist-packages/kaa/candy/backend/widgets
2013-05-14 19:52:48,840 [ERROR] stage(164): backend error, restarting
2013-05-14 19:52:48,846 [ERROR] async(552): Unhandled InProgress exception:
IOError: kaa.rpc channel closed

Regards,

Jim

On 05/12/2013 06:13 AM, Dirk Meyer wrote:
 Hi,
 
 On 05/11/2013 03:33 PM, Jim Duda wrote:
 I believe I have ClutterGst gir installed.  I'm running Ubuntu on my test 
 machine.

 jim sudo aptitude search gst | grep gir
 i   gir1.2-clutter-gst-1.0  - Gobject introspection data for Clutter 
 GSt
 p   gir1.2-clutter-gst-1.0:i386 - Gobject introspection data for Clutter 
 GSt
 i   gir1.2-gst-plugins-base-0.10- Description: GObject introspection 
 data fo
 p   gir1.2-gst-plugins-base-0.10:i3 - Description: GObject introspection 
 data fo
 p   gir1.2-gst-rtsp-server-0.10 - GObject introspection data for the 
 gst-rts
 p   gir1.2-gst-rtsp-server-0.10:i38 - GObject introspection data for the 
 gst-rts
 i   gir1.2-gstreamer-0.10   - Description: GObject introspection 
 data fo
 p   gir1.2-gstreamer-0.10:i386  - Description: GObject introspection 
 data fo
 
 Strange. But we can ignore this for now, it only affects the video
 playback and we do not get so far.
 
 To test something simpler, can you start simple.py in the kaa.candy test
 directory?


 jim python simple.py
 2013-05-11 09:28:51,103 [ERROR] stage(164): backend error, restarting
 2013-05-11 09:28:51,108 [ERROR] async(552): Unhandled InProgress exception:
 IOError: kaa.rpc channel closed
 2013-05-11 09:28:51,308 [ERROR] stage(164): backend error, restarting
 2013-05-11 09:28:51,313 [ERROR] async(552): Unhandled InProgress exception:
 IOError: kaa.rpc channel closed
 
 OK, let us ignore Freevo for once and take a look at kaa.candy which
 seems to have a big problem for you.
 
 Can you add some debug statements into the backend code to see where it
 is crashing? In kaa/candy/src/backend/main.py please add some print
 statements in the run() and imp() functions to figure out where the code
 stopps, reinstall kaa.candy and rerun simple.py
 
 Where do you live? Maybe we could schedule a meeting in the Freevo IRC
 channel. This would make debugging much easier.


 Boston, USA
 
 Very different time zone. It would be helpfull if you could join #freevo
 at irc.gnu.org if you are awake and we could try to figure it out.
 
 
 Dischi
 



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-11 Thread Jim Duda
On 05/10/2013 03:30 AM, Dirk Meyer wrote:
 Hi,
 
 On 05/10/2013 03:39 AM, Jim Duda wrote:
 Do I need to worry about flushing out or deleting some left over config
 file from running freevo1.x?
 
 Freevo 2.0 has its own config file. A side-by-side installation with
 Freevo 1.x should work.
 
 jim freevo2
 WARNING config(1297): 'Group' object has no attribute 'command': 
 plugin.shutdown.command.halt = default: shutdown -h now
 WARNING config(1297): 'Group' object has no attribute 'command': 
 plugin.shutdown.command.restart = default: shutdown -h now
 WARNING config(1297): 'Config' object has no attribute 'player': 
 player.preferred = default: mplayer
 [...]
 

I simply removed my freevo2.conf to start from scratch.

 
 Now the display process is dead. Without any further message. That is
 very strange. So it looks like it is crashing during player import. It
 shows the error that you miss clutter gstreamer and does not print the
 other message. This could mean that it crashes during mplayer import.
 And crash meaning a segfault in the C-bindings.
 
 To skip this for now, please
 a. Install ClutterGst gir-bindings
 b. Remove mplayer.py from kaa/candy/backend/player
 c. Set debug=True in your Freevo 2 config
 

I believe I have ClutterGst gir installed.  I'm running Ubuntu on my test 
machine.

jim sudo aptitude search gst | grep gir
i   gir1.2-clutter-gst-1.0  - Gobject introspection data for Clutter GSt
p   gir1.2-clutter-gst-1.0:i386 - Gobject introspection data for Clutter GSt
i   gir1.2-gst-plugins-base-0.10- Description: GObject introspection data fo
p   gir1.2-gst-plugins-base-0.10:i3 - Description: GObject introspection data fo
p   gir1.2-gst-rtsp-server-0.10 - GObject introspection data for the gst-rts
p   gir1.2-gst-rtsp-server-0.10:i38 - GObject introspection data for the gst-rts
i   gir1.2-gstreamer-0.10   - Description: GObject introspection data fo
p   gir1.2-gstreamer-0.10:i386  - Description: GObject introspection data fo

 To test something simpler, can you start simple.py in the kaa.candy test
 directory?
 

jim python simple.py 
2013-05-11 09:28:51,103 [ERROR] stage(164): backend error, restarting
2013-05-11 09:28:51,108 [ERROR] async(552): Unhandled InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:28:51,308 [ERROR] stage(164): backend error, restarting
2013-05-11 09:28:51,313 [ERROR] async(552): Unhandled InProgress exception:
IOError: kaa.rpc channel closed

I set debug=True in my freevo2.conf file.

Snipet of log file:

2013-05-11 09:31:44,606 ERROR[kaa.candy] core.py 67: unable to evaluate menu
2013-05-11 09:31:44,606 ERROR[kaa.candy] core.py 67: unable to evaluate menu
2013-05-11 09:31:44,823 ERROR[kaa.base.core.io] io.py 770: some error
Traceback (most recent call last):
  File /usr/local/lib/python2.7/dist-packages/kaa/base/io.py, line 756, in 
_handle_read
data = self._read(self._chunk_size)
  File /usr/local/lib/python2.7/dist-packages/kaa/base/sockets.py, line 708, 
in _read
return self._channel.recv(size)
error: [Errno 104] Connection reset by peer
2013-05-11 09:31:44,824 ERROR[kaa.candy] stage.py 164: backend error, 
restarting
2013-05-11 09:31:44,831 WARNING  [  root] taskmanager.py 108: kaa.candy reset, 
going back to menu
2013-05-11 09:31:44,836 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:31:44,839 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:31:44,840 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:31:44,842 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:31:44,843 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:31:45,044 ERROR[kaa.candy] stage.py 164: backend error, 
restarting
2013-05-11 09:31:45,044 WARNING  [  root] taskmanager.py 108: kaa.candy reset, 
going back to menu
2013-05-11 09:31:45,051 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:31:45,052 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:31:45,252 ERROR[kaa.candy] stage.py 164: backend error, 
restarting
2013-05-11 09:31:45,252 WARNING  [  root] taskmanager.py 108: kaa.candy reset, 
going back to menu
2013-05-11 09:31:45,258 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:
IOError: kaa.rpc channel closed
2013-05-11 09:31:45,259 ERROR[kaa.base.core.async] async.py 552: Unhandled 
InProgress exception:


 Where do you live? Maybe we could schedule a meeting in the Freevo IRC
 channel. This would make debugging much easier.
 

Boston, USA

I appreciate your help.


Re: [Freevo-users] Android Developer Wanted

2013-05-10 Thread Dirk Meyer
Hi,

On 05/10/2013 03:39 AM, Jim Duda wrote:
 Do I need to worry about flushing out or deleting some left over config
 file from running freevo1.x?

Freevo 2.0 has its own config file. A side-by-side installation with
Freevo 1.x should work.

 jim freevo2
 WARNING config(1297): 'Group' object has no attribute 'command': 
 plugin.shutdown.command.halt = default: shutdown -h now
 WARNING config(1297): 'Group' object has no attribute 'command': 
 plugin.shutdown.command.restart = default: shutdown -h now
 WARNING config(1297): 'Config' object has no attribute 'player': 
 player.preferred = default: mplayer
[...]

Before you fixed your install script you had an older Freevo config
which created default entries no longer valid. If you open the
freevo2.conf you see a list of entries no longer valid at the end of the
file. You can just delete them.

 ERROR core(67): unable to evaluate menu
 ERROR core(67): unable to evaluate menu

I see the same error. Strange, but since it works for me, it should be
no problem.

 ERROR candy:importer(51): Could not find any typelib for ClutterGst
 ERROR candy:importer(51): Could not find any typelib for ClutterGst

Strange. OK, first of all, you are missing the gir-bindings for the
clutter gstreamer bindings. But that shouldn't be a problem. I'm missing
the line player gstreamer disabled after that.

 ERROR io(770): some error
 Traceback (most recent call last):
   File /usr/local/lib/python2.7/dist-packages/kaa/base/io.py, line 756, in 
 _handle_read
 data = self._read(self._chunk_size)
   File /usr/local/lib/python2.7/dist-packages/kaa/base/sockets.py, line 
 708, in _read
 return self._channel.recv(size)

Now the display process is dead. Without any further message. That is
very strange. So it looks like it is crashing during player import. It
shows the error that you miss clutter gstreamer and does not print the
other message. This could mean that it crashes during mplayer import.
And crash meaning a segfault in the C-bindings.

To skip this for now, please
a. Install ClutterGst gir-bindings
b. Remove mplayer.py from kaa/candy/backend/player
c. Set debug=True in your Freevo 2 config

To test something simpler, can you start simple.py in the kaa.candy test
directory?

Where do you live? Maybe we could schedule a meeting in the Freevo IRC
channel. This would make debugging much easier.


Regards,

Dischi

-- 
Common Sense is very Uncommon.

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-09 Thread Dirk Meyer
Hi,

On 05/09/2013 01:47 AM, Jim Duda wrote:
 I have updated to the latest git and installed all of the requirements.
 I did a git pull on my freevo2 git sandbox.
 I then did sudo python setup.py install.
 
 I now run freevo2 and I get:
 
 jim /usr/local/bin/freevo2
 Traceback (most recent call last):
   File /usr/local/bin/freevo2, line 69, in module
 logging.add_stdout_handler()
 AttributeError: 'module' object has no attribute 'add_stdout_handler'
 
 What might I be missing?

Do you have kaa.base from git? The function is newer than the latest
kaa.base release. The function in question should be in logger,py in
kaa.base.

Regards,

Dischi

-- 
The best things in life aren't things.

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-09 Thread Jim Duda
On 05/09/2013 04:15 AM, Dirk Meyer wrote:
 
 Do you have kaa.base from git? The function is newer than the latest
 kaa.base release. The function in question should be in logger,py in
 kaa.base.
 

I do have the latest kaa.base from git.  I discovered I had a flaw in
my install script.  I believe everything is now properly installed.

When I run I get some errors.  Please see below.  I don't get any gui, just
the repeating errors at the bottom.

Do I need to worry about flushing out or deleting some left over config
file from running freevo1.x?

I see in my ~/.freevo directory, I now have a freevo2.conf and log files
with the error messages shown below.

Regards,

Jim

jim freevo2
WARNING config(1297): 'Group' object has no attribute 'command': 
plugin.shutdown.command.halt = default: shutdown -h now
WARNING config(1297): 'Group' object has no attribute 'command': 
plugin.shutdown.command.restart = default: shutdown -h now
WARNING config(1297): 'Config' object has no attribute 'player': 
player.preferred = default: mplayer
WARNING config(1297): 'Config' object has no attribute 'player': 
player.video.vdpau.enabled = default: False
WARNING config(1297): 'Config' object has no attribute 'player': 
player.video.vdpau.formats = default: h264, vc1, mpeg12
WARNING config(1297): 'Config' object has no attribute 'player': 
player.video.monitoraspect = default: 16:9
WARNING config(1297): 'Config' object has no attribute 'player': 
player.video.deinterlacing.enabled = default: auto
WARNING config(1297): 'Config' object has no attribute 'player': 
player.video.deinterlacing.method = default: better
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.driver = default: alsa
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.alsa.default = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.alsa.devices.mono = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.alsa.devices.stereo = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.alsa.devices.surround40 = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.alsa.devices.surround51 = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.alsa.devices.surround71 = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.alsa.devices.passthrough = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.channels = default: 6
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.passthrough = default: False
WARNING config(1297): 'Config' object has no attribute 'player': 
player.audio.delay = default: 0.0
WARNING config(1297): 'Config' object has no attribute 'player': 
player.language.audio = default: en
WARNING config(1297): 'Config' object has no attribute 'player': 
player.language.subtitle = default: en,de,fr
WARNING config(1297): 'Config' object has no attribute 'player': player.cache = 
default: 1024
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.enabled = default: True
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.path = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.preferred.extensions = default: nuv,rmvb,flv
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.preferred.codecs = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.deinterlacer.cheap = default: tfields=4
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.deinterlacer.good = default: kerndeint
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.deinterlacer.better = default: yadif=0
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.deinterlacer.best = default: yadif=1
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.audiocodecs = default: (empty string)
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.capability.dvd = default: 8
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.capability.dvdmenu = default: 0
WARNING config(1297): 'Config' object has no attribute 'player': 
player.mplayer.capability.deinterlace = default: 6
WARNING config(1297): 'Group' object has no attribute 'items': 
video.items[+].path = /net/linux/media/videos
WARNING config(1297): 'Group' object has no attribute 'items': video.items[ 
].name = Videos
ERROR core(67): unable to evaluate menu
ERROR core(67): unable to evaluate menu
ERROR candy:importer(51): Could not find any typelib for ClutterGst
ERROR candy:importer(51): 

Re: [Freevo-users] Android Developer Wanted

2013-05-08 Thread Jim Duda
On 05/04/2013 03:37 AM, Dirk Meyer wrote:
 
 
 On 05/04/2013 03:17 AM, Jim Duda wrote:
 On 05/01/2013 05:51 AM, Dirk Meyer wrote:
 Hi,

 Freevo 2.0 has most features needed for a new release (finally). Some
 small stuff is still on my TODO list. One major point is an Android
 remote control. I have a basic web-based control, but an Andoid app with
 more features would be very nice to have.

 Is there an Android developer here somewhere?


 I might be able to handle that.  I've actually been thinking about writing
 an android remote control app for freevo1.x.
 
 Cool. If you need help installing 2.0 please ask on this list.

I have updated to the latest git and installed all of the requirements.
I did a git pull on my freevo2 git sandbox.
I then did sudo python setup.py install.

I now run freevo2 and I get:

jim /usr/local/bin/freevo2
Traceback (most recent call last):
  File /usr/local/bin/freevo2, line 69, in module
logging.add_stdout_handler()
AttributeError: 'module' object has no attribute 'add_stdout_handler'

What might I be missing?


 What is the API interface for this android App?  A network socket?
 
 I wrote a small plugin as webserver + a HTML page + JQuery to control
 Freevo with my tablet using the browser. I would like to have one
 control interface for web and Android (maybe also Apple devices, bit I
 have none). So the interface is a HTTP call to get information using
 JSON and to send events.
 

What is the name of the plugin you wrote?

 Please tell how you would like the interface to work.
 
 Currently you can ask Freevo want it is doing (HTTP REST). For a menu
 you get a list of all items and an ID (JSON). If you provide the same ID
 again when asking again for Freevo is doing the call will block until
 Freevo changes (new menu, playback, etc) or a timeout when you have to
 call again. It is very simple. As a first draft we could work with that.
 For the future I'm thinking of a query interface and other nice features.
 

How do I direct my browser to the freevo2 webserver?

I think I can handle building this android application.  
The first think I need to do is play with the browser and webserver plugin
to see what I'm dealing with.

Regards,

Jim


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-04 Thread Dirk Meyer


On 05/04/2013 03:17 AM, Jim Duda wrote:
 On 05/01/2013 05:51 AM, Dirk Meyer wrote:
 Hi,

 Freevo 2.0 has most features needed for a new release (finally). Some
 small stuff is still on my TODO list. One major point is an Android
 remote control. I have a basic web-based control, but an Andoid app with
 more features would be very nice to have.

 Is there an Android developer here somewhere?

 
 I might be able to handle that.  I've actually been thinking about writing
 an android remote control app for freevo1.x.

Cool. If you need help installing 2.0 please ask on this list.

Requirements:

kaa.base
kaa.metadata
kaa.imlib2
kaa.beacon
kaa.candy
  - Clutter, ClutterGst and their GIR bindings
  - Optional: kaa.display and mplayer
kaa.webmetadata (optional)

It has less plugins as 1.x but I consider it stable. The API also won't
change anymore (except how to control it remotely, we will work on this
together). One problem: DVD playback is kind of broken.

 What is the API interface for this android App?  A network socket?

I wrote a small plugin as webserver + a HTML page + JQuery to control
Freevo with my tablet using the browser. I would like to have one
control interface for web and Android (maybe also Apple devices, bit I
have none). So the interface is a HTTP call to get information using
JSON and to send events.

 Please tell how you would like the interface to work.

Currently you can ask Freevo want it is doing (HTTP REST). For a menu
you get a list of all items and an ID (JSON). If you provide the same ID
again when asking again for Freevo is doing the call will block until
Freevo changes (new menu, playback, etc) or a timeout when you have to
call again. It is very simple. As a first draft we could work with that.
For the future I'm thinking of a query interface and other nice features.

If you need anything like more REST calls or more information in the
JSON return please contact me. I only wrote a small set of features to
get the website working. On thing on my TODO list is a call to get the
list of all possible events in the current state. I'm not sure how to do
that, but I will figure it out.


Regards,

Dischi

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Android Developer Wanted

2013-05-03 Thread Jim Duda
On 05/01/2013 05:51 AM, Dirk Meyer wrote:
 Hi,
 
 Freevo 2.0 has most features needed for a new release (finally). Some
 small stuff is still on my TODO list. One major point is an Android
 remote control. I have a basic web-based control, but an Andoid app with
 more features would be very nice to have.
 
 Is there an Android developer here somewhere?
 

I might be able to handle that.  I've actually been thinking about writing
an android remote control app for freevo1.x.  

What is the API interface for this android App?  A network socket?

Please tell how you would like the interface to work.

Regards,

Jim



--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users