Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (295 - 297 of 1174)

Ticket Resolution Summary Owner Reporter
#5556 no-action a 'make' invocation following one that fails to install "wheel" skips python packages installation Andrew
Description

if you run "make" and it fails to install wheel, you might run "make" again, but it skips the step of installing python packages.

#5561 no-action Cannot upload video and audio. Unhandled exception zoro
Description

So I followed this steps exactly: ​https://raspiblog.noblogs.org/post/2018/02/11/installation-of-gnu-mediagoblin/

pyexiv2 did not work so I removed it from mediagoblin_ini I have configured systemd services as per in the docs production deployment. I have successfully uploaded Images and PDF files but whenever I upload audio and/or video, I get the error:

in audio:

.
.
.
2018-02-11 13:27:08,456 INFO    [mediagoblin.media_types.audio.transcoders] 100% done...
2018-02-11 13:27:08,458 INFO    [mediagoblin.media_types.audio.transcoders] Done
2018-02-11 13:27:08,474 INFO    [mediagoblin.media_types.audio.transcoders] Quitting MainLoop gracefully...
2018-02-11 13:27:08,511 ERROR   [mediagoblin.processing.task] An unhandled exception was raised while processing <MediaEntry 12: btest>: 'float' object cannot be interpreted as an integer
2018-02-11 13:27:08,516 WARNING [mediagoblin.processing] No idea what happened here, but it failed: TypeError("'float' object cannot be interpreted as an integer",)
2018-02-11 13:27:08,660 WARNING [mediagoblin.processing] No idea what happened here, but it failed: TypeError("'float' object cannot be interpreted as an integer",)
.
.
.

in video upload:

.
.
.
2018-02-11 13:29:14,509 INFO    [mediagoblin.media_types] checking the contents with sniffer
2018-02-11 13:29:14,510 INFO    [mediagoblin.media_types.video.processing] Sniffing mediagoblin.media_types.video
2018-02-11 13:29:14,514 INFO    [mediagoblin.media_types.tools] Discovering /tmp/tmpnefj5irg...
2018-02-11 13:29:14,877 DEBUG   [mediagoblin.media_types.video.processing] Discovered: <GstPbutils.DiscovererInfo object at 0x70a8f2b0 (GstDiscovererInfo at 0x1a66470)>
2018-02-11 13:29:14,885 INFO    [mediagoblin.media_types] checked, found
2018-02-11 13:29:15,682 DEBUG   [mediagoblin.processing.task] Processing <MediaEntry 13: decayy>
2018-02-11 13:29:15,686 INFO    [mediagoblin.media_types.video.transcoders] Initializing VideoTranscoder...
2018-02-11 13:29:15,722 INFO    [mediagoblin.media_types.tools] Discovering /mnt/var/mediagoblin/media/queue/media_entries/31957130-a334-4f20-bc13-8d78bf33ca02/124887044.ogv...
2018-02-11 13:29:16,072 INFO    [mediagoblin.media_types.tools] Discovering /mnt/var/mediagoblin/media/queue/media_entries/31957130-a334-4f20-bc13-8d78bf33ca02/124887044.ogv...
2018-02-11 13:29:16,427 ERROR   [mediagoblin.processing.task] An unhandled exception was raised while processing <MediaEntry 13: decayy>: object() takes no parameters
2018-02-11 13:29:16,430 WARNING [mediagoblin.processing] No idea what happened here, but it failed: TypeError('object() takes no parameters',)
2018-02-11 13:29:16,517 WARNING [mediagoblin.processing] No idea what happened here, but it failed: TypeError('object() takes no parameters',)
.
.
.

I have reviewed all config and tickets but still no fix. I used python3, python2 appears to not work for me, also I use nginx, debian 9.3.

#5580 no-action fastcgi fails on Python3 Michael Lynch
Description

Tested this on e34916.

In previous versions, I used MediaGoblin's fastcgi support to connect nginx to MediaGoblin. In the current Python3 build, fastcgi causes a failure:

$ docker build -t mediagoblin-python3 -f Dockerfile-python3 . && \
  docker run --entrypoint "./lazyserver.sh" mediagoblin-python3 --server-name=fcgi fcgi_host=127.0.0.1 fcgi_port=26543

+ export CELERY_ALWAYS_EAGER=true
+ ./bin/paster serve paste.ini --server-name=fcgi fcgi_host=127.0.0.1 fcgi_port=26543 --reload
Using paster config: paste.ini
Using ./bin/paster
Traceback (most recent call last):
  File "./bin/paster", line 11, in <module>
    load_entry_point('PasteScript', 'console_scripts', 'paster')()
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/command.py", line 102, in run
    invoke(command, command_name, options, args[1:])
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/command.py", line 141, in invoke
    exit_code = runner.run(args)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/command.py", line 236, in run
    result = self.command()
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/serve.py", line 282, in command
    relative_to=base, global_conf=vars)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/serve.py", line 324, in loadserver
    relative_to=relative_to, **kw)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 261, in loadserver
    return loadobj(SERVER, uri, name=name, **kw)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 277, in loadobj
    global_conf=global_conf)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 302, in loadcontext
    global_conf=global_conf)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 326, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 459, in get_context
    section)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 481, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 412, in get_context
    global_conf=global_conf)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 302, in loadcontext
    global_conf=global_conf)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 334, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 625, in get_context
    object_type, name=name)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 645, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/opt/mediagoblin/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/mediagoblin/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'flup' distribution was not found and is required by the application

If I add ./bin/pip install flup to Dockerfile-python3, I still get the following failure:

Starting server in PID 11.
Traceback (most recent call last):
  File "./bin/paster", line 11, in <module>
    load_entry_point('PasteScript', 'console_scripts', 'paster')()
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/command.py", line 102, in run
    invoke(command, command_name, options, args[1:])
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/command.py", line 141, in invoke
    exit_code = runner.run(args)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/command.py", line 236, in run
    result = self.command()
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/serve.py", line 319, in command
    serve()
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteScript-2.0.2-py3.7.egg/paste/script/serve.py", line 303, in serve
    server(app)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 195, in server_wrapper
    **context.local_conf)
  File "/opt/mediagoblin/lib/python3.7/site-packages/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/util.py", line 55, in fix_call
    val = callable(*args, **kw)
  File "/opt/mediagoblin/lib/python3.7/site-packages/flup/server/paste_factory.py", line 138, in run_fcgi_fork
    debug = asbool(debug)
  File "/opt/mediagoblin/lib/python3.7/site-packages/flup/server/paste_factory.py", line 7, in asbool
    if isinstance(obj, (str, unicode)):
NameError: name 'unicode' is not defined
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.