[cups] cups-2.3.0: 127.0.0.1:631/printers/ is incomplete (no printers shown)

Martin MOKREJŠ mmokrejs at gmail.com
Thu Sep 12 07:10:17 PDT 2019


Hi,
 I use cups from Gentoo linux but the page http://127.0.0.1:631/printers/ does not list any printers. I think this is after upgrade 

# emerge -pv cups

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-print/cups-2.3.0::gentoo  USE="X dbus pam ssl threads usb -acl -debug -kerberos -lprng-compat (-selinux) -static-libs -systemd -xinetd -zeroconf" ABI_X86="32 (64) (-x32)" 0 KiB

  I think the previous versions worked fine.

  Looking at the source code of the page I see the page in incomplete:

<!DOCTYPE HTML>
<html>
  <head>
    <link rel="stylesheet" href="/cups.css" type="text/css">
    <link rel="shortcut icon" href="/apple-touch-icon.png" type="image/png">
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    
    <meta http-equiv="X-UA-Compatible" content="IE=9">
    <meta name="viewport" content="width=device-width">
    <style>html{display:none;}</style>
    <script type="text/javascript"><!--
      /* Only display document if we are not in a frame... */
      if (self == top) {
        document.documentElement.style.display = 'block';
      } else {
        top.location = self.location;
      }

      /* Show an error if cookies are disabled */
      function check_cookies() {
	if (!navigator.cookieEnabled) {
	      document.getElementById('body').innerHTML = 'This page uses cookies to prevent common cross-site attacks. Please enable cookies in your browser.';
	}
      }
    --></SCRIPT>
    <title>Printers - CUPS 2.3.0</title>
  </head>
  <body onload="check_cookies();">
    <div class="header">
      <ul>
	<li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li>
	<li><a href="/">Home</a></li>
	<li><a href="/admin">Administration</a></li>
	<li><a href="/classes/">Classes</a></li>
	<li><a href="/help/">Help</a></li>
	<li><a href="/jobs/">Jobs</a></li>
	<li><a class="active" href="/printers/">Printers</a></li>
      </ul>
    </div>
    <div class="body">
      <div class="row">
	<h1>Printers</h1>
<FORM ACTION="/printers/" METHOD="GET">



<P ALIGN="CENTER"><B>Search in
Printers:</B>
<INPUT TYPE="SEARCH" NAME="QUERY" VALUE="" SIZE="40"  PLACEHOLDER="" AUTOSAVE="org.cups.printers" RESULTS="20"> <INPUT
TYPE="SUBMIT" VALUE="Search"> <INPUT TYPE="SUBMIT" NAME="CLEAR" VALUE="Clear"></P>

</FORM>
<P ALIGN="CENTER">Showing 7 of 7 printers.</P>



Thank you,
Martin


More information about the cups mailing list