[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905986: marked as done (cups-tea4cups: TEABILLING reports error)

Your message dated Mon, 03 Sep 2018 07:18:57 +0000
with message-id <E1fwj8T-0000oT-0M@fasolo.debian.org>
and subject line Bug#905986: fixed in tea4cups 3.14~alpha0+svn3576-1
has caused the Debian Bug report #905986,
regarding cups-tea4cups: TEABILLING reports error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

905986: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905986
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-tea4cups
Version: 3.13~alpha0+svn3565-4
Severity: important
Tags: patch

Dear Maintainer,

[this bug report corresponds to this discussion thread on debian-user


(cont'd at next month)
https://lists.debian.org/debian-user/2018/06/msg00453.html ]

I have tea4cups configured to power on my printer before printing. In order to do this, I prepended tea4cups:/ to the DeviceURI in printers.conf (if I remove this and power on the printer manually before printing, everything works as expected):
DeviceURI tea4cups:/http://hpljwlan:631/ipp/
I configured the printer power on script:
prehook_sispmctl : /usr/local/bin/printeron
but I get unfortunately an error in /var/log/cups/error_log
with every print job and the job is stopped.
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

Is seems something goes wrong while setting the TEABILLING environement variable.

There are more details listed in the mailing list thread linked above, but I think there are not very relevant.

In the meantime Daniel reported that he sees the same problem also in Arch and KDE Neon:


Via private mail he pointed out that this patch fixes the problem for him in Arch linux:


I applied it on my Debian buster system and it fixes my issue as well.

All credits for the fix go to Daniel.


-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (110, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de:en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups-tea4cups depends on:
ii  cups    2.2.8-5
ii  python  2.7.15-3

cups-tea4cups recommends no packages.

cups-tea4cups suggests no packages.

-- Configuration Files:
/etc/cups/tea4cups.conf changed:
directory : /var/spool/cups/
prehook_sispmctl : /usr/local/bin/printeron

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: tea4cups
Source-Version: 3.14~alpha0+svn3576-1

We believe that the bug you reported is fixed in the latest version of
tea4cups, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 905986@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Mike Gabriel <sunweaver@debian.org> (supplier of updated tea4cups package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)

Hash: SHA256

Format: 1.8
Date: Mon, 03 Sep 2018 08:43:28 +0200
Source: tea4cups
Binary: cups-tea4cups
Architecture: source
Version: 3.14~alpha0+svn3576-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
 cups-tea4cups - Swiss Army's knife of advanced CUPS administrators
Closes: 905986
 tea4cups (3.14~alpha0+svn3576-1) unstable; urgency=medium
   * New upstream SVN snapshot.
     - Fixes a problem where the job billing attribute sometimes is an integer.
       (Closes: #905986).
   * debian/rules:
     + Create repacked orig tarball in ../ rather than in ./.
   * debian/control:
     + Bump Standards-Version: to 4.2.1. No changes needed.
   * debian/copyright:
     + Use secure URI for copyright format reference.
     + Update copyright attributions.
 e4ce40ee7aac934ae6ba669615aa511a89c40dc7 2100 tea4cups_3.14~alpha0+svn3576-1.dsc
 cb2d92d42e814140755ec699a43c0050762de566 24984 tea4cups_3.14~alpha0+svn3576.orig.tar.xz
 e022486869f62409de8266605a812d91c7bef668 4400 tea4cups_3.14~alpha0+svn3576-1.debian.tar.xz
 b3064fe3bea8eda8cf7142dfb1057f295205cb88 7267 tea4cups_3.14~alpha0+svn3576-1_source.buildinfo
 bb32c9010b4c88392e81c19a46a9dadadf7ebc21621092c094ed16ca4fb4c29c 2100 tea4cups_3.14~alpha0+svn3576-1.dsc
 2a67d3ac936e8bf1eb98f4a0ab9d45179c7e4bdb8d143b04730b86725bcd754f 24984 tea4cups_3.14~alpha0+svn3576.orig.tar.xz
 63bc2f0012a42ddde210a3a9a0617bcf490becc1b29130c5df503fe4447de8b3 4400 tea4cups_3.14~alpha0+svn3576-1.debian.tar.xz
 f28cdb4b283d9a50e902c9b80ec8c91b6adb58b2761ac441d070a0fbf60b7764 7267 tea4cups_3.14~alpha0+svn3576-1_source.buildinfo
 12218f842e22d3a2424bd2808f49ca2a 2100 text optional tea4cups_3.14~alpha0+svn3576-1.dsc
 148a24bd3610f51a2d88bd968cf9e094 24984 text optional tea4cups_3.14~alpha0+svn3576.orig.tar.xz
 2def0affa952bb4c6b1475ede9081fe6 4400 text optional tea4cups_3.14~alpha0+svn3576-1.debian.tar.xz
 6bea6564c766a1df1747d5549b3a94da 7267 text optional tea4cups_3.14~alpha0+svn3576-1_source.buildinfo



--- End Message ---

Reply to: