[okfn-help] Beta testing new datapkg release

Rufus Pollock rufus.pollock at okfn.org
Wed Nov 3 19:40:04 UTC 2010


On 3 November 2010 18:34, Mike Chelen <mike at opensci.info> wrote:
> Hi Rufus,
> The same urlgrabber error seems to occur when installing from PIP,
> even though it looks like 0.7 was properly installed. Tested with
> Ubuntu Server 10.10 (on Amazon EC2): http://pastebin.com/2yNtDbDp
> Hope this helps determine what is going on :)

A big doh! I forgot to remove urlgrabber imports (not sure why I did
not catch this). Anyway removed now and re-uploaded 0.7. If you would
not mind, please reinstall and see if it works.

Rufus

> - Mike
>
> On Sat, Oct 30, 2010 at 5:59 PM, Rufus Pollock <rufus.pollock at okfn.org> wrote:
>> Hi Mike (and Matthew),
>>
>> I've now removed the urlgrabber dependency (it wasn't actually really
>> needed atm) and this should simplify install.
>>
>> With this change in place, I've just released datapkg 0.7 to pypi
>> (will do official announce early next week) and wondered if you would
>> be able to do a quick test install again to see that everyone works
>> ok.
>>
>> Much appreciated,
>>
>> Rufus
>>
>> On 19 October 2010 10:44, Mike Chelen <mike at opensci.info> wrote:
>>> Is there some way to manually install urlgrabber? PIP isn't absolutely
>>> needed, since easy_install is working ok, but it's nice to have more install
>>> options available.
>>>
>>>
>>> On Mon, Oct 18, 2010 at 6:08 PM, Rufus Pollock <rufus.pollock at okfn.org>
>>> wrote:
>>>>
>>>> Hmmm, don't know what to make of this. Maybe I should try distributing
>>>> urlgrabber as part of datapkg ;)
>>>>
>>>> Rufus
>>>>
>>>> On 18 October 2010 20:55, Mike Chelen <mike at opensci.info> wrote:
>>>> > Had errors with PIP without virtuaenv using this install procedure:
>>>> >
>>>> > sudo apt-get install python python-setuptools python-pip
>>>> > sudo pip install datapkg
>>>> >
>>>> > Error log: http://pastebin.com/ghkH5c7n
>>>> >
>>>> > It seems to be related to URLgrabber.
>>>> >
>>>> > Same error occurred using virtualenv:
>>>> >
>>>> > sudo apt-get install python-virtualenv
>>>> > virtualenv your_virtual_env
>>>> > pip -E your_virtual_env install datapkg
>>>> >
>>>> >
>>>> > On Thu, Oct 14, 2010 at 4:38 AM, Rufus Pollock <rufus.pollock at okfn.org>
>>>> > wrote:
>>>> >>
>>>> >> On 14 October 2010 06:25, Mike Chelen <mike at opensci.info> wrote:
>>>> >> > For some reason this time virtuaenv worked quite nicely :)
>>>> >> > http://pastebin.com/knxxWHxg
>>>> >>
>>>> >> Great.
>>>> >>
>>>> >> > Had problems trying to install system wide, though this might be an
>>>> >> > issue
>>>> >> > with my system:
>>>> >> > http://pastebin.com/e2bE8Czu
>>>> >>
>>>> >> Yes, looks like you are missing
>>>> >> "http://pypi.python.org/pypi/distribute" which is odd since that isn't
>>>> >> required by python or by datapkg!
>>>> >>
>>>> >> > Since this is working I'm happy, would testing PIP be useful as well?
>>>> >>
>>>> >> Yes, very useful. (One day -- very soon -- i'm going to automate this
>>>> >> process with a script so you can just run it automatically!)
>>>> >>
>>>> >> Rufus
>>>> >>
>>>> >> > On Wed, Oct 13, 2010 at 2:59 PM, Rufus Pollock
>>>> >> > <rufus.pollock at okfn.org>
>>>> >> > wrote:
>>>> >> >>
>>>> >> >> On 13 October 2010 12:24, Mike Chelen <mike at opensci.info> wrote:
>>>> >> >> > Datapkg 0.7a seems to get installed with easy_install, even when
>>>> >> >> > using
>>>> >> >> > virtuaenv. It would be nice if it worked though.
>>>> >> >>
>>>> >> >> Weird, for me using virtualenv and easy:
>>>> >> >>
>>>> >> >> $ easy_install datapkg
>>>> >> >> Reading http://pypi.python.org/simple/datapkg/
>>>> >> >> Reading http://www.okfn.org/datapkg
>>>> >> >> Reading http://www.okfn.org/
>>>> >> >> Best match: datapkg 0.7b
>>>> >> >> Downloading
>>>> >> >>
>>>> >> >>
>>>> >> >> http://pypi.python.org/packages/source/d/datapkg/datapkg-0.7b.tar.gz#md5=de33ec9be74d22cd5c320418f2a2426c
>>>> >> >> Processing datapkg-0.7b.tar.gz
>>>> >> >>
>>>> >> >> However easy_install then barfs with (i tested with pip!):
>>>> >> >>
>>>> >> >>    return self._version
>>>> >> >> ValueError: ("Missing 'Version:' header and/or PKG-INFO file",
>>>> >> >> urlgrabber [unknown version]
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >> (/tmp/easy_install-LjW1Et/datapkg-0.7b/temp/easy_install-xBr9_U/urlgrabber-3.1.0/temp/easy_install-uYliSd/urlgrabber-3.1.0))
>>>> >> >>
>>>> >> >> Anyways feedback very useful!
>>>> >> >>
>>>> >> >> Rufus
>>>> >> >>
>>>> >> >> > On Wed, Oct 13, 2010 at 7:09 AM, Rufus Pollock
>>>> >> >> > <rufus.pollock at okfn.org>
>>>> >> >> > wrote:
>>>> >> >> >> Much appreciated Mike.
>>>> >> >> >>
>>>> >> >> >> I think trying to *not* use mercurial would be good as that is
>>>> >> >> >> what
>>>> >> >> >> most people do (though it makes it harder to submit patches if we
>>>> >> >> >> do
>>>> >> >> >> find a problem).
>>>> >> >> >>
>>>> >> >> >> Perhaps:
>>>> >> >> >>
>>>> >> >> >> virtualenv {datapkg-venv}
>>>> >> >> >> . datapkg-venv/bin/activate
>>>> >> >> >> easy_install datapkg
>>>> >> >> >>
>>>> >> >> >> and then if you have problems and need to install from mercurial
>>>> >> >> >> you
>>>> >> >> >> can always do so later.
>>>> >> >> >>
>>>> >> >> >> Rufus
>>>> >> >> >>
>>>> >> >> >> On 13 October 2010 12:04, Mike Chelen <mike at opensci.info> wrote:
>>>> >> >> >>> Hi Rufus,
>>>> >> >> >>> This release looks great, very exciting! Going to test the new
>>>> >> >> >>> features now. Is it helpful to test easy_install method again,
>>>> >> >> >>> or
>>>> >> >> >>> stick with mercurial and virtualenv?
>>>> >> >> >>> Cheers,
>>>> >> >> >>> -Mike
>>>> >> >> >>>
>>>> >> >> >>> On Tue, Oct 12, 2010 at 8:09 AM, Rufus Pollock
>>>> >> >> >>> <rufus.pollock at okfn.org> wrote:
>>>> >> >> >>>> Dear Mike,
>>>> >> >> >>>>
>>>> >> >> >>>> I know you were one of the earlier users of datapkg. I've just
>>>> >> >> >>>> put
>>>> >> >> >>>> out
>>>> >> >> >>>> a new release (0.7) with lots of new features and wondered if
>>>> >> >> >>>> you'd
>>>> >> >> >>>> give it a testdrive and report any problems you find?
>>>> >> >> >>>>
>>>> >> >> >>>> Release: <http://pypi.python.org/pypi/datapkg>
>>>> >> >> >>>>
>>>> >> >> >>>> Docs: <http://packages.python.org/datapkg/>
>>>> >> >> >>>>
>>>> >> >> >>>> Rufus
>>>> >> >> >>>> --
>>>> >> >> >>>> Open Knowledge Foundation
>>>> >> >> >>>> Promoting Open Knowledge in a Digital Age
>>>> >> >> >>>> http://www.okfn.org/ - http://blog.okfn.org/
>>>> >> >> >>>>
>>>> >> >> >>>
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >> --
>>>> >> >> >> Open Knowledge Foundation
>>>> >> >> >> Promoting Open Knowledge in a Digital Age
>>>> >> >> >> http://www.okfn.org/ - http://blog.okfn.org/
>>>> >> >> >>
>>>> >> >> >
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >> --
>>>> >> >> Open Knowledge Foundation
>>>> >> >> Promoting Open Knowledge in a Digital Age
>>>> >> >> http://www.okfn.org/ - http://blog.okfn.org/
>>>> >> >
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Open Knowledge Foundation
>>>> >> Promoting Open Knowledge in a Digital Age
>>>> >> http://www.okfn.org/ - http://blog.okfn.org/
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Open Knowledge Foundation
>>>> Promoting Open Knowledge in a Digital Age
>>>> http://www.okfn.org/ - http://blog.okfn.org/
>>>
>>>
>>
>>
>>
>> --
>> Co-Founder, Open Knowledge Foundation
>> Promoting Open Knowledge in a Digital Age
>> http://www.okfn.org/ - http://blog.okfn.org/
>>
>



-- 
Co-Founder, Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/




More information about the okfn-help mailing list