Duncan Webb wrote:
> Tanja said the following, on 28.02.2008 23:29:
>> Hi Duncan,
>>
>>   
>>> What I did is to add two prints before and after the Popen in 
>>> childapp.py and noticed that the first one was printed but not the 
>>> second one nor any other message after. 
>>>     
>>
>> That is what I have expected from what I see in the logs...

Without remembering the code in Freevo 1.x, maybe you can use
kaa.Process as a wrapper for popen.

>>> The recordserver does not shut down, needs a kill -9.
>>
>> What do you mean by that?
>> With the current svn version "freevo recordserver stop"
>> stops the recordserver without any problems.
>> And also a CTRL-C is working as expected...
>>   
> I've noticed that it sometimes works and sometimes doesn't, I think that
> it doesn't work after a recording but does before.

That is something we need to hunt down. You do not use twisted, right?
You use the nornal notifier mainloop. In that case, C-c sends a
sys.exit to the mainloop. The question is, what happens? Do you catch
all exceptions somewhere? In that case the exit will get lost.

> No I don't think so, it seems to be more related to using DirectFB
> framebuffers rather than X. I was having problems with shutting down
> before I started with this set of changes. Trouble is that sometimes it
> does shutdown cleanly.

Maybe the dfb code is doing something bad. But the recordserver should
use neither X nor dfb.

> Yes I've noticed this too, sometimes it works just fine and other times
> it just doesn't spawn the process. I think that it works first time
> after the recordserver has been started but not afterwards. Simply by
> deleting the site-packages-kaa and installing kaa-base-0.3.0 it records
> every time.

We did some massive changes in kaa.base including chaning file
names. So it is a very good idea to delete site-packes/kaa and all
build directories in the source tree and install again.


Dischi

-- 
"Today Is A Good Day For Someone Else To Die!"
        -- (Terry Pratchett, Feet of Clay)

Attachment: pgpfPOQEPzM1X.pgp
Description: PGP signature

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

Reply via email to