[R-sig-Fedora] Trying to use current R2spec on RHEL.
Michael Hannon
jm_hannon at yahoo.com
Tue Mar 13 20:19:04 CET 2012
> From: Allen S. Rout <asr at ufl.edu>
>
>On 03/12/2012 07:28 PM, Marc Schwartz wrote:
>> [...]
>
>So I've updated everything Python from EPEL on my RHEL 5 box. Versions
>included below.
>
>
># R2spec -p RColorBrewer
>Traceback (most recent call last):
> File "/usr/bin/R2spec", line 29, in ?
> R2spec().main(ARG)
> File "/usr/lib/python2.4/site-packages/r2spec/r2spec_obj.py", line 235, in
> main
> pack.search_package_in_repo()
> File "/usr/lib/python2.4/site-packages/r2spec/rpackage.py", line 237, in
> search_package_in_repo
> self.source = '{name}_{version}.tar.gz'.format(name=self.name,
>AttributeError: 'str' object has no attribute 'format'
>
>
>This feels to me like another library drift issue. Aaand stackoverflow says
>yeah, that's it.
>
>Pierre-Yves, would you entertain a patch to fix this?
I haven't been following this thread, but I'm pretty sure that the Python
string method "format" did not appear until Python 2.6. It appears that
you're using Python 2.4.
-- Mike
More information about the R-SIG-Fedora
mailing list