[tahoe-dev] [tahoe-lafs] #1154: mplayer triggers two bugs in Tahoe's new downloader
tahoe-lafs
trac at tahoe-lafs.org
Tue Aug 3 18:28:54 UTC 2010
#1154: mplayer triggers two bugs in Tahoe's new downloader
----------------------+-----------------------------------------------------
Reporter: francois | Owner: warner
Type: defect | Status: new
Priority: major | Milestone: undecided
Component: code | Version: n/a
Keywords: | Launchpad Bug:
----------------------+-----------------------------------------------------
I tried to play a movie hosted on a Tahoe-LAFS grid with 'mplayer
http://127.0.0.1:3456/file/URI-blah/@@named=/test.avi'. The error seems to
be related to mplayer seeking at the end of the file for downloading the
AVI index before seeking back to the beginning for the actual rendering.
Preventing mplayer from reading the index with the '--noidx' parameter
doesn't not trigger this error.
{{{
2010-08-03 20:06:40+0200 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-
packages/twisted/application/app.py", line 348, in runReactorWithLogging
reactor.run()
File "/usr/lib/python2.6/dist-
packages/twisted/internet/base.py", line 1170, in run
self.mainLoop()
File "/usr/lib/python2.6/dist-
packages/twisted/internet/base.py", line 1179, in mainLoop
self.runUntilCurrent()
File "/usr/lib/python2.6/dist-
packages/twisted/internet/base.py", line 778, in runUntilCurrent
call.func(*call.args, **call.kw)
--- <exception caught here> ---
File "/usr/lib/pymodules/python2.6/foolscap/eventual.py", line
26, in _turn
cb(*args, **kwargs)
File "/home/francois/dev/tahoe-lafs-
ticket798-1.7.1-r4653/src/allmydata/immutable/downloader/share.py", line
197, in loop
self._do_loop()
File "/home/francois/dev/tahoe-lafs-
ticket798-1.7.1-r4653/src/allmydata/immutable/downloader/share.py", line
253, in _do_loop
wanted, needed = self._desire()
File "/home/francois/dev/tahoe-lafs-
ticket798-1.7.1-r4653/src/allmydata/immutable/downloader/share.py", line
611, in _desire
% (want_it.dump(), need_it.dump(),
gotta_gotta_have_it.dump()))
File "/home/francois/dev/tahoe-lafs-
ticket798-1.7.1-r4653/src/allmydata/util/spans.py", line 143, in dump
return "len=%d: %s" % (len(self),
exceptions.TypeError: __len__() should return an int
}}}
{{{
2010-08-03 20:06:51+0200 [HTTPChannel,198,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-
packages/twisted/application/app.py", line 348, in runReactorWithLogging
reactor.run()
File "/usr/lib/python2.6/dist-
packages/twisted/internet/base.py", line 1170, in run
self.mainLoop()
File "/usr/lib/python2.6/dist-
packages/twisted/internet/base.py", line 1182, in mainLoop
self.doIteration(t)
File "/usr/lib/python2.6/dist-
packages/twisted/internet/selectreactor.py", line 140, in doSelect
_logrun(selectable, _drdw, selectable, method, dict)
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/python/log.py",
line 84, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.6/dist-packages/twisted/python/log.py",
line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.6/dist-
packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args,
**kw)
File "/usr/lib/python2.6/dist-
packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.6/dist-
packages/twisted/internet/selectreactor.py", line 156, in _doReadOrWrite
self._disconnectSelectable(selectable, why, method=="doRead")
File "/usr/lib/python2.6/dist-
packages/twisted/internet/posixbase.py", line 191, in
_disconnectSelectable
selectable.readConnectionLost(f)
File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py",
line 508, in readConnectionLost
self.connectionLost(reason)
File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py",
line 513, in connectionLost
abstract.FileDescriptor.connectionLost(self, reason)
File "/usr/lib/python2.6/dist-
packages/twisted/internet/abstract.py", line 64, in connectionLost
self.producer.stopProducing()
File "/home/francois/dev/tahoe-lafs-
ticket798-1.7.1-r4653/src/allmydata/immutable/downloader/segmentation.py",
line 146, in stopProducing
self._cancel_segment_request.cancel()
File "/home/francois/dev/tahoe-lafs-
ticket798-1.7.1-r4653/src/allmydata/immutable/downloader/node.py", line
27, in cancel
self._f(self)
File "/home/francois/dev/tahoe-lafs-
ticket798-1.7.1-r4653/src/allmydata/immutable/downloader/node.py", line
468, in _cancel_request
if self._active_segment.segnum not in segnums:
exceptions.AttributeError: 'NoneType' object has no attribute
'segnum'
}}}
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1154>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-dev
mailing list