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

Error when creating project #31

Open
LFalch opened this issue Apr 16, 2016 · 0 comments
Open

Error when creating project #31

LFalch opened this issue Apr 16, 2016 · 0 comments

Comments

@LFalch
Copy link

LFalch commented Apr 16, 2016

When I press "Create Cargo Lib" or "Create Cargo Binary", I get the error below.
The project still gets created anyway though.

Atom Version: 1.7.1
System: Microsoft Windows 10 Enterprise
Thrown From: tokamak package, v0.2.7

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:833

TypeError: Cannot read property 'split' of undefined
    at Function.module.exports.Range.fromText (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\text-buffer\lib\range.js:47:19)
    at TextBuffer.module.exports.TextBuffer.setTextInRange (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:588:24)
    at C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:576:26
    at TextBuffer.module.exports.TextBuffer.transact (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:828:18)
    at TextBuffer.module.exports.TextBuffer.setTextInRange (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:574:21)
    at TextBuffer.module.exports.TextBuffer.setText (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:514:19)
    at TextEditor.module.exports.TextEditor.setText (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\src\text-editor.js:810:26)
    at CargoView.module.exports.CargoView.attach (file:///C:/Users/LFalch/.atom/packages/tokamak/lib/cargo-view.coffee:51:12)
    at atom-workspace.commandSubscription.atom.commands.add.tokamak:create-cargo-binary (file:///C:/Users/LFalch/.atom/packages/tokamak/lib/cargo-view.coffee:27:42)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\src\command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\src\command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\src\command-registry.js:160:19)
    at CreateProjectView.module.exports.CreateProjectView.confirmed (file:///C:/Users/LFalch/.atom/packages/tokamak/lib/create-project-view.coffee:38:28)
    at CreateProjectView.module.exports.SelectListView.confirmSelection (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:338:21)
    at HTMLLIElement.<anonymous> (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:139:19)
    at HTMLOListElement.jQuery.event.dispatch (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLOListElement.elemData.handle (C:\Users\LFalch\AppData\Local\atom\app-1.7.1\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Commands

     -2:04.2.0 git-plus:menu (atom-text-editor.editor.is-focused)
  2x -2:03.2.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -2:01.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:07.5.0 tokamak:create-project (atom-text-editor.editor)
     -0:02.7.0 tokamak:create-cargo-binary (atom-workspace.workspace.scrollbars-visible-always.tinted-tab-bar.compact-tab-bar.panel-shadows.panel-contrast.use-animations.compact-tree-view.blend-tree-view.theme-atom-material-syntax.theme-atom-material-ui)

Config

{
  "core": {
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ]
  },
  "tokamak": {
    "binaryDetection": false,
    "cargoBinPath": "C:\\Users\\LFalch\\.cargo\\bin\\cargo",
    "multirustBinPath": "C:\\Users\\LFalch\\.cargo\\bin\\multirust",
    "racerBinPath": "C:\\Users\\LFalch\\.cargo\\bin\\racer.exe",
    "rustSrcPath": "C:\\Users\\LFalch\\rustc-1.8.0\\src",
    "rustcBinPath": "C:\\Users\\LFalch\\.cargo\\bin\\rustc"
  }
}

Installed Packages

# User
atom-material-syntax, v0.4.6
atom-material-ui, v1.2.10
autocomplete-go, v1.0.6
build, v0.59.0
builder-go, v1.0.0
color-picker, v2.1.1
environment, v1.2.0
gcc-make-run, v0.2.6
git-plus, v5.13.4
go-config, v1.1.4
go-get, v1.0.3
go-plus, v4.1.0
gofmt, v1.1.6
gometalinter-linter, v1.1.0
gorename, v1.0.2
hex, v0.6.2
keyboard-localization, v1.4.18
language-glsl, v2.0.1
language-haskell, v1.7.10
language-htaccess, v0.1.1
language-lua, v0.9.4
language-rust, v0.4.6
linter, v1.11.4
linter-gcc, v0.6.9
linter-lua, v1.0.2
linter-rust, v0.4.5
minimap, v4.21.0
navigator-godef, v1.0.2
pigments, v0.26.0
project-manager, v2.9.7
racer, v0.20.0
tester-go, v1.0.4
tokamak, v0.2.7
tokamak-terminal, v0.1.1
tool-bar, v0.4.0

# Dev
language-toml, v0.18.0
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