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

Trackback (most recent call last) #23

Closed
limonsafayet opened this issue Feb 17, 2021 · 4 comments · May be fixed by #32
Closed

Trackback (most recent call last) #23

limonsafayet opened this issue Feb 17, 2021 · 4 comments · May be fixed by #32

Comments

@limonsafayet
Copy link

Traceback (most recent call last):
File "core.py", line 168, in
main()
File "core.py", line 111, in main
if update.message.text == receiving_worker.loc.get("menu_cancel"):
AttributeError: 'NoneType' object has no attribute 'get'

@DarrenWestwood
Copy link
Owner

Hi @limonsafayet,

Please can you describe the steps to reproduce the issue in order for me to replicate this on my end?

Kind regards

@letstalkbusinezz
Copy link

I am having the same issue. Help needed please!

@ziftech
Copy link

ziftech commented Jan 20, 2022

python3 -OO core.py
2022-01-20 23:25:27,148 | Core | core | greed is starting!
2022-01-20 23:25:27,310 | Core | core | Received /start from: 463480229
Traceback (most recent call last):
  File "core.py", line 168, in <module>
    main()
  File "core.py", line 111, in main
    if update.message.text == receiving_worker.loc.get("menu_cancel"):
AttributeError: 'NoneType' object has no attribute 'get'
/Users/ykeranch/dev/python/greed/worker.py:77: SAWarning: relationship 'Order.transaction' will copy column orders.order_id to column transactions.order_id, which conflicts with relationship(s): 'Transaction.order' (copies orders.order_id to transactions.order_id). If this is not the intention, consider if these relationships should be linked with back_populates, or if viewonly=True should be applied to one or more if they are read-only. For the less common case that foreign key constraints are partially overlapping, the orm.foreign() annotation can be used to isolate the columns that should be written towards.   To silence this warning, add the parameter 'overlaps="order"' to the 'Order.transaction' relationship. (Background on this error at: https://sqlalche.me/e/14/qzyx)
  self.user = self.session.query(db.User).filter(db.User.user_id == self.chat.id).one_or_none()

@blockonomics
Copy link

@letstalkbusinezz @limonsafayet Feel free to test now .. these issues have been resolved in the latest code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants