Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Error thrown when trying to close an untitled tab [Ubuntu 14.04] #128

Closed

Description

@ybounya

[Enter steps to reproduce below:]

  1. Just trying to close a tab
  2. Seem to happen everytime after upgrade
    => actually, I can close untitled tab if they are empty

Atom Version: 0.188.0
System: linux 3.13.0-46-generic
Thrown From: tabs package, v0.67.0

Stack Trace

Uncaught Error: /opt/atom/resources/atom.asar/browser/api/lib/dialog.js:1
(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT
^
Unexpected token .
/opt/atom/resources/atom.asar/browser/api/lib/dialog.js:1
(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT
^
SyntaxError: Unexpected token .
at exports.runInThisContext (vm.js:75:16)
at Module._compile (module.js:458:25)
at Object.Module._extensions..js (module.js:493:10)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at EventEmitter. (/opt/atom/resources/atom.asar/browser/lib/rpc-server.js:128:79)
at EventEmitter.emit (events.js:119:17)
at EventEmitter. (/opt/atom/resources/atom.asar/browser/api/lib/web-contents.js:99:23)
at EventEmitter.emit (events.js:119:17)

At /opt/atom/resources/atom.asar/renderer/api/lib/remote.js:77

Error: /opt/atom/resources/atom.asar/browser/api/lib/dialog.js:1
(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT
                                                              ^
Unexpected token .
/opt/atom/resources/atom.asar/browser/api/lib/dialog.js:1
(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT
                                                              ^
SyntaxError: Unexpected token .
    at exports.runInThisContext (vm.js:75:16)
    at Module._compile (module.js:458:25)
    at Object.Module._extensions..js (module.js:493:10)
    at Module.load (module.js:370:32)
    at Function.Module._load (module.js:325:12)
    at Module.require (module.js:380:17)
    at EventEmitter.<anonymous> (/opt/atom/resources/atom.asar/browser/lib/rpc-server.js:128:79)
    at EventEmitter.emit (events.js:119:17)
    at EventEmitter.<anonymous> (/opt/atom/resources/atom.asar/browser/api/lib/web-contents.js:99:23)
    at EventEmitter.emit (events.js:119:17)
    at metaToValue (/opt/atom/resources/atom.asar/renderer/api/lib/remote.js:77:15)
    at Object.exports.require (/opt/atom/resources/atom.asar/renderer/api/lib/remote.js:157:34)
    at Atom.module.exports.Atom.confirm (/opt/atom/resources/app/src/atom.js:711:23)
    at Pane.module.exports.Pane.promptToSaveItem (/opt/atom/resources/app/src/pane.js:519:21)
    at Pane.module.exports.Pane.destroyItem (/opt/atom/resources/app/src/pane.js:472:18)
    at HTMLDivElement.<anonymous> (/opt/atom/resources/app/node_modules/tabs/lib/tab-bar-view.js:179:22)
    at space-pen-ul.jQuery.event.dispatch (/opt/atom/resources/app/node_modules/jquery/dist/jquery.js:4430:9)
    at space-pen-ul.elemData.handle (/opt/atom/resources/app/node_modules/jquery/dist/jquery.js:4116:28)

Commands

Config

{
  "core": {
    "followSymlinks": true
  }
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Activity

  1. changed the title [-]Error thrown when trying to close an untitled panel [Ubuntu 14.04][/-] [+]Error thrown when trying to close an untitled tab [Ubuntu 14.04][/+] on Apr 7, 2015
  2. ybounya commented on Apr 8, 2015

    @ybounya
    Author

    Duplicate of #6276

  3. izuzak commented on Apr 8, 2015

    @izuzak
    Contributor

    Closing in favor of atom/atom#6276. Can you please follow that issue for updates and let us know if when it's fixed you can still reproduce this problem? Thanks for the report.

  4. ybounya commented on Apr 8, 2015

    @ybounya
    Author

    fixed in 0.190.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions