posit-dev / posit-dev/shinylive
Path("__file__").parent to read csv and pkl appears not to be working
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 251
- Forks
- 25
- Avg merge
- 19m
- Merged PRs (30d)
- 2
Description
I had previously deployed to GitHub pages using this app,
However now it appears that the Path(file).parent or Path("file").parent trick does not work for me. Did recently change to using pd.read_pickle. Just wanted to point to a time in which app working reading in data.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Shiny_App/app.py at the referenced commit and inspect the Path(file).parent usage alongside pd.read_pickle and the CSV reads. Reproduce the failure in the current Shinylive deployment and compare the file-loading behavior; done means the referenced data files load successfully in the deployed app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100