Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8730399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:00:49+00:00 2026-06-13T09:00:49+00:00

I have been using Plone 4.2 without problems but want to test my site

  • 0

I have been using Plone 4.2 without problems but want to test my site with the upcoming Plone 4.3. I edited my buildout to use Plone 4.3a2 and reran buildout.

Now I get ImportError: cannot import name Schema.

This is what my extends section now looks like (I’ve included the commented out old reference to Plone 4.2 which has been replaced with the new Plone 4.3a2 url).

extends =
    deco.cfg
    toolbar.cfg
    users-ports.cfg
    base.cfg
    supervisor-cache-balancer.cfg
    products.cfg
#    versions.cfg
#    http://dist.plone.org/release/4.2-latest/versions.cfg
   http://dist.plone.org/release/4.3a2/versions.cfg
   pinnedversions.cfg

After rerunning buildout and launching my instance using bin/client1 fg

I get the following traceback:

from Products.ATContentTypes.criteria import _criterionRegistry
  File "/home/plone/buildout-cache/eggs/Products.ATContentTypes-2.1.7-py2.7.egg/Products/ATContentTypes/criteria/__init__.py", line 123, in <module>
    from Products.ATContentTypes.criteria.relativepath import ATRelativePathCriterion
  File "/home/plone/buildout-cache/eggs/Products.ATContentTypes-2.1.7-py2.7.egg/Products/ATContentTypes/criteria/relativepath.py", line 7, in <module>
    from Products.Archetypes.public import Schema, DisplayList
ImportError: cannot import name Schema

I’ve even tried to pin Archetypes and ATContentypes so that the buildout uses older versions (example those used in Plone 4.2) by adding the following to my pinnedversions.cfg file (which gets called after everything else).

[versions]
Products.ATContentTypes = 2.1.7
Products.Archetypes = 1.7.14

Even then there seems to be more to it than that, the ImportError: cannot import name Schema error persists. It does not matter what versions I use in the pinnedversions.cfg file it does not work.

All my investigations suggest that this should “just work”. Here’s what I’ve inspected so far:

  1. Using bin/client1 debug for troubleshooting I discovered that from Products.Archetypes import Schema, from Products.Archetypes.Schema import Schema and from Products.Archetypes.atapi import Schema all work.

  2. When I open the Products.Archetypes public.py file it includes the following line:

     from Products.Archetypes.atapi import *
    

    My understanding is that such a line would make it possible to import Schema from public.py

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:00:50+00:00Added an answer on June 13, 2026 at 9:00 am

    After further investigation between a clean 4.3a2 buildout and my buildout, the difference was Products.kupu, commenting out Product.kupu from my eggs section and rerunning buildout solved the problem.

    I have not investigated the reason this solves the problem, but it does.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using CI just fine using the MySQL driver. I want to
I have been using echo $.sprintf(%01\$.2f,$numvar); for my USD formatting, but I only copied
I have been running zope / plone site for about a year now -
I have been asked to convert an entire site that is currently using wordpress
I have been using TortoiseSVN for some time and I really like it. I
I have been using Stanford POS Tagger to tag parts of speech in a
I have been using play 1.2.5rc4 for development of one app and I have
I have been using an API to do some work. This is how I
I have been using some Javascript to create a text field once an certain
I have been using the storyboard to make an application and currently there are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.