[R-sig-Fedora] Trying to use current R2spec on RHEL.
Pierre-Yves Chibon
pingou at pingoured.fr
Tue Mar 13 16:26:58 CET 2012
On Tue, 2012-03-13 at 09:50 -0400, Allen S. Rout wrote:
> 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.
I guess that means replacing all .format to use %
> Pierre-Yves, would you entertain a patch to fix this?
That would be nice. I have to say that I do not have a python 2.4 around
on which I can run the unit-tests.
Pierre
More information about the R-SIG-Fedora
mailing list