我正在尝试将plone3 data.fs导入plone4,但是它出现了这个错误
TypeError: ('object.__new__(RateAgainstBaseRate) is not safe, use Persistence.Persistent.__new__()', <function _reconstructor at 0x7fbe8c0e38c0>, (<class 'currency.converter.currency_data.RateAgainstBaseRate'>, <type 'object'>, None))
我认为在修改导入数据库之前删除产品可以解决问题。 当我在plone3中搜索zmi for currency.converter时,它会找到:
在/atf/portal_quickinstaller/currency.converter上安装的产品
虽然当我访问quickinstaller时,它没有列出。文件系统中也没有任何内容。
currency.converter位于buildout.cfg的egg部分,但是从那里删除并重新运行buildout也会导致plone3中出现此错误:
Error Type: TypeError
Error Value: ('object.__new__(RateAgainstBaseRate) is not safe, use Persistence.Persistent.__new__()', <function _reconstructor at 0x7f55e1fa38c0>, (<class 'currency.converter.currency_data.RateAgainstBaseRate'>, <type 'object'>, None))
有关如何删除此产品的任何建议吗?
答案 0 :(得分:1)
我通过安装新的0.55版本重新获得了对该产品的控制权。