Bug Reports

Thanks RodNok. It may just affecting the BUG reporting system but if you had the logs turned on, a post of your error log would be very useful. You can turn logging on in /my games/beyond the sword/civilizationIV.ini and also collect the log file PythonErr from the logs folder in the same path.
Cheers
 
this seems like a relevant part of PythonDbg file:

PY: Loading revolution data
PY:Beijing has grown
20:19:42 TRACE: Error in EndPlayerTurn event handler <bound method Revolution.onEndPlayerTurn of <Revolution.Revolution instance at 0x1A05D350>>
20:19:42 TRACE: 'latin-1' codec can't encode character u'\u0103' in position 17: ordinal not in range(256)

and this is all PythonErr.log:

Traceback (most recent call last):
File "BugEventManager", line 357, in _handleDefaultEvent
File "Revolution", line 600, in onEndPlayerTurn
File "Revolution", line 1002, in updatePlayerRevolution
File "Revolution", line 2051, in checkForRevolution
File "CvUtil", line 356, in pyPrint
File "CvUtil", line 316, in convertToStr
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0103' in position 17: ordinal not in range(256)

So is it just some bad character somewhere? For me it will happen in this enclosed save just after ending the turn.


Glider1: Hehe, I was just working on that :)
 

Attachments

Yes it looks like a BUG character issue. I haven't followed the discussion on the BUG forum and on the LoR forums, but I think there is an issue on certain operating systems. Hopefully somebody can fill in with more detail.
Cheers
 
Yes it looks like a BUG character issue. I haven't followed the discussion on the BUG forum and on the LoR forums, but I think there is an issue on certain operating systems. Hopefully somebody can fill in with more detail.
Cheers

I believe BUG can only handle ASCII characters. At least, that has been my experience.
 
Yeah, BUG can loose it's interface when cyrillic symbols are used in the mod folder's path. EF posted a possible fix, I haven't been able to test it yet, actually was about to update the file and see if anyone could give it a try that was having this problem. Here is EF's reply to my report of this bug:

http://forums.civfanatics.com/showpost.php?p=8658823&postcount=2068
 
Hmm, I dont have any special characters in the path (I'm Czech, but I use english Windows XP 64bit edition) and the path to the mod is: G:\hry\Sid Meier's Civilization 4\Beyond the Sword\Mods\RevolutionDCM.
Username is also without any special (non latin1) characters.
 
Thanks for the lead Phungus. Attached is a trial debug interim fix that I would like Rodnok to try. Just replace your BugPath.py file with the one attached (backup your original of course)
Cheers
 

Attachments

Seems the result is the same, sorry Glider... I renamed the original to .bak and placed yours there.

Traceback (most recent call last):
File "BugEventManager", line 357, in _handleDefaultEvent
File "Revolution", line 600, in onEndPlayerTurn
File "Revolution", line 1002, in updatePlayerRevolution
File "Revolution", line 2051, in checkForRevolution
File "CvUtil", line 356, in pyPrint
File "CvUtil", line 316, in convertToStr
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0103' in position 17: ordinal not in range(256)


edit: I tested it by loading the save game file enclosed above.
 
Is this a suitable place to report a RevDCM CTD? The it occurs immediately upon trying to load the mod and happens consistently. BTS (patched to 3.19) works fine on its own or with my merged BUG/BetterAI mod running. Has anyone else seen such problems? What can I do to help diagnose it? I turned on GenerateCrashDumps but if it made one I can't find it. Running Vista on a laptop. I installed it just by placing the folder in my mods directory. Has anyone else seen this behavior? I scanned back a few pages in this thread but will confess that I didn't read the whole thing. :)
 
A CTD on load usually means something has changed in the mod. Either you have added a woc module, changed the assets somehow perhaps? Sometimes load CTD's happen when you load an older save game. Are you sure you are talking straight RevDCM 2.61 here?
Cheers
 
The readme says Current Version 2.60 but that might just not have been changed, as I downloaded it from a link that claimed to be 2.61. I downloaded it, unzipped it, dropped it in Mods, and tried to run it. I've never put anything in custom assets and have made no mergers. I've tried running as administrator, no change there either. I tried deleting the contents of the customassets folder, and it gets automatically repopulated when I run Civ with a few folders. I've never really looked at it so I assume that's normal. Haven't tried loading saved games, don't have any, and the CTD is before the main menu comes up.
(Ah, yeah the changelog contains changes from 2.60 to 2.61, so presumably I have the newest version.)

Weird.
 
Did you download 2.6 and then put 2.61 on top of it? I'm not sure that 2.61 is a full release?
 
Whenver I have seen a report of a CTD before the main menu, it is always because the user is not updated to current version of BtS. BtS is currently at 3.19. If you have not played RevDCM 2.6 successfully and this isn't just an update for you to a new version (after 2.5, as prior versions were for BtS 3.17), you need to update your copy of BtS to 3.19. I know you say you are updated to 3.19, but you don't know how many times I've seen users say that who simply have not (the installer can lie and fail and leave BtS unpatched).
 
Unfortunately, it really is 3.19. The About pane says "3.1.9.0" for the build version. I am able to run the latest version of BetterAI, which I believe also requires 3.19.

I totally agree that it was worth trying.

Should I find a copy of 2.60 somewhere and see if I can make it work?
 
Eh Madman
I just re-downloaded RevDCM 2.61 from CivFanatics and double checked it. Works perfectly. The only problem is that the readme says version 2.60 when it should say 2.61 however there are a myriad other locations where it says 2.61. I cannot explain what is causing your problems at this point. What operating system are you under? This is enough to drive a man mad eh madman?
Cheers
 
I forgot something. Are you sure you are launching as an administrator? If not, be sure to do that. If that doesn't work, unload all WoC modules which RevDCM could be using, including the better ship scale module that comes with RevDCM. Then Go into your main RevDCM folder and cut the UserSettings folder; browse to the main .../My Documents/.../Beyond the Sword directory (you can get there by clicking any of the shortcuts in the main BtS directory to folders like saves and logs and such, then browsing out to the BtS directory they are in), in this .../My Documents/.../BtS path create a new folder, name this folder RevolutionDCM, and paste the UserSettings folder in there. This may solve your problem (also you will no longer need to launch as an admin). I know WoC modules can cause a crash like this if the aplication isn't launched as an admin at least, and moving everything to a directory where Vista wol't freak out when the game starts trying to write stuff definatly wol't hurt.
 
Back
Top Bottom