QGIS-Contribution / QGIS-ResourceSharing

QGIS Resource Sharing Plugin
http://qgis-contribution.github.io/QGIS-ResourceSharing/
GNU Affero General Public License v3.0
38 stars 18 forks source link

Unable to find metadata file from windows file system #244

Open LEEYATWAH opened 2 years ago

LEEYATWAH commented 2 years ago

Environment

What is the bug?

Unable to add repository from my local file system.Here is my local repository's struct: E:\QGISRESOURCES │ metadata.ini │ README.md │ └─collections According to the document ,my repository URL should be like this: file://E:/QGISResources I add the repository but it fail. I have the metadata file but it can not locate it.

2022-04-27T16:39:52     WARNING    Unable to add repository: The metadata file could not be found in the repository
Guts commented 2 years ago

A new version is available with a bunch of improvments and fixes:

For now, it's still flagged as experimental.
Can you test again and tell me if you still encounter this bug please?

LEEYATWAH commented 2 years ago

I used the 1.0.0-beta1 version to test again and it still doesn’t work.The same bug. "2022-05-05T09:49:56 WARNING Unable to add repository: The metadata file could not be found in the repository"

Guts commented 2 years ago

Thanks for taking time to test again.

According to the document

Can you point me the part of documentation you are talking about please?

my repository URL should be like this: file://E:/QGISResources

Not sure about that on Windows...
Can you try:

LEEYATWAH commented 2 years ago

Thanks for your reply. The documentation "https://qgis-contribution.github.io/QGIS-ResourceSharing/authoring/creating-repository.html#preparing-the-repository".The part I mentioned is in ”Preparing the Repository“.The old version's doc said the local file system url should like "file://C://home//repository_root"

I change back-slash,still not work. Its not the problem of repository structure i think.

gisnederland commented 1 year ago

Same here. I tried all possible combinations of slashes (i think) : triple & quadriple, forward & backward, with & without trailing slash. 1.00-beta1 in QGis 3.22.5 on Win10.

Btw. Eventually I hope I can get this to work in combination with Sharepoint/Onedrive