バージョン0.8.4とバージョン0.9.1の間でウィジェットのパーサーが変更されましたか?最近更新されましたが、今は.wgtファイルをアップロードできません。次のエラーが表示されます:Error uploading the following components: TestWidget.wgt: Error parsing config.xml descriptor file: No valid parser found
。ウィジェットのWireCloud xmlパーサー
まったく同じファイルがWireCloud v 0.8.4で正常に動作します。 オペレータをアップロードするときにこの問題は発生しません。うまく動作します。ここで
は0.8.4で働いていた私たちのconfig.xmlにある:
<?xml version="1.0" encoding="UTF-8"?>
<Template xmlns="http://wirecloud.conwet.fi.upm.es/ns/template#">
<Catalog.ResourceDescription>
<Vendor>Example Com</Vendor>
<Name>widget.chart</Name>
<Version>0.0.1</Version>
<DisplayName>Chart</DisplayName>
<Author>newbird</Author>
<Mail>[email protected]</Mail>
<Description>A chart</Description>
<ImageURI>images/arrow.png</ImageURI>
<iPhoneImageURI>images/arrow.png</iPhoneImageURI>
<WikiURI>doc/index.html</WikiURI>
</Catalog.ResourceDescription>
<Platform.Wiring>
<InputEndpoint name="data" type="text" label="Data"
action_label="data" description="Insert data here"
friendcode="text"/>
</Platform.Wiring>
<Platform.Link>
<XHTML href="index.html" content-type="text/html" cacheable="false"
use-platform-style="true"/>
</Platform.Link>
<Platform.Rendering width="3" height="8"/>
</Template>
上記のconfig.xmlを変換しようとすると、次のエラーメッセージが表示されます。 'ロガーにハンドラが見つかりませんでした。' rdflib.term " エラー:有効なパーサーが見つかりませんでした。 新しいテンプレートを示すconfig.xmlの例はありますか? WireCloudのソースでは、古いテンプレートを使用しているサンプルを見つけることしかできませんでした。 – Newbird
私のせいで、あなたの指示を慎重に読まなかったので、xml設定を変換するためにwirecloudの0.8.4バージョンを取らなければなりませんでした。 – Newbird