[jifty-devel] Jifty/Win, tons of WARN-messages in log
Richard Lippmann
horshack at lisa.franken.de
Tue Jul 25 10:37:40 EDT 2006
This patched helped to get rid of all these error. Now, the "beef" of
the messages comes:
==
ERROR - 404: user tried to get to \static\js\cssquery\cssQuery-standar
ERROR - 404: user tried to get to \static\js\behaviour.js
ERROR - 404: user tried to get to \static\js\scriptaculous\builder.js
ERROR - 404: user tried to get to \static\js\scriptaculous\effects.js
ERROR - 404: user tried to get to \static\js\scriptaculous\controls.js
ERROR - 404: user tried to get to \static\js\formatDate.js
ERROR - 404: user tried to get to \static\js\jifty.js
ERROR - 404: user tried to get to \static\js\jifty_utils.js
ERROR - 404: user tried to get to \static\js\jifty_smoothscroll.js
ERROR - 404: user tried to get to \static\js\calendar.js
ERROR - 404: user tried to get to \static\js\dom-drag.js
ERROR - 404: user tried to get to \static\js\halo.js
ERROR - 404: user tried to get to \static\js\combobox.js
ERROR - 404: user tried to get to \static\js\key_bindings.js
ERROR - 404: user tried to get to \static\js\context_menu.js
ERROR - 404: user tried to get to \static\js\bps_util.js
ERROR - 404: user tried to get to \static\js\rico.js
ERROR - 404: user tried to get to \static\js\yui\yahoo.js
ERROR - 404: user tried to get to \static\js\yui\dom.js
ERROR - 404: user tried to get to \static\js\yui\event.js
ERROR - 404: user tried to get to \static\js\yui\calendar.js
ERROR - 404: user tried to get to \static\js\app.js
ERROR - 404: user tried to get to \static\js\app_behaviour.js
ERROR - 404: user tried to get to \static\images\pony.jpg
==
This makes you know why the pony does not appear.
No, there is no strange path with whitespace in it: c:\temp\Customers
Greetings and thanks,
Richard
ISHIGAKI Kenichi schrieb:
> Richard Lippmann wrote on Tue, 25 Jul 2006 09:01:05 +0200:
>> Jifty/Win, when starting the server with "jifty server" I get tons of
>> warnings like this:
>>
>> WARN - Attempt to free unreferenced scalar: SV 0x3901f88, Perl
>> interpreter: 0x2243ac at C:/Perl/site/lib/YAML/Dumper.pm line 182.
>>
>> WARN - Attempt to free unreferenced scalar: SV 0x399e6ec, Perl
>> interpreter: 0x2243ac at C:/Perl/site/lib/YAML/Dumper.pm line 342.
>
> Install YAML::Syck and try this patch to silent warnings on Win32,
> though something might go wrong as commented below.
>
> Jifty::YAML.pm
> ===================================================================
> --- YAML.pm (revision 1651)
> +++ YAML.pm (working copy)
> @@ -25,8 +25,8 @@
> # XXX Force non-Syck Dump until it can handle dumping circular
> # references, which show up in halos while dumping component
> # arguments
> - require YAML;
> - *Dump = *YAML::Dump;
> + # require YAML;
> + *Dump = *YAML::Syck::Dump;
>
> *LoadFile = *YAML::Syck::LoadFile;
> *DumpFile = *YAML::Syck::DumpFile;
>
>> There is another strange thing: the pony does not appear although there
>> is a file C:\perl\site\lib\auto\Jifty\web\static\images\pony.jpg
>>
>> Instead I get:
>>
>> You said you wanted a pony. (Source http://hdl.loc.gov/loc.pnp/cph.3c13461)
>>
>> Maybe there is some path to inherit from somewhere and it's not
>> recognized in Windows.
>
> Haven't you "jifty app"ed in a path with white spaces (or special
> characters)? I'm using (rather testing) Jifty on Win32 too but I
> can see the pony without problem.
>
>> The application is veeeeery slow. Any hints?
>
> Using YAML::Syck (with above patch) helps a bit.
> And use *nix if you can. Your stress will be lessened more ;)
>
> Cheers,
>
> Kenichi
>
-------------- next part --------------
SPAM: (no report template found)
More information about the jifty-devel
mailing list