Execute request fails with input identifier as id attribute (id=identifier)
还没有人认领这个 Issue。
评估
调研方向
未指定源文件或测试。首先使用所示的 id 属性重现一个 WPS 2.0.0 Execute 请求,将其与 1.0.0 请求进行比较,并检查 PyWPS 4.5.1 如何读取输入标识符;当请求被接受且未报告缺少 area_of_interest 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Description
Using a an npm package for WPS on the client, the switch to WPS 2.0.0 (for advanced feature) produces
WPS Execute requests in the following form
2.0.0 EXECUTE
...
<wps:Input id="pixel_size">
<wps:Data mimeType="text/xml">
<wps:LiteralValue dataType="xs:double">4</wps:LiteralValue>
</wps:Data>
</wps:Input>
...
instead of this form (when using 1.0.0)
1.0.0 EXECUTE
...
<wps:Input>
<ows:Identifier>pixel_size</ows:Identifier>
<wps:Data>
<wps:LiteralData>56</wps:LiteralData>
</wps:Data>
</wps:Input>
...
I am not sure if this is a valid WPS request, but PyWPS execution fails when the first format is used with this error
<ows:Exception exceptionCode="MissingParameterValue" locator="area_of_interest" >
<ows:ExceptionText>area_of_interest</ows:ExceptionText>
</ows:Exception>
Environment
- operating system:
- Python version: 3.8
- PyWPS version: 4.5.1
- source/distribution
- git clone
- Debian
- PyPI
- zip/tar.gz
- [] other:
- web server
- Apache/mod_wsgi
- CGI
- other (gunicorn + nginx):
Steps to Reproduce
Send a WPS Service EXECUTE request with the 2.0.0 format
- 主要语言
- Python
- 星标
- 186
- 派生
- 117
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
geopython/pywps 的其他 Issue
-
ReadTheDocs OAuth App Installation可能重新可做 @tomkralidis 于 98 天前认领,目前没有进行中的 PR。 未关闭documentation
-
Modernizing the packaging of the library可能重新可做 @Zeitsperre 于 311 天前认领,目前没有进行中的 PR。 未关闭documentation enhancement packaging
-
DBLog test are bound to other test可能已有人在做 @C1-BA-B1-F3 于 23 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 45/100
-
ComplexOutput data as reference always generates a file named "input.csv", should be "output".可能已有人在做 @C1-BA-B1-F3 于 23 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
UKGovernmentBEIS/optstop#10 ·
-
maintenance
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
pollen-robotics/reachy_mini#1508 ·
维护者通常 1 天内回复
-
[BUG] `cloud-keys.env` values retain enclosing quotes causing 401 Unauthorized, and missing utf-8 encoding crashes on Windows可能已有人在做 @divyanshu07-code 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
open-jarvis/OpenJarvis#1192 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
sylvainmetayer/homelab#851 ·
维护者通常 1 天内回复