maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [SOLVED - this time for real] [Help] Documents Viewer Malfunctioning (https://talk.maemo.org/showthread.php?t=87187)

thedead1440 2012-10-04 03:36

Re: [Help] Documents Viewer Malfunctioning
 
One more update I did the following:

Code:

/usr/bin/office-tools -quickviewer /path/to/xlsx/file
The splash screen with the loading bar appeared and disappeared but the following was the error I got:

Code:

ApplicationService::ApplicationService(const QString&, const QString&, QObject*)
QApplication::removeTranslator: Please instantiate the QApplication object first
QApplication::removeTranslator: Please instantiate the QApplication object first
QApplication::installTranslator: Please instantiate the QApplication object first
QApplication::installTranslator: Please instantiate the QApplication object first
QApplication::installTranslator: Please instantiate the QApplication object first
Segmentation fault

What does the seg fault in this instance mean with relation to the viewer?


Running the same with using the invoker commands as ajalkane mentioned above gave the same seg fault error with syslog having:

Code:

Oct  4 11:37:28 (2012) invoker[14525]: error: Can't send signal 11 to application [14396]: No such process

ajalkane 2012-10-04 05:38

Re: [Help] Documents Viewer Malfunctioning
 
Quote:

Originally Posted by thedead1440 (Post 1276095)
One more update I did the following:

Code:

/usr/bin/office-tools -quickviewer /path/to/xlsx/file
The splash screen with the loading bar appeared and disappeared but the following was the error I got:

Code:

ApplicationService::ApplicationService(const QString&, const QString&, QObject*)
QApplication::removeTranslator: Please instantiate the QApplication object first
QApplication::removeTranslator: Please instantiate the QApplication object first
QApplication::installTranslator: Please instantiate the QApplication object first
QApplication::installTranslator: Please instantiate the QApplication object first
QApplication::installTranslator: Please instantiate the QApplication object first
Segmentation fault

What does the seg fault in this instance mean with relation to the viewer?


Running the same with using the invoker commands as ajalkane mentioned above gave the same seg fault error with syslog having:

Code:

Oct  4 11:37:28 (2012) invoker[14525]: error: Can't send signal 11 to application [14396]: No such process

Seg fault means the viewer crashed. You can try reinstalling the viewer, but most likely it has a bug and just can't open that document.

The signal you don't need to care about. It comes as the process crashed, so it doesn't exist anymore.

Missing testability library is not the cause of this. The library is only used somehow for debug logging.

thedead1440 2012-10-04 10:16

Re: [Help] Documents Viewer Malfunctioning
 
Quote:

Originally Posted by ajalkane (Post 1276121)
Seg fault means the viewer crashed. You can try reinstalling the viewer, but most likely it has a bug and just can't open that document.

The signal you don't need to care about. It comes as the process crashed, so it doesn't exist anymore.

Missing testability library is not the cause of this. The library is only used somehow for debug logging.

That's exactly the problem sadly :(

Re-installing office-tools, which contains quickviewer, doesn't help...I'd done a re-installation of libkok. office-tools, calligrameego, calligra-kchart in the very beginning and since didn't work out I posted a thread...

Starting to think a flash maybe the only way out (however, i don't see what it fixes that re-installation doesn't)...Will first have to do a proper rootfs and userfs backup then restore selectively...A whole day over the weekend has to now be kept aside for this :o

javispedro 2012-10-04 10:59

Re: [Help] Documents Viewer Malfunctioning
 
Quote:

Originally Posted by thedead1440 (Post 1276191)
Starting to think a flash maybe the only way out (however, i don't see what it fixes that re-installation doesn't)...

Everything? Reinstalling is for most of Maemo's packages a total NOP. It will just unpack the files again, which will do nothing _unless_ they have mysteriously corrupted -- and this happens virtually never, unless you intentionally do it and then ignore Aegis' complains.

Reflashing on the other hand deletes all of the configuration, settings, and other leftover files. Even if you restore thereafter not all files necessarily come back.

thedead1440 2012-10-04 11:16

Re: [Help] Documents Viewer Malfunctioning
 
Yes sir!

I just am not able to comprehend how it has messed up when everything else on my phone with the mods and tweaks work flawlessly...


Anyway do you have an idea of what other package/lib's reinstallation have a chance of fixing this up?

Thanks :D

thedead1440 2012-10-04 16:51

Re: [Help] Documents Viewer Malfunctioning
 
One last update before I reflash tomorrow or over the weekend:

I did:

Code:

dpkg --remove --force-remove-reinstreq office-tools
dpkg --remove --force-remove-reinstreq calligra-kchart
dpkg --remove --force-remove-reinstreq calligrameego

Ofcourse only after unlocking via N9QTweak Tweak QQ...

I then did a reboot and did a re-install of office-tools which installed all 3 packages and still no difference...

So it means a reflash then is the only option...

ajalkane 2012-10-04 16:55

Re: [Help] Documents Viewer Malfunctioning
 
Quote:

Originally Posted by thedead1440 (Post 1276418)
So it means a reflash then is the only option...

Are you sure those documents work on any N9? It's not like those office suites were not without bugs...

thedead1440 2012-10-04 16:59

Re: [Help] Documents Viewer Malfunctioning
 
I have over 40 xlsx and docx files and none of them open...xls and doc work fine...

Also I haven't flashed my n9 since pr1.3 was released so all this while at least half of those files have been opened at least once and never had any such issue...

To test it out I just transferred a test.docx over and that too didn't open so surely the files are ok...


Edit: Oops read your question wrongly; yup those files open as there are 3 xlsx files that are update weekly and I read them usually without any issues...The last 2 weeks I haven't read them on my phone and when I read them this week I faced this issue...

thedead1440 2012-10-04 17:06

Re: [Help] Documents Viewer Malfunctioning
 
Anyway now that farfary has created the a brilliant script called BackN9 to do a auto-backup of all packages that are installed in the device I think the pain is greatly reduced of re-flashing; the re-installation of apps has always wasted a lot of time even thought I don't use even half of them :D

javispedro 2012-10-05 08:59

Re: [Help] Documents Viewer Malfunctioning
 
Quote:

Originally Posted by thedead1440 (Post 1276224)
Anyway do you have an idea of what other package/lib's reinstallation have a chance of fixing this up?

As I said, reinstallation is a total NOP. A no-operation. In most occasions it never fixes anything

(Exceptions: downgrading packages, NAND corruption --virtually 0% probability)


All times are GMT. The time now is 13:16.

vBulletin® Version 3.8.8