Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: This buffer's content is too large to fit into a string.Consider using APIs lik... #3

Open
csimpi opened this issue Dec 19, 2019 · 0 comments

Comments

@csimpi
Copy link

csimpi commented Dec 19, 2019

Hi guys, I downloaded this plugin because I wanted to open a big (1 GB) geojson file. There're many online browser-based geojson editor, I've chosen Atom because I thought I'll be able to open bigger files that the browser can't handle.

[Enter steps to reproduce:]

  1. Open a big geojson file to edit
  2. CTRL + ALT + O

Atom: 1.42.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Pro
Thrown From: geo-editor package 0.2.1

Stack Trace

Uncaught Error: This buffer's content is too large to fit into a string.

Consider using APIs like getTextInRange to access the data you need.

At C:\Users\pitt\AppData\Local\atom\app-1.42.0\resources\app\static\<embedded>:11

Error: This buffer's content is too large to fit into a string.

Consider using APIs like `getTextInRange` to access the data you need.
    at TextBuffer.getText (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:486468)
    at TextEditor.getText (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:12850)
    at GeoEditorView.updateMap (/packages/geo-editor/lib/geo-editor-view.js:163:33)
    at Object.toggle (/packages/geo-editor/lib/geo-editor.js:46:26)
    at HTMLElement.geoEditorToggle (/packages/geo-editor/lib/geo-editor.js:24:39)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:349385)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:1252387)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:1248521)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:284591)

Commands

  2x -2:05.2.0 geo-editor:toggle (ol.native-key-bindings.breadcrumb)
  2x -1:35.1.0 application:open-file (ul.list-inline.tab-bar.inset-panel)
     -0:34.8.0 geo-editor:toggle (input.hidden-input)

Non-Core Packages

geo-editor 0.2.1 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant