Giter Club home page Giter Club logo

atom-sync-cygwin's People

Contributors

ayurmedia avatar cr1901 avatar dingjie avatar dpavlic avatar hultberg avatar kdmcclel avatar mean-cj avatar zo0r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

atom-sync-cygwin's Issues

consider alternative: not an atom package but a linux utility

This is not an issue, but a pointer for others that might be like me looking for a way to use atom locally with files on a remote server.

This workflow requires two-way realtime sync.

atom-sync does not work well, has a lot of manual clicking required and has been abandoned for 5 years now.
INSTEAD this other project works wonders: https://github.com/stephenh/mirror

I highly recommend it for this particular use case that atom-sync is not made for!

Uncaught Error: Cannot find module '../service/undefined'Require stack:- $ATOM_HOME/packages\at...

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.57.0 x64
Electron: 9.4.4
OS: Unknown Windows version
Thrown From: atom-sync-cygwin package 0.10.0

Stack Trace

Uncaught Error: Cannot find module '../service/undefined'
Require stack:

  • C:\Users\elezb.atom\packages\atom-sync-cygwin\lib\controller\service-controller.coffee
  • C:\Users\elezb.atom\packages\atom-sync-cygwin\lib\atom-sync-cygwin.coffee
  • C:\Users\elezb\AppData\Local\atom\app-1.57.0\resources\app.asar\static\index.html
At internal/modules/cjs/loader.js:800

Error: Cannot find module '../service/undefined'
Require stack:
- C:\Users\elezb\.atom\packages\atom-sync-cygwin\lib\controller\service-controller.coffee
- C:\Users\elezb\.atom\packages\atom-sync-cygwin\lib\atom-sync-cygwin.coffee
- C:\Users\elezb\AppData\Local\atom\app-1.57.0\resources\app.asar\static\index.html
  at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
  at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
  at Function.get_Module._resolveFilename (<embedded>:11:157820)
  at Module.require (/app.asar/static/index.js:61:43)
  at require (<embedded>:11:149153)
  at Object.sync (/packages/atom-sync-cygwin/lib/controller/service-controller.coffee:115:6)
  at Object.onSync (/packages/atom-sync-cygwin/lib/controller/service-controller.coffee:66:12)
  at /packages/atom-sync-cygwin/lib/atom-sync-cygwin.coffee:27:19)
  at CommandRegistry.handleCommandEvent (<embedded>:11:352215)
  at CommandRegistry.dispatch (<embedded>:11:350690)
  at AtomEnvironment.dispatchContextMenuCommand (<embedded>:1:833425)
  at EventEmitter.t (<embedded>:1:841479)
  at EventEmitter.emit (events.js:223:5)
  at Object.onMessage (electron/js2c/renderer_init.js:115:818)

Commands

     -0:22.7.0 atom-sync-cygwin:download-directory (span.name.icon.icon-file-directory)

Non-Core Packages

atom-sync-cygwin 0.10.0 
busy-signal 2.0.1 
docker 0.8.0 
git-plus 8.7.1 
ide-python undefined 
intentions 2.1.1 
linter 3.4.0 
linter-kondo 1.2.0 
linter-ui-default 3.4.1 
open-bash-git 2.3.3 
simplified-russian-menu 1.3.0 
tree-view-git-branch 0.1.2 

Uncaught Error: Directory should be a string

  1. Configure .sync-config.cson with the following:
remote:
  host: "internal-host"
  user: "ternstor"
  path: "repos/demo"
behaviour:
  uploadOnSave: true
  syncDownOnOpen: true
  forgetConsole: false
  autoHideConsole: true
  alwaysSyncAll: false
option:
  deleteFiles: false
  exclude: [
    ".sync-config.cson"
    "node_modules"
    "tmp"
    "vendor"
  ]
  1. Right click on demo project folder.
  2. Click on "Sync" -> "Sync Remote -> Local".

Atom: 1.20.0-beta3 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: atom-sync-cygwin package 0.9.16

Stack Trace

Uncaught Error: Directory should be a string

At /Users/ternstor/.atom/packages/atom-sync-cygwin/node_modules/rsync/rsync.js:415

Error: Directory should be a string
    at Rsync.cwd (/packages/atom-sync-cygwin/node_modules/rsync/rsync.js:415:19)
    at module.exports (/packages/atom-sync-cygwin/lib/service/rsync-service.coffee:45:9)
    at Object.sync (/packages/atom-sync-cygwin/lib/controller/service-controller.coffee:98:5)
    at Object.onSync (/packages/atom-sync-cygwin/lib/controller/service-controller.coffee:77:6)
    at /packages/atom-sync-cygwin/lib/atom-sync-cygwin.coffee:27:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:265:35)
    at CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:3:65)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:166:25)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom Beta.app/Contents/Resources/app/src/atom-environment.js:1344:34)
    at EventEmitter.outerCallback (/Applications/Atom Beta.app/Contents/Resources/app/src/application-delegate.js:348:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -7:18.6.0 atom-sync-cygwin:download-directory (div.header.list-item.project-root-header)
     -6:51.4.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -5:35.1.0 atom-sync-cygwin:configure (div.header.list-item.project-root-header)
     -5:19.1.0 core:paste (input.hidden-input)
     -5:18.4.0 core:backspace (input.hidden-input)
     -5:18.2.0 core:save (input.hidden-input)
     -4:36 atom-sync-cygwin:download-directory (div.header.list-item.project-root-header)
     -4:33.4.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
  5x -2:15.2.0 atom-sync-cygwin:download-directory (div.header.list-item.project-root-header)

Non-Core Packages

atom-beautify 0.30.5 
atom-sync-cygwin 0.9.16 
MagicPython 1.0.12 
Sublime-Style-Column-Selection 1.7.4 

create new file not uploaded automatically. needs manual save to do it

when creating a new file it will not be uploaded until it is saved and onSave is triggered.

this is not intuitive for the user and shows warnings in the console "partially transferred".

this can be improved by either:
*) change warning of "partially transfer" to "please save your new file!"

*) check if file was uploaded to server already on "onOpen" buffer and upload it automatically.

Uncaught TypeError: The "path" argument must be of type string. Received type undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Pro
Thrown From: atom-sync-cygwin package 0.10.0

Stack Trace

Uncaught TypeError: The "path" argument must be of type string. Received type undefined

At internal/validators.js:105

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:105:11)
    at Object.normalize (path.js:263:5)
    at Object.onSync (/packages/atom-sync-cygwin/lib/controller/service-controller.coffee:38:16)
    at /packages/atom-sync-cygwin/lib/atom-sync-cygwin.coffee:42:21)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:349576)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:1242036)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:1238170)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:284782)

Commands

     -7:25.6.0 intentions:highlight (input.hidden-input)
     -7:25.3.0 core:paste (input.hidden-input)
     -7:23.4.0 intentions:highlight (input.hidden-input)
     -7:23 core:paste (input.hidden-input)
     -7:22.5.0 core:save (input.hidden-input)
 70x -6:58.1.0 intentions:highlight (input.hidden-input)
     -6:49.2.0 atom-sync:sync-up (input.hidden-input)
  5x -6:45 intentions:highlight (input.hidden-input)
     -6:40.5.0 atom-sync:sync-up (input.hidden-input)
  8x -4:34.1.0 core:backspace (input.hidden-input)
  2x -3:04.3.0 intentions:highlight (input.hidden-input)
     -0:36 atom-sync:sync-up (input.hidden-input)
  2x -0:33 intentions:highlight (input.hidden-input)
  2x -0:17.8.0 atom-sync:sync-up (input.hidden-input)
     -0:02.5.0 intentions:highlight (input.hidden-input)
     -0:02.3.0 core:copy (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-npm 0.3.1 
atom-sync-cygwin 0.10.0 
autocomplete-robot-framework 3.6.0 
busy-signal 2.0.1 
file-icons 2.1.33 
highlight-selected 0.16.0 
intentions 1.1.5 
language-csv 1.1.2 
language-cypher 0.5.0 
language-robot-framework 2.4.0 
linter 2.3.0 
linter-pylint 2.1.1 
linter-ui-default 1.7.1 
minimap 4.29.9 
minimap-highlight-selected 4.6.1 
multiline-select 1.8.2 
npm 2.0.0 
npm-install 4.0.4 
pretty-json 2.1.2 
rainbow-csv 1.4.0 
tablr 1.8.3 
test 0.1.2 

Uncaught Error: Cannot find module '../service/undefined'

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.35.1 x64
Electron: 2.0.18
OS: Mac OS X 10.13.6
Thrown From: atom-sync-cygwin package 0.10.0

Stack Trace

Uncaught Error: Cannot find module '../service/undefined'

At module.js:545

Error: Cannot find module '../service/undefined'
    at Module._resolveFilename (module.js:543:15)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:154667)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:145974)
    at Object.sync (/packages/atom-sync-cygwin/lib/controller/service-controller.coffee:115:6)
    at Object.onSync (/packages/atom-sync-cygwin/lib/controller/service-controller.coffee:66:12)
    at /packages/atom-sync-cygwin/lib/atom-sync-cygwin.coffee:27:19)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:350017)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:348492)
    at AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:694361)
    at EventEmitter.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:701828)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands

     -0:20.4.0 atom-sync-cygwin:download-directory (span.name.icon.icon-file-directory)

Non-Core Packages

ansible-galaxy 0.2.1 
ansible-snippets 0.2.0 
atom-beautify 0.33.4 
atom-clock 0.1.16 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-sync-cygwin 0.10.0 
atomatigit 1.5.5 
batman-syntax 1.1.0 
blue-dream-ui 0.35.0 
build-ocaml 0.2.2 
busy-signal 2.0.1 
carbon-blue-atom 2.1.1 
compare-files 0.8.1 
coral-blue-syntax 0.2.0 
duotone-blue-dark-syntax 1.4.0 
git-add 0.0.0 
git-clone 0.2.0 
git-control 0.9.0 
git-go 1.0.5 
git-history 3.3.0 
git-log 0.4.1 
git-plus 8.6.2 
git-status 0.3.4 
git-wip 0.3.0 
gruvbox-mellow 0.2.0 
hyperclick 0.1.5 
intentions 1.1.5 
language-ansible 0.2.2 
language-diff 0.7.0 
language-ocaml 1.9.5 
language-ocaml-fix 3.3.0 
linter 2.3.0 
linter-ocaml 1.2.0 
linter-pylama 0.10.1 
linter-pylint 2.1.1 
linter-python 3.1.2 
linter-ui-default 1.7.1 
markdown-preview-plus 3.8.0 
merge-conflicts 1.4.5 
minimap 4.29.9 
minimap-cursorline 0.2.0 
nucleus-dark-ui 0.12.3 
ocaml-indent 0.7.1 
ocaml-merlin 0.14.7 
ocaml-repl 0.7.2 
open-git-modified-files 0.2.4 
remote-atom 1.3.12 
remote-atom-plus 0.1.0 
remote-edit 1.9.0 
sync-settings 0.8.6 
tabs-closer 0.16.0 
tomorrow-night-blue-syntax 0.1.0 
tree-view-git-branch 0.1.2 
tree-view-git-status 1.5.2 
vim-mode 0.66.0 
vnc 0.1.4 
Watchmenesque-Dark 0.14.0 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.