-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
email factorRole SECONDARY throws StopIteration #194
Comments
Would you mind creating a PR for this? Thank you! |
Sure I can file one, just wasn't sure about the best way to handle this. I'm not sure if my factors_body is unique or if its possible to have multiple email factors etc. Would we want to possibly add an argument to the Arlo class init that would allow them to specify the email address to use for 2FA and then iterate through the factorNickname of each email factor with it? |
Hey! Sorry, for the long delay. I have had a busy life lately... I would be ok with adding an argument to init. That seems reasonable. |
I went ahead and pushed a fix for your issue. Give https://github.com/jeffreydwalter/arlo/releases/tag/1.2.62 a try. Please close this issue if it works. If not, leave me a comment. Thanks! |
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using (
python -V
)?Python 3.10.4
What operating system and processor architecture are you using (
python -c 'import platform; print(platform.uname());'
)?uname_result(system='Linux', node='DESKTOP-45GVB31', release='4.4.0-19041-Microsoft', version='#1237-Microsoft Sat Sep 11 14:32:00 PST 2021', machine='x86_64')
Which Python packages do you have installed (run the
pip freeze
orpip3 freeze
command and paste output)?Which version of ffmpeg are you using (
ffmpeg -version
)?Which Arlo hardware do you have (camera types - [Arlo, Pro, Q, etc.], basestation model, etc.)?
Arlo Pro 2
VMB4000 Base Station
What did you do?
Note: I was able to resolve this issue by making a change within Arlo.py. This issue may affect other users as well so I wanted to report it.
My factors body has my email factorRole as "SECONDARY" but by default it would only be matched if it was "PRIMARY".
This was causing StopIteration to be thrown. Here's what my factors_body looks like:
I simply changed line 222 in Arlo.py as of commit a8e7438 to:
Does this issue reproduce with the latest release?
Yes
The text was updated successfully, but these errors were encountered: