Home  |  Linux  | Mysql  | PHP  | XML
From:Whiteg Weng Date:Sat Apr 14 08:36:53 2007
Subject:Re: Changing kwiki2 theme bombs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The problem seems existing.
After svn up and kwiki -update
The error message as below, also available at http:// 
photozone.blogdns.org/kwiki/:

Software error:

Template Toolkit error:
file error - theme_screen.html: not found at lib/Spoon/Template.pm  
line 40.

For help, please send mail to the webmaster (you@example.com), giving  
this error message and the time and date of the error.
Content-type: text/html
Software error:

[Sat Apr 14 22:34:56 2007] index.cgi: Template Toolkit error:
[Sat Apr 14 22:34:56 2007] index.cgi: file error - theme_screen.html:  
not found at lib/Spoon/Template.pm line 40.
  at lib/Spoon/Base.pm line 89
	Spoon::Base::__ANON__('[Sat Apr 14 22:34:56 2007] index.cgi:  
Template Toolkit error:...') called at /System/Library/Perl/5.8.6/CGI/ 
Carp.pm line 314
	CGI::Carp::realdie('[Sat Apr 14 22:34:56 2007] index.cgi: Template  
Toolkit error:...') called at /System/Library/Perl/5.8.6/CGI/Carp.pm  
line 400
	CGI::Carp::die('Template Toolkit error:\x{a}file error -  
theme_screen.html: not f...') called at lib/Spoon/Template.pm line 40
	Spoon::Template::render('Spoon::Template=HASH(0x1a03520)',  
'theme_screen.html', 'images_class', 'Kwiki::Images', 'css_class',  
'Kwiki::CSS', 'template_class', 'Spoon::Template',  
'formatter_class', ...) called at lib/Spoon/Template.pm line 27
	Spoon::Template::process('Spoon::Template=HASH(0x1a03520)',  
'theme_screen.html', 'self', 'Kwiki::Display=HASH(0x192eb38)',  
'page_uri', 'HomePage', 'page_title', 'HomePage', 'action', ...)  
called at lib/Kwiki/Plugin.pm line 59
	Kwiki::Plugin::template_process('Kwiki::Display=HASH(0x192eb38)',  
'theme_screen.html', 'content_pane', 'display_content.html',  
'screen_title', 'HomePage', 'page_html', '<h3>Welcome to Your New  
Kwiki!</h3>\x{a}<p>\x{a}You have successfully...') called at lib/ 
Kwiki/Plugin.pm line 49
	Kwiki::Plugin::render_screen('Kwiki::Display=HASH(0x192eb38)',  
'screen_title', 'HomePage', 'page_html', '<h3>Welcome to Your New  
Kwiki!</h3>\x{a}<p>\x{a}You have successfully...') called at lib/ 
Kwiki/Display.pm line 56
	Kwiki::Display::display('Kwiki::Display=HASH(0x192eb38)') called at  
lib/Spoon/Hub.pm line 42
	Spoon::Hub::process('Kwiki::Hub=HASH(0x189bc7c)') called at lib/ 
Kwiki.pm line 12
	Kwiki::process('Kwiki=HASH(0x18587ac)') called at /Users/mikeliu/ 
mykwiki/index.cgi line 4

For help, please send mail to the webmaster (you@example.com), giving  
this error message and the time and date of the error.




On Apr 13, 2007, at 7:01 AM, Ingy dot Net wrote:

> I fixed this earlier this morning. Sorry for the trouble. This was  
> from a
> botched patch that I made a couple weeks ago. `kwiki -update` was not
> recreating the index.cgi if it was deleted. However I went to far.  
> It's all
> good now I think.
>
> This is a regression that points out how badly we need tests. Tests  
> coming
> soon...
>
> Cheers, Ingy
>
> On 12/04/07 17:16 +0300, Ilmari Vacklin wrote:
>> After changing the theme in the plugins file, running kwiki -start  
>> bombs
>> out with what looks to be a TT error, which is attached, and also
>> available at http://sial.org/pbot/24162.
>>
>> Thanks,
>> -- 
>> Ilmari Vacklin
>> ilmari.vacklin@helsinki.fi
>
>> HTTP::Server::Simple: You can connect to your server at http:// 
>> localhost:8080/
>> [Thu Apr 12 17:05:35 2007] kwiki: Template Toolkit error:
>> [Thu Apr 12 17:05:35 2007] kwiki: file error - theme_screen.html:  
>> not found at /usr/share/perl/5.8/CGI/Carp.pm line 314.
>> [Thu Apr 12 17:05:35 2007] kwiki:  at /home/wolverian/Projects/ 
>> kwiki/lib/Spoon/Base.pm line 89
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Base::__ANON__('Template  
>> Toolkit error:\x{a}file error - theme_screen.html: not f...')  
>> called at /usr/share/perl/5.8/CGI/Carp.pm line 314
>> [Thu Apr 12 17:05:35 2007] kwiki: 	CGI::Carp::realdie('Template  
>> Toolkit error:\x{a}file error - theme_screen.html: not f...')  
>> called at /usr/share/perl/5.8/CGI/Carp.pm line 385
>> [Thu Apr 12 17:05:35 2007] kwiki: 	CGI::Carp::die('Template  
>> Toolkit error:\x{a}file error - theme_screen.html: not f...')  
>> called at lib/Spoon/Template.pm line 40
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Template::render 
>> ('Spoon::Template=HASH(0x89c58bc)', 'theme_screen.html',  
>> 'images_class', 'Kwiki::Images', 'css_class', 'Kwiki::CSS',  
>> 'template_class', 'Spoon::Template', 'formatter_class', ...)  
>> called at lib/Spoon/Template.pm line 27
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Template::process 
>> ('Spoon::Template=HASH(0x89c58bc)', 'theme_screen.html', 'self',  
>> 'Kwiki::Display=HASH(0x87c3fa0)', 'page_uri', 'HomePage',  
>> 'page_title', 'HomePage', 'action', ...) called at /home/wolverian/ 
>> Projects/kwiki/lib/Kwiki/Plugin.pm line 59
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Kwiki::Plugin::template_process 
>> ('Kwiki::Display=HASH(0x87c3fa0)', 'theme_screen.html',  
>> 'content_pane', 'display_content.html', 'screen_title',  
>> 'HomePage', 'page_html', '<h3>Welcome to Your New Kwiki!</h3>
>> [Thu Apr 12 17:05:35 2007] kwiki: <p>
>> [Thu Apr 12 17:05:35 2007] kwiki: You have successfully...')  
>> called at /home/wolverian/Projects/kwiki/lib/Kwiki/Plugin.pm line 49
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Kwiki::Plugin::render_screen 
>> ('Kwiki::Display=HASH(0x87c3fa0)', 'screen_title', 'HomePage',  
>> 'page_html', '<h3>Welcome to Your New Kwiki!</h3>
>> [Thu Apr 12 17:05:35 2007] kwiki: <p>
>> [Thu Apr 12 17:05:35 2007] kwiki: You have successfully...')  
>> called at lib/Kwiki/Display.pm line 56
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Kwiki::Display::display 
>> ('Kwiki::Display=HASH(0x87c3fa0)') called at /home/wolverian/ 
>> Projects/kwiki/lib/Spoon/Hub.pm line 42
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Hub::process 
>> ('Kwiki::Hub=HASH(0x873d4a0)') called at /home/wolverian/Projects/ 
>> kwiki/lib/Kwiki.pm line 12
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Kwiki::process('Kwiki=HASH 
>> (0x873cb88)') called at /home/wolverian/Projects/kwiki/lib/HTTP/ 
>> Server/Simple/Kwiki.pm line 23
>> [Thu Apr 12 17:05:35 2007] kwiki: 	 
>> HTTP::Server::Simple::Kwiki::handle_request 
>> ('HTTP::Server::Simple::Kwiki=HASH(0x86fc820)', 'CGI=HASH 
>> (0x8516ba0)') called at lib/HTTP/Server/Simple/CGI.pm line 92
>> [Thu Apr 12 17:05:35 2007] kwiki: 	eval {...} called at lib/HTTP/ 
>> Server/Simple/CGI.pm line 92
>> [Thu Apr 12 17:05:35 2007] kwiki: 	 
>> HTTP::Server::Simple::CGI::handler 
>> ('HTTP::Server::Simple::Kwiki=HASH(0x86fc820)') called at lib/HTTP/ 
>> Server/Simple.pm line 334
>> [Thu Apr 12 17:05:35 2007] kwiki: 	HTTP::Server::Simple::__ANON__ 
>> ('HTTP::Server::Simple::Kwiki::NetServer0') called at lib/HTTP/ 
>> Server/Simple.pm line 269
>> [Thu Apr 12 17:05:35 2007] kwiki: 	HTTP::Server::Simple::__ANON__ 
>> ('HTTP::Server::Simple::Kwiki::NetServer0', 'port', 8080) called  
>> at lib/HTTP/Server/Simple.pm line 233
>> [Thu Apr 12 17:05:35 2007] kwiki: 	HTTP::Server::Simple::run 
>> ('HTTP::Server::Simple::Kwiki=HASH(0x86fc820)') called at /home/ 
>> wolverian/Projects/kwiki/lib/Kwiki/Simple/Server/HTTP.pm line 20
>> [Thu Apr 12 17:05:35 2007] kwiki: 	 
>> Kwiki::Simple::Server::HTTP::handle_start 
>> ('Kwiki::Simple::Server::HTTP=HASH(0x84f1468)', 8080) called at / 
>> home/wolverian/Projects/kwiki/lib/Spoon/Command.pm line 32
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Command::__ANON__(8080)  
>> called at /home/wolverian/Projects/kwiki/lib/Spoon/Command.pm line 14
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Command::process 
>> ('Kwiki::Command::V1=HASH(0x849d95c)', '-start', 8080) called at / 
>> home/wolverian/Projects/kwiki/bin/kwiki line 57
>> [Thu Apr 12 17:05:35 2007] kwiki: Not a GLOB reference at lib/IO/ 
>> Capture/Tie_STDx.pm line 26.
>> [Thu Apr 12 17:05:35 2007] kwiki:  at /home/wolverian/Projects/ 
>> kwiki/lib/Spoon/Base.pm line 89
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Base::__ANON__('Not a  
>> GLOB reference at lib/IO/Capture/Tie_STDx.pm line 26.\x{a}')  
>> called at lib/IO/Capture/Tie_STDx.pm line 26
>> [Thu Apr 12 17:05:35 2007] kwiki: 	IO::Capture::Tie_STDx::CLOSE 
>> ('IO::Capture::Tie_STDx=ARRAY(0x873d590)') called at lib/HTTP/ 
>> Server/Simple.pm line 270
>> [Thu Apr 12 17:05:35 2007] kwiki: 	HTTP::Server::Simple::__ANON__ 
>> ('HTTP::Server::Simple::Kwiki::NetServer0', 'port', 8080) called  
>> at lib/HTTP/Server/Simple.pm line 233
>> [Thu Apr 12 17:05:35 2007] kwiki: 	HTTP::Server::Simple::run 
>> ('HTTP::Server::Simple::Kwiki=HASH(0x86fc820)') called at /home/ 
>> wolverian/Projects/kwiki/lib/Kwiki/Simple/Server/HTTP.pm line 20
>> [Thu Apr 12 17:05:35 2007] kwiki: 	 
>> Kwiki::Simple::Server::HTTP::handle_start 
>> ('Kwiki::Simple::Server::HTTP=HASH(0x84f1468)', 8080) called at / 
>> home/wolverian/Projects/kwiki/lib/Spoon/Command.pm line 32
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Command::__ANON__(8080)  
>> called at /home/wolverian/Projects/kwiki/lib/Spoon/Command.pm line 14
>> [Thu Apr 12 17:05:35 2007] kwiki: 	Spoon::Command::process 
>> ('Kwiki::Command::V1=HASH(0x849d95c)', '-start', 8080) called at / 
>> home/wolverian/Projects/kwiki/bin/kwiki line 57
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGIOcFPvPF0x4hKEYRAn4rAKCk1oUG6bXGpF8E84qUQQd59lSpEgCZAU1N
GnpnE443XZlEDABZW3Zh0PY=
=xwcS
-----END PGP SIGNATURE-----
Navigate in group perl.kwiki at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants