Re: Fw: [pear-webmaster] Error 404 - document not found for UnicodeNormalizer
| From: | Michel Corne | Date: | Tue, 24 Jul 2007 07:13:06 +0000 |
| Subject: | Re: Fw: [pear-webmaster] Error 404 - document not found for UnicodeNormalizer | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-5992@lists.php.net to get a copy of this message | ||
Hi Martin
Thanks for getting back to me. It does work for me btw.
Here is what I think is happening (please, correct me if I am wrong). The package needs data stored
in very large PHP array in the data directory. I suspect that PHPDocumentor crashes as it tries to
tokenize them. I have had the same issues with the validator (and also PhPUnit with Xdebug). So that
is why I have to move those files in the data directory during the PEAR install process. I would
recommend that during the doc generation process, you either exclude files larger that 100KB for
example, or exclude the data directory. You should probably also exclude the tests directory btw.
Makes sense?
MC
----- Original Message ----
From: Martin Jansen <martin@divbyzero.net>
To: Michel Corne <mcorne@yahoo.com>
Cc: pear-webmaster@lists.php.net
Sent: Tuesday, July 24, 2007 8:38:31 AM
Subject: Re: Fw: [pear-webmaster] Error 404 - document not found for UnicodeNormalizer
On Tue Jul 24, 2007 at 08:3258AM +0200, Martin Jansen wrote:
> On Mon Jul 23, 2007 at 03:5144PM +0200, Martin Jansen wrote:
> > On Mon Jul 23, 2007 at 12:3538AM -0700, Michel Corne wrote:
> > > > The requested document /package/I18N_UnicodeNormalizer/docs/latest/ was not
> > > > found on this
> > > server.
> >
> > phpDocumentor fails:
> >
> > Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to
> > allocate 35 bytes) in
> > /usr/local/lib/php/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc
> > on line 259
>
> FWIW, I upgraded phpDocumentor to the recently released version 1.4.0
> and have re-schedulded the build process for I18N_UnicodeNormalizer
> 1.0.0 RC3. I'll report back if this leads to success.
No luck. It still fails because I18N_UnicodeNormalizer tricks
phpDocumentor into consuming more than 256 MB of memory.
Michel, have you tried running phpDocumentor on the source code
yourself? Does it work for you? Anyone else?
- Martin
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7