Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find metadata file from windows file system #244

Open
LEEYATWAH opened this issue Apr 27, 2022 · 5 comments
Open

Unable to find metadata file from windows file system #244

LEEYATWAH opened this issue Apr 27, 2022 · 5 comments
Assignees
Labels

Comments

@LEEYATWAH
Copy link

Environment

  • Plugin version: 0.17.0
  • QGIS version: 3.22.3-Białowieża
  • Operating System: Windows 10

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
@LEEYATWAH LEEYATWAH added the bug label Apr 27, 2022
@Guts
Copy link
Contributor

Guts commented May 4, 2022

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?

@Guts Guts self-assigned this May 4, 2022
@LEEYATWAH
Copy link
Author

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
Copy link
Contributor

Guts commented May 7, 2022

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:

  • to use back-slash instead of slash: file:\\\\E:\\QGISResources
  • to confirm that your repository structure is okay, can you copy it to your computer (not on locl network I mean) and try again?

@LEEYATWAH
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants