incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 121201] New: Extensions Update seems broken
Date Fri, 12 Oct 2012 07:18:39 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=121201

          Priority: P3
            Bug ID: 121201
          Assignee: ooo-issues@incubator.apache.org
           Summary: Extensions Update seems broken
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Reporter: arielch@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.1
         Component: code
           Product: framework

The Extensions Update seems to be broken, I couldn't detect a behavior pattern,
because it does not fail always, but in same cases it return a "Not found!"
error while trying to download the update.

You can try installing preview version 1.0.2 of the MySQL Driver from
http://code.google.com/a/apache-extras.org/p/aoo-my-sdbc/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount

The Extension Manager will try to upgrade the extension to version 1.1.0, but
will fail downloading the extension:

"Error while downloading extension MySQL Connector for Apache OpenOffice. The
error message is: Could not download
http://aoo-my-sdbc.apache-extras.org.codespot.com/files/aoo-my-sdbc-1.1.0-linux-x86-64.oxt.
Not found!
The extension will not be installed.

Error while installing extension MySQL Connector for Apache OpenOffice. The
extension will not be installed."


Setting a break point in dp_gui::UpdateInstallDialog::Thread::download()

around 

::ucbhelper::Content sourceContent;    
dp_misc::create_ucb_content( &sourceContent, sDownloadURL, m_updateCmdEnv.get()
);

step into dp_misc::create_ucb_content()
There you see that it re throws due to ucbContent.isFolder() throwing an
exception.

http_dav_ucp::SerfSession::HEAD throws an exception due to failure in
http_dav_ucp::SerfRequestProcessor::processHead() for header name "IsFolder";
note that outSerfStatus is 20014 (an internal error?), not NOT_FOUND.

I tried changing the code on dp_misc::create_ucb_content() from isFolder() to
isDocument() and it also fails.

Backtrace:
#0 http_dav_ucp::SerfSession::HandleError() at
/build/aoo/src/playground/trunk/main/ucb/source/ucp/webdav/SerfSession.cxx:1371
#1 http_dav_ucp::SerfSession::HEAD() at
/build/aoo/src/playground/trunk/main/ucb/source/ucp/webdav/SerfSession.cxx:690
#2 http_dav_ucp::DAVResourceAccess::HEAD() at
/build/aoo/src/playground/trunk/main/ucb/source/ucp/webdav/DAVResourceAccess.cxx:329
#3 http_dav_ucp::Content::getPropertyValues() at
/build/aoo/src/playground/trunk/main/ucb/source/ucp/webdav/webdavcontent.cxx:1348
#4 http_dav_ucp::Content::execute() at
/build/aoo/src/playground/trunk/main/ucb/source/ucp/webdav/webdavcontent.cxx:428
#5 ucbhelper::Content_Impl::executeCommand() at
/build/aoo/src/playground/trunk/main/ucbhelper/source/client/content.cxx:1866
#6 ucbhelper::Content::getPropertyValuesInterface() at
/build/aoo/src/playground/trunk/main/ucbhelper/source/client/content.cxx:679
#7 ucbhelper::Content::getPropertyValues() at
/build/aoo/src/playground/trunk/main/ucbhelper/source/client/content.cxx:616
#8 ucbhelper::Content::getPropertyValue() at
/build/aoo/src/playground/trunk/main/ucbhelper/source/client/content.cxx:566
#9 ucbhelper::Content::isDocument() at
/build/aoo/src/playground/trunk/main/ucbhelper/source/client/content.cxx:1614
#10 dp_misc::create_ucb_content() at
/build/aoo/src/playground/trunk/main/desktop/source/deployment/misc/dp_ucb.cxx:70
#11 dp_gui::UpdateInstallDialog::Thread::download() at
/build/aoo/src/playground/trunk/main/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx:621
#12 dp_gui::UpdateInstallDialog::Thread::downloadExtensions() at
/build/aoo/src/playground/trunk/main/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx:405
#13 dp_gui::UpdateInstallDialog::Thread::execute() at
/build/aoo/src/playground/trunk/main/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx:199
#14 dp_gui::Thread::run() at
/build/aoo/src/playground/trunk/main/desktop/source/deployment/gui/dp_gui_thread.cxx:66
#15 osl::threadFunc() at
/build/aoo/src/playground/trunk/main/solver/350/unxlngx6/inc/osl/thread.hxx:182
#16 osl_thread_start_Impl() at
/build/aoo/src/playground/trunk/main/sal/osl/unx/thread.c:265
#17 start_thread() at
/usr/src/debug/glibc-2.15-a316c1f/nptl/pthread_create.c:308
#18 clone() at
/usr/src/debug/glibc-2.15-a316c1f/sysdeps/unix/sysv/linux/x86_64/clone.S:114

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message