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
Error in ExcelModel().loads(filename) - 'DefinedNameDict' object has no attribute 'definedName' (Python 3.9) #114
Comments
I've had same issue – looks like it's because of new version of |
Anyone know how difficult it would be to fix this bug? I am also in the same boat on python 3.11.x:
I am using openpyxl>=3.1.0 since I need the newly added Custom Data Properties functionality, so I can't downgrade to an older version. @vinci1it2000, thanks for the awesome work! |
What are these recent recommendations, @michaelkryukov? |
I'm not sure, but docs should contain needed information (something like that). |
I'm facing the same issue and did some digging in the OpenPyXl repository: In the release note of
In print(type(workbook.defined_names))
>>> <class 'openpyxl.workbook.defined_name.DefinedNameList'> In print(type(workbook.defined_names))
>>> <class 'openpyxl.workbook.defined_name.DefinedNameDict'> An other change that might be relevant in the removal of @vinci1it2000 I've never contributed to any open source project, but with some assistance I can try to make a PR to fix these issues. |
Looks like it is getting fixed in the next release! Thank you, @vinci1it2000! |
Describe the bug
The
test_excel.py
script provided here on Git fails to complete without error.To Reproduce
I downloaded (6feb2023) the files
test_excel.py
andtest_files
from here:https://github.com/vinci1it2000/formulas/tree/master/test
I use python 3.9.16 and installed the missing required packages (
dill
,schedula
,formulas[all]
)I appended the following lines at the end of
test_excel.py
:and receive the following error message:
Expected behavior
The
test_excel.py
provided here with the repository is expected to work under Python 3.9 with all required packages installed.Desktop:
The text was updated successfully, but these errors were encountered: