Comments (8)
Since I don't have any apple device it is hard for me to test... What EasyEDA Version is running in the Desktop Client? Have you updated to the latest version available? Hit "Help" - "About" in EasyEDA to get the Version.
Also please right click in EasyEDA somewhere (not in the editor) and hit "Developer Tool". Then go to the "Console" panel and type navigator.userAgent
and hit enter. Please copy the userAgent string you get.
Also, have you tested it in the Browser? Does it work there?
from easyeda-svg-import.
FIY, just checked the extension on my macOS Mojave 10.14.6 using the latest version of desktop client - it works without any issues. May be it is some sort of subtle issue introduced by certain OS/Client versions?
from easyeda-svg-import.
@turbobabr thx for the test, what's the user agent of the browser in your client? I'm not sure, but the bundled browser may use components supplied by the OS.
@pastprimitive also, can you post a screenshot? Is the error shown in an alert box that EasyEDA generates within the UI, or is it shown in the developer console? Do you get the error right after you selected and opened all files for the install, or after you hit the Load Extension
button? Is the extension id field filled with svgimport
correctly after the files were selected?
from easyeda-svg-import.
@xsrf In my case it is listed as follows:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) EasyEDA/6.4.19.4 Chrome/78.0.3904.130 Electron/7.1.14 Safari/537.36 EasyEDA-Editor/6.4.19.4 (Halfline Mode)
In reality, every OS variation should get the same Chromium
browser, since the EasyEDA client app is just a web site wrapped in ElectronJS
shell. 🤔
The only code that is capable of producing such exception is this line in your auto update
utils:
https://github.com/xsrf/easyeda-svg-import/blob/master/extension/easyeda-helper.js#L21
According to the code - that function isn't called at all but somehow manages to throw the error.
from easyeda-svg-import.
@turbobabr thx... I was wondering if it's this function because it's the only import
keyword... but as you said, it never gets called. I just played around with dynamically loading JS modules from files that are installed along with the extension. But it's not used there... Also, import
isn't that new 🤔https://caniuse.com/?search=import
from easyeda-svg-import.
@xsrf Mystery... 🙃
from easyeda-svg-import.
@pastprimitive to be on the safe side, this is version 1.7 with the import statement removed - does it install fine?
If it does, please go to the About
dialog of the SVG Import Extension in the PCB Editor and copy the Browser-Info shown there.
from easyeda-svg-import.
@pastprimitive since I got no response and I have no idea how this error can even happen, I'll close this issue for now. Feel free to reopen / comment when you have had time to test the fix.
from easyeda-svg-import.
Related Issues (20)
- Reimport of SVG not showing text location changes HOT 6
- Paths stopped showing. Log file? HOT 3
- Import Issues HOT 5
- Not Working? HOT 1
- Message: N items successfully imported HOT 2
- Parsing-Error on Numbers with multiple decimal points HOT 1
- custom pad shape HOT 3
- error when loading extension HOT 4
- Extension not appearing in Browser mode HOT 3
- No path-Tags found
- svg as board cutout border outline(purple line) HOT 1
- No path-Tags found (Add more supported tags) HOT 2
- Incorrect handling of S/s command HOT 2
- When importing SVG onto bottom silk later it doesn't flip it HOT 2
- <FR> Import multiple layers using label tags HOT 1
- SVG from Adobe Illustrator won't import at correct size HOT 6
- Sample SVG that is bad rendered HOT 2
- Use 'createShape' API instead of editing project source HOT 1
- Use 'pointArr' of solid region for tracks with curves HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyeda-svg-import.