[Zope] Bug after creating new instance of a product

Pascal Francq pfrancq at ulb.ac.be
Wed Jul 28 05:33:00 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I have a product working fine on a computer with Zope 2.7.0rc2 and Python 2.3. 
I copy the dirdectory of the product on another computer with Zope 2.7.2 and 
Python 2.3.3.
I create an instance of my product, and when I try to access it (from the 
manage part or the normal part) I have the following error:

    *  Module ZPublisher.Publish, line 180, in publish_module_standard
    * Module ZPublisher.Publish, line 131, in publish
    * Module Zope.App.startup, line 204, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 101, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Shared.DC.Scripts.Bindings, line 306, in __call__
    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
    * Module App.special_dtml, line 175, in _exec
    * Module Shared.DC.Scripts.Bindings, line 320, in 
__render_with_namespace__
    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
    * Module App.special_dtml, line 175, in _exec
    * Module DocumentTemplate.DT_Util, line 198, in eval
      __traceback_info__: RESPONSE
    * Module <string>, line 0, in ?

AttributeError: 'NoneType' object has no attribute 'setHeader' (Also, an error 
occurred while attempting to render the standard error message.)

The file generating this error is a simple one (see attachment).

An idea of what is going wrong?
- -- 


Prof. Pascal Francq
Université libre de Bruxelles
CAD/CAM Department
Avenue F.D. Roosevelt, 50
CP 165/14
B-1050 Brussels
BELGIUM
Tel. +32-2-650 47 65
Fax +32-2-650 47 24
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB3LMoiZc4N+hp30RAuJKAJ43obBhANPSQ/i7pDq/EmDkK6+o7gCbB0zj
qCUV4cjdpLT3QHeQN3RqbOk=
=Ndx5
-----END PGP SIGNATURE-----
-------------- next part --------------
<dtml-var manage_page_header>
<dtml-var manage_tabs>

<FORM method="post" action="editSUFI">
<TABLE border="0" cellspacing="0" cellpading="5">
	<TR>
		<TD> Department: </TD>
		<TD><INPUT type="text" name="title" value="&dtml-title;"></TD>
	</TR>
	<TR>
		<TD> Database: </TD>
		<TD><INPUT type="text" name="db" value="&dtml-db;"></TD>
	</TR>
	<TR>
		<TD> Host: </TD>
		<TD><INPUT type="text" name="host" value="&dtml-host;"></TD>
	</TR>
	<TR>
		<TD> User: </TD>
		<TD><INPUT type="text" name="user" value="&dtml-user;"></TD>
	</TR>
	<TR>
		<TD> Password: </TD>
		<TD><INPUT type="text" name="pwd" value="&dtml-pwd;"></TD>
	</TR>
	<TR>
		<TD colspan=2><INPUT type="submit" value="Edit SUFI"></TD>
	</TR>
</TABLE>
</FORM>
 

<dtml-var manage_page_footer>


More information about the Zope mailing list