#47 I cannot add a new context :(

closed-accepted
nobody
WebKit (58)
5
2003-08-16
2003-08-05
No

I cannot add a new context to WebKit even I added the
correct line to Application.config file:

'Contexts': {
#...[cut]
'MyContext': '%(WebKitPath)s/'MyContext',
},
#...[cut]

Admin panel at http://localhost/WK/Admin/Config shows
me that I have MyContext added but left panel of this
page has no its name listed. I have no warnings nor
errors after I restarted WebKit. There is no MyContext
at all. I checked it with Webware 0.8.1 and also with
fresh CVS version. I do not know what to do.

My configuration:
Operating system: Windows XP Pro workstation Polish
Python: 2.2.3
Webware: 0.8.1 I testet also CSV version 2003-08-04
Webserver: Apache 2.0.47/Win32
Database server: MySQL 4.0.14
Webkit works mod_webkit module of my Apache 2 server
Other Python modules: Cheetah 0.9.15 and lots of other
stuff which should have no impact to Webware (eg.
pyana 0.8, sqlite 0.4.3, mysqldb, wxPython, PythonCard
etc.)

Discussion

    • status: open --> closed-accepted
     
  • Logged In: YES
    user_id=309001

    Solution is to add missing __init__.py file inside directory
    of 'MyContext'.