Menu

#101 Importing rpy in django application fails

open
nobody
None
5
2012-07-18
2008-07-15
No

I am using rpy 1.0.3 with the R version 2.7.1, when I try to import rpy from a django application, I get the following,

Error: C stack usage is too close to the limit
Error: C stack usage is too close to the limit

*** caught bus error ***
address 0xb0000fcc, cause 'non-existent physical address'

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

I know this is a known (and probably resolved) issue, but I couldn't get this to work following the suggestions I found on the old discussions. Any help is appreciated.

Thanks

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Just FYI: I've seen similar C stack problems discussed on the rpy mailing list.

     
  • lgautier

    lgautier - 2008-08-27

    Logged In: YES
    user_id=1623918
    Originator: NO

    What OS is that on ?
    Django seems to be working with rpy2 on linux.

    Someone with a fix for rpy ?

     
  • Nishant Joshi

    Nishant Joshi - 2008-08-27

    Logged In: YES
    user_id=2148328
    Originator: YES

    OS X (10.5.3)
    The application server is an Ubuntu (Feisty) installation, but for development I use a mac.

     
  • Nishant Joshi

    Nishant Joshi - 2008-08-28

    Logged In: YES
    user_id=2148328
    Originator: YES

    While debugging this, I found that I get a "segmentation fault" when I try to import _rpy2071 in python

     

Anonymous
Anonymous

Add attachments
Cancel