Could you please give us a little more details on what you did after you
did the build, and install?  What Os platform are you on, what webserver
are you using?  Did you run MakeAppWorkDir.py or are you manually
editing the default application.conf file?  How did you configure your
webserver to work with webware?  Are you using webkit.cgi or the apache
mod?  

This should allow us to better help you out, also in general you do not
need to move the examples folder to your web servers root, since the
conf file generally knows how to find them.


Jose

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Del
Gong Nul
Sent: Friday, December 12, 2003 8:44 PM
To: [EMAIL PROTECTED]
Subject: [Webware-discuss] examples


hi,

I just downloaded webware (0.8.1) and after much struggle got it to
build and install, and now it starts correctly, but all of the examples
but one do not work. I copied the examples directory into my web
server's root directory, and tried to access the examples, but it seems
that something is not correct.

The one example that worked correctly is Colorize.py. When I try to
visit any of the other pages, I get an error, with traceback. The
following is the traceback for ExamplePage.py:

/var/www/wkex/ExamplePage.py

Traceback (most recent call last):
  File "WebKit/Application.py", line 415, in dispatchRequest
    self.handleGoodURL(transaction)
  File "WebKit/Application.py", line 567, in handleGoodURL
    self.respond(transaction)
  File "WebKit/Application.py", line 776, in respond
    transaction.respond()
  File "WebKit/Transaction.py", line 105, in respond
    self._servlet.respond(self)
  File "WebKit/HTTPServlet.py", line 38, in respond
    method(trans)
  File "WebKit/Page.py", line 34, in respondToGet
    self._respond(transaction)
  File "WebKit/Page.py", line 73, in _respond
    self.writeHTML()
  File "WebKit/Page.py", line 135, in writeHTML
    self.writeBody()
  File "WebKit/Page.py", line 204, in writeBody
    self.writeBodyParts()
  File "WebKit/SidebarPage.py", line 47, in writeBodyParts
    self.writeSidebar()
  File "/var/www/wkex/ExamplePage.py", line 63, in writeSidebar
    self.writeExamplesMenu()
  File "/var/www/wkex/ExamplePage.py", line 83, in writeExamplesMenu
    if plugIn.name()==self.request().contextName()[:-8]:
TypeError: unsubscriptable object

Other pages complain about modules that can't be found, even though
they're in the same page as the script that is being called.

Was there any extra configuration required after installing? I didn't
see anything in the docs about configuring extra stuff, and expected the
examples to just work.

Any help would be greatly appreciated.

cheers,

del.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Webware-discuss mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to