[rkward-devel] php (5.2.11) backend error with R 2.10 on KDE3

Prasenjit Kapat kapatp at gmail.com
Thu Nov 26 11:16:51 UTC 2009


On Thu, Nov 26, 2009 at 5:38 AM, Thomas Friedrichsmeier
<thomas.friedrichsmeier at ruhr-uni-bochum.de> wrote:
> Hi,
>
> On Wednesday 25 November 2009, Prasenjit Kapat wrote:
>> The PHP-backend has died unexpectedly. The current output buffer is shown
>>  below: STDIN is at eof
>
> that's bad. Could you try the following patch? It's just a guess, but perhaps
> this does the trick.

I'll try this soon. Thanks.

>
> ===================================================================
> --- rkward/scriptbackends/common.php    (revision 2710)
> +++ rkward/scriptbackends/common.php    (working copy)
> @@ -59,6 +59,8 @@
>  ini_set ("error_prepend_string", "#RKEND#\nPHP-Error");
>  ini_set ("error_append_string", "#RKQEND#\n");
>
> +usleep (500000);
> +
>  while (1) {
>        eval (getInput ("requesting code"));
>        fflush (STDOUT);
>
>> Any idea?
>> php (5.2.11 cli) is located at /usr/local/bin/php. And this is also
>> specified in rkward settings.
>
> Do you have any other version of PHP available to test?

Well, I could install a different version locally and see...

Regards,
-- 
Prasenjit




More information about the Rkward-devel mailing list