-
Notifications
You must be signed in to change notification settings - Fork 6
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
SUPPORT page for PwdIsNotOrigin Fatal Error. #12
Comments
Related issues: |
KSP.log |
Hi, @NamedomRan . On at first glance, what's apparently is happening is that CKAN's is not setting the Current Directory on the same place where the KSP.exe is, otherwise this error would not had happened. HOWEVER... This is what your log gives me:
I forgot that paths are case insensitive on Windows. (sigh). I will need to rework this piece of code. In the mean time, please use the Latest (real) Release, https://github.com/net-lisias-ksp/KSPAPIExtensions/releases/tag/RELEASE%2F2.2.3.0 . The releases that launch this are all Pre Releases, so I expect this to fix your issue on the short run. I will fix this bug and I will issue a new KSPe release in the next few hours. |
@NamedomRan , a new PreRelease with this issue handled out is available at: https://github.com/net-lisias-ksp/KSPAPIExtensions/releases/tag/PRERELEASE%2F2.3.0.2 However, keep in mind that Pre Releases are exactly what the name says: Pre Releases, not ready to be used on "Production". Unless you are willing to help me on ironing out mishaps on KSPe, you will be probably best served using a proper Release, currently: https://github.com/net-lisias-ksp/KSPAPIExtensions/releases/tag/RELEASE%2F2.2.3.0 Nothing on my net-lisias-ksp hierarchy relies on Beta Releases (unless they are Beta Release themselves) Cheers! |
Whoopsy, sorry the late answer @Nightsbane520 - my machine had a disk crash, I'm using an older spare one with no email client, so I missed the notification of your question. I detected two problems on your GameData:
Fixing them is simple. For 1, use the Windows Explorer and search for all files named "MiniAVC.dll" and them delete these damned things. For the 2, the problem is that you are using a too much recent Interstellar version. You are using KSP 1.7.2 (any reason not to use the 1.7.3? There're some important bug fixes on it) but your Interstellar binary was compiled to use Unity 2019, present only on KSP 1.8.0 and newer. Go to SpaceDock (using this link), click on 'Change Log", and scroll down until you find the text "Version 1.25.11.1 for Kerbal Space Program 1.7.3" . Click on the Download Link from it. (try this link, but I'm unsure it will work). You will want too to use the most recent TweakScale, as it works fine on 1.7.3 (I still play on 1.7.x too!!) and have important improvements. https://github.com/net-lisias-ksp/TweakScale/releases You should remove the old Let me know if it works for you. Cheers! |
@Lisias Sorry for the late response as well. Thank you for responding I'll try it out now! |
@Lisias It Worked Thank you so much! I'm also wondering how to get planet shine to work? |
Sorry, @Nightsbane520 , but planet shine is out of scope of this issue. Do you have an account on Forum? We can try to figure it out there, usually other people with the same problem will be engaged - and it raises the chances of finding an answer. Ping me there (my name there is the same as here, @Lisias ). (and sorry for being so late on this answer, since it was out of scape, at that time I decided to answer it later due pressuring things on RL, and.. .well, I forgot. :( ) |
MacOSX System Only modify to app package and changed the names to Chrome to pretend that it is an eduacation application. while This happens. PWD not match ERROE Between last changes I download CKSP and Mono environment on MacOSX. Then I install a bunch of mods like mj2 and TS and BD ... LOG: |
Noting wrong NOW!!! I had not properly install TweakScale and all the mods are messed up. While After a few month I found CKSP for as a better installer for mods. So, I delete all mods but forget to delete this one. |
Hi, @StevenLi-phoenix ! This is not exactly a bug on KSP neither TweakScale, but it ended up being TweakScale that detected the bork. This is what happens: When you launch an Application from the UI, the Finder/WindowsExplorer/GnomeDesktop/whatever must set a thingy called current directory (pwd on unix) before launching the application binary. On MacOS, the pwd must be the same place where KSP.app is. On Windows, where KSP.EXE is, etc. And the application relies on this in order to work fine. If the pwd is set to anywhere else, EVERYTHING will loose track of the KSP's root directory, and so everything will have the pathnames messed up! And so TweakScale, that needs things perfectly matched otherwise the patches will fail (and then the savegames will be corrupted), yells about the problem. One way to really mess things up (don't do it on a KSP where you have valiuable savegames) is to open your terminal and:
This will fire up KSP with the PWD set to inside the APP folder, and you will have problems like you had before. To exemplify how things should be done, the following commends will fire uo KSP from the terminal correctly:
See the diference? On this second set of commands, the current directory is set to where it must be , on this example On the previous, WRONG way, the pwd would be set to |
HI @Lisias ! However when I launch game only on discrete GPU( my laptop has such ability) and click on game's icon, KSPAPIExtensions searches through whole filesystem and crashes on accessing to restricted folder. |
Hi, @maxiking01 . Sorry to be the source of your troubles. There's something different than what I used to get on your Distro, and I probably was too naive on some critical code - otherwise you would not had this problem. I'm investigating your logs. |
Oukey. The first problem is easy:
This happens when the current directory is set to outside the KSP running directory. On Linux and other UNICEs, when you launch a program from the Desktop the program is ran using the current directory, and not the directory where the executable is (what's completely different from Windows, where the O.S. sets the current directory to the same place where the EXE is). This happens because on UNIX the current directory is meaningful - you can run different programs on the same set of data by setting the current directory to your data, and then clicking the programs to be run, without the need to set the directory each time as we need to do on Windows. The way to fix this is to set the properties of the launch icons and tell it to ser the current directory to be one where the executable is. KSPe yells on the problem because when then current directory is set to any other place then the directory where the KSP executable is, a lot of add'ons will try to read and write data on the wrong places - at best, they will not work and at worse, you will lose data. I will check the second log now. |
About your second log, this is the real deal. You found a problem on KSPe - to tell you the true, you found a problem on Mono's runtime library, KSPe is only the trigger for it here...
This is problematic because a lot of my add'ons rely on this code to make sure things are thigh (KSP-Recall and TweakScale are also borking on this… damn). I will need some time to tackle this down, day job is bitting hard (sorry). In the mean time, I think that moving the Since this is a bug on the mono's runtime and not on KSPe, I can't tell you how much time I will need to fix this - I will need to find a workaround for this MS's blunder…. |
Hi! Regarding the error. I ran KSP from command line but before that I navigated to KSP folder. For both situations (on enabled Optimus and discrete GPU) the game started properly. Now I have to update shortcut to change current directory before starting KSP ... . Thanks for help! |
While what I had done is naviagte to ~WhereMyKSPIs/ in folder and open it using double click. I understand my question and the answer. Thanks for replying my issue. Also, on MacOS do open command mess up with current pwd settings? like: cd Where |
About my last statement:
Yeah, it's kinda a bug - screwing up all the traversing because a access error on some inner directory should be something So the next release of everything will have this fixed: https://github.com/net-lisias-ksp/KSPAPIExtensions/issues/21
Nevertheless, the next release of TweakScale and DOE (that you are using) will have this fixed, so you will have the option to move it back to Steam if you want - but I think it's a bad idea allow Steam to manage a modded installment! Welcome!
So perhaps you have the same problem as maxiking01? Are you using Steam?
Welcome!!
Nope, it wont mess up. This will work, including on a shell executable file. I start my Testing Bed this way:
So I can fire up a specific KSP from any place on the command line. I think that Cheers for all! |
If you reach this page, something (probably your OS's Shell or a custom Launcher) has called KSP on a weird way.
A thingy called "Current Working Directory" (
pwd
on Unices) must be set to the same directory where yourKSP.exe
orKSP.app
(or whatever is called the executable that starts KSP), but on your rig this didn't happened.Since this is not related to any Add'On, but to something wrong on your rig, there's no dedicated Thread to support you on this problem so I created this Issue for this task.
Please provide your KSP.log as instructed here. I will also need to know your OS and how you summoned KSP, so we can diagnose your launcher/shell.
You can, alternatively, open a Question on Forum but please remember to mention
@Lisias
or I will miss your post!!The text was updated successfully, but these errors were encountered: