Opened 10 years ago

Closed 9 years ago

#1002 closed defect (invalid) install does not copy rdfa11.jsonld

Reported by: Simon Fondrie-Teitler Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:


See the following:

[18:12:33] simonft@goldman /home/simonft/debian-packages/mediagoblin (0) 
> python ./ install --root=debian/mediagoblin --skip-build --install-layout deb 
running install
running install_lib
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install

running install_egg_info
running egg_info
writing requirements to mediagoblin.egg-info/requires.txt
writing mediagoblin.egg-info/PKG-INFO
writing top-level names to mediagoblin.egg-info/top_level.txt
writing dependency_links to mediagoblin.egg-info/dependency_links.txt
writing entry points to mediagoblin.egg-info/entry_points.txt
reading manifest file 'mediagoblin.egg-info/SOURCES.txt'
reading manifest template ''
warning: no files found matching '*.mo' under directory 'mediagoblin/i18n'
writing manifest file 'mediagoblin.egg-info/SOURCES.txt'
removing 'debian/mediagoblin/usr/lib/python2.7/dist-packages/mediagoblin-0.7.1.egg-info' (and everything under it)
Copying mediagoblin.egg-info to debian/mediagoblin/usr/lib/python2.7/dist-packages/mediagoblin-0.7.1.egg-info
running install_scripts
Installing pybabel script to debian/mediagoblin/usr/bin
Installing gmg script to debian/mediagoblin/usr/bin
[18:12:37] simonft@goldman /home/simonft/debian-packages/mediagoblin (0)                                                                                                                                                        
> cd debian/mediagoblin/
[18:12:42] simonft@goldman /home/simonft/debian-packages/mediagoblin/debian/mediagoblin (0)                                                                                                                                     
> find . -iname 'rdfa11.jsonld'
[18:12:45] simonft@goldman /home/simonft/debian-packages/mediagoblin/debian/mediagoblin (0)                                                                                                                                     

This causes gmg update to fail once it's installed.

root@box:~# gmg update
Traceback (most recent call last):
  File "/usr/bin/gmg", line 9, in <module>
    load_entry_point('mediagoblin==0.7.1', 'console_scripts', 'gmg')()
  File "/usr/lib/python2.7/dist-packages/mediagoblin/gmg_commands/", line 108, in main_cli
    setup_func = import_component(command_struct['setup'])
  File "/usr/lib/python2.7/dist-packages/mediagoblin/tools/", line 34, in import_component
  File "/usr/lib/python2.7/dist-packages/mediagoblin/gmg_commands/", line 26, in <module>
    from import compact_and_validate
  File "/usr/lib/python2.7/dist-packages/mediagoblin/tools/", line 127, in <module>
    "mediagoblin", ["static", "metadata", "rdfa11.jsonld"])}
  File "/usr/lib/python2.7/dist-packages/mediagoblin/tools/", 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'

Change History (1)

comment:1 by ayleph, 9 years ago

Resolution: invalid
Status: newclosed

I'm closing this ticket, as the error indicates an unsupported Mediagoblin debian package of an older version, v0.7.1. Please re-open the ticket if this issue still exists following the supported deployment method of the latest version.

Note: See TracTickets for help on using tickets.