GithubHelp home page GithubHelp logo

Javascript Error about pygwalker HOT 6 CLOSED

kanaries avatar kanaries commented on April 27, 2024 1
Javascript Error

from pygwalker.

Comments (6)

Asm-Def avatar Asm-Def commented on April 27, 2024 2

It seems to have been fixed in #31 and pre-released in 0.1.4-alpha2.

Could you please have a try with pip install "pygwalker>=0.1.4-alpha2" and leave some feedback?

BTW: Welcome to join our discord discord invitation link to keep track of the latest progress.

from pygwalker.

ssnkhan avatar ssnkhan commented on April 27, 2024 1

Seeing similar issues, wrapping the attempt in a try/except yields a little more information:

Javascript error adding output!
SyntaxError: JSON.parse: bad control character in string literal at line 1 column 290 of the JSON data
See your browser Javascript console for more details.

Console output, in outputarea.js:744:

SyntaxError: JSON.parse: bad control character in string literal at line 1 column 290 of the JSON data
    <anonymous> main.min.js:1202
    append_javascript outputarea.js:772
    append_mime_type outputarea.js:710
    append_display_data outputarea.js:671
    append_output outputarea.js:345
    handle_output outputarea.js:256
    output codecell.js:399
    _handle_output_message kernel.js:1199
    i jQuery
    _handle_iopub_message kernel.js:1239
    _finish_ws_message kernel.js:1018
    _msg_queue kernel.js:1009

and/or

SyntaxError: invalid escape sequence
    append_javascript outputarea.js:772
    append_mime_type outputarea.js:710
    append_display_data outputarea.js:671
    append_output outputarea.js:345
    handle_output outputarea.js:256
    output codecell.js:399
    _handle_output_message kernel.js:1199
    i jQuery
    _handle_iopub_message kernel.js:1239
    _finish_ws_message kernel.js:1018
    _msg_queue kernel.js:1009

The data is being loaded into the data frame correctly. I have also tried to escape the original data file, but continue to get similar errors. Any ideas welcomed!

from pygwalker.

jorisroovers avatar jorisroovers commented on April 27, 2024 1

Seems similar to #17

from pygwalker.

ssnkhan avatar ssnkhan commented on April 27, 2024 1

Working for me too, thank you!

from pygwalker.

JosephItopa avatar JosephItopa commented on April 27, 2024

This resolved my problem. Thank you. I prefer slack, please if there is a slack channel then I will like to join.

from pygwalker.

Asm-Def avatar Asm-Def commented on April 27, 2024

Yes, here's our Slack Invitation

from pygwalker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.