You are here

Kitty not working since new version

9 posts / 0 new
Last post
Paul Misner
Offline
Last seen: 1 day 19 hours ago
Joined: 2016-06-11 13:06
Kitty not working since new version

I haven't been able to run Kitty since the new version (KiTTY Portable 0.73.2.1) was released. I get a message that it may need to be reinstalled. I have uninstalled, removed the local folders, reinstalled, and still get the same message. This is an app I use to get my work stuff done, so any help would be greatly appreciated. Thank you in advance.

depp.jones
Offline
Last seen: 7 hours 27 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Hello Paul,

Hello Paul,
I am the packager for KiTTY Portable and it works as expected on my machines here.
Could you please provide some information about your system/os/installation folder etc?
Would you mind running kitty_portable.exe (located in ...\PortableApps\KiTTYPortable\App\KiTTY when installes through the PA.c Menu) directly? It will generate some folders and files apart from "kitty_portable.exe" and "kscp.exe" that can be deleted afterwards. Does the same error occur? What is the exact error message?

PpqJqG2pgNaM
Offline
Last seen: 5 days 1 hour ago
Joined: 2020-06-26 04:49
Kitty did not work for me

Kitty did not work for me today after update.
---------
The fix is to open "PortableApps\KiTTYPortable\Data\Sessions\Default%20Settings" in notepad and remove any ip address from the line HostName.
Before:
HostName\1.1.1.1\

After:
HostName\\
---------

To find this problem and solve it successfully I did steps:
I could not launch default kitty from "PortableApps\KiTTYPortable\App\KiTTY", so I removed sessions folder and re-launched.
Kitty started OK and it created new default settings file. Then I compared fresh default settings with my default settings from
"PortableApps\KiTTYPortable\Data\Sessions" and line by line I experimented to change settings.
Hostname was the line that worked!
Basically, Kitty chokes if any ip address is there.
Thanks for the package!

depp.jones
Offline
Last seen: 7 hours 27 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Thanks for the heads up.

Thanks for the heads up.
I try to find the reasons for that behavior. In my setup, I don't get an entry in hostname. The default file that is created new by kitty on a new installation just has the empty HostName\\ line. After usage, I still have no entry.

The KiTTY base app changed the creation and handling of the Default%20Settings file some time ago and introduced (and fixed) some bugs during that process. Maybe you have a leftover of this.

I could not launch default kitty from "PortableApps\KiTTYPortable\App\KiTTY", so I removed sessions folder and re-launched.

Did you launch kitty_portable.exe directly from \KiTTYPortable\App\KiTTY or KiTTYPortable.exe from \KiTTYPortable (the actual PA.c-Launcher)? The first option would launch the base app, bypass any portablization functionallity from the PA.c-Launcher and create another set of of settings (kitty.ini) and sessions in the same folder. That may not be the reason for this buggy behavior, but you will end up with two configuration sets. Only the set in \KiTTYPortable\Data\ is used by the KiTTYPortable.exe , either when launched directly or from the PA.c menu.

PpqJqG2pgNaM
Offline
Last seen: 5 days 1 hour ago
Joined: 2020-06-26 04:49
Hi, thank you for getting

Hi, thank you for getting back and concern.
Perhaps, I could expand further a little bit.
I am always launching KiTTY from the PortableApps launcher: the file is 'D:\Apps\PortableApps\KiTTYPortable\KiTTYPortable.exe`. Sessions from this executive come from default folder - `D:\Apps\PortableApps\KiTTYPortable\Data\Sessions\`. I have session files there from as early as 2016.
I was surprised that KiTTY did not launch after update from Launcher, so I went to try to launch it manually - via same normal exe, both as regular user and admin. This is afaik the same as Launcher, so no surprise here.
I explored various folders in the installation and found the folder which contains the binray `D:\Apps\PortableApps\KiTTYPortable\App\KiTTY\kitty_portable.exe` (along with kscp.exe and /Sessions/ folder). In this location there were no *.ini files whatsoever. I never touched any ini file, afaik.
I tried to launch without success the exec `D:\Apps\PortableApps\KiTTYPortable\App\KiTTY\kitty_portable.exe`, next I removed /Sessions/ folder from that location to get rid of any possible corruption in the only file that was present in that folder - `Default%20Settings`. Having that deleted, I relaunched the same exe and it worked! It appeared to me that if I could fix the possible problem in my "normal" default session `D:\Apps\PortableApps\KiTTYPortable\Data\Sessions\Default%20Settings` - then the normal launcher would also work. The rest is history Smile

PpqJqG2pgNaM
Offline
Last seen: 5 days 1 hour ago
Joined: 2020-06-26 04:49
I must acknowledge a big help

I must acknowledge a big help that I got from my favorite PortableApp - WinMerge. I could easily spot what was different in both settings and copied-restored line by line the lines that were different. I am lucky the problem was solved just by removing IP address. I am already using the KiTTY without issues on my other saved sessions.
Thank you for your work maintaining the app!

depp.jones
Offline
Last seen: 7 hours 27 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Thanks for your information.

You should not have any file or folder in D:\Apps\PortableApps\KiTTYPortable\App\ beside kitty_portable.exe and kscp.exe. If there are is a folder called /Sessions, then you have an indication that sometime you called the kitty_portable.exe (base app ) directly without the PA.c-Launcher (i.e. you did not use the KiTTYPortable.exe in the "main" folder KiTTYPortable). That would generate a new /Sessions folder beside the base app. That is not used, when launched from the Menu or the PA.c-Launcher.

There was a time, when kitty_portable.exe did not run without a correct Default%20Settings in the right place, but that was fixed months ago.
Would you please confirm that you use the latest KiTTY version (0.73.2.18p, when you click the About button).

btw. that should not be the reason for KiTTY not starting correctly but is a hint, that something seems messed up in your setup.

PpqJqG2pgNaM
Offline
Last seen: 5 days 1 hour ago
Joined: 2020-06-26 04:49
Thank you for your time. I

Thank you for your time. I wish I could do more to help you investigate the problem. Here is what I have just did -

  • I have deleted everything from D:\Apps\PortableApps\KiTTYPortable\App\ beside kitty_portable.exe and kscp.exe.
  • My version is the latest, same confirmed by the page that opens in browser and the version info in About.
  • I use only PortableApps Launcher which is linked to KiTTYPortable.exe.

That said, I rechecked - If any char is present between slashes in Hostname line in Default%20Setitngs file - KiTTY does not launch. If this line remains as HostName\\ then KiTTY launches fine.

depp.jones
Offline
Last seen: 7 hours 27 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Base app issue

Thanks for your investigations. This seems to be a base app issue. See here. (btw. did you open that issue on Cyds git? Wink ).

-edit-
KiTTY 0.74.0.2 fixes this issue. I packaged it today. Just wait a while until it is released.

Log in or register to post comments