[Webware-discuss] AssertionError

2010-04-26 Thread Blaise Vogel
Hello,
I'm using for a long time Webware + cheetah, I have upgraded my Debian Squeeze 
yesterday, and now, I got an AssertionError on any template. Because, I don't 
understand where is the problem, I ask for a little help ;-)
To repeat the problem:
- Debian Squeeze
- Webware 1.0.2 or 1.1
- A simple .tmpl and cheetah compile test.tmpl

-- 
Blaise Vogel
Title: Error




Error

The site is having technical difficulties with this page. An error has
been logged, and the problem will be fixed as soon as possible. Sorry!

Traceback
/home/blaise/tmp/test.py

Traceback (most recent call last):
  File /home/blaise/prgm/Webware-1.1b1/WebKit/Application.py, line 624, in runTransaction [edit]
servlet = findServlet(trans)
  File /home/blaise/prgm/Webware-1.1b1/WebKit/URLParser.py, line 68, in findServletForTransaction [edit]
return self.parse(trans, trans.request().urlPath())
  File /home/blaise/prgm/Webware-1.1b1/WebKit/URLParser.py, line 312, in parse [edit]
return fpp.parse(trans, requestPath)
  File /home/blaise/prgm/Webware-1.1b1/WebKit/URLParser.py, line 422, in parse [edit]
return ServletFactoryManager.servletForFile(trans, name)
  File /home/blaise/prgm/Webware-1.1b1/WebKit/URLParser.py, line 845, in servletForFile [edit]
return factory.servletForTransaction(trans)
  File /home/blaise/prgm/Webware-1.1b1/WebKit/ServletFactory.py, line 236, in servletForTransaction [edit]
theClass = self.loadClass(transaction, path)
  File /home/blaise/prgm/Webware-1.1b1/WebKit/ServletFactory.py, line 375, in loadClass [edit]
assert issubclass(theClass, Servlet)
AssertionError

MiscInfo

filename/home/blaise/tmp/test.py
os.getcwd()/home/blaise/prgm/Webware-1.1b1/WebKit
sys.path['/home/blaise/prgm/Webware-1.1b1', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/pymodules/python2.5', '/usr/lib/pymodules/python2.5/gtk-2.0', '/home/blaise/prgm/Webware-1.1b1/WebKit/Cache/PSP']
sys.version2.5.5 (r255:77872, Feb  2 2010, 00:25:47) 
[GCC 4.4.3]
timeMon Apr 26 07:34:33 2010

Transaction

AttributeValue
applicationWebKit.Application.Application object at 0x4809a210
requestWebKit.HTTPRequest.HTTPRequest object at 0x48c25cf0
responseWebKit.HTTPResponse.HTTPResponse object at 0x48c25c30
servletNone
sessionNone

Application

AttributeValue
contexts
Admin/home/blaise/prgm/Webware-1.1b1/WebKit/Admin
CGIWrapper/Docs/home/blaise/prgm/Webware-1.1b1/CGIWrapper/Docs
Docs/home/blaise/prgm/Webware-1.1b1/Docs
Examples/home/blaise/prgm/Webware-1.1b1/WebKit/Examples
MKBrowser/home/blaise/prgm/Webware-1.1b1/MiddleKit/WebBrowser
MiddleKit/Docs/home/blaise/prgm/Webware-1.1b1/MiddleKit/Docs
MiscUtils/Docs/home/blaise/prgm/Webware-1.1b1/MiscUtils/Docs
PSP/Docs/home/blaise/prgm/Webware-1.1b1/PSP/Docs
PSP/Examples/home/blaise/prgm/Webware-1.1b1/PSP/Examples
TaskKit/Docs/home/blaise/prgm/Webware-1.1b1/TaskKit/Docs
Testing/home/blaise/prgm/Webware-1.1b1/WebKit/Testing
UserKit/Docs/home/blaise/prgm/Webware-1.1b1/UserKit/Docs
WebKit/Docs/home/blaise/prgm/Webware-1.1b1/WebKit/Docs
WebUtils/Docs/home/blaise/prgm/Webware-1.1b1/WebUtils/Docs
default/home/blaise/tmp

serverSidePath'/home/blaise/prgm/Webware-1.1b1/WebKit'
webwarePath'/home/blaise/prgm/Webware-1.1b1'
webwareVersion(1, 1, 0, 'b1')

HTTPRequest

AttributeValue
adapterName''
args
cookies
environ
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/html, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8
HTTP_ACCEPT_CHARSETISO-8859-1, utf-8;q=0.7, *;q=0.7
HTTP_ACCEPT_ENCODINGgzip, deflate
HTTP_ACCEPT_LANGUAGEfr, fr-fr;q=0.8, en-us;q=0.5, en;q=0.3
HTTP_CONNECTIONkeep-alive
HTTP_HOSTlocalhost:8080
HTTP_KEEP_ALIVE300
HTTP_USER_AGENTMozilla/5.0 (X11; U; Linux ppc; fr; rv:1.9.1.9) Gecko/20100414 Iceweasel/3.5.9 (like Firefox/3.5.9)
PATH/usr/local/bin: /usr/bin: /bin: /usr/games
PATH_INFO/test.py
QUERY_STRING
REMOTE_ADDR127.0.0.1
REMOTE_PORT51544
REQUEST_METHODGET
REQUEST_URI/test.py
SCRIPT_NAME
SERVER_ADDR0.0.0.0
SERVER_PORT8080
SERVER_PROTOCOLHTTP/1.0
SERVER_SOFTWAREWebware/1.1b1

fields
method'GET'
pathInfo'/test.py'
pathTranslated''
previousURLPaths[]
queryString''
serverSidePath'/home/blaise/tmp/test.py'
servletPath''
sessionIdNone
uri'/test.py'

HTTPResponse

AttributeValue
args
committedFalse
cookies
endTime1272260073.4919519
headers
Content-typetext/html
Status500 Servlet Error


Environment

COLORFGBG15;0
DBUS_SESSION_BUS_ADDRESSunix:abstract=/tmp/dbus-CpfXLXfurw,guid=16f44c7a21e54a60627a1fa10038
DESKTOP_SESSIONdefault
DISPLAY:0.0
DM_CONTROL/var/run/xdmctl
GS_LIB/home/blaise/.fonts
GTK2_RC_FILES/etc/gtk-2.0/gtkrc:/home/blaise/.gtkrc-2.0::/home/blaise/.kde/share/config/gtkrc-2.0
GTK_RC_FILES/etc/gtk/gtkrc:/home/blaise/.gtkrc::/home/blaise/.kde/share/config/gtkrc
HISTCONTROLignoreboth
HOME/home/blaise
KDE_FULL_SESSIONtrue
KDE_MULTIHEADfalse
KDE_SESSION_UID1001
KDE_SESSION_VERSION4
KONSOLE_DBUS_SERVICE:1.101

Re: [Webware-discuss] AssertionError

2010-04-26 Thread Blaise Vogel

- Christoph Zwerschke c...@online.de a écrit :

 Am 26.04.2010 10:47, schrieb Blaise Vogel:
  Cheetah 2.4.2.1
 
 Thanks. I'll try to look into that later today or tomorrow. I guess
 it's
 caused by Cheetah still using old-style classes or something.
OK, thank you. If you need more info or some help, no problem ;-)

Blaise Vogel


--
___
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss