Repository Upload Problem


streak

Active Member
Joined
Jul 29, 2007
Messages
690
Age
42
Location
Poland & UK // Currently: Ipswich
Website
www.openpandora.pl
Hiya

I have a little problem with repository [repo.openpandora.org] upload. It seems that after trying uploading a valid PND file, server returns some errors:

for example: uploading this file -> http://ompldr.org/vOWR3Nw/nagaina.pnd

causes server to:

Fatal error: Uncaught exception 'ImagickException' with message 'no decode delegate for this image format `/tmp/magick-XXrwPpgJ' @ error/constitute.c/ReadImage/533' in /srv/www/vhosts/repo.openpandora.org/httpdocs/includes/class/preview_pic_save.php:60 Stack trace: #0 /srv/www/vhosts/repo.openpandora.org/httpdocs/includes/class/preview_pic_save.php(60): Imagick->pingimage('./temp/c4543925...') #1 /srv/www/vhosts/repo.openpandora.org/httpdocs/includes/get_pnd.php(368): preview_pic_save->save_pics() #2 /srv/www/vhosts/repo.openpandora.org/httpdocs/index.php(213): include('/srv/www/vhosts...') #3 {main} thrown in /srv/www/vhosts/repo.openpandora.org/httpdocs/includes/class/preview_pic_save.php on line 60

i figured out that image - preview [pre.png inside PND file] causes it. I tried upload it with *.jpg instead of *.png but without a luck. Server still crashes

btw. PND file and preview works on openpandora via MiniMenu..

cheers
StreaK
 
Oh, skeezix had a similar problem. Hope there isn't something broken.
 
Did you package as an iso or as squashfs?
Milkshake said, that there could be a problem with isos atm.
So try to package as squashfs and try again.

Also you might want to join IRC. There you can ask yourself and find many helpful people.

#openpandora on FreeNode
 
About your pnds: What website is openpandora.pl ? Nothing pandorarelated, I suppose...
Also, do you use a <package> tag?
 
mcobit said:
About your pnds: What website is openpandora.pl ? Nothing pandorarelated, I suppose...
Also, do you use a <package> tag?


Yeah. OpenPandora.pl was my old pandora domain. Now someone else has this domain. I'll upload new files to repo with my corrected webpage: http://pnd.to/4floor
Yes im using package tag.
 
Last edited by a moderator:
And I would really suggest to use squashfs for your pnds. There is a windowsversion, too (you need 4.0).
Benefit is, that previewpics and everything else is working, you save space and the performancehit is minimal.
 
mcobit said:
There is a windowsversion, too (you need 4.0).
I even made a context menu installer to be even easier.
Extract to "C:\pndtools" (or extract wherever you want and change the install.reg file accordingly) and then right click and install the install.reg
From then on, right clicking a PND will provide an "Extract PND" which will create a directory of the same name and dump files into it, and right clicking a directory will give a "Build PND" option. You'll only be able to build a PND if there's a PXML.XML file in the directory.
 
Last edited by a moderator:
WizardStan said:
mcobit said:
There is a windowsversion, too (you need 4.0).
I even made a context menu installer to be even easier.
Extract to "C:\pndtools" (or extract wherever you want and change the install.reg file accordingly) and then right click and install the install.reg
From then on, right clicking a PND will provide an "Extract PND" which will create a directory of the same name and dump files into it, and right clicking a directory will give a "Build PND" option. You'll only be able to build a PND if there's a PXML.XML file in the directory.


The problem is: all windows-based tools with GUI-* for making PND dont work properly on WINE [PNDTools / PND making proggy done in GLBasic..]. Only my PND Builder works as expected. BTW. I hate using CLI programs in linux :/
 
Last edited by a moderator:
Ok, but really it is just one line of code to build a pnd in linux. Grap pnd_make.sh and have a go.
 
Back
Top