-
Notifications
You must be signed in to change notification settings - Fork 19
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
Key Error 'einheitenaenderungnetzbetreiberzuordnungen' #569
Comments
Hi @AhmadShelbayeh If this does not work, you can answer again in this issue. |
@FlorianK13 |
This is the error: Download has started, this can take several minutes.The download bar is only a rough estimate. Cell In[1], line 13 File D:\Prog.cpy\Data\Anaconda3\envs\Ahmad\lib\site-packages\open_mastr\mastr.py:231 in download File D:\Prog.cpy\Data\Anaconda3\envs\Ahmad\lib\site-packages\open_mastr\xml_download\utils_write_to_database.py:34 in write_mastr_xml_to_database File D:\Prog.cpy\Data\Anaconda3\envs\Ahmad\lib\site-packages\open_mastr\xml_download\utils_write_to_database.py:76 in is_table_relevant KeyError: 'einheitenaenderungnetzbetreiberzuordnungen' |
And your version right now is 0.14.4? Because 0.14.3 would initialize the old database schema. |
@FlorianK13 |
Then you need to run pip install --upgrade open-mastr |
@FlorianK13 |
Description of the issue
Hey guys, I am getting a key error when downloading the Bulk data.
Code:
from open_mastr import Mastr
db = Mastr()
today_date = datetime.now().strftime('today')
db.download(method='bulk', data=["wind", "market", "permit", "deleted_units"], date=today_date)
KeyError: 'einheitenaenderungnetzbetreiberzuordnungen'
Steps to Reproduce
Ideas of solution
Context and Environment
Version used: 0.14.3. and 0.14.4.
Environment setup and (python) version: 3.11. & 3.12.
The text was updated successfully, but these errors were encountered: