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

Can't upload new package directly to checkmk exchange #1

Closed
virus2500 opened this issue Nov 9, 2020 · 2 comments
Closed

Can't upload new package directly to checkmk exchange #1

virus2500 opened this issue Nov 9, 2020 · 2 comments

Comments

@virus2500
Copy link

Hello,

when i try to upload a package directly to checkmk exchange i get the error message "The structure of the file is invalid".

I noticed while extracting them that when i pack the files using wato there is an additional info.json file which more or less has the same content as the info (without .json) file. Apparently both are necessary. Or at least thats my best guess right now.

Could you please look into this?

Here you can see both version https://www.dropbox.com/sh/luuqcnlfh5vg07p/AAAun1zadTt7uobvoCmieT30a?dl=0

The one with selfpacked in the name is the one created using your python class.

Thanks for sharing btw. 👍

thanks and best regards
Michael

@tom-mi
Copy link
Owner

tom-mi commented Nov 14, 2020

Hello,

thanks for the report, I didn't have a look at this library for the last 5 years ;)
The info.json file is now also added to the archive, containing the same content as info.
It worked for one of my mkp packages, please have a look if that solves the problem for you. You'll need version 0.5.

Best regards
Thomas

@tom-mi tom-mi closed this as completed Nov 14, 2020
@virus2500
Copy link
Author

Hello,

i've seen that it has been quite a while but i thought it couldn't hurt to ask and i wasn't disappointed at all 👍

It works flawlessly now, thank you very much for the fix!

best regards
Michael.

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

No branches or pull requests

2 participants