microsoft / jupyter-Kqlmagic

Extension (Magic) to Jupyter notebook and Jupyter lab, that enable notebook experience working with Kusto, ApplicationInsights, and LogAnalytics data.
Other
85 stars 31 forks source link

Kqlmagic does not initialize in directory with @ in dirname #100

Closed neelaryan closed 6 months ago

neelaryan commented 1 year ago

Problem description

If the Jupyter notebook is present in a directory containing '@' in dirname, then %reload_ext Kqlmagic does not create the Kqlmagic folder in the same folder. Rather it creates a separate directory without '@' in name, and creates Kqlmagic folder there.

This is a problem if deployment / development is done in restricted environments where the user does not have permissions to create new folder at the same level where Jupyter is running. In such, the user will face the following error -

PermissionError: [Errorno 13] Permission denied: '/home/user/dirwithsymbol'

Steps to reproduce

mbnshtck commented 6 months ago

will be fixed soon.