View Single Post
Old 05-02-2008, 05:38 PM   #45
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by rmanasa View Post
Thanks for the consideration, Nick. I don't know why everyone says you're so mean.
Hersay!

Quote:
I extracted the pdftoppm program from your link, set it up as best I can, changed one default parameter
OK now this forewarns me that something bad is going to happen...

Quote:
- so it would create a pgm file instead of a ppm file
the '-gray' switch should take care of that, I think.

Quote:
- and gave it a go. That might be the source of subsequent problems with pi-exe, but it didn't prevent pdftoppm from doing it's thing.

The program created 52 pgm files from the pdf I'm using for testing purposes. While that's a lot, it's the one type of pdf I know I'm gonna need to convert monthly, so I figured I'd see what happened.

Took one of those 52 files, and did the "pi X.pgm Y" thing,
you did mean 'pi X.pgm Y.pgm'?

Quote:
which produced the following messages:

C:\Documents and Settings\Rick\My Documents\Unzipped\pi-exe\pi> pi CT0408-000001 .pgm ct0408-01
6 [main] pi 1832 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1524 [main] pi 1832 open_stackdumpfile: Dumping stack trace to pi.exe.stackdump
1029497 [main] pi 1832 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1062966 [main] pi 1832 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
Yes, this is what is referred to in this thread as a segmentation fault. It basically is the program's way of crashing.

Quote:
The stackdump file look slike this:

Exception: STATUS_ACCESS_VIOLATION at eip=004014C5
eax=000000FF ebx=0000002B ecx=7FF13198 edx=00000262 esi=00000004 edi=0066423C
ebp=0023CC38 esp=0023CC20 program=C:\Documents and Settings\Rick\My Documents\Unzipped\pi-exe\pi\pi.exe, pid 3676, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0023CC38 004014C5 (00661350, 00660210, 00000000, 000006D9)
0023CCB8 004026CD (00000003, 006601A8, 00660090, 610BEEB7)
0023CD98 610060D8 (00000000, 0023CDD0, 61005450, 0023CDD0)
61005450 61004416 (0000009C, A02404C7, E8611021, FFFFFF48)
1314401 [main] pi 3676 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1356063 [main] pi 3676 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
All this means is that the .pdf is too low in resolution, or has a non-white background, or the 'white-gaps' between lines are not easily detectable. In otherwords, your .pdf cannot be converted by version 0.1 "as is".

Quote:
As far as I know, I'm not using the 0.2 version, that you cautioned about (though who knows? Anything's possible wit Da Idiot in Da House.)

Looking forward to your reply. Thank you!
Yes, you don't have version 0.2 as no-one has that one working yet!

Last edited by nrapallo; 05-02-2008 at 05:44 PM.
nrapallo is offline   Reply With Quote