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

0pdd UserError #501

Open
blablatdinov opened this issue Aug 15, 2023 · 0 comments
Open

0pdd UserError #501

blablatdinov opened this issue Aug 15, 2023 · 0 comments

Comments

@blablatdinov
Copy link
Contributor

Hi! I want to connect 0pdd to my project, rewrote TODO's, but anyway take next error. I tried run pdd locally and it generate correct xml file

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0 && pdd -v -f /tmp/20230815-24916-11hwwu4 [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0
+ pdd -v -f /tmp/20230815-24916-11hwwu4

My version is 0.23.2
Ruby version is 2.7.5 at x86_64-linux
Reading from root dir /tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0
/tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0/renovate.json is a binary file (231 bytes)
/tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0/src/tests/unit/message_regex_answer/fixtures/callback_update.json is a binary file (1944 bytes)
/tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0/src/tests/unit/message_regex_answer/fixtures/message_update.json is a binary file (485 bytes)
/tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0/src/tests/fixtures/message_update.json is a binary file (422 bytes)
/tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0/src/tests/fixtures/coordinates.json is a binary file (559 bytes)
/tmp/0pdd20230815-13-1hbuf7u/Z2l0QGdpdGh1Yi5jb206YmxhYmxhdGRpbm92L3F1cmFuYm90LWFpb2dyYW0uZ2l0/src/tests/fixtures/button_callback.json is a binary file (936 bytes)
Reading LICENSE ...
Reading .gitignore ...
Reading README.md ...
Reading docs/glossary.md ...
Reading docs/updates_log.md ...
Reading docs/README.md ...
Reading docs/mailings.md ...
Reading docs/prayers.md ...
Reading docs/db_schema_specification.md ...
Reading docs/api.md ...
Reading docs/podcasts.md ...
Reading docs/registration.md ...
Reading docs/ayats.md ...
Reading Dockerfile ...
Reading deploy/event_reciever_supervisor.conf ...
Reading deploy/quranbot_nginx.conf ...
Reading deploy/restart.sh ...
Reading deploy/supervisor.conf ...
Reading pyproject.toml ...
Reading .rultor.yml ...
Reading poetry.lock ...
Reading setup.cfg ...
Reading Makefile ...
Reading .github/workflows/python-app.yml ...
Reading .github/workflows/release.yml ...
Reading .env.example ...
Reading src/event_recieve.py ...
Reading src/quranbot_answer.py ...
ERROR: ERROR: src/quranbot_answer.py; PDD::Error at src/quranbot_answer.py:105: TODO found, but puzzle can't be parsed, most probably because TODO is not followed by a puzzle marker, as this page explains: https://github.com/cqfn/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/cqfn/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/cqfn/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:73:in `rescue in block in xml'
/app/objects/git_repo.rb:70:in `block in xml'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/tempfile.rb:291:in `open'
/app/objects/git_repo.rb:69:in `xml'
/app/objects/puzzles.rb:41:in `deploy'
/app/objects/jobs/job.rb:38:in `proceed'
/app/objects/jobs/job_starred.rb:32:in `proceed'
/app/objects/jobs/job_recorded.rb:31:in `proceed'
/app/objects/jobs/job_emailed.rb:33:in `proceed'
/app/objects/jobs/job_commiterrors.rb:33:in `proceed'
/app/objects/jobs/job_detached.rb:48:in `exclusive'
/app/objects/jobs/job_detached.rb:36:in `block in proceed'
/app/objects/jobs/job_detached.rb:36:in `fork'
/app/objects/jobs/job_detached.rb:36:in `proceed'
/app/0pdd.rb:531:in `process_request'
/app/0pdd.rb:367:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1706:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1706:in `block in compile!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1019:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1037:in `route_eval'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1019:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1068:in `block in process_route'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1066:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1066:in `process_route'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1017:in `block in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1014:in `each'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1014:in `route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-3.0.6/lib/rack/protection/xss_header.rb:20:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-3.0.6/lib/rack/protection/path_traversal.rb:18:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-3.0.6/lib/rack/protection/json_csrf.rb:28:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-3.0.6/lib/rack/protection/base.rb:53:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-3.0.6/lib/rack/protection/base.rb:53:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-3.0.6/lib/rack/protection/frame_options.rb:33:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.7/lib/rack/logger.rb:17:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.7/lib/rack/common_logger.rb:38:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:261:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:254:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.7/lib/rack/method_override.rb:24:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1576:in `block in call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1792:in `synchronize'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1576:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.7/lib/rack/handler/webrick.rb:95:in `service'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/httpserver.rb:140:in `service'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/httpserver.rb:96:in `run'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/server.rb:307:in `block in start_thread'

0pdd comment

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

No branches or pull requests

1 participant