[Erp5-users] Problems after installing modules

Carl Anthony carlzeto at gmail.com
Tue Feb 19 18:01:22 CET 2008


On 19/02/2008, Jérome Perrin <jerome at nexedi.com> wrote:
> Jérome Perrin a écrit :
> > Carl Anthony a écrit :
> >> On 18/02/2008, Pelletier Vincent <vincent at nexedi.com> wrote:
> >>> Le Lundi 18 Février 2008 18:59, Carl Anthony a écrit :
> >>>> The attached tracebacks are about 20-lines each (I have now realised
> >>>> that I should not be including the traceback section starting from
> >>>> 'Request', which is basically a copy of how the request was presented
> >>>> to the system) ...
> >>> I'm told (thanks Jerome :) ) that it's most probably python's tar module
> >>> bug... For some reason it stops extracting the archive, so business templates
> >>> (which are basically tarballs or exported Zope objects and some metadata) are
> >>> imported incompletely, and impossible to install.
> >>> I think we have a fixed python tar module package on our RPM repository.
> >>>
> >>> Repository root: http://nexedi.org/static/Mandrake/
> >>>
> >> I am running on ubuntu .. do you have any ubuntu pkgs ? or perhaps u
> >> can point me to sources, so I can look at building from source ...
> >>
> >> I could also have a go at 'adapting' the rpm for ubuntu, but looking
> >> at the URL you have specified in your email, its not obvious exactly
> >> what files I should be downloading.
> >
> > Hi,
> >
> > Some python versions have been shipping a bogus tarfile module
> > http://mail.nexedi.com/pipermail/erp5-dev/2006-November/000744.html
> >
> > We use to build rpms for python2.4.3 with a patch, but now the bug has
> > been fixed, python2.4.4 packages from mandriva are OK, so we use
> > python2.4 from mandriva.
> > Updating your python installation may fix this issue.
>
> Sorry, I was completly wrong here :)
> We still have a patch for python, to use older tarfile.py from
> python2.4.1 which didn't have this problem.
>
> putting this
> http://svn.python.org/view/*checkout*/python/tags/r241/Lib/tarfile.py?content-type=text%2Fplain
> in your pythonpath should solve the issue.
>

Hello Jerome,

Thanks again for the info ... and this time, you hit the nail on the head.

I downloaded the patch, put it somewhere, and then prepended the path
to the file in from of $SOFTWARE_HOME in pythonpath in runzope and
zopectl, and voila!! I am now able to install erp5_accounting and
others ...  thanks a million ...

Not done yet, and will let you know if I encounter any further issues ...

Thanks to all of you for erp5 and for pointing me in the right
direction to try and resolve the issues I have encountered.

--carl

> Jérome
> _______________________________________________
> Erp5-users mailing list
> Erp5-users at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-users
>



More information about the Erp5-users mailing list