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

No info on installing reporting stored procedure #31

Open
dimonic opened this issue Jun 9, 2020 · 9 comments
Open

No info on installing reporting stored procedure #31

dimonic opened this issue Jun 9, 2020 · 9 comments

Comments

@dimonic
Copy link

dimonic commented Jun 9, 2020

I tried copying the reporting subdirectory into the installed tracsubtickets directory in dist-packages, but the stored procedure cannot be found by the example code.

Where does one need to install the stored procedure so it can be used?

@rjollos
Copy link
Member

rjollos commented Jun 11, 2020

You'll have to manually create the reports from the /report page:
https://trac.edgewall.org/wiki/TracReports#CreatingCustomReports

@dimonic
Copy link
Author

dimonic commented Jun 12, 2020 via email

@rjollos
Copy link
Member

rjollos commented Jun 12, 2020

It looks like they might be written for PostgreSQL. Are you using SQLite?

@dimonic
Copy link
Author

dimonic commented Jun 12, 2020 via email

@rjollos
Copy link
Member

rjollos commented Jun 12, 2020

Oh, I see. I'm not sure how to load a stored procedure on PostgreSQL. Probably need to consult the official PostgreSQL documentation.

@dimonic
Copy link
Author

dimonic commented Jun 12, 2020 via email

@rjollos
Copy link
Member

rjollos commented Jun 27, 2020

I will try to find time to look into that and get back to you.

@dimonic
Copy link
Author

dimonic commented Jun 28, 2020 via email

@rjollos
Copy link
Member

rjollos commented Jul 14, 2020

It looks to me like you need to run the scripts using psql: https://superuser.com/a/701823.

Then, you will be able to use the stored procedures in Trac reports.

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