Onnxruntime: Nuget "Part URI cannot start with two forward slashes."

Created on 20 Mar 2019  路  6Comments  路  Source: microsoft/onnxruntime

Describe the bug
Added Microsoft.ML.OnnxRuntime to the nuget packages

Part URI cannot start with two forward slashes.

and

An error occurred while retrieving package metadata for 'Microsoft.ML.OnnxRuntime.0.3.0' from source 'D:\development\EntityRecognition\packages'.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
  • ONNX Runtime installed from (source or binary): binary nuget.org
  • ONNX Runtime version: 0.3.0

To Reproduce
Added Microsoft.ML.OnnxRuntime to the nuget packages, now get this error and cannot list installed nugets

Additional context
This issue seems related

bug

All 6 comments

This is in XML in nuget, may be related

<Override PartName="//LICENSE" ContentType="application/octet" />

@dashesy, the PR below should resolve the double slashes in the [Content_Types].xml file within the NuGet package.

https://github.com/Microsoft/onnxruntime/pull/669.

@jignparm thanks. Is there any pre-release package I can try?

@dashesy, I'll follow up offline.

I tried the dev nuget and the issue is now resolved, thanks. I also had to remove the 0.3.0 from packages directory, to get rid of the error: it seems VS looks at all the packages trying to read metadata and if it cannot read metadata from an older one does not ignore it!

Thanks for confirming it's working after cleaning up the NuGet cache -- looks like stale packages can still have impact.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

walbermr picture walbermr  路  3Comments

Pavel-Konarik picture Pavel-Konarik  路  4Comments

vlad3996 picture vlad3996  路  5Comments

fdwr picture fdwr  路  4Comments

Hramchenko picture Hramchenko  路  4Comments