-
Notifications
You must be signed in to change notification settings - Fork 357
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
Download Results as pdf feature was added to the streamlit webapp #82
base: main
Are you sure you want to change the base?
Conversation
For downloading feature I don't think columns like longitude and latitude are needed👍🏻 Also add note specifying what is scode and cscode at the bottom in pdf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Dhiraj Raut <[email protected]>
Need recommendations on this. Shall I make changes as mentioned above? |
Hey @ShudarsanRegmi, I have a few suggestions:
|
@dhirajraut1 |
By this do you mean viewing the contents of pdf from streamlit? |
@LuluW8071 I meant the user to be able to download the file to their desired file location. Non-technical user don't have to see the file in the source directory. They can simply download the file directly. I have created something similar. See the screenshot below. |
@dhirajraut1 Is this project even for distribution for general users? This is meant to be run by the exam conducting comittee, isn't it? Why to worry too much about the download path ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Windows, if you encounter an error like: OSError: No wkhtmltopdf executable found: 'b'
, you can resolve it by installing wkhtmltopdf from here.
After installation, navigate to the installation directory and add the bin
folder to the environment variable path:
C:\Program Files\wkhtmltopdf\bin\
You may need to restart your system.
Also another issue for windows may be unicode display error(I couldnt find fix for this):
Not necessary for deployed server. This bug is for maintainers on windows platfom
Thank you for your effort but I see few fundamental issues with this feature -
Also note this is owned by NEB and not by MoEST directly, therefore MoEST logos would be inappropriate |
@sapradhan It may not be ready for final
The script is supposed to run again and again until all the students of all schools have not been assigned a center and if the distribution of centers is uneven. If the script gives tne best of its output then It will have to be reviewed by many other members and there will be manual allocations further. For this purpose alone it may be useful, isn't it ? Instead of sharing files like csv or tsv, better pdf can be distributed among the reviewing members. |
CSV and TSV are more suitable for review, edits as they can be easily dealt with spreadsheet applications. This is also for only one district, merging with other districts will also be necessary |
User can now download the generated results as pdf.