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

Scripts\Crash.py

Traceback (most recent call last):
  File "C:\home\web\Webware\WebKit\Application.py", line 631, in runTransaction
    self.runTransactionViaServlet(servlet, trans)
  File "C:\home\web\Webware\WebKit\Application.py", line 720, in runTransactionViaServlet
    servlet.runTransaction(trans)
  File "C:\home\web\Webware\WebKit\Servlet.py", line 64, in runTransaction
    trans.respond()
  File "C:\home\web\Webware\WebKit\Transaction.py", line 148, in respond
    self._servlet.respond(self)
  File "C:\home\web\Webware\WebKit\HTTPServlet.py", line 65, in respond
    method(trans)
  File "Scripts\SitePage.py", line 258, in respondToGet
    self._respond(transaction)
  File "C:\home\web\Webware\WebKit\HTTPContent.py", line 109, in _respond
    self.defaultAction()
  File "C:\home\web\Webware\WebKit\Page.py", line 30, in defaultAction
    self.writeHTML()
  File "Scripts\Crash.py", line 13, in writeHTML
    assert 1 == 0
AssertionError

MiscInfo

filenameScripts\Crash.py
os.getcwd()C:\home\web\dra
sys.path['C:\\home\\web\\dra', 'C:\\home\\web\\dra/Scripts', 'C:\\home\\web\\dra/db', 'C:\\home\\web\\Webware', 'C:\\home\\web\\env\\Lib\\site-packages', 'C:\\Python27\\lib\\site-packages\\pip-1.2.1-py2.7.egg', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages', 'C:\\Python27\\lib\\site-packages\\PIL']
sys.version2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
timeTue Feb 26 14:42:12 2013

Transaction

AttributeValue
application<WebKit.Application.Application object at 0x02974F70>
request<WebKit.HTTPRequest.HTTPRequest object at 0x029E35B0>
response<WebKit.HTTPResponse.HTTPResponse object at 0x029DBDD0>
servlet<dra.Crash.Crash object at 0x029DBF10>
session<WebKit.Session.Session object at 0x029DBFB0>

Application

AttributeValue
contexts
draScripts
serverSidePath'C:\\home\\web\\dra'
webwarePath'C:\\home\\web\\Webware'
webwareVersion(1, 1, 0)

HTTPRequest

AttributeValue
adapterName'/dra'
args
cookies
DRA_DOMAIN1361958083.71.34367
FixedLeftThemeEditSequence%23customSidepanelEditHelp%2C%20%23sidebarPageLink%2C%20%23editButtons%2C%20%23editHints%2C%20%23sidebarTOC%2C%20%23%23
FixedLeftThemeSidebarinline%23%23290
FixedLeftThemeViewSequence%23customSidepanelTutorial%2C%20%23customSidepanelAttributes%2C%20%23sidebarUser%2C%20%23sidebarTOC%2C%20%23%23
MOIN_SESSION_80_ROOT_drawiki5e6de7d74601d8d07950b419564f174e96ee3742
MoinAuthRogerHaase#digitalrockart@yahoo.com##20130226144116-e7eb0a5caebd174f9bcaa44710366e14
_SID_20130226144116-e7eb0a5caebd174f9bcaa44710366e14
dra1360468422
environ
COMSPECC:\Windows\system32\cmd.exe
DOCUMENT_ROOTC:/home/web/static
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/html, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8
HTTP_ACCEPT_ENCODINGgzip, deflate
HTTP_ACCEPT_LANGUAGEen-US, en;q=0.5
HTTP_CONNECTIONkeep-alive
HTTP_COOKIEFixedLeftThemeViewSequence=%23customSidepanelTutorial%2C%20%23customSidepanelAttributes%2C%20%23sidebarUser%2C%20%23sidebarTOC%2C%20%23%23; FixedLeftThemeSidebar=inline%23%23290; FixedLeftThemeEditSequence=%23customSidepanelEditHelp%2C%20%23sidebarPageLink%2C%20%23editButtons%2C%20%23editHints%2C%20%23sidebarTOC%2C%20%23%23; dra=1360468422; MOIN_SESSION_80_ROOT_drawiki=5e6de7d74601d8d07950b419564f174e96ee3742; _SID_=20130226144116-e7eb0a5caebd174f9bcaa44710366e14; DRA_DOMAIN=1361958083.71.343...
HTTP_DNT1
HTTP_HOSTantelope.digitalrockart.org
HTTP_REFERERhttp://antelope.digitalrockart.org/dra/Menu
HTTP_USER_AGENTMozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
PATHEXT.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw
PATH_INFO/Crash
PATH_TRANSLATEDC:\home\web\static\Crash
QUERY_STRING
REMOTE_ADDR127.0.0.1
REMOTE_PORT54231
REQUEST_METHODGET
REQUEST_URI/dra/Crash
SCRIPT_FILENAMEC:/home/web/dra/WSGIAdapter.py
SCRIPT_NAME/dra
SCRIPT_URIhttp://antelope.digitalrockart.org/dra/Crash
SCRIPT_URL/dra/Crash
SERVER_ADDR127.0.0.1
SERVER_ADMINdigitalrockart@yahoo.com
SERVER_NAMEantelope.digitalrockart.org
SERVER_PORT80
SERVER_PROTOCOLHTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWAREApache/2.2.14 (Win32) mod_wsgi/3.3 Python/2.7.3
SystemRootC:\Windows
WINDIRC:\Windows
mod_wsgi.application_groupantelope.digitalrockart.org|/dra
mod_wsgi.callable_objectapplication
mod_wsgi.handler_script
mod_wsgi.input_chunked0
mod_wsgi.process_group
mod_wsgi.request_handlerwsgi-script
mod_wsgi.script_reloading1
mod_wsgi.version(3, 3)
wsgi.multiprocessFalse
wsgi.multithreadTrue
wsgi.run_onceFalse
wsgi.url_schemehttp
wsgi.version(1, 1)
fields
method'GET'
pathInfo'/Crash'
pathTranslated'C:\\home\\web\\static\\Crash'
previousURLPaths[]
queryString''
serverSidePath'Scripts\\Crash.py'
servletPath'/dra'
sessionId'20130226144116-e7eb0a5caebd174f9bcaa44710366e14'
uri'/dra/Crash'

HTTPResponse

AttributeValue
args
committedFalse
cookies
endTime1361914932.973
headers
Content-typetext/html
Status500 Servlet Error

Session

AttributeValue
isDirtyTrue
isExpiredFalse
lastAccessTime1361914932.969
numTrans4
timeout3600
values
UserAvailHeight1166
UserAvailWidth1920
UserBackButton-1
UserBrowserMozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
UserColorDepth24
UserConnectionCable
UserDoubleImageSize0
UserHelpURLWebMasterFunctions
UserId2
UserImageQuality75
UserIpAddress127.0.0.1
UserJobCode1
UserJumboImageSize1920
UserLargeImageSize1472
UserLastFunctionMenu
UserLimitImageSize352
UserMaximumImagesPage30
UserMediumImageSize960
UserNameRogerHaase
UserServletCaptionCrash
UserSiteList[]
UserSmallImageSize352
UserSurveySequenceSiteName
UserTinyImageSize288

Servlets can provide debugging information here by overriding writeExceptionReport().

For example:

exceptionReportAttrs = 'foo bar baz'.split()
def writeExceptionReport(self, handler):
handler.writeTitle(self.__class__.__name__)
handler.writeAttrs(self, self.exceptionReportAttrs)
handler.write('any string')

See WebKit/ExceptionHandler.py for more information.

Environment

ALLUSERSPROFILEC:\ProgramData
APPDATAC:\Users\roger\AppData\Roaming
CMDcmd
COMMONPROGRAMFILESC:\Program Files (x86)\Common Files
COMMONPROGRAMFILES(X86)C:\Program Files (x86)\Common Files
COMMONPROGRAMW6432C:\Program Files\Common Files
COMPUTERNAMEANTELOPE
COMSPECC:\Windows\system32\cmd.exe
DELETEITy
FP_NO_HOST_CHECKNO
HOMEDRIVEC:
HOMEPATH\Users\roger
LOCALAPPDATAC:\Users\roger\AppData\Local
LOGONSERVER\\ANTELOPE
NUMBER_OF_PROCESSORS2
OSWindows_NT
PATHC:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C:\Program Files\MySQL\MySQL Server 5.1\bin; C:\Python27\; C:\Python27\Scripts; C:\Program Files (x86)\HTMLDOC\; C:\Program Files (x86)\Common Files\GTK\2.0\bin; C:\MinGW\bin; C:\Program Files (x86)\Git\cmd; C:\Program Files (x86)\nodejs\; C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files\TortoiseHg\; C:\Users\roger\AppData\Roaming\npm\; C:\Program Files (x86)\Google\google_appengine\
PATHEXT.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw
PROCESSOR_ARCHITECTUREx86
PROCESSOR_ARCHITEW6432AMD64
PROCESSOR_IDENTIFIERAMD64 Family 15 Model 107 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL15
PROCESSOR_REVISION6b02
PROGRAMDATAC:\ProgramData
PROGRAMFILESC:\Program Files (x86)
PROGRAMFILES(X86)C:\Program Files (x86)
PROGRAMW6432C:\Program Files
PROMPT$P$G
PSMODULEPATHC:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLICC:\Users\Public
PYTHONpython
SESSIONNAMEConsole
SSH_AGENT_PID3648
SSH_AUTH_SOCK/tmp/ssh-sesDTC3516/agent.3516
SYSTEMDRIVEC:
SYSTEMROOTC:\Windows
TCL_LIBRARYC:\Python27\tcl\tcl8.5
TEMPC:\Users\roger\AppData\Local\Temp
TIX_LIBRARYC:\Python27\tcl\tix8.4.3
TK_LIBRARYC:\Python27\tcl\tk8.5
TMPC:\Users\roger\AppData\Local\Temp
USERDOMAINantelope
USERNAMEroger
USERPROFILEC:\Users\roger
VS90COMNTOOLSC:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
WINDIRC:\Windows

OS Ids

NameValue
pid5656

Fancy Traceback

AssertionError: Crash:   13
Page:   30
HTTPContent:  109
SitePage:  258
HTTPServlet:   65
Transaction:  148
Servlet:   64
Application:  720
Application:  631

A problem occurred while running a Python script.

Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first.


C:\home\web\dra\Scripts\Crash in writeHTML(self=<dra.Crash.Crash object>)
    9 class Crash(SitePage.SitePage):
   10 
   11     def writeHTML(self):
   12         '''Abend to inspect environment.'''
   13         assert 1 == 0

C:\home\web\Webware\WebKit\Page in defaultAction(self=<dra.Crash.Crash object>)
   28     def defaultAction(self):
   29         """The default action in a Page is to writeHTML()."""
   30         self.writeHTML()
   31 
   32 

C:\home\web\Webware\WebKit\HTTPContent in _respond(self=<dra.Crash.Crash object>, transaction=<Transaction >)
  107                     return
  108             # If no action was found, run the default:
  109         self.defaultAction()
  110 
  111     def defaultAction(self):

C:\home\web\dra\Scripts\SitePage in respondToGet(self=<dra.Crash.Crash object>, transaction=<Transaction >)
  256         """ Invokes _respond() to handle the transaction. """
  257         self.logRequest('get')
  258         self._respond(transaction)
      transaction = <Transaction >
  259         #self.dumpResponse()
  260 

C:\home\web\Webware\WebKit\HTTPServlet in respond(self=<dra.Crash.Crash object>, trans=<Transaction >)
   63             method = getattr(self, methName, self.notImplemented)
   64             self._methodForRequestType[httpMethodName] = method
   65         method(trans)
      method = <bound method Crash.respondToGet of <dra.Crash.Crash object>>, trans = <Transaction >
   66 
   67     @staticmethod

C:\home\web\Webware\WebKit\Transaction in respond(self=<Transaction >)
  146         if self._session:
  147             self._session.respond(self)
  148         self._servlet.respond(self)
      self._servlet = <dra.Crash.Crash object>
  149 
  150     def sleep(self):

C:\home\web\Webware\WebKit\Servlet in runTransaction(trans=<Transaction >)
   62         try:
   63             trans.awake()
   64             trans.respond()
      trans = <Transaction >
   65         except Exception, first:
   66             try:

C:\home\web\Webware\WebKit\Application in runTransactionViaServlet(servlet=<dra.Crash.Crash object>, trans=<Transaction >)
  718         trans.setServlet(servlet)
  719         if hasattr(servlet, 'runTransaction'):
  720             servlet.runTransaction(trans)
      servlet = <dra.Crash.Crash object>, servlet.runTransaction = <function runTransaction>, trans = <Transaction >
  721         else:
  722             # For backward compatibility (Servlet.runTransaction implements

C:\home\web\Webware\WebKit\Application in runTransaction(self=<WebKit.Application.Application object>, trans=<Transaction >)
  629             self.handlePathSession(trans)
  630             # now everything is set, run the transaction
  631             self.runTransactionViaServlet(servlet, trans)
      self.runTransactionViaServlet = <function runTransactionViaServlet>, servlet = <dra.Crash.Crash object>, trans = <Transaction >
  632         except EndResponse:
  633             pass

AssertionError:
      args = ()
      message = ''