<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000066">
<font size="-1"><font face="Verdana">Is there a setting in zope.conf
for telling zope where to look DTML resources?<br>
<br>
-Jon<br>
</font></font><br>
Jonathan Cyr wrote:<br>
<blockquote cite="mid41378036.70700@cyr.info" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
  <font size="-1"><font face="Verdana">Deleted .pyc... No Luck.<br>
  <br>
As for declaring the path... I am using the DTMLFile method, and I
never have defined a path explicitly, this is something Zope has done,
and is holding on to... I wish to refresh it, but have no idea how Zope
had done it in the first place.<br>
  <br>
New instances of the product work fine... but imported instances do
not.&nbsp; Only the DTMLFile "pointers" are wrong.<br>
  <br>
Is there any Documentation on the globals() parameter given to
DTMLFile, can I refresh this for an older instance.<br>
  <br>
-Jon<br>
  <br>
  <br>
  </font></font><br>
Johan Carlsson wrote:
  <blockquote cite="mid4136A567.2060907@easypublisher.com" type="cite">Dieter
Maurer wrote: <br>
    <blockquote type="cite">Jonathan Cyr wrote at 2004-8-31 13:06
-0500: <br>
      <br>
      <blockquote type="cite">I've written a python product that loads
DTML pages from a /dtml folder in my product... works fine. <br>
        <br>
When I moved my environment to Linux, Zope is still looking on my old
heirarchy. <br>
        <br>
Error Log Snippet: <br>
        <br>
2004-08-31T07:23:24 PROBLEM(100) ZPublisher DTML file
'C:\Apollo1-Zope-271\Products\WWWedding\dtml/index_html.dtml' could not
be read <br>
      </blockquote>
      <br>
This means that somewhere in your product, there is still the old path.
      <br>
    </blockquote>
    <br>
Maybe delete the old .pyc files? <br>
Johan <br>
    <br>
    <br>
  </blockquote>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Zope maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Zope@zope.org">Zope@zope.org</a>
<a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a>
**   No cross posts or HTML encoding!  **
(Related lists - 
 <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a>
 <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a> )
  </pre>
</blockquote>
</body>
</html>