Skip to content

AttributeError: 'RequestContainer' object has no attribute 'setup' #117

@ericof

Description

@ericof

Calling the migration tool without setting the site raises an AttributeError:

2025-05-05 00:28:01,647 ERROR   [Zope.SiteErrorLog:35][waitress-2] AttributeError: http://localhost:8080/@sites
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 390, in publish_module
  Module ZPublisher.WSGIPublisher, line 284, in publish
  Module ZPublisher.mapply, line 98, in mapply
  Module ZPublisher.WSGIPublisher, line 68, in call_object
  Module plone.rest.service, line 21, in __call__
  Module plone.distribution.services.sites.get, line 46, in render
  Module plone.distribution.services.sites.get, line 121, in reply
  Module plone.distribution.services.sites.get, line 81, in get_sites
  Module plone.distribution.services.sites.get, line 23, in _is_outdated
  Module Products.CMFPlone.MigrationTool, line 311, in needUpgrading
  Module Products.CMFPlone.MigrationTool, line 253, in getInstanceVersion
AttributeError: 'RequestContainer' object has no attribute 'setup'

References:

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions