[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3704: "tahoe get" attribute error
Tahoe-LAFS
trac at tahoe-lafs.org
Fri May 7 15:07:48 UTC 2021
#3704: "tahoe get" attribute error
-----------------------------------+------------------------------
Reporter: meejah | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Support Python 3
Component: code-frontend-cli | Version: n/a
Resolution: | Keywords: python3
Launchpad Bug: |
-----------------------------------+------------------------------
Description changed by meejah:
Old description:
> I get an exception ending with:
>
> {{{
> return self.currentContext().callWithContext(ctx, func, *args, **kw)
> File "/home/meejah/work/leastauthority/src/tahoe-
> lafs/venv/local/lib/python2.7/site-packages/twisted/python/context.py",
> line 85, in callWithContext
> return func(*args,**kw)
> File "/home/meejah/work/leastauthority/src/tahoe-
> lafs/src/allmydata/scripts/cli.py", line 511, in get
> rc = tahoe_get.get(options)
> File "/home/meejah/work/leastauthority/src/tahoe-
> lafs/src/allmydata/scripts/tahoe_get.py", line 36, in get
> outf = outf.buffer
> exceptions.AttributeError: 'file' object has no attribute 'buffer'
> }}}
>
> When running ``tahoe -d testgrid/bob get URI:CHK:<the cap>`` in a local
> test-grid.
New description:
I get an exception ending with:
{{{
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/meejah/work/leastauthority/src/tahoe-
lafs/venv/local/lib/python2.7/site-packages/twisted/python/context.py",
line 85, in callWithContext
return func(*args,**kw)
File "/home/meejah/work/leastauthority/src/tahoe-
lafs/src/allmydata/scripts/cli.py", line 511, in get
rc = tahoe_get.get(options)
File "/home/meejah/work/leastauthority/src/tahoe-
lafs/src/allmydata/scripts/tahoe_get.py", line 36, in get
outf = outf.buffer
exceptions.AttributeError: 'file' object has no attribute 'buffer'
}}}
When running `tahoe -d testgrid/bob get URI:CHK:<the cap>` in a local
test-grid.
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3704#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list