[Zope] DocumentLibrary: can we read HTTPS?
Ken
firerooster@netscape.net
Tue, 24 Sep 2002 00:10:34 +0200 (CEST)
I copied over my Products, Extensions and various modifs from my previous install in order to run Zope using a HTTPS-enabled Python.
KebasData is again able to read in HTTPS pages, but trying to make this work with DocumentLibrary failed. I must admit I didn't know what to expect, but I thought both products use the same Python module (useragent from my logs is Python-urllib/1.15), so it would work.
The error:
Traceback (innermost last):
File /usr/local/www/Zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module
File /usr/local/www/Zope/lib/python/ZPublisher/Publish.py, line 114, in publish
File /usr/local/www/Zope/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook
(Object: doctest)
File /usr/local/www/Zope/lib/python/ZPublisher/Publish.py, line 98, in publish
File /usr/local/www/Zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
(Object: document_submit)
File /usr/local/www/Zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
(Object: document_submit)
File /usr/local/www/Zope/lib/python/OFS/DTMLMethod.py, line 127, in __call__
(Object: document_submit)
File /usr/local/www/Zope/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__
(Object: document_submit)
File /usr/local/www/Zope/lib/python/DocumentTemplate/DT_Try.py, line 140, in render
File /usr/local/www/Zope/lib/python/DocumentTemplate/DT_Try.py, line 174, in render_try_except
File /usr/local/www/Zope/lib/python/DocumentTemplate/DT_Raise.py, line 56, in render
(Object: URLError)
URLError: (see above)
--
I hope someone can provide me with some insight on this, it's important!
-----------------------------
Chris, re: my earlier post
>> ...following this, the script exits:
>>
>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>> There were errors dUring Python module compilation.
>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>> *** Error code 1
>> Stop in /usr/ports/www/zope.
>Do you have an INSTANCE_HOME setup and have extension Products like CMF installed?
>I've seen this erro when the python script part of the >Zope builder tries to
>build things like filesystem Script (Python)'s by mistake.
>Using INSTANCE_HOME solves this problem...
>cheers,
>Chris
Chris: I think your mail may have crossed paths with mine. Turns out there was no problem installing Zope from the FreeBsd port. It was me... I never really got what INSTANCE_HOME was all about, I should read up on it. I do have it in 3 places in my start file. But if you are referring to some setup that exists prior to installing Zope, I don't know about that.