Custom Query (1173 matches)
Results (139 - 141 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#5495 | cant-reproduce | AttributeError: 'module' object has no attribute 'specifiers' | ||
Description |
saw thils for 'make`in the master branch. it was not reproduceable running make again so far. Writing /tmp/easy_install-w443A9/setuptools-34.1.1/setup.cfg Running setuptools-34.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-w443A9/setuptools-34.1.1/egg-dist-tmp-9naPm6 Traceback (most recent call last): File "setup.py", line 142, in <module> "Topic :: Internet :: WWW/HTTP :: Dynamic Content" File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/command/develop.py", line 36, in run self.install_for_development() File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/command/develop.py", line 150, in install_for_development self.process_distribution(None, self.dist, not self.no_deps) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 757, in process_distribution self.easy_install(dist.as_requirement()) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 674, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 700, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 881, in install_eggs return self.build_and_install(setup_script, setup_base) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1120, in build_and_install self.run_setup(setup_script, setup_base, args) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1106, in run_setup run_setup(setup_script, args) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 258, in run_setup raise File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__ self.gen.throw(type, value, traceback) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 198, in setup_context yield File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__ self.gen.throw(type, value, traceback) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 169, in save_modules saved_exc.resume() File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 144, in resume six.reraise(type, exc, self._tb) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 157, in save_modules yield saved File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 198, in setup_context yield File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 255, in run_setup DirectorySandbox(setup_dir).run(runner) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 285, in run return func() File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 253, in runner _execfile(setup_script, ns) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/sandbox.py", line 47, in _execfile exec(code, globals, locals) File "/tmp/easy_install-w443A9/setuptools-34.1.1/setup.py", line 191, in <module> File "/usr/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/dist.py", line 320, in __init__ _Distribution.__init__(self, attrs) File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__ self.finalize_options() File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/dist.py", line 387, in finalize_options ep.load()(self, ep.name, value) File "/srv/mediagoblin.latest/lib/python2.7/site-packages/setuptools/dist.py", line 166, in check_specifier except packaging.specifiers.InvalidSpecifier as error: AttributeError: 'module' object has no attribute 'specifiers' Makefile:123: recipe for target 'bin/python' failed make: *** [bin/python] Error 1 |
|||
#460 | fixed | AttributeError: VideoTranscoder instance has no attribute 'dst_data' | ||
Description |
this error happened with two different videos in two different formats (avi and webm) [2012-06-22 22:22:36,020: INFO/MainProcess] Got task from broker: mediagoblin.processing.task.ProcessMedia[7e73cf15-8594-41c7-93f4-163bcbb662e0] [2012-06-22 22:23:07,291: INFO/PoolWorker-2] Initializing VideoTranscoder... [2012-06-22 22:23:29,388: INFO/PoolWorker-2] Discovering... [2012-06-22 22:23:31,666: INFO/PoolWorker-2] Done [2012-06-22 22:23:33,999: WARNING/PoolWorker-2] Traceback (most recent call last): [2012-06-22 22:23:34,229: WARNING/PoolWorker-2] File "/srv/http/mediagoblin/mediagoblin/mediagoblin/media_types/video/transcoders.py", line 441, in __discovered [2012-06-22 22:23:34,704: WARNING/PoolWorker-2] raise Exception('Could not discover {0}'.format(self.source_path)) [2012-06-22 22:23:34,787: WARNING/PoolWorker-2] Exception [2012-06-22 22:23:34,804: WARNING/PoolWorker-2] : [2012-06-22 22:23:34,804: WARNING/PoolWorker-2] Could not discover /srv/http/mediagoblin/mediagoblin/user_dev/media/queue/media_entries/7e73cf15-8594-41c7-93f4-163bcbb662e0/Gurren_Lagann_HD_Creditless_Opening_1.webm [2012-06-22 22:23:34,880: INFO/PoolWorker-2] Terminating MainLoop [2012-06-22 22:23:34,880: DEBUG/PoolWorker-2] Saving medium... [2012-06-22 22:23:35,316: DEBUG/PoolWorker-2] Saved medium [2012-06-22 22:23:51,120: WARNING/PoolWorker-2] No idea what happened here, but it failed: AttributeError("VideoTranscoder instance has no attribute 'dst_data'",) [2012-06-22 22:23:55,970: ERROR/MainProcess] Task mediagoblin.processing.task.ProcessMedia[7e73cf15-8594-41c7-93f4-163bcbb662e0] raised exception: AttributeError("VideoTranscoder instance has no attribute 'dst_data'",) Traceback (most recent call last): File "/srv/http/mediagoblin/mediagoblin/lib/python2.7/site-packages/celery-2.5.3-py2.7.egg/celery/execute/trace.py", line 181, in trace_task R = retval = fun(*args, **kwargs) File "/srv/http/mediagoblin/mediagoblin/mediagoblin/processing/task.py", line 52, in run manager['processor'](entry) File "/srv/http/mediagoblin/mediagoblin/mediagoblin/media_types/video/processing.py", line 88, in process_video width=transcoder.dst_data.videowidth, AttributeError: VideoTranscoder instance has no attribute 'dst_data' |
|||
#561 | fixed | Audio and video should use workbench instead of tempfiles | ||
Description |
The audio and video media types both write to temporary files instead of using the workbench... the workbench was designed for this though as a place to put files during processing that get removed when things are done. The NamedTemporaryFile bits should be changed over to use the workbench unless there's good reason not to, and the end of these files' processing routines should call: workbench.destroy_self() |