Create new pynapl instance from Dyalog stuck hangs infinite loop if Py.dyalog fixed with wrong slashes
- Dominant language
- Python
- Stars
- 86
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
```
2⎕fix'C:\Users\rpark\Documents\GitHub\pynapl\pynapl/Py.Dyalog'
py←⎕new Py.Py
...
```
Most of that path uses Windows OS-appropriate backslashes, but the final slash is forward. However Pynapl is getting the path to its files it ends up one level too high in this case.
- [ ] Resolving pynapl path should normalise for any slashes
- [ ] Attempts to connect to python instance from Dyalog should have a retry limit and fail with a useful error about the inability to connect (with whatever information might be relevant / available e.g. python exe path, arguments that were given to python process, python process ID etc).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the path used when Py.Dyalog is fixed with ⎕fix and then instantiated with ⎕new Py.Py, reproducing the mixed-slash Windows path shown here. Check both path resolution and the connection attempt. Done means mixed slash styles resolve to the correct pynapl files, and failed Python connections stop retrying and report useful available process details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100