swmm-python
swmm-python copied to clipboard
version 1.0.1 cannot read inp files with "õ, ä, ö, ü" in the name or path
Describe the bug When opening input files where the letters "õ", "ä", "ö" or "ü" are in the name of the file or in the path (catalogue) pyswmm returns error message "ERROR 303: cannot open input file."
The issue was solved when I downgraded back to version 0.6.2
To Reproduce For example file name "Söderhamn.inp" resulted that error message while "Soderhamn.inp" resulted expected behaviour (no errors when opening the file)
Expected behavior For example the following path throws the error: C:\Users\somename\models\Söderhamn
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 10
- Python Version Python 3.8
- PySWMM Version 1.0.1
Additional context Add any other context about the problem here.
@Nils-TalTech, I believe this is actually a problem with SWMM, not PySWMM. I am going to move this issue to SWMM's project.
Hi Bryant, Thank you!
Regards, Nils
From: Bryant E. McDonnell @.> Sent: neljapäev, 18. märts 2021 21:27 To: OpenWaterAnalytics/Stormwater-Management-Model @.> Cc: Nils Kändler @.>; Author @.> Subject: Re: [OpenWaterAnalytics/Stormwater-Management-Model] version 1.0.1 cannot read inp files with "õ, ä, ö, ü" in the name or path (#335)
@Nils-TalTechhttps://github.com/Nils-TalTech, I believe this is actually a problem with SWMM, not PySWMM. I am going to move this issue to SWMM's project.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/OpenWaterAnalytics/Stormwater-Management-Model/issues/335#issuecomment-802226312, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APXD5TZ7Y3U2TTBXIGZUJZDTEJH2BANCNFSM4ZNH2XOQ.
This is an issue with the swmm-toolkit wheel. I propose we transfer the issue there.
This issue will be addressed by issue #75