From: Thomas Jollans on
On 06/28/2010 10:26 AM, St�phane Klein wrote:
> Hi,
>
> I write to you, to inform I can't install python-openid 2.2.3 version.
>
> I've writed to the author :
>
> """
> I've work on a project, I use AuthKit and this tool have a dependency
> with python-openid-2.2.3
>
> http://openidenabled.com/files/python-openid/packages/python-openid-2.2.3.tar.gz
>
>
> this file is missing on your server.
>
> To fix deployment issue, can you keep older library version ?
> """

Use the link *you* posted. It will redirect you to an index page. Click
"Python -- downloads".

http://github.com/openid/python-openid/downloads

Now was that really that difficult?

- Thomas

PS: okay, that doesn't include version 2.2.3. However, I expect that
2.2.5 will work just as well for you, and I am *certain* that 2.2.4 will
work: I checked the github commit logs and discovered that
<URL:http://github.com/openid/python-openid/commit/80ba35b21777f637040cf8cd6b0bc6a3a7c9ef2d>
is the only change between the two versions -- it looks like version
2.2.3 never worked in the first place.
From: Stéphane Klein on
Le 28/06/2010 11:34, Thomas Jollans a �crit :
> On 06/28/2010 10:26 AM, St�phane Klein wrote:
>> Hi,
>>
>> I write to you, to inform I can't install python-openid 2.2.3 version.
>>
>> I've writed to the author :
>>
>> """
>> I've work on a project, I use AuthKit and this tool have a dependency
>> with python-openid-2.2.3
>>
>> http://openidenabled.com/files/python-openid/packages/python-openid-2.2.3.tar.gz
>>
>>
>> this file is missing on your server.
>>
>> To fix deployment issue, can you keep older library version ?
>> """
>
> Use the link *you* posted. It will redirect you to an index page. Click
> "Python -- downloads".
>
> http://github.com/openid/python-openid/downloads
>
> Now was that really that difficult?
>

This is my difficulty :

stephane(a)stephane-desktop:$ cd /tmp
stephane(a)stephane-desktop:$ virtualenv env1
New python executable in env1/bin/python
Installing setuptools............done.
stephane(a)stephane-desktop:$ source env1/bin/activate
(env1)stephane(a)stephane-desktop:$ pip install python-openid
Downloading/unpacking python-openid
Downloading python-openid-2.2.3.tar.gz (unknown size): 12Kb downloaded
Exception:
Traceback (most recent call last):
File
"/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/basecommand.py",
line 120, in main
self.run(options, args)
File
"/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/commands/install.py",
line 161, in run
requirement_set.prepare_files(finder,
force_root_egg_info=self.bundle, bundle=self.bundle)
File
"/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py",
line 879, in prepare_files
self.unpack_url(url, location, self.is_download)
File
"/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py",
line 1093, in unpack_url
self.unpack_file(temp_location, location, content_type, link)
File
"/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py",
line 1135, in unpack_file
self.untar_file(filename, location)
File
"/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py",
line 1192, in untar_file
tar = tarfile.open(filename, mode)
File "/usr/lib/python2.6/tarfile.py", line 1665, in open
return func(name, filemode, fileobj, **kwargs)
File "/usr/lib/python2.6/tarfile.py", line 1716, in gzopen
raise ReadError("not a gzip file")
ReadError: not a gzip file

Storing complete log in /home/stephane/.pip/pip.log

Thanks for your help,
Stephane

From: Thomas Jollans on
On 06/28/2010 11:51 AM, St�phane Klein wrote:
> Le 28/06/2010 11:34, Thomas Jollans a �crit :
>> On 06/28/2010 10:26 AM, St�phane Klein wrote:
>>> Hi,
>>>
>>> I write to you, to inform I can't install python-openid 2.2.3 version.
>>>
>>> I've writed to the author :
>>>
>>> """
>>> I've work on a project, I use AuthKit and this tool have a dependency
>>> with python-openid-2.2.3
>>>
>>> http://openidenabled.com/files/python-openid/packages/python-openid-2.2.3.tar.gz
>>>
>>>
>>>
>>> this file is missing on your server.
>>>
>>> To fix deployment issue, can you keep older library version ?
>>> """
>>
>> Use the link *you* posted. It will redirect you to an index page. Click
>> "Python -- downloads".
>>
>> http://github.com/openid/python-openid/downloads
>>
>> Now was that really that difficult?
>>
>
> This is my difficulty :
>
> stephane(a)stephane-desktop:$ cd /tmp
> stephane(a)stephane-desktop:$ virtualenv env1
> New python executable in env1/bin/python
> Installing setuptools............done.
> stephane(a)stephane-desktop:$ source env1/bin/activate
> (env1)stephane(a)stephane-desktop:$ pip install python-openid

Okay.

Judging by <URL:http://pypi.python.org/pypi/python-openid> and
<URL:http://github.com/openid/python-openid/issues>, installing the
package via PyPI is known to currently be broken. In the mean time,
you'd be advised to install it manually, that means:

1. download it from http://github.com/openid/python-openid/downloads
2. extract the tarball
3. python setup.py install

-- Thomas

> Downloading/unpacking python-openid
> Downloading python-openid-2.2.3.tar.gz (unknown size): 12Kb downloaded

I don't have the faintest idea why this would try to download an old
version. Ah well.

> Exception:
> Traceback (most recent call last):
> File
> "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/basecommand.py",
> line 120, in main
> self.run(options, args)
> File
> "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/commands/install.py",
> line 161, in run
> requirement_set.prepare_files(finder,
> force_root_egg_info=self.bundle, bundle=self.bundle)
> File
> "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py",
> line 879, in prepare_files
> self.unpack_url(url, location, self.is_download)
> File
> "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py",
> line 1093, in unpack_url
> self.unpack_file(temp_location, location, content_type, link)
> File
> "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py",
> line 1135, in unpack_file
> self.untar_file(filename, location)
> File
> "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py",
> line 1192, in untar_file
> tar = tarfile.open(filename, mode)
> File "/usr/lib/python2.6/tarfile.py", line 1665, in open
> return func(name, filemode, fileobj, **kwargs)
> File "/usr/lib/python2.6/tarfile.py", line 1716, in gzopen
> raise ReadError("not a gzip file")
> ReadError: not a gzip file
>
> Storing complete log in /home/stephane/.pip/pip.log
>