At 02:24 PM 6/14/2001 -0700, haaserd wrote: >Based upon the above, there seems to be a lot of inconsistancy. I think >CGIWrapper should be changed to append or insert the '' as my import >statements >were working under PWS and Apache. I am not sure my placement makes sense, as >it would happen only if the current working directory is changed. I am also >confused about the missing paths from my 'set pythonpath' statement. I'm not sure why the PYTHONPATH is missing, but it seems to be missing everywhere which indicates a problem with the environment and not any Python tool. Mine looks like this: SET PYTHONPATH=/All/echuck/Projects/Webware (BTW I only put Webware in my path so that I can easily import MiscUtils from various other Python programs I write. Otherwise, I wouldn't bother.) Also, it's not $foo in DOS, it's %foo%. Try something simple like: SET PYTHONPATH=/abc/def Then add in the rest, keeping in mind %% instead of $. If new problems crop up, try quotes around the value. Regarding '' in sys.path, I have found Python to be very inconsistent with this. My own experience indicates that if the first thing in sys.path is '' then I am always happy and never sad. The '..' is a kludge so that CGI Wrapper can find the other Webware components. There should be an abspath() call to expand it out. I have updated CVS for these. Can you test them out? -Chuck _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-discuss
