[Zope] PCNG 1.2.7 does exception when being added.

Vlada Macek tuttle at bbs.cvut.cz
Wed Aug 3 13:11:18 EDT 2005


I have the following configuration, both Zope and Plone are up to date
to these branches:

svn://svn.zope.org/repos/main/Zope/branches/Zope-2_8-branch
https://svn.plone.org/svn/plone/bundles/2.1

Plone version: Plone 2.1-beta2 (svn/unreleased)
Zope version: Zope (Zope 2.8.1-b1, python 2.3.5, linux2)
Python 2.3.5 (#2, May 4 2005, 08:51:39) [GCC 3.3.5 (Debian 1:3.3.5-12
Browser(s) and version(s): Firefox 1.0.4
Operating system: Linux Debian 3.1 (Sarge) stable


When I install PloneCollectorNG 1.2.5 from tar.gz and try to add the
"pcng tracker" from Plone, the following error will always rise:

Error Type
    BadRequest
Error Value
    The id "plaintext_lexicon" is invalid - it is already in use.

The full log item from the Plone Error Log is attached.

Is it that PCNG 1.2.7 cannot be used with recent SVN Zope/Plone? If so,
couldn't this be mentioned somewhere in the docs, please?

Thanks in advance.

-- 

\//\/\
(Sometimes credited as 1494 F8DD 6379 4CD7 E7E3 1FC9 D750 4243 1F05 9424.)

-------------- next part --------------

ÄŒas
    2005/08/03 18:45:45.912 GMT+2
JmĂŠno uĹživatele
    admin (admin)
Adresa URL poĹžadavku
    http://localhost:8080/HIS/sczescwerheerhdfb/createObject
Typ výjimky
    BadRequest
Hodnota výjimky
    The id "plaintext_lexicon" is invalid - it is already in use.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 113, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Products.CMFFormController.FSControllerPythonScript, line 105, in __call__
    * Module Products.CMFFormController.Script, line 141, in __call__
    * Module Products.CMFCore.FSPythonScript, line 108, in __call__
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPythonScript, line 163, in _exec
    * Module None, line 16, in createObject
      <FSControllerPythonScript at /HIS/createObject used for /HIS/sczescwerheerhdfb>
      Line 16
    * Module Products.ATContentTypes.lib.constraintypes, line 274, in invokeFactory
    * Module Products.CMFCore.PortalFolder, line 408, in invokeFactory
    * Module Products.CMFCore.TypesTool, line 930, in constructContent
    * Module Products.CMFCore.TypesTool, line 340, in constructInstance
    * Module Products.CMFCore.TypesTool, line 571, in _constructInstance
    * Module Products.PloneCollectorNG.Collector, line 4, in addPloneCollectorNG
    * Module OFS.ObjectManager, line 293, in _setObject
    * Module Products.PloneCollectorNG.Collector, line 122, in manage_afterAdd
    * Module Products.PloneCollectorNG.Collector, line 146, in setup_tools
    * Module Products.PloneCollectorNG.Collector, line 162, in _setup_catalog
    * Module Products.BTreeFolder2.BTreeFolder2, line 431, in _setObject
    * Module Products.PloneCollectorNG.Collector, line 952, in manage_afterAdd
    * Module Products.CMFCore.CatalogTool, line 184, in _initIndexes
    * Module OFS.ObjectManager, line 265, in _setObject
    * Module OFS.ObjectManager, line 84, in checkValidId

BadRequest: The id "plaintext_lexicon" is invalid - it is already in use.

REQUEST
form
type_name	'PloneCollectorNG'
cookies
tree-s	'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnWxzsQJGvGlQiSNkfR5wuSsQDKJCbqAQD1tBZ8'
zmi_top_frame	''
zmi_use_css	'1'
I18N_LANGUAGE	'cs'
dtpref_cols	'95%'
__ac_name	'admin'
wstyle	''
dtpref_rows	'25'
photo_display	'large'
_ZopeId	'40204748A18SzYLK0d0'
lazy items
other
zmi_top_frame	''
tree-s	'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnWxzsQJGvGlQiSNkfR5wuSsQDKJCbqAQD1tBZ8'
URL3	'http://localhost:8080'
URL2	'http://localhost:8080/HIS'
AUTHENTICATION_PATH	''
LANGUAGE	'cs'
AUTHENTICATED_USER	admin
type_name	'PloneCollectorNG'
SERVER_URL	'http://localhost:8080'
traverse_subpath	[]
SESSION	id: 11230875371247919349, token: 40204748A18SzYLK0d0, contents: []
dtpref_cols	'95%'
__ac_name	'admin'
dtpref_rows	'25'
ACTUAL_URL	'http://localhost:8080/HIS/sczescwerheerhdfb/createObject'
_ZopeId	'40204748A18SzYLK0d0'
URL	'http://localhost:8080/HIS/sczescwerheerhdfb/createObject'
I18N_LANGUAGE	'cs'
wstyle	''
PUBLISHED	<FSControllerPythonScript at /HIS/createObject used for /HIS/sczescwerheerhdfb>
controller_state	<Products.CMFFormController.ControllerState.ControllerState object at 0x4226364c>
TraversalRequestNameStack	[]
LANGUAGE_TOOL	<Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0x4488c90c>
zmi_use_css	'1'
BASE1	'http://localhost:8080'
BASE2	'http://localhost:8080/HIS'
BASE3	'http://localhost:8080/HIS/sczescwerheerhdfb'
BASE4	'http://localhost:8080/HIS/sczescwerheerhdfb/createObject'
URL1	'http://localhost:8080/HIS/sczescwerheerhdfb'
photo_display	'large'
URL0	http://localhost:8080/HIS/sczescwerheerhdfb/createObject
URL1	http://localhost:8080/HIS/sczescwerheerhdfb
URL2	http://localhost:8080/HIS
URL3	http://localhost:8080
BASE0	http://localhost:8080
BASE1	http://localhost:8080
BASE2	http://localhost:8080/HIS
BASE3	http://localhost:8080/HIS/sczescwerheerhdfb
BASE4	http://localhost:8080/HIS/sczescwerheerhdfb/createObject
environ
HTTP_COOKIE	'__ac_name="admin"; zmi_top_frame=""; dtpref_cols="95%"; dtpref_rows="25"; photo_display=large; zmi_use_css="1"; wstyle=; tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnWxzsQJGvGlQiSNkfR5wuSsQDKJCbqAQD1tBZ8"; _ZopeId="40204748A18SzYLK0d0"; I18N_LANGUAGE="cs"'
SERVER_SOFTWARE	'Zope/(Zope 2.8.1-b1, python 2.3.5, linux2) ZServer/1.1 Plone/Unknown'
SCRIPT_NAME	''
REQUEST_METHOD	'GET'
HTTP_KEEP_ALIVE	'300'
SERVER_PROTOCOL	'HTTP/1.1'
QUERY_STRING	'type_name=PloneCollectorNG'
channel.creation_time	1123087523
CONNECTION_TYPE	'keep-alive'
HTTP_ACCEPT_CHARSET	'ISO-8859-2,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT	'Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)'
HTTP_REFERER	'http://localhost:8080/HIS/sczescwerheerhdfb'
SERVER_NAME	'0.0.0.0'
REMOTE_ADDR	'127.0.0.1'
PATH_TRANSLATED	'/HIS/sczescwerheerhdfb/createObject'
SERVER_PORT	'8080'
HTTP_HOST	'localhost:8080'
HTTP_ACCEPT	'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
GATEWAY_INTERFACE	'CGI/1.1'
HTTP_ACCEPT_LANGUAGE	'cs,en-us;q=0.7,en;q=0.3'
HTTP_ACCEPT_ENCODING	'gzip,deflate'
PATH_INFO	'/HIS/sczescwerheerhdfb/createObject'



More information about the Zope mailing list