Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open admin tabs in 1.0.113 #2800

Closed
alex-hempel opened this issue Jul 20, 2020 · 12 comments
Closed

Unable to open admin tabs in 1.0.113 #2800

alex-hempel opened this issue Jul 20, 2020 · 12 comments

Comments

@alex-hempel
Copy link

When trying to open any admin tab in 1.0.113 via right-click and admin tab, a tab briefly opens and immediately closes again.

Windows 10 Version 2004

2020-07-20_14-40-29

@Eugeny
Copy link
Owner

Eugeny commented Jul 20, 2020

Please capture DevTools console logs at the time of the issue: https://github.com/Eugeny/terminus/wiki/Debug-logs

GitHub
A terminal for a more modern age. Contribute to Eugeny/terminus development by creating an account on GitHub.

@alex-hempel
Copy link
Author

I got these error messages when trying to open a PowerShell admin tab:

/C:/Users/alex.hempel/AppData/Local/Programs/Terminus/resources/app.asar/dist/[object%20Module]:1 GET file:///C:/Users/alex.hempel/AppData/Local/Programs/Terminus/resources/app.asar/dist/[object%20Module] net::ERR_FILE_NOT_FOUND
xtermFrontend.ts:117 Could not resize xterm Error: This API only accepts integers
    at eval (xterm.js:1)
    at Array.forEach (<anonymous>)
    at e._verifyIntegers (xterm.js:1)
    at e.resize (xterm.js:1)
    at XTermFrontend.resizeHandler (xtermFrontend.ts:113)
    at eval (xtermFrontend.ts:158)
    at ZoneDelegate.invokeTask (C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:421)
    at Zone.runTask (C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:188)
    at ZoneTask.invokeTask (C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:503)
    at ZoneTask.invoke (C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:492)
    at timer (C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:3034)
    at sentryWrapped (C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\dist\sentry.js:1882)
XTermFrontend.resizeHandler @ xtermFrontend.ts:117
eval @ xtermFrontend.ts:158
ZoneDelegate.invokeTask @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:421
Zone.runTask @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:188
ZoneTask.invokeTask @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:503
ZoneTask.invoke @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:492
timer @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:3034
sentryWrapped @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\dist\sentry.js:1882
setTimeout (async)
(anonymous) @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\dist\sentry.js:1975
scheduleTask @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:3055
ZoneDelegate.scheduleTask @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:407
Zone.scheduleTask @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:231
Zone.scheduleMacroTask @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:254
scheduleMacroTaskWithCurrentZone @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:1183
(anonymous) @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:3068
proto.<computed> @ C:\Users\alex.hempel\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:1501
eval @ xtermFrontend.ts:158

@mesa123123
Copy link

I'm going to +1 This is what I'm getting on the log files

[terminal] Using session options: {command: "C:\Users\bowma\AppData\Local\Programs\Terminus\resources\extras\UAC.exe", args: Array(2), env: {…}, runAsAdministrator: true}command: "C:\Users\bowma\AppData\Local\Programs\Terminus\resources\extras\UAC.exe"args: (2) ["powershell.exe", "-nologo"]env: {TERM: "cygwin"}runAsAdministrator: true__proto__: Object
/C:/Users/bowma/AppData/Local/Programs/Terminus/resources/app.asar/dist/[object%20Module]:1 
---------------------------------------------
GET file:///C:/Users/bowma/AppData/Local/Programs/Terminus/resources/app.asar/dist/[object%20Module] net::ERR_FILE_NOT_FOUND
xtermFrontend.ts:117 
-----------------------------------------------
Could not resize xterm Error: This API only accepts integers
    at eval (xterm.js:1)
    at Array.forEach (<anonymous>)
    at e._verifyIntegers (xterm.js:1)
    at e.resize (xterm.js:1)
    at XTermFrontend.resizeHandler (xtermFrontend.ts:113)
    at eval (xtermFrontend.ts:158)
    at ZoneDelegate.invokeTask (C:\Users\bowma\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:421)
    at Zone.runTask (C:\Users\bowma\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:188)
    at ZoneTask.invokeTask (C:\Users\bowma\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:503)
    at ZoneTask.invoke (C:\Users\bowma\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:492)
    at timer (C:\Users\bowma\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\zone.js\dist\zone.js:3034)
    at sentryWrapped (C:\Users\bowma\AppData\Local\Programs\Terminus\resources\app.asar\dist\sentry.js:1882)

System info:
Win10 - Version 1909 (OS Build 18363.959)

@Eugeny Eugeny closed this as completed in 3cff590 Jul 27, 2020
@alex-hempel
Copy link
Author

Still happening for me in 1.0.114.

@Eugeny Eugeny reopened this Jul 28, 2020
@Eugeny
Copy link
Owner

Eugeny commented Jul 28, 2020

See if UAC.exe crashes if you double-click it in %AppData%\Local\Programs\Terminus\resources\extras\

@alex-hempel
Copy link
Author

alex-hempel commented Jul 28, 2020

It does:

UAC.exe - System Error
---------------------------
The code execution cannot proceed because VCRUNTIME140_1D.dll was not found. Reinstalling the program may fix this problem. 

@Eugeny
Copy link
Owner

Eugeny commented Jul 29, 2020

@alex-hempel
Copy link
Author

Looks like that build failed.

@Eugeny
Copy link
Owner

Eugeny commented Jul 30, 2020

@fluxtendu
Copy link

fluxtendu commented Jul 30, 2020

1.0.116 nightly partially corrected the bug on my side, tabs stay open and no issues with Cmder, CMD (stock) and PowerShell
but i get new issues with others:

CMD (clink)

*** ERROR: Unknown verb -- 'inject '
Clink v0.4.9 [git:2fd2c2] Copyright (c) 2012-2016 Martin Ridgers
http://mridgers.github.io/clink

Usage: <verb> <verb_options>

  Verbs:
  inject   Injects Clink into a process.
  autorun  Manage Clink's entry in cmd.exe's autorun.
  set      Adjust Clink's settings.
           ('<verb> --help' for more details)

PowerShell Core

No error message but uppercase add a "à" before character. For example if I write "SaMplE", I get "àSaàMplàE"

WSL / Ubuntu

/bin/bash: -d: command not found
and freeze terminus

@dust0vich
Copy link

As a workaround for 1.0.114 there is a UAC.exe in the %USERPROFILE%\AppData\Local\Programs\Terminus\resources\extras\ssh-keygen folder that does not require debug DLLs. I just copied it from there to the previous folder and everything works fine again.

@Eugeny
Copy link
Owner

Eugeny commented Jul 31, 2020

Fixed in 1.0.115

@Eugeny Eugeny closed this as completed Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants