[Okular-devel] [Bug 256033] New: okular reports errors on the console at inconvenient times

davidblunkett dav1dblunk3tt at hotmail.com
Thu Nov 4 11:27:21 CET 2010


https://bugs.kde.org/show_bug.cgi?id=256033

           Summary: okular reports errors on the console at inconvenient
                    times
           Product: okular
           Version: 0.10.4
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: dav1dblunk3tt at hotmail.com


Version:           0.10.4 (using KDE 4.4.4) 
OS:                Linux

Okular can report trivial errors at the console at inconvenient times. For
instance if I start okular from the command line in a shell thus: okular
myfile.pdf & and then compile the latex file myfile.tex file.pdf in absent for
a short period and okular files the screen with errors.

This is somewhat antisocial and make it impossible to read the Latex output.

Here is an example of the mess it produces:
? Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary 
Error: Couldn't read xref table 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
Error: PDF file is damaged - attempting to reconstruct xref table... 
Error: Couldn't find trailer dictionary 
Error: Couldn't read xref table 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
Error: PDF file is damaged - attempting to reconstruct xref table... 
Error: Couldn't find trailer dictionary 
Error: Couldn't read xref table 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
Error: PDF file is damaged - attempting to reconstruct xref table... 
Error: Couldn't find trailer dictionary 
Error: Couldn't read xref table 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
qokular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile"
and so on 



Reproducible: Always

Steps to Reproduce:
run okular from a shell in the background, compile so latex that removes the
target file and a screen full of nonse follows

Actual Results:  
? Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary 
Error: Couldn't read xref table 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
Error: PDF file is damaged - attempting to reconstruct xref table... 
Error: Couldn't find trailer dictionary 
Error: Couldn't read xref table 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
Error: PDF file is damaged - attempting to reconstruct xref table... 
Error: Couldn't find trailer dictionary 
Error: Couldn't read xref table 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
Error: PDF file is damaged - attempting to reconstruct xref table... 
Error: Couldn't find trailer dictionary 
Error: Couldn't read xref table 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
okular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 
qokular(7457)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"myfile" 


Expected Results:  
Nothing, okular should bear this temporary absence of the file with good grace
like kpdf and xdvi.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list