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

Backtrace::AsHTML #343

Open
AlexDaniel opened this issue Feb 8, 2019 · 2 comments
Open

Backtrace::AsHTML #343

AlexDaniel opened this issue Feb 8, 2019 · 2 comments
Assignees
Labels
PR sent Sent a pull review to the issue

Comments

@AlexDaniel
Copy link
Member

Module Backtrace::AsHTML cannot be installed (Fail), perhaps it has some failing tests.

  • Tickets are opened/closed in this repo automatically (though not immediately).
  • If you can install the module without any problems, add works for me label, leave a comment saying that it works for you and mention any details that you feel are important.
  • If it needs a native library, put native dependency label, describe what you did to install it and ensure that same instructions are present in the README file of the module (otherwise submit a pull request). Also try to update this wiki page.
  • If the module is broken, try to fix it and send a PR. Add PR sent label.
  • If there is a problem in one of the dependencies, add failing dependency label and write a comment explaining the situation. Feel free to work on the corresponding ticket for the failing dependency.
  • It is a good idea to assign yourself to this ticket if you're working on it (to make sure two or more people are not working on the same ticket at the same time).
  • Once you are done, search for a next ticket.

If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.

Output:

===> Searching for: Backtrace::AsHTML
===> Found: Backtrace::AsHTML:ver<0.0.1> [via Zef::Repository::Ecosystems<cpan>]
===> Fetching [OK]: Backtrace::AsHTML:ver<0.0.1> to /home/alex/Blin/data/zef-data/tmp/1549579979.27692.3642/Backtrace-AsHTML-0.0.1.tar.gz
===> Extraction [OK]: Backtrace::AsHTML to /home/alex/Blin/data/zef-data/store/Backtrace-AsHTML-0.0.1.tar.gz
===> Testing: Backtrace::AsHTML:ver<0.0.1>
# Failed test 'text matches rx{'in foo at t/01-basic.t line 15'}'
# at t/01-basic.t line 22
# expected a match with: rx{'in foo at t/01-basic.t line 15'}
#                   got: "<!doctype html><head><title>Error:   in block \&lt;unit\&gt; at t/01-basic.t line 18</title><style type=\"text/css\">a.toggle \{ color: #444 }\nbody \{ margin: 0; padding: 0; background: #fff; color: #000; }\nh1 \{ margin: 0 0 .5em; padding: .25em .5em .1em 1.5em; border-bottom: thick solid #002; background: #444; color: #eee; font-size: x-large; }\npre.message \{ margin: .5em 1em; }\nli.frame \{ font-size: small; margin-top: 3em }\nli.frame:nth-child(1) \{ margin-top: 0 }\npre.context \{ border: 1px solid #aaa; padding: 0.2em 0; background: #fff; color: #444; font-size: medium; }\npre .match \{ color: #000;background-color: #f99; font-weight: bold }\npre.vardump \{ margin:0 }\npre code strong \{ color: #000; background: #f88; }\n\ntable.lexicals, table.arguments \{ border-collapse: collapse }\ntable.lexicals td, table.arguments td \{ border: 1px solid #000; margin: 0; padding: .3em }\ntable.lexicals tr:nth-child(2n) \{ background: #DDDDFF }\ntable.arguments tr:nth-child(2n) \{ background: #DDFFDD }\n.lexicals, .arguments \{ display: none }\n.variable, .value \{ font-family: monospace; white-space: pre }\ntd.variable \{ vertical-align: top }\n</style><script language=\"JavaScript\" type=\"text/javascript\">\nfunction toggleThing(ref, type, hideMsg, showMsg) \{\n    var css = document.getElementById(type+'-'+ref).style;\n    css.display = css.display == 'block' ? 'none' : 'block';\n\n    var hyperlink = document.getElementById('toggle-'+ref);\n    hyperlink.textContent = css.display == 'block' ? hideMsg : showMsg;\n}\n\nfunction toggleArguments(ref) \{\n    toggleThing(ref, 'arguments', 'Hide function arguments', 'Show function arguments');\n}\n\nfunction toggleLexicals(ref) \{\n    toggleThing(ref, 'lexicals', 'Hide lexical variables', 'Show lexical variables');\n}\n</script>\n</head>\n<body>\n<h1>Error trace</h1><pre class=\"message\">  in block \&lt;unit\&gt; at t/01-basic.t line 18</pre><ol>\n<li class=\"frame\">in bar at t/01-basic.t line 18<pre class=\"context\"><code></code></pre></li><li class=\"frame\">in foo at t/01-basic.t line 16<pre class=\"context\"><code></code></pre></li><li class=\"frame\">in new at t/01-basic.t line 11<pre class=\"context\"><code></code></pre></li><li class=\"frame\"> at SETTING::src/core/Backtrace.pm6 line 85<pre class=\"context\"><code></code></pre></li><li class=\"frame\"> at SETTING::src/core/Backtrace.pm6 line 85<pre class=\"context\"><code></code></pre></li></ol></body></html>"
# Looks like you failed 1 test of 4
t/01-basic.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 

Test Summary Report
-------------------
t/01-basic.t (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=1, Tests=4,  3 wallclock secs ( 0.02 usr  0.00 sys +  2.46 cusr  0.12 csys =  2.60 CPU)
Result: FAIL
===> Testing [FAIL]: Backtrace::AsHTML:ver<0.0.1>
Failed to get passing tests, but continuing with --force-test
===> Installing: Backtrace::AsHTML:ver<0.0.1>
===> Install [OK] for Backtrace::AsHTML:ver<0.0.1>

Ping @moznion

@JJ JJ self-assigned this Feb 8, 2019
@JJ JJ added the PR sent Sent a pull review to the issue label Feb 8, 2019
@JJ
Copy link
Collaborator

JJ commented Feb 8, 2019

There are a couple of PRs sent by @jonathanstowe and @AlexDaniel

@jonathanstowe
Copy link

FWIW This is a deep dependency of Lumberjack::Application which is why I sent the PR originally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR sent Sent a pull review to the issue
Projects
None yet
Development

No branches or pull requests

3 participants