[Pkg-zope-developers] Bug#300682: marked as done (zope-cmfphotoalbum: Photo album in Plone cannot be viewed)

Debian Bug Tracking System owner at bugs.debian.org
Thu Sep 15 13:18:16 UTC 2005


Your message dated Thu, 15 Sep 2005 15:00:46 +0200
with message-id <1126789246.9052.9.camel at localhost.localdomain>
and subject line closing fixed-in-experimental bugs
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Mar 2005 04:06:29 +0000
>From per.bojsen at bojsen.us Sun Mar 20 20:06:29 2005
Return-path: <per.bojsen at bojsen.us>
Received: from h00a0cc5b5dc5.ne.client2.attbi.com (lothlorien.bojsen.us) [24.62.140.9] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDEBQ-00058K-00; Sun, 20 Mar 2005 20:06:28 -0800
Received: from lothlorien.bojsen.us (bojsen at localhost [127.0.0.1])
	(authenticated bits=128)
	by lothlorien.bojsen.us (8.13.3/8.13.3/Debian-6) with ESMTP id j2L45v5P020410
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <submit at bugs.debian.org>; Sun, 20 Mar 2005 23:05:57 -0500
Received: (from bojsen at localhost)
	by lothlorien.bojsen.us (8.13.3/8.13.3/Submit) id j2L45v7l020407;
	Sun, 20 Mar 2005 23:05:57 -0500
Message-Id: <200503210405.j2L45v7l020407 at lothlorien.bojsen.us>
X-Authentication-Warning: lothlorien.bojsen.us: bojsen set sender to per.bojsen at comcast.net using -f
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Per Bojsen <per.bojsen at bojsen.us>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: zope-cmfphotoalbum: Photo album in Plone cannot be viewed
X-Mailer: reportbug 3.8
Date: Sun, 20 Mar 2005 23:05:57 -0500
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	HTML_10_20,HTML_MESSAGE autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: zope-cmfphotoalbum
Version: 0.5.0-5
Severity: important

*** Please type your report below this line *** I installed the CMF
Photo and Photo Album products in a Plone test site and created a
photo album with one photo in it.  When trying to view the photo album
I get a `Site error' page with the following text:

------- Start of site error message
This site encountered an error trying to fulfill your request. The errors were:

Error Type
    PTRuntimeError
Error Value
    Page Template photoalbum_view has errors.
Request made at
    2005/03/20 22:40:36.396 US/Eastern 
------- End of site error message

The error log shows the following:

------- Start of error log entry
Time
    2005/03/20 22:40:34.619 US/Eastern
User Name (User Id)
    bojsen (bojsen)
Request URL
    http://lothlorien/zope/experiments/plone_test/albums/sarahandtom/photoalbum_view
Exception Type
    PTRuntimeError
Exception Value
    Page Template photoalbum_view has errors.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 98, 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 Products.CMFCore.FSPageTemplate, line 191, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 87, in pt_render
      <FSPageTemplate at /experiments/plone_test/photoalbum_view used for /experiments/plone_test/albums/sarahandtom>
      Warning: Compilation failed
      Warning: TAL.TALDefs.METALError: invalid macro name: 'list-item', at line 100, column 17

PTRuntimeError: Page Template photoalbum_view has errors.
------- End of error log entry

I worked around the above problem by customizing the photoalbum_view
page template as follows:

--- photoalbum_view.pt.orig	2005-01-27 18:24:50.000000000 -0500
+++ photoalbum_view.pt	2005-03-20 23:01:48.297323795 -0500
@@ -97,7 +97,7 @@
             <dl>
                 <tal:entry tal:repeat="obj otherContents">
 
-                <dt metal:define-macro="list-item"
+                <dt metal:define-macro="list_item"
                     tal:define="url python: obj.absolute_url()+test(obj.isPrincipiaFolderish,'/','');
                                 icon python: obj.getIcon(1)">
                 <a href="#" tal:attributes="href url">

There appears to be a simple typo: list-item should have been list_item.

Thanks,
Per

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages zope-cmfphotoalbum depends on:
ii  debconf [debconf-2.0]         1.4.30.11  Debian configuration management sy
ii  zope-cmfphoto                 0.5.0-5    photo module for zope content mana

-- debconf information:
  zope-cmfphotoalbum/oldproduct_in_var: do nothing

---------------------------------------
Received: (at 300682-done) by bugs.debian.org; 15 Sep 2005 13:05:14 +0000
>From kobold at kobold.it Thu Sep 15 06:05:14 2005
Return-path: <kobold at kobold.it>
Received: from diana.kobold.it [81.208.30.142] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EFtQP-0006fh-00; Thu, 15 Sep 2005 06:05:14 -0700
Received: from Debian-exim by diana.kobold.it with spam-scanned (Exim 4.50)
	id 1EFtQp-00047y-09
	for 300682-done at bugs.debian.org; Thu, 15 Sep 2005 15:05:40 +0200
Received: from matilde.dmgroup.it ([81.208.30.130] helo=localhost.localdomain)
	by diana.kobold.it with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.50)
	id 1EFtN3-00041T-Gx; Thu, 15 Sep 2005 15:01:47 +0200
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by localhost.localdomain with esmtp (Exim 4.52)
	id 1EFtM6-0002NN-Hx; Thu, 15 Sep 2005 15:00:46 +0200
Subject: closing fixed-in-experimental bugs
From: Fabio Tranchitella <kobold at kobold.it>
To: 293606-done at bugs.debian.org, 324307-done at bugs.debian.org,  300500-done at bugs.debian.org, 324309-done at bugs.debian.org, -done at bugs.debian.org,  324315-done at bugs.debian.org, 300682-done at bugs.debian.org,  324319-done at bugs.debian.org, 297462-done at bugs.debian.org,  292468-done at bugs.debian.org, 297810-done at bugs.debian.org,  324320-done at bugs.debian.org
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ud1eUiStA3jYzKHU+VoL"
Organization: Studio Tranchitella Associazione Professionale
Date: Thu, 15 Sep 2005 15:00:46 +0200
Message-Id: <1126789246.9052.9.camel at localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 
Delivered-To: 300682-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 7


--=-ud1eUiStA3jYzKHU+VoL
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

#293606, #324307
Closed by zope-cmfformcontroller 1.0.5-1 upload into unstable.

#300500, #324309
Closed by zope-cmfforum 0.5.0-7 upload into unstable.

#298515, #324315
Closed by zope-cmfphoto 0.5.0-7 upload into unstable.

#300682, #324319
Closed by zope-cmfphotoalbum 0.5.0-7 upload into unstable.

#297462, #292468, #297810, #324320
Closed by zope-cmfplone 2.1-1 upload into unstable.

--=20
Fabio Tranchitella                         http://www.kobold.it
Studio Tranchitella Assoc. Professionale   http://www.tranchitella.it
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564

--=-ud1eUiStA3jYzKHU+VoL
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDKXB+K/juK3+WFWQRAqUrAJ9cVtVux7irI37+vChCJPQj//VSDACfeBk9
PmdLLsC8g3wMth6kTLqRbCQ=
=UzEE
-----END PGP SIGNATURE-----

--=-ud1eUiStA3jYzKHU+VoL--




More information about the Pkg-zope-developers mailing list