Fotokopierer on Volla at SFOS 4.5.0.19 doesn't save PDF file

As the title says…

All steps to create a PDF do work until it comes to ‘Export PDF’.
Then comes ‘error on creating a PDF file’.
In /home/defaultuser/Documents/Fotokopierer/
a file with a size of 15 byte is created with contents:

%PDF-1.3
%???

On Xperia 10 + SFOS 4.5.0.19 everything’s fine.

edit: What I tried on the Volla is to add the magic

[X-Sailjail]
Sandboxing=Disabled

into the desktop file in /usr/share/applications/, but this didn’t help.

Works on Volla at 4.4.0.72. The file get’s passed to the Documents app after being saved to the Fotokopierer Folder. Does the Documents app get opened with no content?

1 Like

Yes, on 4.4.0.72 it did work perfect. But now on 4.5.0.19 it saves only this what I wrote above and reports an error message. It doesn’t open anything, the PDF viewer does not try to launch. I checked with File Browser what Fotokopierer tried to save and found this written above, nothing else. It writes only 15 bytes and then reports the error. Only on Volla, the Sony (32 bit) works!

Did you try running it from a terminal? Or via ssh?

1 Like

Works on the GS5 & and volla 22 with 4.5.0.19.

This is the response when starting Fotokopierer from CLI:

Last login: Fri Apr 28 08:14:43 2023 from 192.168.0.25
,---
| Sailfish OS 4.5.0.19 (Struven ketju)
'---
[defaultuser@VollaPhone ~]$ harbour-fotokopierer
[D] unknown:0 - Using Wayland-EGL
library "libpq_cust.so" not found
[D] unknown:0 - Load document  "/home/defaultuser/Documents/Fotokopierer/2023_02_10-09_44_00/doc.json"
[D] unknown:0 - Document directory:  "/home/defaultuser/Documents/Fotokopierer/2023_02_10-09_44_00"
[D] unknown:0 - Document file:  "/home/defaultuser/Documents/Fotokopierer/2023_02_10-09_44_00/doc.json"
[D] unknown:0 - Load document  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/doc.json"
[D] unknown:0 - Document directory:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37"
[D] unknown:0 - Document file:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/doc.json"
[D] unknown:0 - Load document  "/home/defaultuser/Documents/Fotokopierer/2023_03_30-09_32_32/doc.json"
[D] unknown:0 - Use orig:  "/home/defaultuser/Documents/Fotokopierer/2023_02_10-09_44_00/2023_02_10-09_44_00-original.jpg"  result:  "/home/defaultuser/Documents/Fotokopierer/2023_02_10-09_44_00/2023_02_10-09_44_00-result.jpg"  thumb:  "/home/defaultuser/Documents/Fotokopierer/2023_02_10-09_44_00/2023_02_10-09_44_00-result-thumb.jpg"
[D] unknown:0 - Document directory:  "/home/defaultuser/Documents/Fotokopierer/2023_03_30-09_32_32"
[D] unknown:0 - Document file:  "/home/defaultuser/Documents/Fotokopierer/2023_03_30-09_32_32/doc.json"
[D] unknown:0 - Use orig:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_47_37-original.jpg"  result:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_47_37-result.jpg"  thumb:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_47_37-result-thumb.jpg"
[D] unknown:0 - Use orig:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_48_59-original.jpg"  result:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_48_59-result.jpg"  thumb:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_48_59-result-thumb.jpg"
[D] unknown:0 - Use orig:  "/home/defaultuser/Documents/Fotokopierer/2023_03_30-09_32_32/2023_03_30-09_32_32-original.jpg"  result:  "/home/defaultuser/Documents/Fotokopierer/2023_03_30-09_32_32/2023_03_30-09_32_32-result.jpg"  thumb:  "/home/defaultuser/Documents/Fotokopierer/2023_03_30-09_32_32/2023_03_30-09_32_32-result-thumb.jpg"
[D] unknown:0 - Use orig:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_50_06-original.jpg"  result:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_50_06-result.jpg"  thumb:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_50_06-result-thumb.jpg"
[D] unknown:0 - Use orig:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_51_06-original.jpg"  result:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_51_06-result.jpg"  thumb:  "/home/defaultuser/Documents/Fotokopierer/2023_03_21-16_47_37/2023_03_21-16_51_06-result-thumb.jpg"



A libpq_cust.so is missing. Can I install it manually?

Is alway missing, I think. I don’t think that’s the problem. With the app open in terminal, try taking a photo, crop, color, save and then post the output.

1 Like

It’s the same ‘Fehler beim Erstellen der pdf-Datei’ (Error on creating PDF file) when starting Fotokopierer by CLI, ignoring the errors and trying to use the app.

Get the previous version 0.4.5-1 from
https://openrepos.net/content/fifr/fotokopierer

2 Likes

Thanks @Ahtisilli , it was the latest 0.4.6 installed. With 0.4.5-1 everything is fine again.

1 Like