thawn/ttmp32gme

Works with 1 album but 2nd album no longer (Only OID 920 prints)

Bejoscha opened this issue · 4 comments

I'm using the latest verson 1.0.1 on Windows (ZIP file download) using either Firefox or Chrome (both show the same behavior).

I have no problems running the Upload / Album / Print routines when creating my first album.
However, the second album I add - even if the same files are used - causes issues. I can create the album and access it just fine with no errors, but using "print" never gets me onto the print-page. Similarily, if I select multiple albums on the album page,the "print selected" button also doesn't seem to do anything.

A bit more testing revealed, that I can only access the print page for the OID 920 (the first OID given by the system automatically). If I change album OIDs afterwards via EDIT, I can always only access the one wiht OID 920 for printing.

thawn commented

Hi @Bejoscha thank you very much for reporting this issue. I will try to reproduce this issue and get back to you.
Cheers,

Sure, if I can help you on my end with debugging, please let me know. BTW: is there a chance to get a bitmap output rather than a PDF? Would be easier for further customization in some other programs.

Hi, I have the exact same issue! First album works perfectly fine, second album gives this error message:

C:\Users\schultel\AppData\Local\Temp\par-736368756c74656c\cache-a4510f5e3d0ded3f9fda540c867798f620f27a1e\inc\lib\tttool.exe --dpi 800 --pixel-size 2  --code-dim 24 oid-code 921
tttool.exe: oid-921.png: openBinaryFile: permission denied (Permission denied)
[ERROR] Writing oid-921.png.. (Code 921, raw code 14104)

unhandled callback exception on event (/print, AnyEvent::HTTPD=HASH(0x9306ac8), AnyEvent::HTTPD::Request=HASH(0x93239e0)): Could not create oid file:  at TTMp32Gme/TttoolHandler.pm line 274.

Indeed manually changing the OID to 920 helps. Is there another fix for this problem already? Cheers!