what were you trying to do?
what version of Webware are you using?
what version of Python?
On Wednesday 27 March 2002 10:16, Bobby Kuzma wrote:
> Here's the traceback:
> Traceback (most recent call last):
> File "WebKit/Application.py", line 348, in dispatchRequest
> self.handleGoodURL(transaction)
> File "WebKit/Application.py", line 494, in handleGoodURL
> self.createServletInTransaction(transaction)
> File "WebKit/Application.py", line 901, in
> createServletInTransaction inst =
> self.getServlet(transaction,path,cache)
> File "WebKit/Application.py", line 828, in getServlet
> inst = factory.servletForTransaction(transaction)
> File "WebKit/ServletFactory.py", line 178, in
> servletForTransaction module = self.importAsPackage(transaction,
> path)
> File "WebKit/ServletFactory.py", line 103, in importAsPackage
> module = self._importModuleFromDirectory(fullname, name,
> moduleDir, forceReload=1)
> File "WebKit/ServletFactory.py", line 134, in
> _importModuleFromDirectory module = imp.load_module(fullModuleName,
> fp, pathname, stuff) File "<string>", line 10
> data.st.execute("update narrative set narrativetext='This is
> not a test' where narrativeid=1")
> ^
> SyntaxError: invalid syntax
>
> Even if I change the names of the object 'data' to something else,
> I still get the error. If I replace the line with a dummy "print"
> statement, it will sporadically error out. Any clues? I've already
> checked the indentation.
>
>
> Bobby Kuzma
>
>
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss