Description: Open a new LibreOffice Writer document. File - Print. In the terminal, in the dbg version of LibreOffice I get this messages: warn:vcl.unx.print:208486:208486:vcl/unx/generic/printer/ppdparser.cxx:845: no Resolution in /tmp/63afe2daa1327 warn:vcl:208486:208486:vcl/unx/generic/printer/printerinfomanager.cxx:546: Do not ask for info about nonexistent printers The second line could be true. I have a printer that I can NOT delete from my Linux and I can not use it. Steps to Reproduce: see description Actual Results: warnings Expected Results: no warnings Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Repro, with an extra "no font" warning: warn:vcl.unx.print:29952:29952:vcl/unx/generic/printer/ppdparser.cxx:845: no Resolution in /tmp/0750063bdac77 warn:vcl.unx.print:29952:29952:vcl/unx/generic/printer/ppdparser.cxx:857: no Font in /tmp/0750063bdac77 warn:vcl:29952:29952:vcl/unx/generic/printer/printerinfomanager.cxx:546: Do not ask for info about nonexistent printers Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
An update here. I get just this warning now: warn:vcl:107228:107228:vcl/unx/generic/printer/printerinfomanager.cxx:546: Do not ask for info about nonexistent printers Retested with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 9d44236a62bf59d120dda89924d0d1407b2bd52b CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Retested with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 0e17d8ddccdee7d4f46b256153853e1cab87c99e CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded warn:vcl:347292:347292:vcl/unx/generic/printer/printerinfomanager.cxx:546: Do not ask for info about nonexistent printers
warn:vcl:87257:87257:vcl/unx/generic/printer/printerinfomanager.cxx:524: Do not ask for info about nonexistent printers warn:sal.osl:87257:87257:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory Retested with Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 6d39b1a6068bbbd5ca4947f668f989dbfb73342d CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Retested. I do not have installed any printer that is not available. In my printer list, there are: "Generic printer" and "Print to File...". Noel, you added this line, can you take a look please, if the warning is needed in debug build? warn:vcl:3244:3244:vcl/unx/generic/printer/printerinfomanager.cxx:537: Do not ask for info about nonexistent printers warn:sal.osl:3244:3244:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory -------------------------------------------- const PrinterInfo& PrinterInfoManager::getPrinterInfo( const OUString& rPrinter ) const { static PrinterInfo aEmptyInfo; std::unordered_map< OUString, Printer >::const_iterator it = m_aPrinters.find( rPrinter ); SAL_WARN_IF( it == m_aPrinters.end(), "vcl", "Do not ask for info about nonexistent printers" ); return it != m_aPrinters.end() ? it->second.m_aInfo : aEmptyInfo; } -------------------------------------------- Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a3b0ef4088183c4a3b2ec3fef08ef91314eaef54 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
That warning existed before I changed that code, so sorry, no idea
warn:vcl:13510:13510:vcl/unx/generic/printer/printerinfomanager.cxx:537: Do not ask for info about nonexistent printers The same, retested with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 742dbb088b44783c3a4f0fd120b11be3a74fd483 CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded