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

Error when I try to produce "Inventory of Missing Data" inventory product #681

Open
Patowhiz opened this issue Feb 10, 2022 · 10 comments
Open

Comments

@Patowhiz
Copy link
Member

@smachua @mhabimana I'm getting an error when @dannyparsons and I try to produce the "Inventory of Missing Data" inventory product. See screenshot below.

Looking at the code I noticed that this product is supposed to be generated by a procedure in the database level? So I presume my database script didn't have this procedure and current users have it? I wonder whether it would be useful to have this product done at the application level.

Thanks.

Error
climsoft_error

Code
climsoft_sub_error

@mhabimana
Copy link
Contributor

mhabimana commented Feb 10, 2022

@Patowhiz : This module is a contribution of our colleague from Lesotho @Ralenkoane (Victor), using procedures. It has some issues and need further improvement. Not sure you have all the procedures required for this products.
Here is a sample of the product of this module:
image

@Patowhiz
Copy link
Member Author

@mhabimana thanks for the response. Do you have a sample output that I can have a look at?

@Ralenkoane
Copy link

Ralenkoane commented Feb 10, 2022 via email

@mhabimana
Copy link
Contributor

@Patowhiz : It is working on my side: see below the output I am getting,but still it is not working well as desired because if you select many elements for example,it does not give you a good result.
image

@mhabimana
Copy link
Contributor

@Ralenkoane: Good to hear from you, long time.
We need to discuss further and see how this useful product can be improved if you have time.

@mhabimana
Copy link
Contributor

@Ralenkoane - Not sure you saw and read @Patowhiz message on top,he is complaining not getting desired products but I guest he is missing one of the procedures in his database.

@Patowhiz
Copy link
Member Author

@mhabimana thanks for the sample output. I guess I don't have the procedures. Can you share them to me, would be useful to me for testing the code. I have the latest changes from the master.

@mhabimana
Copy link
Contributor

@Patowhiz - Sure.

@mhabimana
Copy link
Contributor

mhabimana commented Feb 10, 2022

@Patowhiz : Below are the procedures,you need to run each of them once to create required tables in your database,you can read the scripts, they are self explanatory. Let me know how you are getting on. I am sure @Ralenkoane will be happy to respond to any other of your questions on this.

@smachua
Copy link
Contributor

smachua commented Feb 10, 2022

@mhabimana and @Patowhiz this product was done through stored procedures, The development contributor (Victor, from Lesotho) was an expert in stored procedures and we allowed him use them. Note that we have been including these procedures in the installation and upgrade script files. If you run them the procedures will be created in your database. I have attached the upgrade script file in case you don't have it.
mariadb_climsoft_db_v4_upgrade.txt

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

4 participants