pwclient get command error
Stephen Finucane
stephen at that.guru
Mon May 22 18:41:06 AEST 2017
On Fri, 2017-05-19 at 17:56 +0200, Robin Jarry wrote:
> Hi Stephen, Daniel,
> On May 19, 2017 5:26 PM, "Stephen Finucane" <stephen at that.guru>
> wrote:
> >
> > On Fri, 2017-05-19 at 15:59 +0100, Stephen Finucane wrote:
> > > On Fri, 2017-05-19 at 21:39 +1000, Daniel Axtens wrote:
> > > > Hi all,
> > > >
> > > > I was attempting to use pwclient to fetch the Django 1.11
> series*,
> > > > and
> > > > ran the following command, which errored out:
> > > >
> > > > $ ./patchwork/bin/pwclient get 760803
> > > > Traceback (most recent call last):
> > > > File "./patchwork/bin/pwclient", line 820, in <module>
> > > > main()
> > > > File "./patchwork/bin/pwclient", line 773, in main
> > > > action_get(rpc, patch_id)
> > > > File "./patchwork/bin/pwclient", line 307, in action_get
> > > > f.write(s)
> > > > TypeError: write() argument 1 must be unicode, not str
> > >
> > > Odd. I get a completely different issue, but I think that's some
> > > misconfiguration somewhere. I'll investigate. In the interim, can
> > > you try with commit '53fe8b1' of pwclient? The next commit to
> > > modify that file, '52654da', looks like it _could_ be related?
> >
> > Actually, it's commit '046419a3' :( I've no idea where to start
> > fixing this now, aside from a complete revert (part of it was
> > reverted in 'a3911c5b'). However, this reintroduces the problems
> > that that patch intended to fix in the first place. Sigh...
>
> The encoding problems were not these ones. I think I know what do to
> to fix it. However I don't have access to a computer foe now. I'll
> have a go at it next week.
>
> Robin
That would be great. Thanks, Robin :)
Stephen
More information about the Patchwork
mailing list