deratiseur Posted February 26, 2011 Posted February 26, 2011 Please, help me This is my debug : What should be done with all components that are NOT YET installed?nstall them, kip them, [A]sk about each one? What should be done with all components that are ALREADY installed? [R]e-install them, ninstall them, kip them, [A]sk about each one? ERROR: problem parsing TP file [DERATS_KITS/SETUP-DERATS_KITS.TP2]: Not_found FATAL ERROR: Not_found I can install all or some parts of my module, but when the setup ask about what i want do, if i press S for "skip", for the NOT YET ou for the ALREADY, i have this error message. That' has never append with the old versions of my mod, this appear only with the last release. Have you an idea of what's wrong ?
Miloch Posted February 27, 2011 Posted February 27, 2011 Looks odd, but I would guess you'd need to post your tp2 code for anyone else to figure it out. Usually that refers to a missing variable.
deratiseur Posted February 27, 2011 Author Posted February 27, 2011 Ouch ! : the setup.tp2 in his actual state has 1764 lines. Impossible to post it here. If you really want to help me, you can download the mod here or the current tp2 here.
Miloch Posted February 28, 2011 Posted February 28, 2011 Does your DEBUG file not actually say *what* is 'Not_found'? This might be a WeiDU bug then, because I thought WeiDU (as of several releases ago) was supposed to do this. Plus it shouldn't really be reporting any errors for skipped components. Did you change the tp2 when the mod was already installed? That can be a bad thing, but I've never seen it report a Not_found for a skipped component. Might want to ask about it in the WeiDU forum.
the bigg Posted February 28, 2011 Posted February 28, 2011 This might be a WeiDU bug then, because I thought WeiDU (as of several releases ago) was supposed to do this. I don't know who gave you that idea, but he was wrong (and it wasn't me). What I fixed was a very specific instance of that problem; I can't fix the general problem no more that I can achieve cold fusion or world peace.
Miloch Posted February 28, 2011 Posted February 28, 2011 I can't fix the general problem no more that I can achieve cold fusion or world peace.Hmph, why not? If it can't find something, obviously it has to have some idea of what it's trying to look for - or is OCaml truly that retarded?
the bigg Posted February 28, 2011 Posted February 28, 2011 is OCaml truly that retarded? This. The 'Not_found' exception doesn't take any parameter, so I have no way of knowing what was not found.
Miloch Posted February 28, 2011 Posted February 28, 2011 So not only can OCaml not find its own arse with both hands, it doesn't even know it was looking for its arse? Take this DEBUG for example. Previously it would've said something like this: ERROR: Patching Failed (COPY) (Not_found)Pretty useless to debug a tp2 10000s of lines of code long. But this one additional line let me find the problem in under 5 minutes:ERROR: cannot convert kit_ids_number or %kit_ids_number% to an integerSo how is it that it can report what was not found in some cases but not others?
the bigg Posted February 28, 2011 Posted February 28, 2011 Because the Var.get_int function contains a try..catch to print the variable name while it was still available somewhere; what I fixed was one single case where said variable name wouldn't be printed.
deratiseur Posted February 28, 2011 Author Posted February 28, 2011 Does your DEBUG file not actually say *what* is 'Not_found'? This might be a WeiDU bug then, because I thought WeiDU (as of several releases ago) was supposed to do this. Plus it shouldn't really be reporting any errors for skipped components. Did you change the tp2 when the mod was already installed? That can be a bad thing, but I've never seen it report a Not_found for a skipped component. Might want to ask about it in the WeiDU forum. I'm sorry, i haven't more informations to write. The posted debug is the only one i have, all my tests made the same result and debug. "Did you change the tp2 when the mod was already installed?". That's a good question, as i am in modder mod. So i try this. I have uninstalled all the component, then reinstall only one of thems without changing anything. And when i say "install" to the NEVER INSTALLED and "skip" to the "ALWAYS INSTALLED", the error occur. So no, it's not an error of a tp2 change.
DavidW Posted February 28, 2011 Posted February 28, 2011 I can't fix the general problem no more that I can achieve cold fusion or world peace.Hmph, why not? Because nuclei are positively charged and so fusion requires high collisional energies, and because Man is a fallen species.
the bigg Posted February 28, 2011 Posted February 28, 2011 Cold fusion would be a strong helper in achieving world peace though (well, as long as you only consider the developed world and ignore tribal conflicts in Africa).
Miloch Posted February 28, 2011 Posted February 28, 2011 Hot fusion could do the same. Nothing like a few h-bombs to settle conflict...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.