pdf as background fails to work (Nokia 770)
Brought to you by:
andreasb123,
auroux
I've tried xournal 0.3.1 on a Nokia 770, OS 2006. I was especially
interested in the feature to use a pdf as background, such that I could
annotate it.
Unfortunately this failed either in converting the pdf to ppm, indicating
an error message that it cannot convert. Or for a few seconds an
indication was shown that the file was going to be converted. Then the
indication disappeared, but still the pdf did not show up as
background.
you can contact me at thomas dot deiss at imail dot de
(thanks for the fine work anyway)
Logged In: YES
user_id=1482965
This sounds like an issue with the Nokia 770 environment, or
with the Nokia 770 port. As a general rule, xpdf (more
precisely, its component pdftoppm) is required in order for
PDF backgrounds to be operational. Please check that xpdf is
installed, and if it is, please contact the author of the
Nokia 770 port you are using.
Logged In: YES
user_id=1388233
The problem is xournal uses /tmp to create a temporary
directory where it stores a copy of the chosen pdf and calls
pdftoppm to convert each page of the document before loading
them as background. Taking a quick look at the device
partition table:
Nokia770-26:~# df -h
Filesystem Size Used Available Use%
Mounted on
/dev/mtdblock4 2.0M 2.0M 0 100%
/mnt/initfs
none 512.0k 28.0k 484.0k 5%
/mnt/initfs/tmp
/dev/mtdblock4 123.5M 87.0M 36.5M 70% /
none 512.0k 28.0k 484.0k 5% /tmp
none 1.0M 44.0k 980.0k 4% /dev
/dev/mmcblk0p1 60.9M 32.1M 28.8M 53%
/media/mmc1
So, I realised that 484 KB in /tmp were not enough for our
needs. Just changed the directory to /home/user/.xournal/
and got this issue fixed. Thanks for reporting.