[yt-users] yt update error

Kacper Kowalik xarthisius.kk at gmail.com
Fri Aug 3 08:40:48 PDT 2012


On 03.08.2012 13:28, Latif wrote:
> Hi Matt,
> Many thanks for response!
> Previously, i was updating the existing version of yt using yt update
> command. Now, as you suggested i downloaded the script and ran it over top
> of existing installation. I got the following error different from the
> previous one.
> Cheers
> Latif
>    from setupbase import target_update
> gzip: stdin: unexpected end of file
> tar: Unexpected EOF in archive
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> ********************************************
>         FAILURE REPORT:
> ********************************************
> 
> 
> Installed
> /home/astro73/mlatif/YT/yt-x86_64/lib/python2.7/site-packages/tornado-2.2-py2.7.egg
> Processing dependencies for tornado==2.2
> Finished processing dependencies for tornado==2.2
> Traceback (most recent call last):
>   File "setup.py", line 61, in <module>
>     from setupbase import target_update
>   File "/home/astro73/mlatif/YT/yt-x86_64/src/ipython-0.13/setupbase.py",
> line 33, in <module>
>     from setupext import install_data_ext
> ImportError: No module named setupext
> 
> ********************************************
> ********************************************
> 
>   File "/home/astro73/mlatif/YT/yt-x86_64/src/ipython-0.13/setupbase.py",
> line 33, in <module>
>     from setupext import install_data_ext
> ImportError: No module named setupext
> 
> 
> 
> On Fri, Aug 3, 2012 at 12:12 PM, Matthew Turk <matthewturk at gmail.com> wrote:
> 
>> Hi Latif,
>>
>> On Fri, Aug 3, 2012 at 5:47 AM, Latif <latifne at gmail.com> wrote:
>>> Hi all,
>>>  I tried to update the my old version of yt and got the following error.
>>  I
>>> did some google search, it seems that problem occurs due to version
>>> conflicts with python and mercirial. Any ideas how to fix this issue.
>>> Thanks in advance!
>>
>> Yup, looks to me like when the yt stack was built, libssl-dev wasn't
>> installed on your system -- or it's not installed now, not sure.  When
>> you updated, did you run "yt update"?  I would recommend downloading
>> the install script anew and running it *over top* of your existing
>> installation.  This will also upgrade all of your dependencies.
>> Before you do that, if you're on Ubuntu it will tell you which
>> packages you need to have installed first.
>>
>> So,
>>
>> wget http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh
>> bash install_script.sh
>>
>> Let us know how it goes!
>>
>> -Matt
>>
>>> Latif
>>>
>>>
>> https://groups.google.com/forum/#!msg/scmmanager/tpO80fdUXYU/rHGN6Ga7MIwJ
>>>
>>>
>>> File
>>>
>> "/home/astro73/mlatif/YT/yt-x86_64/lib/python2.7/site-packages/mercurial/statichttprepo.py",
>>> line 11, in <module>
>>>     import changelog, byterange, url, error
>>>   File
>>>
>> "/home/astro73/mlatif/YT/yt-x86_64/lib/python2.7/site-packages/mercurial/url.py",
>>> line 13, in <module>
>>>     import httpconnection as httpconnectionmod
>>>   File
>>>
>> "/home/astro73/mlatif/YT/yt-x86_64/lib/python2.7/site-packages/mercurial/httpconnection.py",
>>> line 16, in <module>
>>>     from mercurial import httpclient
>>>   File
>>>
>> "/home/astro73/mlatif/YT/yt-x86_64/lib/python2.7/site-packages/mercurial/httpclient/__init__.py",
>>> line 48, in <module>
>>>     import socketutil
>>>   File
>>>
>> "/home/astro73/mlatif/YT/yt-x86_64/lib/python2.7/site-packages/mercurial/httpclient/socketutil.py",
>>> line 82, in <module>
>>>     class FakeSocket(httplib.FakeSocket):
>>> AttributeError: 'module' object has no attribute 'FakeSocket
>>>

Hi Latif,
recently my friend had a similar problem. Installing proper ssl package
helped him (it was openssl-dev in his case as he's using Fedora). He
then recompiled Python by: 1) removing
${YT_DESTDIR}/src/Python-2.7.2/done 2) running the install script again.
I hope this helps,
Kacper

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120803/c3308f2c/attachment.sig>


More information about the yt-users mailing list