Bugs item #2810185, was opened at 2009-06-22 08:23
Message generated for change (Comment added) made by monipol
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=2810185&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: Build
Group: rpy2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Monic Polynomial (monipol)
Assigned to: lgautier (lgautier)
Summary: setup.py build fails

Initial Comment:
This is Rpy2 2.0.5 on Mac OS X via Fink.

setup.py build fails with

/sw/bin/python2.6 setup.py build
Traceback (most recent call last):
  File "setup.py", line 153, in <module>
    ri_ext = getRinterface_ext(RHOME, r_packversion)
  File "setup.py", line 138, in getRinterface_ext
    allow_empty = True) +\
TypeError: can only concatenate tuple (not "list") to tuple

because in get_rconfig() lines 81+ contain

    if (rconfig_m is None):
        if allow_empty:
            return []

As a non-empty get_rconfig() result is a tuple (re.MatchObject.groups()) which 
is concatenated with previous results, an empty result should also be an empty 
tuple. Changing

return []

to

return ()

fixes this problem.

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

>Comment By: Monic Polynomial (monipol)
Date: 2009-06-22 12:47

Message:
Sorry, I didn't know calls for test were sent to that mailing list -- I've
only subscribed to the file releases feed.
I'm subscribing to the mailing list too now.

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

Comment By: lgautier (lgautier)
Date: 2009-06-22 12:27

Message:

Answering to calls for testing on OS X *before* the release would also be
helpful:
http://www.mail-archive.com/rpy-list@lists.sourceforge.net/msg01994.html



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

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

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to