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
application<WebKit.Application.Application object at 0x4809a210>
request<WebKit.HTTPRequest.HTTPRequest object at 0x48c25cf0>
response<WebKit.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=16f44c7a21e54a60627a1fa100000038
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
KONSOLE_DBUS_SESSION/Sessions/1
LANGfr_CH
LANGUAGE
LOGNAMEblaise
LS_COLORSrs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;...
OLDPWD/home/blaise/prgm/Webware-1.1b1/WebKit
PATH/usr/local/bin: /usr/bin: /bin: /usr/games
PROFILEHOME
PWD*** hidden ***
QT_PLUGIN_PATH/home/blaise/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
SESSION_MANAGERlocal/MacPengui:@/tmp/.ICE-unix/2010,unix/MacPengui:/tmp/.ICE-unix/2010
SHELL/bin/bash
SHLVL1
SSH_AGENT_PID1920
SSH_AUTH_SOCK/tmp/ssh-BtBMjo1875/agent.1875
TERMxterm
USERblaise
WINDOWID27263004
WINDOWPATH7
XCURSOR_THEMEOxygen_Black
XDG_DATA_DIRS/usr/share:/usr/share:/usr/local/share
XDG_SESSION_COOKIE1d0dcb8d488b4188c894b81c4b54661d-1272259114.904414-104416606
XDM_MANAGEDmethod=classic
_./AppServer

OS Ids

NameValue
egid1001
euid1001
gid1001
groups[20, 24, 29, 44, 46, 112, 1001]
pgrp3720
pid3722
ppid3720
uid1001
------------------------------------------------------------------------------
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to