Comments (9)
I'm not getting this error on version 0.157.0. Do you mind updating and trying again? I don't believe anything has changed in their API for this since I wrote that part, so it shouldn't make a difference, but it's worth a try.
- If that doesn't work, what are the nondefault settings you have for save session?
- Is it happening every time you close a file (that can be saved) or just sometimes?
- Does it throw any errors when you click
cancel
orDon't Save
?
from save-session.
Happening to me as well
Atom version 0.161.0
Save Session version 0.11.0
from save-session.
+1. Also happening to me.
Atom version 0.161.0
Save Session disabled [Update: but Atom not restarted - see next comment]
from save-session.
More info:
Steps: 1) Open a file and edit with Saved Session enabled. 2) Close file and choose Save.
File is not closed and Uncaught TypeError is thrown after a delay ~ 5 seconds. File is also not saved and attempting to close it again results in the same exception.
Restarting Atom with Saved Session disabled appears to fix the problem. Just disabling Saved Session does not fix the issue. Atom needs to be restarted with Saved Session disabled.
Atom version 0.162.0
from save-session.
Hmm. I still can't get this error to happen. Is there any chance one of you could debug this and find what the issue is?
from save-session.
On 12/19/2014 11:47 AM, Michael Peterson wrote:
Hmm. I still can't get this to work. Is there any chance you could
debug this?—
Reply to this email directly or view it on GitHub
#34 (comment).Hmm... It appears that the hack in save-prompt.coffee:21 to call
Pane.prototype.promptToSaveItem is not fully working. It does call
Pane.prototype.promptToSaveItem but the value of 'this' in
promptToSaveItem does not look like a panel object and this.saveItem is
undefined.
- this: Object
- activate: function () {
- addListeners: function () {
- defaultSavePrompt: function (item) {
- disable: function () {
- enable: function () {
- enableTemp: function () {
- proto: Object
- defineGetter: function defineGetter() { [native code] }
- defineSetter: function defineSetter() { [native code] }
- lookupGetter: function lookupGetter() { [native code] }
- lookupSetter: function lookupSetter() { [native code] }
- constructor: function Object() { [native code] }
- hasOwnProperty: function hasOwnProperty() { [native code] }
- isPrototypeOf: function isPrototypeOf() { [native code] }
- propertyIsEnumerable: function propertyIsEnumerable() {
[native code] } - toLocaleString: function toLocaleString() { [native code] }
- toString: function toString() { [native code] }
- valueOf: function valueOf() { [native code] }
- get proto: function proto() { [native code] }
- set proto: function proto() { [native code] }
--Chet
from save-session.
Is this still an issue?
from save-session.
No.
from save-session.
Okay cool. Going to close this than.
from save-session.
Related Issues (20)
- content-to-restore isn't erased when an unsaved window is closed
- Is this still working with atom v1.2.1 ? HOT 11
- Uncaught SyntaxError: Unexpected token b
- do not work on os x HOT 1
- Re-deprecate save-session HOT 2
- can not save session HOT 3
- Can this saves file when I stops typing?
- Is there anything in Atom that makes this package possible now? HOT 1
- does not work osx
- Doesnt work on win10
- Uncaught SyntaxError: Unexpected end of JSON input HOT 1
- Uncaught SyntaxError: Unexpected token u in JSON at position 0 HOT 1
- Should not be depricated HOT 3
- Uncaught TypeError: this.promptToSaveItem(...).then is not a function HOT 10
- Multiple tabs Session save
- MAC OS X: Unable to close temp tab
- Uncaught SyntaxError: Unexpected token r in JSON at position 56
- Uncaught Callback must be a function HOT 7
- Uncaught TypeError: invalid options argument HOT 10
- Uncaught TypeError: Callback must be a function. Received undefined
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 save-session.