Skip to content

Unhandled IsADirectoryError #108

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

Open
schadilibre opened this issue Jan 24, 2025 · 2 comments
Open

Unhandled IsADirectoryError #108

schadilibre opened this issue Jan 24, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@schadilibre
Copy link

schadilibre commented Jan 24, 2025

Tried to move my log path to another directory.
The target path contains spaces and some "special" chars like é (e with accent) and ' (tick)

Versions:

  • Flowkeeper: 0.9.1
  • Qt: 6.7.0 (cocoa)
  • Python: 3.11.9 (v3.11.9:de54cf5be3, Apr 2 2024, 07:12:50) [Clang 13.0.0 (clang-1300.0.29.30)]
  • Platform: Darwin 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 18:56:34 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6020
  • Kernel: macOS-15.2-arm64-arm-64bit

Stack trace:

Traceback (most recent call last):
  File "fk/qt/qt_invoker.py", line 30, in event
  File "fk/desktop/application.py", line 458, in _on_setting_changed
  File "fk/desktop/application.py", line 204, in _initialize_logger
  File "logging/__init__.py", line 1181, in __init__
  File "logging/__init__.py", line 1213, in _open
IsADirectoryError: [Errno 21] Is a directory: "/Users/stephane/some path with é and 'char/SCHA/_FlowKeeper"
@schadilibre
Copy link
Author

The problem also occurs with a quite simple path as /user/prenom.nom/flowkeeper.log

@co-stig
Copy link
Contributor

co-stig commented Jan 25, 2025

Hello @schadilibre, thanks for the report! I'll try to reproduce it on my Mac and will fix it for the upcoming v0.10.0.

@co-stig co-stig added the bug Something isn't working label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants