Skip to content

Commit

Permalink
test 0pdd integration #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Kuznetsov committed Nov 29, 2017
1 parent a30c4ac commit 8d5f63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fundingapi/api/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def make_app(env: AttrDict) -> web.Application:
app['env'] = env
app.router.add_route('POST', '/api/create_pair', handler_create_pair)
app.router.add_route('POST', '/api/create_account', handler_create_account)
# @todo: implement statistics fetcher handler
# @todo implement statistics fetcher handler
# test
return app

Expand Down

1 comment on commit 8d5f63e

@8genBot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to retrieve PDD puzzles from the code base and submit them to GitHub. If you think that it's a bug on your our side, please submit it to yegor256/0pdd):

set -x;set -e;set -o pipefail;cd /tmp/0pdd20171129-11665-tmpmrp/8gen/fundingapi && pdd -q -f /tmp/pdd.xml20171129-17029-6bcpir: pid 17119 exit 255 (not zero): + set -e + set -o pipefail + cd /tmp/0pdd20171129-11665-tmpmrp/8gen/fundingapi + pdd -q -f /tmp/pdd.xml20171129-17029-6bcpir warning:...

Please, copy and paste this stack trace to GitHub:

set -x;set -e;set -o pipefail;cd /tmp/0pdd20171129-11665-tmpmrp/8gen/fundingapi && pdd -q -f /tmp/pdd.xml20171129-17029-6bcpir: pid 17119 exit 255 (not zero):
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20171129-11665-tmpmrp/8gen/fundingapi
+ pdd -q -f /tmp/pdd.xml20171129-17029-6bcpir
warning: unable to access '/home/y/.config/git/attributes': Permission denied
warning: unable to access '/home/y/.config/git/attributes': Permission denied

ERROR: /tmp/0pdd20171129-11665-tmpmrp/8gen/fundingapi/fundingapi/api/route.py; @todo found, but puzzle can't be parsed in line #20, most probably because TODO is not followed by a puzzle marker, as this page explains: https://github.com/yegor256/pdd#how-to-format
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/yegor256/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/yegor256/pdd/blob/master/README.md.

/opt/0pdd/0pdd/objects/exec.rb:41:in `block in run'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/open3.rb:205:in `popen_run'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/open3.rb:95:in `popen3'
/opt/0pdd/0pdd/objects/exec.rb:39:in `run'
/opt/0pdd/0pdd/objects/git_repo.rb:62:in `xml'
/opt/0pdd/0pdd/objects/puzzles.rb:36:in `deploy'
/opt/0pdd/0pdd/objects/job.rb:36:in `proceed'
/opt/0pdd/0pdd/objects/job_starred.rb:33:in `proceed'
/opt/0pdd/0pdd/objects/job_recorded.rb:32:in `proceed'
/opt/0pdd/0pdd/objects/job_emailed.rb:35:in `proceed'
/opt/0pdd/0pdd/objects/job_commiterrors.rb:36:in `proceed'
/opt/0pdd/0pdd/objects/job_detached.rb:49:in `block in exclusive'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
/opt/0pdd/0pdd/objects/job_detached.rb:47:in `exclusive'
/opt/0pdd/0pdd/objects/job_detached.rb:37:in `block in proceed'
/opt/0pdd/0pdd/objects/job_detached.rb:37:in `fork'
/opt/0pdd/0pdd/objects/job_detached.rb:37:in `proceed'
/opt/0pdd/0pdd/0pdd.rb:345:in `block in <top (required)>'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1632:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1632:in `block in compile!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:991:in `block (3 levels) in route!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1010:in `route_eval'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:991:in `block (2 levels) in route!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1037:in `block in process_route'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1035:in `catch'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1035:in `process_route'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:989:in `block in route!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:988:in `each'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:988:in `route!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1094:in `block in dispatch!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `block in invoke'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `catch'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `invoke'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1091:in `dispatch!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:923:in `block in call!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `block in invoke'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `catch'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `invoke'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:923:in `call!'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:913:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-protection-2.0.0/lib/rack/protection/xss_header.rb:18:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-protection-2.0.0/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-protection-2.0.0/lib/rack/protection/json_csrf.rb:26:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-protection-2.0.0/lib/rack/protection/base.rb:50:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-protection-2.0.0/lib/rack/protection/base.rb:50:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-protection-2.0.0/lib/rack/protection/frame_options.rb:31:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/logger.rb:15:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:224:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/head.rb:12:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/show_exceptions.rb:22:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:194:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1955:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1499:in `block in call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1726:in `synchronize'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1499:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/tempfile_reaper.rb:15:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/lint.rb:49:in `_call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/lint.rb:37:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/show_exceptions.rb:23:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/common_logger.rb:33:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:231:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/chunked.rb:54:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/content_length.rb:15:in `call'
/opt/0pdd/0pdd/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/webrick.rb:86:in `service'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
/usr/share/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'

Please sign in to comment.