Skip to content
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

Exception when get details for BMW #33

Closed
miry opened this issue May 18, 2022 · 0 comments
Closed

Exception when get details for BMW #33

miry opened this issue May 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@miry
Copy link
Contributor

miry commented May 18, 2022

Description of the bug
It is missing expected field for DE0005190003 (BMW)

To Reproduce
Steps to reproduce the behavior:

$ pytr details DE0005190003
0:45:26 Logged in
20:45:26 Connecting to websocket ...
20:45:26 Connected to websocket ...
instrumentSuitability: {'instrumentId': 'DE0005190003', 'warnings': ['userExperience']}
Name: BAY.MOTOREN WERKE AG ST
ShortName: BMW
Type: stock
LSX: BMW BAY.MOTOREN WERKE AG ST
TDG: BMW Bayerische Motoren Werke AG
sector: Fahrzeuge
country: Deutschland
index: DAX
index: EUROSTOXX50
Traceback (most recent call last):
  File "/opt/homebrew/bin/pytr", line 8, in <module>
    sys.exit(main())
  File "/opt/homebrew/lib/python3.9/site-packages/pytr/main.py", line 213, in main
    Details(login(phone_no=args.phone_no, pin=args.pin, web=not args.applogin), args.isin).get()
  File "/opt/homebrew/lib/python3.9/site-packages/pytr/details.py", line 89, in get
    self.overview()
  File "/opt/homebrew/lib/python3.9/site-packages/pytr/details.py", line 83, in overview
    self.news()
  File "/opt/homebrew/lib/python3.9/site-packages/pytr/details.py", line 75, in news
    for news in self.neonNews:
AttributeError: 'Details' object has no attribute 'neonNews'

Environment

  • OS: MacOS 12.4 / M1
  • pytr version: 0.1.5
  • Python 3.9.12
@miry miry added the bug Something isn't working label May 18, 2022
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

1 participant