[ZCM] [ZC] 1294/ 5 Comment "VirtualHostMonster: Can't edit mappings"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Thu Dec 30 12:32:52 EST 2004


Issue #1294 Update (Comment) "VirtualHostMonster: Can't edit mappings"
 Status Rejected, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1294

==============================================================
= Comment - Entry #5 by yaybee on Dec 30, 2004 12:32 pm

I just had this same error, and in the code for SiteAccess/www/manage_edit.dtml, I found this: 

<tr>
  <td align="left" valign="top" colspan="2" class="form-help">
  Each line represents a path mapping for a single host 
  (<strong>host/path</strong>),
  or a set of hosts (<strong>*.host/path</strong>).
  <div style="width: 100%;">
  <dtml-let cols="REQUEST.get('dtpref_cols', '100%')"
            rows="REQUEST.get('dtpref_rows', '20')">
  <dtml-if "cols[-1]=='%'">
  <textarea name="map_text:text" wrap="off" style="width: &dtml-cols;;"
  <dtml-else>
  <textarea name="map_text:text" wrap="off" cols="&dtml-cols;"
  </dtml-if>
            rows="&dtml-rows;"><dtml-in lines>&dtml-sequence-item;
</dtml-in></textarea>
  </div>
  </td>
</tr>
</dtml-with>


The error is choking on the </dtml-with> at the end (line 43), saying it is unexpected.  That's because there is no end tag for the dtml-let earlier in the code.  Adding a </dtml-let> to line 38 just before the <dtml-in lines> tag fixes this problem.
________________________________________
= Reject - Entry #4 by ajung on May 17, 2004 12:36 pm

 Status: Pending => Rejected

Can not be reproduced.
________________________________________
= Comment - Entry #3 by pfortin on Apr 28, 2004 12:58 am

I have the same error with Zope 2.7 and Python 2.3...  Been searching the site for the supported version of Python, to no avail so far...  Is this a bad combo too...?

________________________________________
= Comment - Entry #2 by ajung on Apr 11, 2004 1:09 pm

works for me


btw. Python 2.2.3 *is not* a supported Python  version for running 
Zope 2.7
________________________________________
= Request - Entry #1 by Anonymous User on Apr 11, 2004 12:46 pm

visiting the "Mappings" tag of a newly added Virtual Host Monster gives error message:
unexpected end tag, for tag </dtml-with>, on line 43 of manage_edit

I tried to find this DTML-document "manage_edit" but didn't succeed...
==============================================================



More information about the Zope-Collector-Monitor mailing list