Bugs item #1759234, was opened at 2007-07-24 10:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1759234&group_id=48422

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Win32
Group: rpy
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Paul Davidson (pdavidson100)
Assigned to: Nobody/Anonymous (nobody)
Summary: _rpy20xx.pyd exec causes python crash on Win32 (XP)

Initial Comment:
Importing rpy causes python to crash with no error message under windows.  
Building from the trunk source using Python-2.4 and R-2.4.1, but also other 
configurations (according to mailing list).  E.g.:

C:\> python -c "import rpy"

RHOME= C:\Program Files\R\R-2.4.1
RVERSION= 2.4.1
RVER= 2041
RUSER= C:\Documents and Settings\pauld
Loading the R DLL C:\Program Files\R\R-2.4.1\bin\R.dll .. Done.
Loading Rpy version 2041 ..
C:\> 


Using pdb the problem seems to occur at the exec command in r.py:117:

exec("import _rpy%s as _rpy" % RVER)

The same problem has also been described on the mailing list:

> Re: [Rpy] rpy fails to load on Win32 (XP)
> From: Gregory Warnes <[EMAIL PROTECTED]> - 2007-06-25 14:51
> Hello Gordan,
>
> Did you find a solution to your problem?
>
> -G

> Hi folks,
>
> I am currently trying to create a port of an linux application thats
> uses python/pygtk/rpy. On my WinXP installation I have installed
> R-2.5.0, python-2.5 and the neccessary modules for python. I compiled
> rpy from sources using the build scripts from its source code
> successfully, but it fails to load. (rpy trunk sources)
>
> It just silently crashes. Here is the commandline output:
>
> Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import rpy
> RHOME= C:\Programme\R\R-2.5.0
> RVERSION= 2.5.0
> RVER= 2050
> RUSER= C:\Dokumente und Einstellungen\Gordon Bergling
> Loading the R DLL C:\Programme\R\R-2.5.0\bin\R.dll .. Done.
> Loading Rpy version 2050 ..
> C:\Dokumente und Einstellungen\Gordon Bergling>
>
> does anyone have an idea how to solve this?
>
> If I can provide more information please let me know.
>
> best regards,
>
> Gordon


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1759234&group_id=48422

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to