Home News What Is A Spyware Error And How To Fix It?

What Is A Spyware Error And How To Fix It?

54
0

 

In the past few days, some users have come across the well-known Espipe error message. This problem occurs for a number of reasons. We will talk about this below.

 

 

Wednesday:
Mac 10.14
NodeJS 9.8.0

When using the vl2png script, you receive the following error message:
{Error: ESPIPE: invalid search, read error: -29, code: ‘ESPIPE’, system call: ‘Read’}

Command used: ./vl2png test_spec.json out.png

I was able to debug the issue and it looks like ‘/ dev / stdin’ was piped into the vega-cli read.js file instead of the actual json spec. I know this because I go into read.js (line 7) and change it to const input = process.stdin; Then I can generate a PNG file.

espipe error

Please fix / update the vl2png scripts (if I am not doing something wrong xD).

test_spec.json:

 {"schema": "https://vega.github.io/schema/vega-lite/v4.json", "padding": 5, "transform": [], "data": {"url": "https://vega.github.io/editor/data/population.json"}, "background": "green", "width": 300, "title": {"offset": 4 , "anchor": "middle", "fontSize": 16, "text": "New Title", "frame": "group"}, "layer": [{"encoding": {"color": {" Field ":" Age "," Scale ": {" Scheme ":" Viridis "}}," x ": {" Field ":" People "," Type ":" Quantitative "," Axis ": {" Grid ": true," labels ": true}," aggregat ":" sum "}," y ": {" field ":" age "," type ":" ordinal "," axis ": {" grid ": false, "label": true}}}, "mark": {"tooltip": true, "type": "bar"}}, {"encoding": {"x": {"field": "people" , "Type": "quantitative", "Axis": {"Grid": true, "Labels": true}, "Aggregate": "Sum"}, "y": {"Field": "Age", " Type ":" Ordinal number "," Axis ": {"Grid ": false," Labels ": true}}," Text ": {" Field ":" People "," Type ":" Quantitative "," Axis ": {" Grid ": true," Labels ": t street}, "aggregate": "sum"}}, "mark": {"dx": 30, "dy": 0, "tooltip": false, "angle": 0, "dir": "ltr", "type": "text"}}], "height": 300, "autosize": "pad"}

Please:

  • [X] Check for recurring problems. Submit separate requests as separate questions on GitHub.
  • [X] Describe how the error / target of the function request is reproduced.
  • [X] Use the latest Vega and Vega-Lite.
  • [X] Give an example of a JSON specification surrounded by triple backticks like this:
 {  "elevation": "point",  "encoding": {"x": {"field": "a"}}} 

  • [X] Add bug reports and screenshots, GIF videos (for example, using https://www.cockos.com/licecap/) or working examples (for example, by clicking Share in Vega -Editor or https: /bit.ly/vega-lite-blocks)
 {"schema": "https://vega.github.io/schema/vega-lite/v4.json", "padding": 5, "transform": [], "data": {"url ":" https://vega.github.io/editor/data/population.json "}," Background ":" Green "," Width ": 300," Header ": {" Offset ": 4," Anchor "": "medium", "fontSize": 16, "text": "New title", "frame": "group"}, "layer": [{"code ovka ": {" color ": {" field ":" Age "," Scale ": {" Scheme ":" Viridis "}}," x ": {" Field ":" People "," Type ": "quantitative", "Axis": {"Grid": true, "Labels": true}, "Aggregate": "Sum"}, "y": {"Field": "Age", "Type": "Ordinal number "," Axis ": {" Grid ": false," Labels ": true}}}," mark ": {" tooltip ": true," type ":" bar "}}, {" encoding ": { "x": {"field": "people", "type": "quantitative", "axis": {"grid": true, "labels": true}, "cumulative": "sum"}, "y ": {" field ":" age "," type ":" ordinal "," axis ": {" grid ": false," labels ": true}}," text ": {" field ":" people "," type ":" quantitative "," axis ": {" Grid ": wah r," Labels ": true}," Aggregate ":" Sum "}}," Marking ": {" dx ": 30, "dy": 0, "Tooltip": false, "Angle": 0, "dir": "ltr", "type": "text"}}], "height": 300, "autosize": "pad" }
 {  "elevation": "point",  "encoding": {"x": {"field": "a"}}} 

What Is Your Test Case?

When Node v8.11.1 runs the TestCafe sample test, the error “Error: ESPIPE: invalid search, read” is displayed.

The test works fine with Node v10.16.3. It looks like this is a regression in TestCafe v1.7.0. See screenshot.

What Is The Current Behavior?

When Node v8.11.1 runs the TestCafe sample test, the error “Error: ESPIPE: invalid search, read” is displayed.

What Behavior Is Expected?

The test works fine with Node v10.16.3.

What You Are The TestCafe Web Application And What Is The Test Code?

Your website URL (or add your complete example):

Your complete test code (or attach your test files):

Import

 {Selector} from testcafe;The device of the first steps.page `http: // devexpress.github.io / testcafe / example`;test ('My first test', asynchronous t => {// test code}); 

Your complete config file (if applicable):
  
Your complete opinion:

see screenshot

Screenshots:

Play Order:

  1. Visit my website …
  2. Run this command …
  3. Look at the error …

Details Of Your Environment:

  • Testcafe version: v1.7.0
  • Node.js version: v8.11.1. Note: there is no problem with version 10.16.3.
  • Command line arguments: testcafe chrome test.js
  • Browser name and version: Chrome 78
  • Platform and version: macOS 10.14.6
  • Other:

Import

 {Selector} from testcafe;The device of the first steps.page `http: // devexpress.github.io / testcafe / example`;test ('My first test', and  synchronous t => {// test code});