Created attachment 174566 [details] typescript When starting up normally with no arguments, i.e. using your existing profile, many messages appear on the terminal about previously-edited files (which may or may not still exist), like these: warn:sfx:42797:42797:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///home/jima/doc/rffm/ar-rec/internet/bom.xlsx> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22 I will attach a typescript file showing what I see. All the messages seem to be related to spreadsheets; they appear if "soffice" is run without arguments, or with --calc, but NOT if invoked with e.g. --writer. STEPS TO REPRODUCE: 1. Create or edit some spreadsheets (if necessary) to establish a profile with history of such files. 2. /path/to/libreofficedev7.3/program/soffice RESULTS: Many "caught exception" messages, as shown in the attached typescript. EXPECTED RESULTS: Nothing written to terminal unless the user should do something. Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: 282b2d8bfd6fb16f58fb177910427b031dc80066 CPU threads: 12; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-08-26_09:43:29 Calc: threaded
I get this, too; but I get it for Writer documents.
Not just Calc documents. Seems to be a scan of all of the recently opened documents that are displayed in the StartCenter. Reproduced in LODev 7.3.0alpha when running in a lldb session : (lldb) target create "/Applications/LibreOfficeDev.app" Current executable set to '/Applications/LibreOfficeDev.app' (x86_64). (lldb) run Process 3526 launched: '/Applications/LibreOfficeDev.app/Contents/MacOS/soffice' (x86_64) 2021-08-30 10:56:17.471091+0200 soffice[3526:94460] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=3526 2021-08-30 10:56:17.471146+0200 soffice[3526:94460] SecTaskCopyDebugDescription: soffice[3526]/0#-1 LF=0 warn:sfx:3526:94460:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///Users/alex/Downloads/Example2Fields.odb> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22 warn:sfx:3526:94460:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///Users/alex/Downloads/relationship.odb> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22 warn:sfx:3526:94460:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///Users/alex/Downloads/testiconset.ods> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22 warn:sfx:3526:94460:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///Users/alex/Downloads/FPA/Report.ods> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22 warn:sfx:3526:94460:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///Users/alex/Downloads/ipdatabase_ODBC_local.odb> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22 warn:sfx:3526:94460:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///Users/alex/Downloads/test(2).odb> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22 warn:sfx:3526:94460:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///Users/alex/Downloads/form%20creation%20test.odb> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22 warn:sfx:3526:94460:sfx2/source/control/recentdocsview.cxx:90: caught exception trying to find out if doc <file:///Users/alex/Library/Application%20Support/LibreOfficeDev/4/user/temp/Tasks.odt> is encrypted: com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred during file opening Code: 22
*** Bug 159153 has been marked as a duplicate of this bug. ***
Error code 22 is defined in file.hxx and is either: E_INVAL = osl_File_E_INVAL, ///< invalid argument to library function E_NFILE = osl_File_E_NFILE, ///< too many distinct file openings https://opengrok.libreoffice.org/xref/core/include/osl/file.hxx?r=e1a351ca#56 (I think it's likely the latter if enum starts at 1)