[mod_python] Mod_Python, Win32 and Cookies : cannot import name Cookie

Ryan Felder rfelder at globaltecsolutions.com
Mon Aug 16 15:21:42 EDT 2004


I forgot to mention that my code is written only in mod_python,
and not using any PSP.

>I am trying to bring a small web application I developed on
>a solaris machine over to a mod_python 3.0.4 equipped apache
>2.0 windows server 2003 machine. The code runs fine on Solaris,
>however, when I try to run it on the Windows machine, I receive
>an error. Trying from an interpreter, I get this error, which is
>the same as the error in apache's error log.
>
>IDLE 1.0.2
>>>> from mod_python import Cookie
>
>Traceback (most recent call last):
>  File "<pyshell#0>", line 1, in -toplevel-
>    from mod_python import Cookie
>ImportError: cannot import name Cookie
>
>Is the implimentation of cookies different on win32?
>Is it supported? I get similar errors with Session.
>I can successfully import mod_python itself. The machine
>is very clean, having been setup to run another mod_python
>application, which does execute with no suprises.
>
>- Ryan Felder

Wizetradeä, 4X Made Easyä, Options Made Easyä, Wizefinderä, OptionHunterä,
Wizefeedä, Optionsfeedä and 4Xfeedä are trademarks and subsidiaries of
GlobalTec Solutions, LLPä.  Wizetradeä, 4X Made Easyä, Options Made Easyä,
Wizefinderä and OptionsHunterä, and any related products, are analytical
tools only and are not intended to replace individual research or licensed
investment advice. Unique experiences and past performances do not guarantee
future results!  Testimonials are non-representative of all clients; certain
accounts may have worse performance than that indicated. Trading stocks,
options and spot currencies involves substantial risk; and there is always
the potential for loss. Your trading results may vary. No representation is
being made that any software or training will guarantee profits or not
result in losses from trading. Neither the software programs, any
explanation or demonstration of their operation, nor any training held in
conjunction therewith, including, without limitation, through online chat,
in connection with our radio programs, during our in-person seminars or
otherwise, should be construed as providing a trade recommendation or the
giving of investment advice.  The purchase, sale or advice regarding a
security can only be performed by a licensed Broker/Dealer and/or Registered
Investment Advisor. Neither GlobalTec Solutions, LLPä nor its officers,
employees, owners, agents, principals or affiliates is a registered
Broker/Dealer or Investment Advisor in any State or Federally. All
purchasers of software or other products owned by GlobalTec Solutions, LLPä
are encouraged to consult with a licensed representative of their choice
regarding any particular investment or investment strategy. Prices and
offers are subject to change without notice. All shipping & handling charges
are non-refundable. Texas residents add 8.25% sales tax. International
customers are responsible for all tariffs, duties and fees.





More information about the Mod_python mailing list