Comments (8)
I'm using ms-vscode.hexeditor, version 1.9.14, installed from the Extensions pane.
Theia version 1.47.0, in a web browser.
from theia.
This seems fixed in 1.48.0. Please let us know if it's still a problem for you.
from theia.
FYI, preview is avilable here: https://download.eclipse.org/theia/ide-preview/1.48.0/
from theia.
The Hex Editor is now appearing in the pane. That part is fixed.
However, the contents of the pane is just "LOADING".
There is a JavaScript error: root ERROR Error: Could not find typed array for code 16
. I'll need to build a developer version of Theia to get you a proper file and line number.
from theia.
My development build still has obfuscated variable names and a single bundle.js. However, some searching around came up with a pretty good match on this: https://greasyfork.org/en/scripts/457386-scenexeutils/code
(Do a search within the page for "could not find typed array for code")
from theia.
It seems the remaining problem is related to how msgpackr
treats array buffers. Consider this script:
const { Packr } = require ('msgpackr');
const inst= new Packr({ moreTypes: true, encodeUndefinedAsNil: false, bundleStrings: false });
const value = {
type: 16,
value: new ArrayBuffer(10)
};
const serializedAsBuffer = inst.encode(value);
const data = inst.decode(serializedAsBuffer);
console.log(`object is ${JSON.stringify(data)}`);
The script fails with the same error I get from the hex editor.
Error: Could not find typed array for code 16
at currentExtensions.<computed> (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:1056:9)
at readExt (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:892:33)
at read (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:339:12)
at Array.readObject [as read] (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:522:18)
at recordDefinition (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:992:19)
at read (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:418:13)
at checkedRead (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:197:13)
at Packr.unpack (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:107:12)
at Packr.decode (C:\Users\thomas\code\EclipseSource\theia\node_modules\msgpackr\dist\node.cjs:179:15)
at Object.<anonymous> (C:\Users\thomas\code\EclipseSource\theia\scripts\testpack.js:11:19)
When I flip the flags moreTypes
to false
when creating the Packr
instance, the test runs through.
from theia.
I have filed kriszyp/msgpackr#135
from theia.
Let's wait an see how they react to the issue.
from theia.
Related Issues (20)
- Debugger doesn't show error of setVariable if it failed
- Responsive Layout - Toolbar Design
- Plugin quick picks show separators as items
- Electron build failed.
- Problems View does not display all Problems when they are reported to fast HOT 2
- [vscode] proposed API evolution and menu declarations between 1.89 and 1.90 (WIP) HOT 1
- [vscode] API gap: Theia master vs. VS Code 1.90
- Error on Startup
- [vscode] Implement Chat and Language Model initial APIs HOT 1
- [vscode] Implement DebugStackFrame and DebugThread API
- [vscode] Implement TestRunRequest preserveFocus API
- Enable Browser Tests on PRs on all Platforms
- Clean up Issue Labels
- Toolbar Width Adaptive Design
- How to design toolbar width adaptive? HOT 1
- [vscode] bump API compatibility version to 1.90.X
- Opening electron.d.ts takes a long Time and causes high CPU HOT 7
- [vscode] Implementation of the Chat and Language Model APIs
- Google Cloud extension fails to load. HOT 3
- Jupyter Notebooks do not render HOT 2
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 theia.