Tu sei qui: Portale » Communauté » Import Error: cannot import name PythonField
Your last jobs
In order to publish them on our website, you can submit your job or internship offers to this address
 

Import Error: cannot import name PythonField



Post  Import Error: cannot import name PythonField
Author: drbagpuss  Send Email
Date: 2009-03-15


Hi - I'm trying to import a site I've created and exported from Objectis as a .zexp file

When I run the Import process via Zope I get this error returned. Can anyone please help me fix this? I've searched this forum and Google and found nothing so far.

----------------------------------------------------------------------- Request URL http://localhost/manage_importObject Exception Type ImportError Exception Value cannot import name PythonField

Traceback (innermost last):

  • Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module OFS.ObjectManager, line 610, in manage_importObject Module OFS.ObjectManager, line 627, in _importObjectFromFile Module ZODB.ExportImport, line 75, in importFile Module transaction._transaction, line 312, in savepoint Module transaction._transaction, line 309, in savepoint Module transaction._transaction, line 737, in __init__ Module ZODB.Connection, line 1048, in savepoint Module ZODB.Connection, line 519, in _commit Module ZODB.ExportImport, line 143, in _importDuringCommit Module None, line 14, in ?

ImportError: cannot import name PythonField ------------------------------------------------------------

Zope version = 2.10.7 Python version = 2.4.4 Plone version = 3.1.7




Apéros plone

Vous êtes les bienvenus aux apéros plone : un moment convivial pour parler de Plone, Python et plein d'autres sujets

Manuel Plone 3