[Bug 1020048] Re: after certain time printing to cups stops working

2018-03-21 Thread Raúl Vidal
I have to confirm this bug. 300 seconds timeout. CUPS does not reopen 
connections again. Notifiers are shutdown.
The workaround is to enable the web interface. But this should not be 
necessary. CUPS should work without the web interface, as that is the default 
behaviour defined by upstream.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1020048] Re: after certain time printing to cups stops working

2016-08-25 Thread Joshua Geake
I can confirm that this has started happening again on cups 2.1.3 and
Ubuntu Server 16.04. Clients that attempt to connect to the server on
port 631 (even using telnet) just get their connection refused. It's
like cups closes all connections after 5 minutes of inactivity and won't
reopen them again. I think it's even happening on the admin page.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2016-08-18 Thread Marc Kolly
How is it possible I see the exact same issue with LO (1:5.1.4-0ubuntu1) and 
cups (2.1.3-4) on Ubuntu 16.04 with a central Debian cups server 
(1.7.5-11+deb8u1)?
I'm not using the /etc/cups/client.conf, but instead a normal full Ubuntu 16.04 
installation + all released updates.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-05-26 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.5.3-0ubuntu8.3

---
cups (1.5.3-0ubuntu8.3) precise; urgency=low

  * debian/patches/handle-server-terminating-connection.patch: Fix the
handling of a connection terminated by the server (LP: #1020048)
 -- Ryan Tandy rta...@sd63.bc.ca   Thu, 24 Apr 2014 09:17:07 -0700

** Changed in: cups (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-05-16 Thread Ryan Tandy
With cups 1.5.3-0ubuntu8.2 from precise-updates, when I configure cups-
client to use a TCP connection, print a LibreOffice document, and wait 5
minutes, printing is no longer possible after cupsd drops the idle
connection.

With cups 1.5.3-0ubuntu8.3 from precise-proposed and the same cups-
client configuration, when I print a LibreOffice document and wait 5
minutes, printing still works.

Marking verified.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-05-15 Thread Brian Murray
Hello Darko, or anyone else affected,

Accepted cups into precise-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/cups/1.5.3-0ubuntu8.3
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: cups (Ubuntu Precise)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-05-02 Thread Marc Deslauriers
Proposed debdiff looks good to me, ACK.

I've uploaded it with a slightly modified version number for processing
by the ubuntu-sru team.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-05-02 Thread Marc Deslauriers
** Changed in: cups (Ubuntu Precise)
   Status: Fix Committed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-05-02 Thread Ryan Tandy
 I've uploaded it with a slightly modified version number for
processing by the ubuntu-sru team.

haha, I called it -ubuntu9 this time around because of bdmurray's
comment (#50) :)

all good, thanks for uploading Marc!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-04-24 Thread Marc Deslauriers
Unfortunately, the package in -proposed got superseded by a security
update. A new debdiff and upload must be done.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-04-24 Thread Ryan Tandy
Rebased debdiff including the security update. Thanks for the heads up
about that.

** Patch added: updated debdiff for precise
   
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/+attachment/4095584/+files/cups_1.5.3-0ubuntu9.debdiff

** Tags removed: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-04-22 Thread Ryan Tandy
With cups 1.5.3-0ubuntu8 from precise, when I configure cups-client to
use a TCP connection, print a LibreOffice document, and wait 5 minutes,
printing is no longer possible after cupsd drops the idle connection.

With cups 1.5.3-0ubuntu8.1 from precise-proposed and the same cups-
client configuration, when I print a LibreOffice document and wait 5
minutes, printing still works.

Marking verified.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-04-17 Thread Brian Murray
Given that 1.5.3-0ubuntu8 already exists in -updates for proposed, its
unnecessary to add .1 rather ubuntu9 could have been used. Regardless,
I'll approve the upload in -proposed.

** Changed in: cups (Ubuntu Precise)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-04-04 Thread Marc Deslauriers
Proposed debdiff looks good to me, ACK.

I've uploaded it and subscribed the ubuntu-sru team for processing.

Thanks!

** Changed in: cups (Ubuntu Precise)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-03-25 Thread C de-Avillez
opened a nomination for precise. On a chat on #ubuntu-bugs, the author
asked for the nomination. I agree with it, so there.

** Also affects: cups (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: libreoffice (Ubuntu Precise)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-03-25 Thread Ryan Tandy
** Changed in: libreoffice (Ubuntu Precise)
   Status: New = Invalid

** Tags added: patch

** Changed in: cups (Ubuntu Precise)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-03-25 Thread Ryan Tandy
** Description changed:

+ SRU justification:
+ 
+ [Impact]
+ 
+ * When the CUPS client connects to a remote cupsd over TCP, the server 
+   closes an idle connection after 5 minutes and the client does not reconnect.
+ 
+ * LibreOffice is affected because it keeps a CUPS connection open. The 
+   effect is that printing to a remote cupsd is no longer possible after 
+   LibreOffice has been open for 5 minutes.
+ 
+ [Test Case]
+ 
+ * This can be reproduced on a desktop system. You don't need a separate 
+   CUPS server.
+ 
+ * You need at least one print queue in CUPS. If you don't have a 
+   printer, install cups-pdf.
+ 
+ * Optional, configure CUPS with a shorter timeout for testing:
+ 
+   sudo cupsctl Timeout=30 # seconds
+   sudo restart cups
+ 
+ * Configure the CUPS client to use a TCP socket:
+ 
+   mkdir ~/.cups
+   echo ServerName 127.0.0.1  ~/.cups/client.conf
+ 
+ * Open LibreOffice. Press Ctrl-P to open the Print dialog. Press Esc to 
+   dismiss the dialog. Wait long enough for the timout to elapse (5 
+   minutes by default, or as per the Timeout setting).
+ 
+ * Try to print. With cups in precise, the job simply vanishes and is 
+   never seen by the server. With the proposed patch, printing works 
+   normally.
+ 
+ [Regression Potential]
+ 
+ * The patch changes a library linked by many programs. An incorrect 
+   change might result in those programs misbehaving or crashing.
+ 
+ * The patch is minimal, only adding a branch to handle a case that was 
+   previously not handled. The behaviour in other cases should be 
+   unchanged.
+ 
+ [Other Info]
+ 
+ * A workaround is to set the cupsd Timeout to a high value such as 8 
+   hours. This works on a server with few users, but on a busy server 
+   more and more connections are opened and eventually cupsd isn't able 
+   to accept new clients.
+ 
+ Original description:
+ 
  == Problem ==
  In our institution we are running only printers through a cups server. while 
freshly opened document prints well, after some time (few minutes) clicking 
print file directly and menu item print do not work any more. after close 
and open again, thing prints correctly. i have checked what exactly is going on 
in such cases and logs on the cups server don't show any submissions and/or 
errors so that the thing is obviously stopped at the level of libreoffice.
  
  == Analysis ==
  LibreOffice loses it's TCP connection to CUPS after exactly 5 minutes of 
inactivity and does not manage to reconnect. To reproduce: print something (to 
a real printer or cups-pdf), wait 6 minutes not printing anything, and print 
again. Then, nothing is printed. You can watch the TCP connection using
  netstat -tpn | grep soffice
  While it's working, it looks like this:
  tcp0  0 127.0.0.1:48810 127.0.0.1:631   
ESTABLISHED 13976/soffice.bin
  After 5 minutes, that connection is gone permanently.
  
  WORKAROUND: To set the timeout to 24 hours add this line to the top of 
/etc/cups/cupsd.conf :
  Timeout 62400
- 
- ProblemType: Bug
- DistroRelease: Ubuntu 12.04
- Package: libreoffice 1:3.5.3-0ubuntu1
- ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
- Uname: Linux 3.2.0-26-generic x86_64
- NonfreeKernelModules: nvidia
- ApportVersion: 2.0.1-0ubuntu8
- Architecture: amd64
- Date: Mon Jul  2 12:29:31 2012
- InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin Release amd64 
(20120425)
- ProcEnviron:
-  TERM=xterm
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
-  LC_PAPER=en_GB.UTF-8
- SourcePackage: libreoffice
- UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2014-03-18 Thread Ryan Tandy
This still affects cups in precise. I've asked in #ubuntu-bugs for a
precise task to be added, but in the meantime, here's a debdiff.

Patch is based on http://www.cups.org/strfiles.php/3164/str4187.patch
from upstream STR#4817 (CUPS 1.6.2, released in raring) plus improvement
from upstream git 80360a5e (CUPS 1.6.4, released in saucy), backported
to precise.

I've had users at several sites running this patch in production for the
last 3 weeks, with no regressions reported.

** Patch added: cups_1.5.3-0ubuntu8.1.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/+attachment/4031587/+files/cups_1.5.3-0ubuntu8.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-10-06 Thread Jakob Unterwurzacher
** Description changed:

- in our institution we are running only printers through a cups server.
- while freshly opened document prints well, after some time (few minutes)
- clicking print file directly and menu item print do not work any
- more. after close and open again, thing prints correctly. i have checked
- what exactly is going on in such cases and logs on the cups server don't
- show any submissions and/or errors so that the thing is obviously
- stopped at the level of libreoffice.
+ == Problem ==
+ In our institution we are running only printers through a cups server. while 
freshly opened document prints well, after some time (few minutes) clicking 
print file directly and menu item print do not work any more. after close 
and open again, thing prints correctly. i have checked what exactly is going on 
in such cases and logs on the cups server don't show any submissions and/or 
errors so that the thing is obviously stopped at the level of libreoffice.
+ DistroRelease: Ubuntu 12.04
  
- ProblemType: Bug
- DistroRelease: Ubuntu 12.04
- Package: libreoffice 1:3.5.3-0ubuntu1
- ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
- Uname: Linux 3.2.0-26-generic x86_64
- NonfreeKernelModules: nvidia
- ApportVersion: 2.0.1-0ubuntu8
- Architecture: amd64
- Date: Mon Jul  2 12:29:31 2012
- InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
- ProcEnviron:
-  TERM=xterm
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
-  LC_PAPER=en_GB.UTF-8
- SourcePackage: libreoffice
- UpgradeStatus: No upgrade log present (probably fresh install)
+ == Analysis ==
+ LibreOffice loses it's TCP connection to CUPS after exactly 5 minutes of 
inactivity and does not manage to reconnect.
+ To reproduce: print something (to a real printer or cups-pdf), wait 6 minutes 
not printing anything, and print again. Then, nothing is printed.
+ 
+ You can watch the TCP connection using
+ netstat -tpn | grep soffice
+ While it's working, it looks like this:
+ tcp0  0 127.0.0.1:48810 127.0.0.1:631   
ESTABLISHED 13976/soffice.bin
+ After 5 minutes, that connection is gone permanently.
+ 
+ == Workaround ==
+ Add the line
+ Timeout 62400
+ to the top of /etc/cups/cupsd.conf . This sets the timeout to 24 hours and 
fixes the issue (verified on Ubuntu 12.04).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-10-06 Thread Christopher M. Penalver
Closing libreoffice (Ubuntu) task as the problem and fix was identified
in cups (Ubuntu), as previously addressed in
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/45
.

** Description changed:

  == Problem ==
  In our institution we are running only printers through a cups server. while 
freshly opened document prints well, after some time (few minutes) clicking 
print file directly and menu item print do not work any more. after close 
and open again, thing prints correctly. i have checked what exactly is going on 
in such cases and logs on the cups server don't show any submissions and/or 
errors so that the thing is obviously stopped at the level of libreoffice.
- DistroRelease: Ubuntu 12.04
  
  == Analysis ==
- LibreOffice loses it's TCP connection to CUPS after exactly 5 minutes of 
inactivity and does not manage to reconnect.
- To reproduce: print something (to a real printer or cups-pdf), wait 6 minutes 
not printing anything, and print again. Then, nothing is printed.
- 
- You can watch the TCP connection using
+ LibreOffice loses it's TCP connection to CUPS after exactly 5 minutes of 
inactivity and does not manage to reconnect. To reproduce: print something (to 
a real printer or cups-pdf), wait 6 minutes not printing anything, and print 
again. Then, nothing is printed. You can watch the TCP connection using
  netstat -tpn | grep soffice
  While it's working, it looks like this:
  tcp0  0 127.0.0.1:48810 127.0.0.1:631   
ESTABLISHED 13976/soffice.bin
  After 5 minutes, that connection is gone permanently.
  
- == Workaround ==
- Add the line
+ WORKAROUND: To set the timeout to 24 hours add this line to the top of 
/etc/cups/cupsd.conf :
  Timeout 62400
- to the top of /etc/cups/cupsd.conf . This sets the timeout to 24 hours and 
fixes the issue (verified on Ubuntu 12.04).
+ 
+ ProblemType: Bug
+ DistroRelease: Ubuntu 12.04
+ Package: libreoffice 1:3.5.3-0ubuntu1
+ ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
+ Uname: Linux 3.2.0-26-generic x86_64
+ NonfreeKernelModules: nvidia
+ ApportVersion: 2.0.1-0ubuntu8
+ Architecture: amd64
+ Date: Mon Jul  2 12:29:31 2012
+ InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin Release amd64 
(20120425)
+ ProcEnviron:
+  TERM=xterm
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+  LC_PAPER=en_GB.UTF-8
+ SourcePackage: libreoffice
+ UpgradeStatus: No upgrade log present (probably fresh install)

** Changed in: libreoffice (Ubuntu)
   Status: Confirmed = Invalid

** Changed in: df-libreoffice
   Importance: Medium = Undecided

** Changed in: df-libreoffice
 Remote watch: freedesktop.org Bugzilla #56344 = None

** Changed in: df-libreoffice
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-09-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/saucy-proposed/cups

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-09-05 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.7.0~rc1-0ubuntu2

---
cups (1.7.0~rc1-0ubuntu2) saucy; urgency=low

  * debian/patches/handle-server-terminating-connection.patch: Fix the handling
of a connection terminated by the server (LP: #1020048, comment #37 and
#44).
 -- Till Kamppeter till.kamppe...@gmail.com   Thu,  5 Sep 2013 22:46:01 +0200

** Changed in: cups (Ubuntu)
   Status: Incomplete = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-09-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/cups

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-09-05 Thread Thilo Uttendorfer
After reading comment #41 and compare the precise version of cups with
upstream HEAD, I was able to (re-) build the prceise package with the
following patch:

Index: cups-1.5.3/cups/request.c
===
--- cups-1.5.3.orig/cups/request.c  2011-09-22 00:09:29.0 +0200
+++ cups-1.5.3/cups/request.c   2013-08-27 18:23:35.0 +0200
@@ -643,11 +643,13 @@
   }
   else if (http-state != HTTP_WAITING)
   {
-DEBUG_printf((1cupsSendRequest: Unknown HTTP state (%d), bailing.,
-  http-state));
-_cupsSetError(IPP_INTERNAL_ERROR, strerror(EINVAL), 0);
-
-return (HTTP_ERROR);
+DEBUG_printf((1cupsSendRequest: Unknown HTTP state (%d), 
+  reconnecting., http-state));
+if (httpReconnect(http))
+{
+  _cupsSetError(IPP_INTERNAL_ERROR, strerror(EINVAL), 0);
+  return (HTTP_ERROR);
+}
   }
 
 #ifdef HAVE_SSL
@@ -1004,6 +1006,26 @@  

   httpClose(cg-http); 

   cg-http = NULL; 

 }  

+else   

+{  

+  /*   

+  * Same server, see if the connection is still established... 

+  */   

+   

+  char ch; /* Connection check byte */ 

+  int n;   

+   

+  if ( (n = recv(cg-http-fd, ch, 1, MSG_PEEK | MSG_DONTWAIT) == 0) ||   

+   ( n  0  errno != EWOULDBLOCK ) ) 

+{  

+/* 

+* Nope, close the connection...

+*/ 

+
+httpClose(cg-http);
+cg-http = NULL;
+}
+}
   }
 
  /*


This solved the reconnect issue for us.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-08-27 Thread Björn Michaelsen
reopening in cups to make sure the additional changes in comment 37 are
taken care of.

** Changed in: cups (Ubuntu)
   Status: Fix Released = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-07-18 Thread Wolfgang Walter
The fix in http://www.cups.org/str.php?L4187 is not complete. It misses
the case where the server terminates the connection. recv() then does
not return with an error but returns 0 (EOF). The last case is missed.

Here is a modified patch (to apply instead that one of L4187) which
solves the issue:

--- ../request.c.orig   2013-04-22 13:48:31.409721696 +0200
+++ cups/request.c  2013-04-22 13:47:15.261963227 +0200
@@ -1004,6 +1004,26 @@
   httpClose(cg-http);
   cg-http = NULL;
 }
+else
+{
+ /*
+  * Same server, see if the connection is still established...
+  */
+
+  char ch; /* Connection check byte */
+  int n;
+
+  if ( (n = recv(cg-http-fd, ch, 1, MSG_PEEK | MSG_DONTWAIT) == 0) ||
+ ( n  0  errno != EWOULDBLOCK ) )
+  {
+   /*
+* Nope, close the connection...
+*/
+
+   httpClose(cg-http);
+   cg-http = NULL;
+  }
+}
   }
 
  /*

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-04-08 Thread Dean Montgomery
We run linux clients that connect to a central print server.  I found
this works:

1) Install cups server on the clients.

2) On clients turn on Show printers shared by other systems in web
interface or in /etc/cups/cupsd.conf

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny 
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowseAddress @LOCAL
BrowseAddress server:631
# *** NOTE I've added an entry that points directly to our main cups server - 
to speed up discovery.

3) On clients add a BrowseAddress server:631 that points directly to
your cups server.  Change server to addres of your cups server. ( see
above )

4) On clients comment out all entries in /etc/cups/client.conf .  This
will force cups to use /var/run/cups/cups.sock on the client.


Generally works because libreoffice doesn't communicate over TCP:631, rather 
directly to the local socket and the client=server communication is done via 
cupsd=cupsd:

Client Libreoffice ...
 =local-cups(with browsing on listening on /var/un/cups/cups.sock) ...
   =server:631 browsing cups ...
 =printer.


It uses a bit more RAM on the client to run the cups server but RAM is not as 
much of an issue these days.
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
root  1071  0.0  0.2  11164  3816 ?Ss   10:45   0:00 
/usr/sbin/cupsd -F

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-03-20 Thread Till Kamppeter
CUPS 1.6.2 got released on Monday and I have packaged it for Raring.

It seems that exactly this problem was addressed in this version of
CUPS. See

http://www.cups.org/str.php?L4187

So this should be fixed now in Raring. Please test by undoing the
workaround from comment #33 and updating your Raring system so that you
get the new CUPS. If this helps please mark the LibreOffice tasks
invalid.

** Also affects: cups (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: cups (Ubuntu)
   Importance: Undecided = High

** Changed in: cups (Ubuntu)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-03-05 Thread xucchini
I am experiencing this problem on over a hundred of Ubuntu 12.04.2
desktops with cups and libreoffice installed (fully up to date).

I'll try upping the cups timeout for the time being.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-03-05 Thread xucchini
But just to be clear, I don't want to have cups keeping a bunch of
client connections open for a week.

I believe this is still an important problem which causes a lot of
negative experiences with ubuntu and libreoffice.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-03-05 Thread Till Kamppeter
There is another workaround which is probably more reliable and suitable
for any duration of LibreOffice session: Switching LibreOffice to the
standard GTK print dialog (the dialog used by Evince, Firefox, GEdit,
and many other GNOME/GTK apps). You will loose the embedded preview in
the print dialog but otherwise printing works and you have one printing
UI for most apps.

Proceed as foilows:

- Open LibreOffice
- In the main menu (top bar) choose Tools, then Options.
- In the pop-up dialog click General in the LibreOffice section on the left.
- On the right, near the bottom, mark Enable experimental (unstable) features.
- Under Print dialog unmark Use LibreOffice dialogs.
- Click OK.
- Return the timeout values in the CUPS configuration to their original 
(default) values (if you had changed them).

From now on, whenever you want to print out of LibreOffice you will get
the standard print dialog and not LibreOffice's own dialog. Please
check, especially on longer sessions or when leaving LibreOffice open
over night, whether always the list of available printers appears
correctly in the dialog and whether you can print.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-02-01 Thread Bug Watch Updater
Launchpad has imported 7 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=56344.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2012-10-24T06:44:12+00:00 Franco-violi wrote:

On Linux system, cups has a timeout of 300 seconds by default. When you
print from OpenOffice the first time, everything is ok. If you wait more
then 300 seconds and then try to print again, nothing happen. When
nothing happen, go into the printer dialog and you will get an empty
list. Increasing at infinity the cups timeout, you have no problem but
this cannot be the solution.

If you drop the cups option using the printer admin dialog, everything
is fine.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/11


On 2012-11-06T14:53:34+00:00 Nevyn wrote:

I've got a similar problem also.

libreoffice 3.5.4  kubuntu 12.04 i386.

My libreoffice loses cups connection after around 5 min. All printers
are shown, but doesn't print including cups-pdf printer.

I supposed the printers are shown through /home/user/.cups/client.conf
with 'ServerName someprintserver'

Since we're using cups on regular basis we are hoping for a solution.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/14


On 2012-11-13T17:36:17+00:00 Nevyn wrote:

Looks a lot like Bug 50784

https://bugs.freedesktop.org/show_bug.cgi?id=50784

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/15


On 2012-11-16T08:28:47+00:00 LISAG wrote:

Also sounds like:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048

We can confirm this issue and also that the workaround with a higher timeout 
value for CUPS works.
Our details:
Ubuntu 12.04 64 Bit
3.2.0-33-generic #52-Ubuntu SMP
Libre Office 3.6.0~rc4-0ubuntu3~ppa1~precise1

We performed a debugging session yesterday and observed that Libre
Office looses the connection to the CUPS server within 5 minutes:

- tshark on the CUPS server, observing the connection close:
353.291104 192.168.1.1 - 192.168.1.115 IPP 245 IPP response
353.291352 192.168.1.115 - 192.168.1.1 TCP 66 52363  631 [ACK] Seq=7064 
Ack=45384 Win=42272 Len=0 TSval=8393025 TSecr=8563624
  [no further packages]
384.142218 192.168.1.1 - 192.168.1.115 TCP 66 631  52363 [FIN, ACK] Seq=45384 
Ack=7064 Win=33792 Len=0 TSval=8571337 TSecr=8393025
384.178858 192.168.1.115 - 192.168.1.1 TCP 66 52363  631 [ACK] Seq=7064 
Ack=45385 Win=42272 Len=0 TSval=8400747 TSecr=8571337

- Other actions of Libre Office will be answered with a connection reset:
406.177739 192.168.1.115 - 192.168.1.1 TCP 221 [TCP segment of a reassembled 
PDU]
406.177767 192.168.1.1 - 192.168.1.115 TCP 54 631  52363 [RST] Seq=45385 
Win=0 Len=0
406.177840 192.168.1.115 - 192.168.1.1 IPP 341 IPP request
406.177851 192.168.1.1 - 192.168.1.115 TCP 54 631  52363 [RST] Seq=45385 
Win=0 Len=0

- From this point of time on, Libre Office knows that there is no
connection with the CUPS server and doesn't open a new one.

- stracing shows the second printing attempt:
27989 18:35:53 sendto(35, POST /printers/lp16 HTTP/1.1\r\nContent-Length: 
275\r\nContent-Type: application/ipp\r\nHost: 
myhost.mydomain.tld\r\nUser-Agent: CUPS/1.5.3\r\nExpect: 100-continue\r\n\r\n, 
155, 0, NULL, 0) = 155
27989 18:35:53 sendto(35, 
\1\1\0\5\0\0\0\1\1G\0\22attributes-charset\0\5utf-8H\0\33attributes-natural-language\0\5de-deE\0\vprinter-uri\0!ipp://localhost:631/printers/lp16B\0\24requesting-user-name\0\6myusernameB\0\10job-name\0\nUnbenannt1I\0\17document-format\0\30app...,
 275, 0, NULL, 0) = 275
27989 18:35:53 poll([{fd=35, events=POLLIN}], 1, 1000) = 1 ([{fd=35, 
revents=POLLIN}])
27989 18:35:53 poll([{fd=35, events=POLLIN}], 1, 6) = 1 ([{fd=35, 
revents=POLLIN}])
27989 18:35:53 recvfrom(35, , 2048, 0, NULL, NULL) = 0

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/17


On 2012-12-13T08:22:03+00:00 Alexpro wrote:

Created attachment 71432
Force reconnection to CUPS server on print failure

I've got the same bug when printing stops after 5 mins.
Attached patch solves this problem for LibreOffice by dropping old
connection and retrying on print error.

Closing old connection is done with cupsSetServer(NULL)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/25


On 2013-01-16T00:14:45+00:00 Francisco javier 

[Bug 1020048] Re: after certain time printing to cups stops working

2013-01-25 Thread Björn Michaelsen
closed upstream, needs new report upstream

** No longer affects: df-libreoffice

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-01-25 Thread Till Kamppeter
Linked to the correct bug report, as of comment #21.

** Also affects: df-libreoffice via
   https://bugs.freedesktop.org/show_bug.cgi?id=56344
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2013-01-15 Thread Bug Watch Updater
** Bug watch added: freedesktop.org Bugzilla #56344
   https://bugs.freedesktop.org/show_bug.cgi?id=56344

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-11-27 Thread Bug Watch Updater
** Changed in: df-libreoffice
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-11-27 Thread Darko Veberic
i absolutely disagree with the change to invalid. why would you do
that? show me any other program that has print menu which stops
working after 5 minutes? this is insane.

if the connection is closed by cups due to timeout, libre should simply
reopen it. this is the real solution.

let me repeat what's going on: i fire up libre on my draft. i print the
draft on my cups printer and i start correcting the document. let's say
my corrections take more time to fix than the cups timeout. when i am
finished with fixes, i want to print out the final version of the
document. what happens? nothing. no error message, nothing. nada. i try
print preview, nothing. i try print direct button, nothing. this is a
clear libre bug and has nothing to do with cups having some default
timeout setting. the only way i can get the document printed again is to
save the document, close libre, reopen the doc and print again. this
time it'll work, but if i want to print another copy, i better do it
within the 5 min. otherwise, again nothing happens and what's worse,
nothing happens without any warning or error message...

can you reconsider your invalid decision?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-11-27 Thread Darko Veberic
... and Malcom was just posting a workaround, not a solution...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-11-27 Thread Darko Veberic
sorry, but this is a workaround and not a solution. i don't think it is
wise to increase cups connection timeouts, especially if you run cups
server for a large institution with a lot of printers and a lot of
clients...

from the description of the bug and discussion here it is clear this is
a libre bug which can not be fixed by this workaround. you just made the
time after which libre fails to print larger. this is not the right
solution...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-11-27 Thread Bug Watch Updater
** Changed in: df-libreoffice
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-11-27 Thread Till Kamppeter
** Changed in: libreoffice (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-11-27 Thread Bug Watch Updater
** Changed in: df-libreoffice
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-11-16 Thread Valentin Höbel
@Malcolm-whsg (malcolm-whsg) wrote on 2012-10-24:

We can confirm this issue and also that the workaround with a higher timeout 
value for CUPS works.
Our details:
Ubuntu 12.04 64 Bit
3.2.0-33-generic #52-Ubuntu SMP
Libre Office 3.6.0~rc4-0ubuntu3~ppa1~precise1

We performed a debugging session yesterday and observed that Libre
Office looses the connection to the CUPS server within 5 minutes:

- tshark on the CUPS server, observing the connection close:
353.291104  192.168.1.1 - 192.168.1.115 IPP 245 IPP response
353.291352 192.168.1.115 - 192.168.1.1  TCP 66 52363  631 [ACK] Seq=7064 
Ack=45384 Win=42272 Len=0 TSval=8393025 TSecr=8563624
  [no further packages]
384.142218  192.168.1.1 - 192.168.1.115 TCP 66 631  52363 [FIN, ACK] 
Seq=45384 Ack=7064 Win=33792 Len=0 TSval=8571337 TSecr=8393025
384.178858 192.168.1.115 - 192.168.1.1  TCP 66 52363  631 [ACK] Seq=7064 
Ack=45385 Win=42272 Len=0 TSval=8400747 TSecr=8571337

- Other actions of Libre Office will be answered with a connection reset:
406.177739 192.168.1.115 - 192.168.1.1  TCP 221 [TCP segment of a reassembled 
PDU]
406.177767  192.168.1.1 - 192.168.1.115 TCP 54 631  52363 [RST] Seq=45385 
Win=0 Len=0
406.177840 192.168.1.115 - 192.168.1.1  IPP 341 IPP request
406.177851  192.168.1.1 - 192.168.1.115 TCP 54 631  52363 [RST] Seq=45385 
Win=0 Len=0

- From this point of time on, Libre Office knows that there is no
connection with the CUPS server and doesn't open a new one.

- stracing shows the second printing attempt:
27989 18:35:53 sendto(35, POST /printers/lp16 HTTP/1.1\r\nContent-Length: 
275\r\nContent-Type: application/ipp\r\nHost: 
myhost.mydomain.tld\r\nUser-Agent: CUPS/1.5.3\r\nExpect: 100-continue\r\n\r\n, 
155, 0, NULL, 0) = 155
27989 18:35:53 sendto(35, 
\1\1\0\5\0\0\0\1\1G\0\22attributes-charset\0\5utf-8H\0\33attributes-natural-language\0\5de-deE\0\vprinter-uri\0!ipp://localhost:631/printers/lp16B\0\24requesting-user-name\0\6myusernameB\0\10job-name\0\nUnbenannt1I\0\17document-format\0\30app...,
 275, 0, NULL, 0) = 275
27989 18:35:53 poll([{fd=35, events=POLLIN}], 1, 1000) = 1 ([{fd=35, 
revents=POLLIN}])
27989 18:35:53 poll([{fd=35, events=POLLIN}], 1, 6) = 1 ([{fd=35, 
revents=POLLIN}])
27989 18:35:53 recvfrom(35, , 2048, 0, NULL, NULL) = 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-08-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: libreoffice (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-07-02 Thread Darko Veberic
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-07-02 Thread Christopher M. Penalver
Darko Veberic, thank you for reporting this and helping make Ubuntu better. 
Regarding your comments:
i have checked what exactly is going on in such cases and logs on the cups 
server don't show any submissions and/or errors so that the thing is obviously 
stopped at the level of libreoffice.

Unfortunately, it is not obvious because no logs are attached to this
report. Hence, could you please provide the information following
https://wiki.ubuntu.com/DebuggingPrintingProblems ?

** Package changed: libreoffice (Ubuntu) = cups (Ubuntu)

** Changed in: cups (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-07-02 Thread Till Kamppeter
Known upstream bug in LibreOffice:

https://bugs.freedesktop.org/show_bug.cgi?id=50784

Moving ...

** Bug watch added: freedesktop.org Bugzilla #50784
   https://bugs.freedesktop.org/show_bug.cgi?id=50784

** Package changed: cups (Ubuntu) = libreoffice (Ubuntu)

** Also affects: df-libreoffice via
   https://bugs.freedesktop.org/show_bug.cgi?id=50784
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-07-02 Thread Bug Watch Updater
Launchpad has imported 2 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=50784.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2012-06-06T12:13:19+00:00 Maximiliano Boscovich wrote:

Problem description:

Steps to reproduce:
1. Use a remote cups server to print, no a local one.
2. Set /etc/cups/client.conf to use it remote cups server
3. Open writer or calc.
4. Open a document.
5. Go to File - Print, and you'll see the printers.
6. Keep open libreoffice for 20 minutes.
7. Go to File - Print, and all printers disappears.
8. Close libreoffice.
9. Start libreoffice again, and go to File - Print, and you'll see the 
printers ok.

Current behavior:
The printers disappears when you keep open libreoffice for 20 min. If you close 
a re-open it, the printers appears again.
I think the problem is related with the fact of libreoffice open a connection 
with the cups server when it's starts, and its connections is closed a minutes 
later (i don't know why). Its seem like a libreoffice don't detect this 
connection lost.

May be libreoffice should open the conection with the cups server when
the user open the print dialog, and not when its start.

Platform 
Kubuntu 12.04, in a LTSP-Cluster Infraestructure.

PD: Sorry for my english.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/1020048/comments/0


On 2012-06-11T12:27:36+00:00 aleaz wrote:

I have the same problem, but sometimes this happens before 20 minutes. I
also use a remote cups server.

Thanks in advance

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/1020048/comments/1


** Changed in: df-libreoffice
   Status: Unknown = Confirmed

** Changed in: df-libreoffice
   Importance: Unknown = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-07-02 Thread Darko Veberic
ok, i will try to look deeper into the logs... but as i said before, the
remote cups server does not get any jobs submitted. i also forgot to
tell that we disable local cups daemons and write remote server name in
the /etc/cups/client.conf instead, just as original upstream bug
description...

another detail is that i can actually open a document file and leave it
open even for long time and the first print attempt will work correctly.
if only after that first printing, i wait some time, the second printing
does not work, neither from the print directly icon, nor from the file
menu (but in contrast to the upstream bug report i can still see a list
of all our institutional printers). i hope this clarifies the situation
a bit...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1020048] Re: after certain time printing to cups stops working

2012-07-02 Thread Christopher M. Penalver
** Changed in: libreoffice (Ubuntu)
   Status: Incomplete = New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs