Coder Social home page Coder Social logo

andyrichardson / atom-updater-linux Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 90 KB

Be notified of updates to Atom and install without leaving the editor.

Home Page: https://atom.io/packages/atom-updater-linux

License: MIT License

TypeScript 99.07% JavaScript 0.93%
atom atom-editor atom-package deb linux rpm

atom-updater-linux's People

Contributors

andyrichardson avatar rodrigopmatias avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

coolboyshashank

atom-updater-linux's Issues

Uncaught TypeError: response.some is not a function

  1. Install Atom 1.23.3
  2. Install atom-updater-linux from package install menu
  3. No worky

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Ubuntu 16.04.2
Thrown From: atom-updater-linux package 1.0.6

Stack Trace

Uncaught TypeError: response.some is not a function

At /home/habeeb/.atom/packages/atom-updater-linux/lib/update.js:129

TypeError: response.some is not a function
    at Request._callback (/packages/atom-updater-linux/lib/update.js:129:18)
    at Request.self.callback (/packages/atom-updater-linux/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at /packages/atom-updater-linux/node_modules/request/request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at /packages/atom-updater-linux/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:290:19)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -9:10.1.0 golang:update-tools (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -7:29.8.0 core:cancel (atom-pane.pane)
     -7:27.8.0 editor:consolidate-selections (input.hidden-input)
     -7:27.8.0 core:cancel (input.hidden-input)
     -6:21.6.0 editor:newline (input.hidden-input)
     -6:19.2.0 core:undo (input.hidden-input)
     -0:05.0 atom-updater-linux:check (input.hidden-input)

Non-Core Packages

atom-live-server 2.1.2 
atom-updater-linux 1.0.6 
go-debug 1.6.0 
go-plus 5.8.1 
go-signature-statusbar 1.2.3 
local-history 4.3.1 
platformio-ide-terminal 2.8.0 
terminal-plus 0.14.5 

Continuous updating

Package continuously tries to install the newest version even after a successful update.

Operating System

  • Ubuntu 16.04

Settings:

  • check on startup
  • auto-detect

Update Typescript to v3

About

Update Typescript from 2.7.2 to 3.0.1.

Peer dependencies

It would make sense to update the following accompanying packages:

  • @types/jest: 22.2.023.3.1
  • jest: 22.4.223.5.0
  • ts-jest 22.4.123.1.4

Uncaught Error: tunneling socket could not be established, cause=socket hang up

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.0 x64
Electron: 3.1.10
OS: Ubuntu 18.04.3
Thrown From: atom-updater-linux package 1.3.0

Stack Trace

Uncaught Error: tunneling socket could not be established, cause=socket hang up

At internal/streams/legacy.js:57

Error: tunneling socket could not be established, cause=socket hang up
    at ClientRequest.onError (/packages/atom-updater-linux/node_modules/tunnel-agent/index.js:177:17)
    at Object.onceWrapper (events.js:273:13)
    at ClientRequest.emit (events.js:182:13)
    at Socket.socketOnEnd (_http_client.js:416:9)
    at Socket.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1090:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Commands

Non-Core Packages

atom-updater-linux 1.3.0 

Error while installing

Issue Description

I have troubles installing this package. Do I have something not installed or something is missing in the config?

Steps to reproduce

apm install atom-updater-linux

Expected result

Success when installed

Actual result

> [email protected] postinstall /tmp/apm-install-dir-11849-22221-1mgxefs.jyt3i35wmi/node_modules/atom-updater-linux
> tsc

node_modules/@types/node/index.d.ts(6202,55): error TS2304: Cannot find name 'Map'.
node_modules/@types/node/index.d.ts(6209,55): error TS2304: Cannot find name 'Set'.
node_modules/@types/node/index.d.ts(6213,64): error TS2304: Cannot find name 'Symbol'.
node_modules/@types/node/index.d.ts(6219,59): error TS2304: Cannot find name 'WeakMap'.
node_modules/@types/node/index.d.ts(6220,59): error TS2304: Cannot find name 'WeakSet'.
/tmp/apm-install-dir-11849-22221-1mgxefs.jyt3i35wmi
└── (empty)


npm WARN deprecated @types/[email protected]: This is a stub types definition for es6-promise (https://github.com/jakearchibald/ES6-Promise). es6-promise provides its own type definitions, so you don't need @types/es6-promise installed!
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.3 (node_modules/atom-updater-linux/node_modules/sane/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/atom-updater-linux/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-11849-22221-1mgxefs.jyt3i35wmi/package.json'
npm WARN apm-install-dir-11849-22221-1mgxefs.jyt3i35wmi No description
npm WARN apm-install-dir-11849-22221-1mgxefs.jyt3i35wmi No repository field.
npm WARN apm-install-dir-11849-22221-1mgxefs.jyt3i35wmi No README data
npm WARN apm-install-dir-11849-22221-1mgxefs.jyt3i35wmi No license field.
npm ERR! Linux 4.13.0-39-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/route/.atom/.apm/.apmrc" "--userconfig" "/home/route/.atom/.apmrc" "install" "/tmp/d-11849-22221-wulbt3.j2aj68ncdi/package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'tsc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the atom-updater-linux package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs atom-updater-linux
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls atom-updater-linux
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-11849-22221-1mgxefs.jyt3i35wmi/npm-debug.log
npm ERR! code 1

Additional info

Atom version: [v1.26.1]

Package version: [v1.1.2]

Operating System: [Pop!_OS 17.10 (Artful Aardvark)]

Uncaught Error: tunneling socket could not be established, cause=connect ETIMEDOUT 172.16.5.1:8080

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.0 x64
Electron: 3.1.10
OS: Ubuntu 18.04.3
Thrown From: atom-updater-linux package 1.3.0

Stack Trace

Uncaught Error: tunneling socket could not be established, cause=connect ETIMEDOUT 172.16.5.1:8080

At internal/streams/legacy.js:57

Error: tunneling socket could not be established, cause=connect ETIMEDOUT 172.16.5.1:8080
    at ClientRequest.onError (/packages/atom-updater-linux/node_modules/tunnel-agent/index.js:177:17)
    at Object.onceWrapper (events.js:273:13)
    at ClientRequest.emit (events.js:182:13)
    at Socket.socketErrorListener (_http_client.js:382:9)
    at Socket.emit (events.js:182:13)
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Commands

Non-Core Packages

atom-updater-linux 1.3.0 
file-icons 2.1.34 
highlight-selected 0.16.0 
ide-r 0.1.8 
indent-detective 0.4.0 
ink 0.10.12 
julia-client 0.9.4 
language-julia 0.19.1 
language-markdown 0.37.0 
latex-completions 0.3.6 
markdown-preview-plus 3.9.3 
pandoc 0.2.2 
tool-bar 1.1.12 
uber-juno 0.2.0 
xml-formatter 0.13.0 

Installing updates failes on Ubuntu 16.04

Issue Description

The updater notifies of a new update.
After downloading it asks to install.
After the sudo password promt I get this error:

Error: Command failed: SHELL=/bin/bash pkexec rpm -U /tmp/atom-updater-linux.installer
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
	lsb-core-noarch is needed by atom-1.29.0-0.1.x86_64
	libXss.so.1()(64bit) is needed by atom-1.29.0-0.1.x86_64
	libsecret-1.so.0()(64bit) is needed by atom-1.29.0-0.1.x86_64

Atom version:
1.27.1
Package version:
1.2.2
Operating System:
Ubuntu 16.04

Uncaught SyntaxError: Unexpected end of JSON input

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.29.0 x64
Electron: 2.0.5
OS: Ubuntu 16.04.2
Thrown From: atom-updater-linux package 1.2.2

Stack Trace

Uncaught SyntaxError: Unexpected end of JSON input

At file:///usr/share/atom/resources/app.asar/static/index.html:1

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Request._callback (/packages/atom-updater-linux/src/lib/updater.js:111:37)
    at Request.self.callback (/packages/atom-updater-linux/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at /packages/atom-updater-linux/node_modules/request/request.js:1157:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at /packages/atom-updater-linux/node_modules/request/request.js:1079:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

 33x -6:28.6.0 core:move-down (input.hidden-input)
     -6:02.1.0 intentions:highlight (input.hidden-input)
     -6:01.8.0 core:save (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.6 
atom-typescript 11.0.6 
atom-updater-linux 1.2.2 
build 0.70.0 
build-python 0.9.3 
busy-signal 1.4.3 
emmet 2.4.3 
file-icons 2.1.7 
gpp-compiler 3.0.7 
intentions 1.1.5 
linter 2.2.0 
linter-ui-default 1.2.4 
minimap 4.29.8 
platformio-ide-terminal 2.8.3 

Clean up tests

Tasks

  • Move tests from spec folder to inline.
  • Move jest config from package.json to jest file.

Updater is not working

Issue Description

I'm in a running instance of Atom.
The process begins, and asks if I want to install the latest Atom.
I click on the button to proceed.
The process downloads the needed archive, and then asks for my password to proceed.
Then asks if for a restart of Atom.
I perform the restart, and then the process asks if I want to install the latest Atom, again.
I've performed this step at least 6 times. There is no change.

Steps to reproduce

  1. Start Atom.
  2. The process begins, and asks if I want to install the latest Atom.
  3. I click on the button to proceed.
  4. After the process downloads the needed archive, it will ask for you password to proceed.
  5. You will be asked if it is fine to restart Atom.
  6. Accept the restart.

Expected result

The latest version of Atom to be installed. In my case, that would be 1.29.0

Actual result

My Atom is still 1.28.2

Additional info

Atom version: 1.28.2

Package version: 1.2.2

Operating System: Ubuntu 18

Configure project to publish build files

The intent is to remove the typescript build process and any dependencies.

Tasks:

  • Configure package.json target files
  • Move dependencies (typescript .etc) to dev dependencies

need to run as root

Issue Description

I was notified about update.
I downloaded update
It asked to install update
I run it.

ERROR:

need to run as root:

SHELL=/bin/bash pkexec dpkg -i /tmp/atom-updater-linux.installer

Steps to reproduce

see above. I am on Ubuntu 20.04

Expected result

that root is not required or that I can set root to run.

image

Update Failed

Issue Description

Updating from Atom Failed, got to download the file but could not install it

Steps to reproduce

Running Update on Linux Mint

Actual result

Got the following error:

Something went wrong while attempting to update atom
Hide Stack Trace
Error: Command failed: SHELL=/bin/bash pkexec rpm -U /tmp/atom-updater-linux.installer
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Dependencias fallidas:
	lsb-core-noarch se necesita por atom-1.28.1-0.1.x86_64
	libXss.so.1()(64bit) se necesita por atom-1.28.1-0.1.x86_64
	libsecret-1.so.0()(64bit) se necesita por `atom-1.28.1-0.1.x86_64

Additional info

Atom version: 1.27.2 x64

Package version: 1.2.2

Operating System: Mint 17.2

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.