Hi all, Just thought I would post with a solution I have found to my own problem.
I was getting an error: C stack size is too small (I think from R) in my shell, so I told my shell (bash) ulimit -s unlimited, which makes the C stack size unlimited, and that fixed the problem, so I can use R-2.7 with rpy and Apache2/mod_python/Django. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Toby Hocking Sent: Wednesday, June 25, 2008 9:29 AM To: RPy help, support and design discussion list Subject: Re: [Rpy] rpy and mod_python problem I'm inclined to think that it is NOT an inherent incompatibility problem with mod_python and RPy since I have a working Rpy/apache/mod_python system on top of Django. Relevant package versions for the working system are: Django-rev7716 Apache-2.0.55-4ubuntu2.3 mod_python-3.1.4-0ubuntu1.1 R-2.2.1 RPy-rev563 But when I switch to R-2.7 and Python 2.5, I start getting the error (RPy_Exception: R Function "get" not found). Furthermore, this error happens on the Django development webserver as well, so it must be an error independent of apache/mod_python. Any thoughts? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christof Winter Sent: Wednesday, June 25, 2008 7:54 AM To: RPy help, support and design discussion list Subject: Re: [Rpy] rpy and mod_python problem Laurent Gautier wrote, On 06/25/08 15:47: > Wild guess: this has something to do with the multiple interpreters > http://www.modpython.org/live/current/doc-html/pyapi-interps.html > > (reading the doc Python's C-level "Py_NewInterpreter()" is hinting that > this is likely the nature of the problem). > > For now, there is not much to do beside using python CGIs without > mod_python. > I'd like to have this solved ,but that will likely have to wait for rpy 2.1. That sounds plausible. Waiting for rpy 2.1 is fine for me, as using a cgi-based Python with Apache works (although it's rather slow). Christof ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list