Comments (3)
@jefferyyuan Thanks for creating this issue.
From the code, seems it will show SYNC_SUCCESS_MESSAGE somewhere when sync is finished
Yes, it supposed to display a green popup. It stays there for about 5 seconds.
But it would be great if we know sync is still running, so we are not panic : )
Totally agree, a loading indicator would be pretty useful. I'm going to add a feature request for this.
I will look into the disabled packages, snippets.cson
and init.coffee
file sync over the weekend to see what's going on.
from atom-package-sync.
After having a look at the code, it seems that snippers.cson
and init.coffee
shoud sync:
switch(fileName) {
case 'settings.json':
this.applyPackageSettings('', JSON.parse(file.content))
break
case 'keymap.cson':
fs.writeFileSync(atom.keymaps.getUserKeymapPath(), file.content)
break
case 'styles.less':
fs.writeFileSync(atom.styles.getUserStyleSheetPath(), file.content)
break
case 'init.coffee':
fs.writeFileSync(atom.config.configDirPath + "/init.coffee", file.content)
break
case 'snippets.cson':
fs.writeFileSync(atom.config.configDirPath + "/snippets.cson", file.content)
break
default: break
}
Can you post the content of your files?
from atom-package-sync.
Not sure if a similar issue, but just did a fresh install and I don't see any synced packages or settings, though I do get the green popup. Looking at the logs i see erros in finding both files snippers.cson
and init.coffee
Error reading file undefined/init.coffee. Probably doesn't exist. Error: ENOENT: no such file or directory, open 'undefined/init.coffee'
at Object.fs.openSync (fs.js:577)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:166:20)
at Object.fs.readFileSync (fs.js:483)
at Object.fs.readFileSync (ELECTRON_ASAR.js:563)
at AtomSettingsManager.fileContent (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:261)
at AtomSettingsManager.getFiles (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:108)
at AtomSettingsManager.getAtomSettingsChecksum (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:246)
at AtomSettingsManager.setLastUpdate (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:223)
at _qlApi.saveAtomSettings.then.result (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-package-sync.js:286)
fileContent @ /Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:264
/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:264
Error reading file undefined/snippets.cson. Probably doesn't exist. Error: ENOENT: no such file or directory, open 'undefined/snippets.cson'
at Object.fs.openSync (fs.js:577)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:166:20)
at Object.fs.readFileSync (fs.js:483)
at Object.fs.readFileSync (ELECTRON_ASAR.js:563)
at AtomSettingsManager.fileContent (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:261)
at AtomSettingsManager.getFiles (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:109)
at AtomSettingsManager.getAtomSettingsChecksum (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:246)
at AtomSettingsManager.setLastUpdate (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:223)
at _qlApi.saveAtomSettings.then.result (/Users/t2207741/.atom/packages/atom-package-sync/lib/atom-package-sync.js:286)
Both errors on /Users/t2207741/.atom/packages/atom-package-sync/lib/atom-settings-manager.js:264
, which is https://github.com/macor161/atom-package-sync/blob/master/lib/atom-settings-manager.js#L264
NOTE
This computer is behind a proxy which already had some issues with installing packages through the GUI, only worked with apm
after manually adding some proxy settings
NOTE2
My snippets.cson
and init.coffee
files do exists, though both are just comment lines
from atom-package-sync.
Related Issues (19)
- Images for readme file
- Add loading indicator
- Does not use APM's proxy setting
- Removing google access, and not being able to swap accounts HOT 1
- Cannot log into Google account HOT 2
- Sync no longer working HOT 1
- Google login not allowed HOT 1
- Google not allowed to login via CEF insecure HOT 6
- snippets not synced? HOT 3
- on MacOS, 502 bad gateway is displayed instead of the log-in message HOT 1
- Error: 502 Bad Gateway in Windows 10 HOT 4
- Produces blank pop up window HOT 1
- Didn't sync and removed all my settings HOT 12
- Exclude fonts HOT 4
- Blank Google login page on Ubuntu HOT 12
- Change Google account used for sync HOT 5
- Blank window instead of showing loggin to Google HOT 16
- Packages and Settings not syncing HOT 11
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 atom-package-sync.