简体   繁体   English

CKAN 2.2 - 添加资源时出现奇怪的错误

[英]CKAN 2.2 - strange error while adding resource

I have the following issue:我有以下问题:

  1. I fill in the form for creating a new dataset.我填写了用于创建新数据集的表单。
  2. I click the button 'Next: Add Data'.我单击“下一步:添加数据”按钮。 (All given data are proceeded as valid) (所有给定的数据都被视为有效)
  3. CKAN redirects me to the error page with the following text: 404 Not Found. The resource could not be found. The dataset XXX could not be found. CKAN 将我重定向到带有以下文本的错误页面: 404 Not Found. The resource could not be found. The dataset XXX could not be found. 404 Not Found. The resource could not be found. The dataset XXX could not be found.

I checked the database and the dataset was not created.我检查了数据库并没有创建数据集。 This issue appers just sometimes.这个问题只是有时出现。 Do you have any idea what could cause such strange behaviour?你知道什么会导致这种奇怪的行为吗?

I have the same error, using suggestion from @bellisk helped me solved it.我有同样的错误,使用@bellisk 的建议帮助我解决了它。 the details of my error and solution is in this ticket Error 404 not found uploading dataset to YYC Data Collective (CKAN)我的错误和解决方案的详细信息在这张票中找不到错误 404 将数据集上传到 YYC Data Collective (CKAN)

Notice that in my case plugin is "validation" but in your case it can be different however the solution is the same .请注意,在我的情况下,插件是“验证”,但在您的情况下,它可能会有所不同,但解决方案是相同的。 Just disable the culprit plugin by removing its name in configuration file and do not forget to restart the server.只需通过在配置文件中删除其名称来禁用罪魁祸首插件,不要忘记重新启动服务器。

Remove plugin one by one until you find the bad one :).一一删除插件,直到找到坏插件:)。 Hope it will help.希望它会有所帮助。 Thanks Bellisk!谢谢贝利斯克!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM