Giter Site home page Giter Site logo

Comments (5)

mkrabset avatar mkrabset commented on June 5, 2024

Hi, I've tried to add a few polyfills to support older browsers. Please try the version in branch issues/35.

I don't have any experience with LinuxCNC, but would it be possible to run in in docker perhaps?
I see there are some docker-images out there..I guess real-time OS requirement may cause issues but maybe still worth checking out...

from krabzcam.

jeffs555 avatar jeffs555 commented on June 5, 2024

Thanks for the fast response. That version still fails. Don't know much html and javascript programming, but just ran the debugger in older Firefox and it shows a syntax error. Doesn't flag this as error on new Firefox versions.

with the latest released Krabzcam it gets this error
SyntaxError: identifier starts immediately after numeric literal - main.c507ab8c.js:1:1211440

with issues-35 version it gets
SyntaxError: identifier starts immediately after numeric literal - main.6c32b213.js:1:1213610

also gives this link for more details
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Identifier_after_number

As for LinuxCNC, it needs the realtime kernal to drive the stepper motors with the correct timing. For 64-bit capable PC's there is a current 64-bit realtime linux kernal. However, the only laptops with a parallel port to drive the steppers are old and won't do 64-bit mode so I am stuck with obsolete 32-bit linux.

from krabzcam.

jeffs555 avatar jeffs555 commented on June 5, 2024

I tried the developer tools in Opera(v55), and it gives the same error as Firefox. With both browsers and both krabzcam versions it points to 0x0n=== as the error. Your code seems to be compiled js so I don't know exactly what that code is doing, but in the older working krabzcam versions there is no 0x0n.

from krabzcam.

mkrabset avatar mkrabset commented on June 5, 2024

Looks like some of the libraries used relies on BigInt support. Seems at least to be part of the problem.
(should be supported by Opera >= v54 though...don't know why v55 is not working)

Not an easy fix I'm afraid, so I guess you need to somehow upgrade your browser.

from krabzcam.

jeffs555 avatar jeffs555 commented on June 5, 2024

Thanks for that info. It let me know what level of Firefox I needed. Was able to get Firefox v72 installed and Krabzcam is working fine with it.

That BigInt page shows that there are a couple functions that Opera v54 does not support, and must not be supported in v55. Did download the current Opera version on another PC and Krabzcam works fine with it.

from krabzcam.

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.