8000 AttributeError: type object 'tqdm' has no attribute 'wrapattr' · Issue #5 · cainmagi/FFmpeg-Encoder-Decoder-for-Python · GitHub
[go: up one dir, main page]

Skip to content

AttributeError: type object 'tqdm' has no attribute 'wrapattr' #5

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

Closed
qinyaolong123 opened this issue Apr 23, 2022 · 3 comments
Closed
Labels
bug Something isn't working.

Comments

@qinyaolong123
Copy link
qinyaolong123 commented Apr 23, 2022

Description

AttributeError: type object 'tqdm' has no attribute 'wrapattr'

OS

Should occur on both Linux and Windows.

Python version

Not specified. This bug is not related to the Python version.

numpy version

Not specified. This bug is not related to numpy.

mpegCoder version

3.2.3

(Should occur from 3.1.0b0 to 3.2.3)

@cainmagi cainmagi added bug Something isn't working. to be solved This issue or PR is waiting for the response. more info required More information is required for specifying the reported issue. labels Apr 25, 2022
@cainmagi
Copy link
Owner
cainmagi commented Apr 25, 2022

It seems that the issue is caused by tqdm. tqdm.tqdm.wrapattr does not exist in tqdm<=4.40.0. I guess that this problem can be fixed by

python -m pip install "tqdm>=4.40.0"

However, I think this should be not a neat solution because tqdm should not be a dependency of this project. Actually, I have written a check, where the tqdm will not be used if it is not installed. The problem exists because I have not considered the variety of tqdm APIs.

If you prefer not to upgrade your tqdm, please wait a day, I will upload a new version mpegCoder==3.2.4, where this problem will be fixed.

@cainmagi cainmagi removed the more info required More information is required for specifying the reported issue. label Apr 25, 2022
@cainmagi
Copy link
Owner

Good news! It seems that this issue is much easier than I expect to tackle.

Now you can update your mpegCoder by

python -m pip install "mpegCoder>=3.2.4"

to test it.

Please give me a day for updating the documentation, because the device where the environment is configured for writing the documentation is not near my hand.

Thank you for reporting the issue! If you find the problem is fixed, please close it. I will close the issue when the documentation is updated.

@cainmagi cainmagi removed the to be solved This issue or PR is waiting for the response. label Apr 25, 2022
@cainmagi
Copy link
Owner

Close this issue.

Thank you for reporting the bug. Your report has been added to the documentation.

See here;
https://cainmagi.github.io/FFmpeg-Encoder-Decoder-for-Python/docs/troubleshooting/installation#tqdm-has-no-attribute-wrapattr

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
0