[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657405: update to 0.7.1?



Hey,

Sorry about the extended silence. I've been trying to find time/energy
to work on it, and not doing a very good job. I'll hopefully get some
work done this weekend, and if a DD wants to take a look and upload the
0.6.1 that would be great. I'm going to try to get in contact with
Asheesh today.

Matija Nalis <mnalis-debianbug@voyager.hr> writes:
> Could you update the package to more recent 0.7.1?

I've been meaning to take a look at this, but it depends on
sqlalchemy<0.9.0, >0.8.0. The version in unstable is 0.9.7. I'm not sure
if that actually breaks anything, but I recall Chris Webber saying that
some people had to run setup.py more than once to get it to work.

> I did get http://mediagoblin.org/download/mediagoblin-0.7.1.tar.gz
> and 'uupdate -u', which seemed to go ok. Then I had to remove 
> 0001-Fix-Babel-version-restriction.-Onward-and-upward.patch (already
> applied in 0.7.1), and package built and installed.

That sounds right, I actually used git-cherrypick to grab that from a
later commit. 

> however, running "sudo -i -u mediagoblin /usr/bin/gmg -cf /etc/mediagoblin/default/mediagoblin.ini dbupdate" 
> dies with "ImportError: No module named unidecode". 
>
> Installing python-unidecode (or python3-unidecode, I guess) fixes
> that, so we should add that dependency for 0.7.1.  Same thing is
> needed for "python-jsonschema|python3-jsonschema".
>
> Afterwards, it dies with
>   File "/usr/lib/python2.7/dist-packages/mediagoblin/tools/metadata.py", line 25, in <module>
>     from pyld import jsonld
> ImportError: No module named pyld
>
> and it doesn't seem like there is pyld in debian.
> "pip install PyLD" works around that, but we should probably package
> it and add it is a dependency?

Thanks debacle for taking care of this. 

> "gmg dbupdate" then dies with:
>
> "/usr/lib/python2.7/dist-packages/mediagoblin/tools/metadata.py",
> line 105, in load_resource
>     return file(filename).read()
> IOError: [Errno 2] No such file or directory:
> '/usr/lib/python2.7/dist-packages/mediagoblin/static/metadata/rdfa11.jsonld'"
>
> manually copying (as I couldn't find how to make it included in package) with:
> mkdir -p /usr/lib/python2.7/dist-packages/mediagoblin/static/metadata;
> cp mediagoblin/static/metadata/rdfa11.jsonld
> /usr/lib/python2.7/dist-packages/mediagoblin/static/metadata/rdfa11.jsonld

I'm assuming this can be fixed by adding something to
debian/install.mediagoblin. I'll take a look. 

> Also, as mentioned before, I'd like to help with automating some of
> manual tasks in README.Debian.  As I'm not a DD and don't have R/W
> access to anonscm.debian.org, I though about cloning repo from
> http://anonscm.debian.org/cgit/collab-maint/mediagoblin.git/
> somewhere else (github) and then periodically when I have something
> accomplished asking here for merge?  Is there a prefered way?

I'm not a DD either. You can create an account here:
https://alioth.debian.org/account/register.php You'll then need apply
for access to the collab-maint repository and have a DD request access
for you. See here for more:
https://lists.debian.org/debian-devel-announce/2012/01/msg00006.html

Would any of the DDs following this be able to do that?

While you're waiting for that, feel free to push changes to any other
location and I'll pull them in and push them up to the collab-maint
repo.

Again, thank you all for your help with this.

Simon

Attachment: pgpcdn3ux0Ppu.pgp
Description: PGP signature


Reply to: