-------- Weitergeleitete Nachricht -------- Betreff: Re: [Tea4CUPS] TEABILLING TypeError + fix Datum: Thu, 23 Aug 2018 02:08:34 +0200 Von: a...@librelogiciel.com Antwort an: Users of the Tea4CUPS software <tea4c...@lists.pykota.com> An: Users of the Tea4CUPS software <tea4c...@lists.pykota.com>
Thanks a lot for reporting this !!! I wouldn't have fixed this problem like this, but I didn't know it existed in the first place. I'll patch trunk ASAP. Thanks again On Wed, Aug 22, 2018 at 06:41:16PM +0200, daniel-mailinglists+tea4c...@dadosch.de wrote: > Hey there! > > I want to point you out to a bug Rainer Dorsch <m...@bokomoko.de> and me > encountered. > [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905986] > > We've already found a solution > (https://gitlab.com/dadosch/tea4cups/commit/ 1aac1f51ed35300891b3f0f01b34b37b523f1736) > which seems to fix it. The bug appears very irradically. > > > Here is what the log says: > > ===== > E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : Traceback > (most recent call last): > E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : File > \"/usr/lib/cups/backend/tea4cups\", line 1502, in <module> > E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : > wrapper.exportAttributes() > E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : File > \"/usr/lib/cups/backend/tea4cups\", line 1214, in exportAttributes > E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : > os.environ[\"TEABILLING\"] = self.JobBilling or \"\" > E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : File > \"/usr/lib/python2.7/os.py\", line 473, in __setitem__ > E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : > putenv(key, item) > E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : TypeError: > putenv() argument 2 must be string, not int > > ===== > > > > Thank you, > > Daniel > _______________________________________________ > tea4cups mailing list > tea4c...@lists.pykota.com > http://lists.pykota.com/mailman/listinfo/tea4cups > DON'T POST IN HTML ! -- Jerome Alet _______________________________________________ tea4cups mailing list tea4c...@lists.pykota.com http://lists.pykota.com/mailman/listinfo/tea4cups DON'T POST IN HTML ! ------------------------------------------------------------- -- Rainer Dorsch http://bokomoko.de/