When creating content type File
or Image
with a file or an image I get the following Exception:
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 173, in transaction_pubevents
Module transaction._manager, line 257, in commit
Module transaction._manager, line 134, in commit
Module transaction._transaction, line 282, in commit
Module transaction._compat, line 49, in reraise
Module transaction._transaction, line 273, in commit
Module transaction._transaction, line 456, in _commitResources
Module transaction._compat, line 49, in reraise
Module transaction._transaction, line 430, in _commitResources
Module ZODB.Connection, line 498, in commit
Module ZODB.Connection, line 545, in _commit
Module ZODB.Connection, line 582, in _store_objects
ZODB.POSException.Unsupported: Storing Blobs in <ZODB.mvccadapter.MVCCAdapterInstance
object at 0x000001ED5A77A6D0> is not supported.
I get the Exception both in linux
and in windows
.
The zope.conf
is generated with cookiecutter-zope-instance
with following configuration:
default_context:
target: '%ZOPE_INSTANCE_NAME%'
wsgi_listen: '%ZOPE_INSTANCE_HOST%:%ZOPE_INSTANCE_PORT%'
initial_user_name: 'admin'
initial_user_password: 'admin'
db_storage: 'zeo'
db_zeo_server: '%ZEO_HOST%:%ZEO_PORT%'
#db_filestorage_location: "filestorage/Data.fs"
db_blobs_location: "blobstorage"
# This file was generated by "cookiecutter-zope-instance"
%define INSTANCEHOME S:/Plone_6.0.0rc1/parts/client1
instancehome $INSTANCEHOME
%define CLIENTHOME S:/Plone_6.0.0rc1/parts/client1/var
clienthome $CLIENTHOME
debug-mode off
security-policy-implementation C
verbose-security off
default-zpublisher-encoding utf-8
<environment>
CHAMELEON_CACHE S:/Plone_6.0.0rc1/parts/client1/var/cache
zope_i18n_compile_mo_files true
</environment>
# Database
<zodb_db main>
mount-point /
cache-size 30000
# ZEO storage
<zeoclient>
# blobs
shared-blob-dir true
blob-dir S:/Plone_6.0.0rc1/parts/blobstorage
# general settings
server 127.0.0.1:8100
name 1
cache-size 128MB
# Advanced options
read-only-fallback true
read-only true
drop-cache-rather-verify False
</zeoclient>
</zodb_db>
I get the same error no matter if read-only
and read-only-fallback
are set to true
or false