https://bugs.documentfoundation.org/show_bug.cgi?id=172972
Bug ID: 172972
Summary: Changes to WebDAV/HTTP UCP seems to prevent UNO
SimpleFileAccess Service from openFileRead on remote
URL
Product: LibreOffice
Version: 7.3.7.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Created attachment 207958
--> https://bugs.documentfoundation.org/attachment.cgi?id=207958&action=edit
Test spreadsheet that demonstrates the exception thrown by webdav-curl
UNO Service code accessing a raw remote webpage inside of LibreOffice Calc
Basic macro was working for 18 months. It is based on code at this URL:
https://www.google.com/search?q=libreoffice+calc+what+UNO+service+do+I+used+to+read+a+remote+web+page&client=opera&hs=IEI&sca_esv=2f8f76a28fa0a08e&sxsrf=APpeQnsI0m_BhWawr017RgY7HlidjVxC8Q%3A1785365567766&ei=P4RqasW2LqqB5OMPwvX08A0&biw=1693&bih=615&uact=5&sclient=gws-wiz-serp&udm=50&fbs=ABfTbFVyMZGZf1hfvX9uKjN_-G8c4u0nXx4bEIpwm1lnNH832UV2GkpKEK36HumGR10Evz0DE9hkPgm5pwJD6Y4g4gdUnrwTgnTiuY9xU8D56OFy27CWno0tmsB3TNHX8y-8cBcj9NEJapOKomqRyLG0NeYB48TKlPl-3BTtFoVamK7F0S_gV7G_TI02xC0sBDhBchs8Px36ZdR6TMrSvwuxatlKqnSsFg&aep=10&ntc=1&mstk=AUtExfC3dQ68TywcChpwjEPKUjmuAsd3QNh1cFRz8sTVYZECOROoIUJyvFUg7j9d7Zg0u9a8bcpVUBGzM9BlVWnEn60X-K1IrLf5quYrfB6J15gJ9jYeSj5x-fO5jv2sodfzdRvq9oP0xdviV9OKSgHhedhJHqKxNXrspbw&aioh=3&csuir=1&mtid=0YtqatGgNp7-ptQP1Z_wkQQ
As of last week, when I believe a LibreOffice update to 7.3.7.2 was downloaded
onto an Ubuntu/Mate 22.04 machine, the UNO "oTextStream =
oSimpleFileAccess.openFileRead( sURL )" function call returns an error pointing
to ./ucb/source/ucp/webdav-curl/webdavcontent.cxx:3696 as shown in the
following error message.
A error occurred in Function:UNO Service . openFileRead
Error Code: 1
Details: An exception occurred
Type: com.sun.star.ucb.InteractiveNetworkGeneralException
Message: ./ucb/source/ucp/webdav-curl/webdavcontent.cxx:3696.
I have tried a number of things with the code in the Basic macro and with the
LibreOffice settings to get the code working again but to no avail. From the
error message it seems that something has changed in webdav-curl which is
preventing the macro from accessing the web page as a file stream.
I will attach the test spreadsheet with the embedded macros.
Thank you for any help that you can provide.
--
You are receiving this mail because:
You are the assignee for the bug.