Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Balanced callback fails for previous exchanges that don't have routes #3302

Closed
rohitpaulk opened this issue Mar 31, 2015 · 4 comments
Closed

Comments

@rohitpaulk
Copy link
Contributor

https://app.getsentry.com/gratipay/gratipay-com/group/60437761/

Stacktrace (most recent call last):

  File "site-packages/algorithm.py", line 288, in run
    new_state = function(**deps.as_kwargs)
  File "aspen/algorithms/website.py", line 104, in get_response_for_resource
    return {'response': resource.respond(state)}
  File "aspen/resources/simplate.py", line 57, in respond
    exec self.pages[1] in context
  File "/app/www/callbacks/balanced.spt", line 35, in <module>
    record_exchange_result(website.db, e_id, status, error, p)
  File "gratipay/billing/exchanges.py", line 318, in record_exchange_result
    assert route
@rohitpaulk rohitpaulk added this to the Balanced shutdown milestone Mar 31, 2015
@Changaco
Copy link
Contributor

#2779 would fix that, I'm not sure it's worth it to work around the problem instead of fixing the cause.

@rohitpaulk
Copy link
Contributor Author

Okay, I'm closing this and marking #2779 as 3 stars.

@chadwhitacre
Copy link
Contributor

It looks like we have a user that is getting bitten by this:

https://gratipay.freshdesk.com/helpdesk/tickets/1867

Does it make sense to reopen and solve this instead of the underlying issue?

@chadwhitacre
Copy link
Contributor

After reading more, I'll point the user to #2779.

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

No branches or pull requests

3 participants