Cannot login to Appcelerator Studio (Windows) - appcelerator-studio

I cannot login to Appcelerator Studio. Tried different archived solutions from Appcelerator and followed their troubleshooting guides.
I am able to login with my ID and Password to the site but not with CLI nor Studio.
As soon as I double click the Studio Icon, I get this error in the log file, and get repeated login prompts (it doesn't even try to check user and password):
!SESSION 2016-06-04 08:53:57.697 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY com.aptana.core 4 0 2016-06-04 08:54:01.526
!MESSAGE (Build 4.6.0.1455770180) [ERROR] null
!STACK 0
java.lang.InterruptedException
at java.lang.ProcessImpl.waitFor(Unknown Source)
at com.aptana.core.util.ProcessRunner.processData(ProcessRunner.java:381)
at com.aptana.core.util.ProcessRunner.processData(ProcessRunner.java:345)
at com.aptana.core.util.ProcessRunner.processResult(ProcessRunner.java:432)
at com.appcelerator.titanium.core.internal.cli.NodeAppcCLI.runCommand(NodeAppcCLI.java:238)
at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.verifyAppcWhoami(TitaniumSplashHandler.java:1218)
at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.access$4(TitaniumSplashHandler.java:1215)
at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3.run(TitaniumSplashHandler.java:303)
!ENTRY com.appcelerator.titanium.rcp 4 0 2016-06-04 08:54:01.541
!MESSAGE (Build 4.6.0.1455770180) [ERROR] Failed to check login status. Likely not logged in.
I am deciding wether to buy a pro plan, but this is very annoying.
I run appc login -l trace and this is what I get:
$ appc login -l trace
Appcelerator Command-Line Interface, version 5.3.0
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
2016-06-06T13:47:43.450Z | TRACE | set environment to {"registry":"https://soft
ware.appcelerator.com","security":"https://security.appcelerator.com","baseurl":
"https://platform.appcelerator.com"}
2016-06-06T13:47:43.466Z | TRACE | executing command "login" with no plugins
2016-06-06T13:47:44.731Z | DEBUG | Get username and password...
2016-06-06T13:47:44.731Z | INFO | Appcelerator Login required to continue ...
? Appcelerator ID: perez.arroyo#gmail.com
? Password: *********
2016-06-06T13:48:18.852Z | DEBUG | Get the registry...
2016-06-06T13:48:18.852Z | DEBUG | Do login...
2016-06-06T13:48:18.867Z | TRACE | running: reg query HKLM\Software\Microsoft\C
ryptography /v MachineGuid
2016-06-06T13:48:18.867Z | TRACE | trying again, forcing it to use 64bit regist
ry view
2016-06-06T13:48:18.867Z | TRACE | running: reg query HKLM\Software\Microsoft\C
ryptography /v MachineGuid /reg:64
2016-06-06T13:48:18.899Z | TRACE | login returned { [Error: Command failed: C:\
Windows\system32\cmd.exe /s /c "reg query HKLM\Software\Microsoft\Cryptography /
v MachineGuid /reg:64"
'reg' is not recognized as an internal or external command,
operable program or batch file.
]
killed: false,
code: 1,
signal: null,
cmd: 'C:\\Windows\\system32\\cmd.exe /s /c "reg query HKLM\\Software\\Microsof
t\\Cryptography /v MachineGuid /reg:64"' } undefined
2016-06-06T13:48:18.899Z | DEBUG | body undefined
2016-06-06T13:48:18.899Z | DEBUG | err { [Error: Command failed: C:\Windows\sys
tem32\cmd.exe /s /c "reg query HKLM\Software\Microsoft\Cryptography /v MachineGu
id /reg:64"
'reg' is not recognized as an internal or external command,
operable program or batch file.
]
killed: false,
code: 1,
signal: null,
cmd: 'C:\\Windows\\system32\\cmd.exe /s /c "reg query HKLM\\Software\\Microsof
t\\Cryptography /v MachineGuid /reg:64"' }
2016-06-06T13:48:18.899Z | ERROR | login failed, please try again
2016-06-06T13:48:18.899Z | DEBUG | Get username and password...
2016-06-06T13:48:18.899Z | INFO | Appcelerator Login required to continue ...
? Appcelerator ID:

Related

android studio emulator hangs on startup on m1

I'm trying to run Android Studio emulator version 31.3.13.0 on MacOS 12.5.1 with M1. The emulator hangs with no error message after the following lines:
~/Library/Android/sdk/emulator$ ./emulator -avd Pixel_5_API_33 -verbose -show-kernel
INFO | Android emulator version 31.3.13.0 (build_id 9189900) (CL:N/A)
INFO | Found AVD name 'Pixel_5_API_33'
INFO | Found AVD target architecture: arm64
INFO | argv[0]: './emulator'; program directory: '/Users/x/Library/Android/sdk/emulator'
VERBOSE | Found directory: /Users/x/Library/Android/sdk/system-images/android-33/google_apis/arm64-v8a/
emulator: INFO: Found systemPath /Users/x/Library/Android/sdk/system-images/android-33/google_apis/arm64-v8a/
INFO | emuDirName: '/Users/x/Library/Android/sdk/emulator'
INFO | try dir /Users/x/Library/Android/sdk/emulator
INFO | Trying emulator path '/Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64'
INFO | Found target-specific 64-bit emulator binary: /Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64
INFO | Adding library search path: '/Users/x/Library/Android/sdk/emulator/lib64'
INFO | Adding library search path: '/Users/x/Library/Android/sdk/emulator/lib64/gles_angle'
INFO | Adding library search path: '/Users/x/Library/Android/sdk/emulator/lib64/gles_angle9'
INFO | Adding library search path: '/Users/x/Library/Android/sdk/emulator/lib64/gles_angle11'
VERBOSE | Adding library search path for Qt: '/Users/x/Library/Android/sdk/emulator/lib64/qt/lib'
VERBOSE | Silencing all qWarning(); use qCWarning(...) instead: QT_LOGGING_RULES=default.warning=false
VERBOSE | Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=/Users/x/Library/Android/sdk/emulator/lib64/qt/plugins
VERBOSE | Setting Qt to use software OpenGL: QT_OPENGL=software
VERBOSE | Setting QML to use software QtQuick2D: QMLSCENE_DEVICE=softwarecontext
VERBOSE | Overriding pre-existing bad Qt high dpi settings...
VERBOSE | emulator: Running :/Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64
VERBOSE | qemu backend: argv[00] = "/Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64"
VERBOSE | qemu backend: argv[01] = "-avd"
VERBOSE | qemu backend: argv[02] = "Pixel_5_API_33"
VERBOSE | qemu backend: argv[03] = "-verbose"
VERBOSE | qemu backend: argv[04] = "-show-kernel"
VERBOSE | Concatenated backend parameters: /Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64 -avd Pixel_5_API_33 -verbose -show-kernel
Any help would be appreciated.

polkit-0.113-r0 do_configure: Function failed: do_configure

building policy kit (polkit : present in meta-openembedded [branch : pyro])using yocto and during build getting following error :
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat '/home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/recipe-sysroot//usr/share/aclocal/introspection.m4': No such file or directory
| WARNING: /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/temp/run.do_configure.4300:1 exit 1 from 'cp /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/recipe-sysroot/usr/share/aclocal/introspection.m4 /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/polkit-0.113/m4'
| ERROR: Function failed: do_configure (log file is located at /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/temp/log.do_configure.4300)
Please let me know, how can fix this issue ?
You see an extra slash (/) before usr ?
...recipe-sysroot//usr/share/aclocal...
This is creating problem, and say No such directory.
Fix this, Check for any prefix path you have set or it might be a typo error.

Can't run stock SF Container out of the box on local cluster

I created a stock out of the box VS2019 Azure Service Fabric Container app. It and every other Service Fabric app won't run on the local cluster. I get this:
1>------ Build started: Project: ServiceFabricContainer, Configuration: Debug x64 ------
2>------ Publish started: Project: ServiceFabricContainer, Configuration: Debug x64 ------
2>Started executing script 'GetApplicationExistence'.
2>Finished executing script 'GetApplicationExistence'.
2>Time elapsed: 00:00:00.5863836
-------- Package started: Project: ServiceFabricContainer, Configuration: Debug x64 ------
ServiceFabricContainer -> C:\dev\ServiceFabricContainer\pkg\Debug
-------- Package: Project: ServiceFabricContainer succeeded, Time elapsed: 00:00:00.2741254 --------
2>Started executing script 'Deploy-FabricApplication.ps1'.
2>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command ". 'C:\dev\ServiceFabricContainer\Scripts\Deploy-FabricApplication.ps1' -ApplicationPackagePath 'C:\dev\ServiceFabricContainer\pkg\Debug' -PublishProfileFile 'C:\dev\ServiceFabricContainer\PublishProfiles\Local.1Node.xml' -DeployOnly:$false -ApplicationParameter:#{} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'None' -OverwriteBehavior 'SameAppTypeAndVersion' -SkipPackageValidation:$false -ErrorAction Stop"
2>Copying application to image store...
2>Upload to Image Store succeeded
2>Registering application type...
2>Register application type started. Use Get-ServiceFabricApplicationType to query for status.
2>Running Image Builder process ...
2>Application package is registered.
2>Removing application package from image store...
2>Remove application package succeeded
2>Creating application...
2>New-ServiceFabricApplication : Repository Credentials for Account Name:sgentile cannot have a blank password if you
2>have PasswordEncrypted set to True or Type set to Encrypted/SecretsStoreRef.
2>At C:\Program Files\Microsoft SDKs\Service
2>Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:358 char:9
2>+ New-ServiceFabricApplication -ApplicationName $ApplicationNam ...
2>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2> + CategoryInfo : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [New-ServiceFabr
2> icApplication], FabricException
2> + FullyQualifiedErrorId : CreateApplicationInstanceErrorId,Microsoft.ServiceFabric.Powershell.NewApplication
2>
2>Finished executing script 'Deploy-FabricApplication.ps1'.
2>Time elapsed: 00:00:09.7611521
2>The PowerShell script failed to execute.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
Help please!
The answer is right in the error information. I just needed to have a non blank password. It works now.

Process description,user and publisher information in dump

Is there a way to retrieve the process description and publisher from a Windows Kernel crash dump?
I tried !process and !dml_proc. It doesn't show that information.
Description sould be get from exe module.
Example:
0: kd> !PROCESS fffffa800482f940 2
GetPointerFromAddress: unable to read from fffff80397f65000
PROCESS fffffa800482f940
SessionId: 1 Cid: 0e3c Peb: 7f7cfefa000 ParentCid: 04bc
DirBase: 26bcc000 ObjectTable: fffff8a0028f4e80 HandleCount: <Data Not Accessible>
Image: Taskmgr.exe
0: kd> .process /p fffffa800482f940
Implicit process is now fffffa80`0482f940
0: kd> .reload /user
Loading User Symbols
..........................................................
0: kd> lmvm Taskmgr
Browse full module list
start end module name
000007f7`d08c0000 000007f7`d09da000 taskmgr (deferred)
Image path: C:\Windows\system32\taskmgr.exe
Image name: taskmgr.exe
Browse all global symbols functions data
Timestamp: Thu Jul 26 02:07:18 2012 (50107C26)
CheckSum: 00119B41
ImageSize: 0011A000
File version: 6.2.9200.16384
Product version: 6.2.9200.16384
File flags: 0 (Mask 3F)
File OS: 40004 NT Win32
File type: 1.0 App
File date: 00000000.00000000
Translations: 0409.04b0
CompanyName: Microsoft Corporation
ProductName: Microsoft® Windows® Operating System
InternalName: Taskmgr.exe
OriginalFilename: Taskmgr.exe
ProductVersion: 6.2.9200.16384
FileVersion: 6.2.9200.16384 (win8_rtm.120725-1247)
FileDescription: Task Manager
LegalCopyright: © Microsoft Corporation. All rights reserved.
i was trying to edit and post clarification to pykd-teams answer but the edit turned out ot be substantial so posted this as an answer
FileDescription from lmvm output refers to description column in Task manager Details tab
Company Name Refers refers to publisher column in startup tab
C:\Windows\system32>wmic Startup where Caption="vmware user process" get /format:list
Caption=VMware User Process
Command="C:\Program Files\VMware\VMware Tools\vmtoolsd.exe" -n vmusr
Description=VMware User Process
Location=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name=VMware User Process
SettingID=
User=Public
UserSID=
C:\Windows\system32>reg query hklm\software\microsoft\windows\currentversion\run
HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\run
VMware User Process REG_SZ "C:\Program Files\VMware\VMware Tools\vmtoolsd.exe" -n vmusr
you can check by modifiying the FILE_VERSION_INFO in rsrc section of any file that is executed in startup see below an edited publisher in windbg of the same exe as posted above
how to check for validity of the above assertion
open a live kd session
run task manager in target and select a startup
look at details and locate the process name say vmtoolsd.exe
break into kd using ctrl+break
!process 0 0 vmtoolsd.exe
.process /p /r EPROCESS ADDRESS OF vmtoolsd.exe
!dh vmtoolsd find the Data directory SECURITY DIRECTORY and start searching for FILE_VERSION_INFO
loacte the string value of Company Name
use eb Address to edit the Company Name to some random string
execute using g
now execute task manager and you will see the publisher column in startup tab reflecting the random string as publisher
username is not tied to file but to process grab the token
from !process <Eproc> 1 and pass the TOKEN value to !token -n
here is sample script to retrieve user names for each running process
!for_each_process "r $t0=(##c++(((_EPROCESS*) ##Process )->Token.Object)&0xfffffff8);r? $t1=##c++(((_TOKEN*)##(#$t0))->LogonSession->AccountName);r? $t2=##c++(((_EPROCESS *) ##Process )->ImageFileName);.printf \"%mu\t\t\t%ma\\n\",##c++((wchar_t *)#$t1.Buffer),##c++((char*)#$t2)"
should get your results like this
kd> $$>a< getuname4proc.txt
xx-PC$ smss.exe
LOCAL SERVICE svchost.exe
xx taskhost.exe
You can get this information and a lot more by using !ps command from DbgKit.
Note: From a Kernel Memory Dump you can only get User Name. To get User Name, File Description and Company Name you need a Complete Memory Dump.
Copy dbgkit.dll into winext folder (For example: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext)
Open a dump file in WinDbg
Run .load dbgkit command
Run !ps command (to view other commands run !dbgkit.help)

Jetty6 service and administrator rights

How do I determine if my Jetty6-service run with administrative rights?
I need to setup Jetty on my XP dev box to run as a service.
http://docs.codehaus.org/display/JETTY/Win32Wrapper
It installs OK and I can see the Jetty6 Service in windows services manager.
But when I try to start it I get this error in the log file:
STATUS | wrapper | 2010/02/26 10:17:10 | Launching a JVM...
INFO | jvm 2 | 2010/02/26 10:17:10 | Error occurred during initialization of VM
INFO | jvm 2 | 2010/02/26 10:17:10 | Too small initial heap for new size specified
ERROR | wrapper | 2010/02/26 10:17:10 | JVM exited while loading the application.
from above link:
Note: The above application (Jetty-Service.exe) must execute with administrator rights otherwise, it fails.
I do have local administrative access to my XP dev box.
And when I run the jetty server as standalone from cmd.exe then it works fine.
(java -jar start.jar etc/jetty.xml)
Does anyone know how to solve this problem / where to look?
/Thanks.