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

ValueError: Attribute TweetSauceCache.sauce_index cannot be set to None #64

Open
sentry-io bot opened this issue May 2, 2021 · 1 comment
Open
Labels
bug Something isn't working
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented May 2, 2021

Sentry Issue: TWITTER-SAUCEBOT-3

ValueError: Attribute TweetSauceCache.sauce_index cannot be set to None
(5 additional frame(s) were not displayed)
...
  File "pony/orm/core.py", line 533, in new_func
    result = func(*args, **kwargs)
  File "twsaucenao/models/database.py", line 198, in set
    created_at=int(time.time())
  File "pony/orm/core.py", line 4712, in __init__
    avdict[attr] = attr.validate(val, obj, from_db=False)
  File "pony/orm/core.py", line 2194, in validate
    throw(ValueError, 'Attribute %s cannot be set to None' % attr)
  File "pony/utils/utils.py", line 106, in throw
    raise exc

[saucenaopls] An unknown error occurred while processing tweet 1388900095391846400
@rainyroads rainyroads added the bug Something isn't working label May 12, 2021
@rainyroads
Copy link
Owner

I thought I had addressed this manually by altering the table column on the server to be nullable, but it's still occurring.

@rainyroads rainyroads added this to the 3.2.0b milestone May 12, 2021
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