[Clipart] cchost

Roan Horning roan at horning.us
Tue Aug 22 04:52:42 PDT 2006

Nicu Buculei (OCAL) wrote:
> Jon Phillips wrote:
>> On Mon, 2006-08-21 at 09:39 +0300, Nicu Buculei (OCAL) wrote:
>>> Jon Phillips wrote:
>>>> I updated cchost to the latest on svn along with Roan's SVG patch for
>>>> getid3...
>>> Tried to upload a SVG but got this error:
>>> "/srv/clipart.freedesktop.org/clipart_web/cchost/cclib/cc-uploadapi.php"(1207):
>>> move_uploaded_file(/srv/clipart.freedesktop.org/clipart_web/cchost/people/cch_nicubunu_62de4d58.svg):
>>> failed to open stream: Permission denied [2006-08-20 23:36
>>> pm][213.233.xx.yy][/cchost/?ccm=/media/submit/samples]
>> Oops...I had to apply the acl to everything in that folder...try it
>> now...
> Wow! It gets better:
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 16349 bytes) in
> /srv/clipart.freedesktop.org/clipart_web/cchost/cclib/phptal/phptal_cache/tpl_0_7_0_ff12cf958dea767b99767e0e0c9921e7.php
> on line 781

I think this error is resulting from the way the svg file is parsed.
The library I use parses the whole file into an object which is a tree
structure.  I've run into this when trying to load large svg files or
when using the browse demo provided by getid3.  When viewing a directory
full of svg files using the browse demo, I get the same error.  Looking
at a directory will only a couple of svg files works okay.  I'm looking
at options for fixing this.



More information about the clipart mailing list