P5.js: Grunt occasionally inserts endless newlines during error

Created on 10 Sep 2019  路  1Comment  路  Source: processing/p5.js

Nature of issue?

  • [x] Found a bug
  • [ ] Existing feature enhancement
  • [ ] New feature request

Most appropriate sub-area of p5.js?

  • [ ] Color
  • [ ] Core/Environment/Rendering
  • [ ] Data
  • [ ] Events
  • [ ] Image
  • [ ] IO
  • [ ] Math
  • [ ] Typography
  • [ ] Utilities
  • [ ] WebGL
  • [x] Development/Testing

Which platform were you using when you encountered this?

  • [ ] Mobile/Tablet (touch devices)
  • [x] Desktop/Laptop
  • [ ] Others (specify if possible)

Details about the bug:

When running npm run grunt if a test fails during the documentation testing section (I think only during this and not the unit tests) that causes grunt to spam the terminal with infinite newlines. On my computer this leads to crashing if I don't CRTL+C in time, but even if I do this it is then very hard to track down the message for the error since it is often 10k+ lines away by time I catch it.

I have been experiencing this for a couple of weeks, I didn't report it because I thought it was specific to my environment, but now I see that it is happening on Travis as well. Here is an unstable link to an example.

  • Operating System: Windows 10, Ubuntu 16.0.4(Travis)
  • Steps to reproduce this:

    Run npm run grunt with code that will cause an error during the documentation testing section.
bug testing

Most helpful comment

@stalgiag i noticed this last week. :( will do a little diagnostics to see if i can get an idea of why its doing that.

>All comments

@stalgiag i noticed this last week. :( will do a little diagnostics to see if i can get an idea of why its doing that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NamanSharma5 picture NamanSharma5  路  3Comments

Patchy12 picture Patchy12  路  3Comments

kartikay-bagla picture kartikay-bagla  路  3Comments

b0nb0n picture b0nb0n  路  3Comments

stalgiag picture stalgiag  路  3Comments