[okfn-help] Beta testing new datapkg release

Rufus Pollock rufus.pollock at okfn.org
Mon Oct 18 23:08:07 BST 2010


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/



More information about the okfn-help mailing list