#2 — Import fails
by
(anonymous)
—
last modified
Jan 08, 2009 02:35 PM
| State | Resolved |
|---|---|
| Version: | 0.8.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | (anonymous) |
| Submitted on | Jan 19, 2006 |
| Responsible |
—
|
| Target release: |
—
|
I get an error when I click the import tab of a bibliography folder
Plone version: 2.1
Zope version: (Zope 2.8.3-3.fc4, python 2.4.1, linux2)
Apache version:
CMF version (if known): CMF-1.5.4
Browser(s) and version(s): Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060111 Firefox/1.6a1
Operating system: linux2
Python version: 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
Debug mode: No
ATBiblioList 0.5 installed
ATContentTypes 1.0.0-final installed
ATExtensions 0.7.1 installed
ATReferenceBrowserWidget 1.1 installed
Archetypes 1.3.4-final installed
BTreeFolder2 BTreeFolder2-1.0.2
CMFActionIcons CMF-1.5.4 installed
CMFBibliographyAT 0.8.0 installed
CMFCalendar CMF-1.5.4 installed
CMFCore CMF-1.5.4
CMFDefault CMF-1.5.4
CMFDynamicViewFTI 1.0.1
CMFFormController 1.0.5 installed
CMFPlone 2.1
CMFQuickInstallerTool 1.5.5 installed
CMFSetup CMF-1.5.4
CMFTopic CMF-1.5.4
CMFUid CMF-1.5.4
DCWorkflow CMF-1.5.4
ExtendedPathIndex 2.1
ExternalEditor 0.9.1
ExternalMethod External Method-1-0-0
Five Five 1.0.2
GroupUserFolder 3.4 installed
MIMETools
MailHost MailHost-1-3-0
MimetypesRegistry 1.3.6-final01 installed
OFSP OFSP-1-0-0
PageTemplates PageTemplates-1-4-0
PlacelessTranslationService 1.2.1
PloneErrorReporting 0.11 installed
PloneLanguageTool 0.7
PloneTranslations 2.1
PluginIndexes
PortalTransforms 1.3.7-final01 installed
PythonScripts PythonScripts-2-0-0
ResourceRegistries 1.0.4 installed
SecureMailHost 1.0.1
Sessions
SiteAccess SiteAccess-2-0-0
SiteErrorLog
StandardCacheManagers StandardCacheManagers-1-1-0
TemporaryFolder
Transience
ZCTextIndex
ZCatalog ZCatalog-2-2-0
ZGadflyDA
ZODBMountPoint
ZReST 1.1
ZSQLMethods
ZopeTutorial Zope Tutorial 1.2
generator 1.3.1-final01
kupu kupu 1.3 installed
validation 1.3.3-final05
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.FSControllerPageTemplate, line 98, in __call__
Module Products.CMFFormController.BaseControllerPageTemplate, line 42, in _call
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 188, in _exec
Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSControllerPageTemplate at /mlab/bibliography_importForm used for /mlab/Members/pmoorcroft/publications>
Module TAL.TALInterpreter, line 206, in __call__
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 742, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 690, in do_defineMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 734, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 477, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: file:CMFBibliographyAT/skins/bibliography/bibliography_importForm.cpt
- Line 109, Column 8
- Expression: standard:'here/getLastImportReport'
- Names:
{'container': <PloneSite at /mlab>,
'context': <BibliographyFolder at /mlab/Members/pmoorcroft/publications>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb769feec>,
'here': <BibliographyFolder at /mlab/Members/pmoorcroft/publications>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb3682ccc>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb76a612c>,
'nothing': None,
'options': {'args': (),
'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb36a118c>},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb3682ccc>,
'request': <HTTPRequest, URL=https://www.esm.harvard.edu/[…]/bibliography_importForm>,
'root': <Application at >,
'template': <FSControllerPageTemplate at /mlab/bibliography_importForm used for /mlab/Members/pmoorcroft/publications>,
'traverse_subpath': [],
'user': dlipsitt}
Module Products.PageTemplates.Expressions, line 185, in __call__
Module Products.PageTemplates.Expressions, line 180, in _eval
Module Products.PageTemplates.Expressions, line 77, in render
Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns
Module Products.CMFCore.FSPythonScript, line 103, in __render_with_namespace__
Module Shared.DC.Scripts.Bindings, line 325, in __render_with_namespace__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 142, in _exec
- <FSPythonScript at /mlab/getLastImportReport used for /mlab/Members/pmoorcroft/publications>
RuntimeError: CMFBibliographyAT/skins/bibliography/getLastImportReport.py has errors.
- Steps to reproduce:
- - Create a new bibliography folder
- Click "import"
Added by
(anonymous)
on
Feb 15, 2006 01:59 PM
We had the same problem and we found the folloowing solution to it:
In several of the py files carriage return characters are enclosed - we removed them and everything worked fine again ...
No responses can be added.
If you can, please log in before submitting a reaction.
