| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
pretend the impossible
Join Date: Nov 2003
Location: Northern Germany
Posts: 371
|
Debugging python in Civ4
Hi all,
I get always an error popup while starting my testmod when there is an error somewhere, but I need the python ( or c?) exception stack trace ! The errormessage, which I get: I created the Civilization.ini file in my civ root folder with the following content: Code:
HidePythonExceptions = 0 ShowPythonDebugMsgs = 1 LoggingEnabled = 1 MessageLog = 1
__________________
Creator of : Space Empires - Civ3 [ModComp] Unit SandBox - Civ4 [MapScript] Scenario World - Civ4 [Map] Vadus World - Civ5 Currently working on : Space Empires - Civ4 |
|
|
|
|
|
#2 | |
|
Big Cheese
Join Date: Mar 2002
Location: Oxford, England
Posts: 3,361
|
Quote:
The file itself is located in the "My Documents" part of Civ. You need to edit this file add change the values of the tags to the ones above.
__________________
Blobble Wars - use your lovely green blobbles to defeat the evil other colours! Last edited by The Great Apple; Feb 19, 2006 at 02:58 PM. |
|
|
|
|
|
|
#3 |
|
Prince
Join Date: Jan 2006
Posts: 428
|
Also, the logs will be created in the My Documents part of civ as well, use the link named _Civ4Logs
__________________
Python/SDK Modder: Mod Utilities: Spells and square selection | Action buttons 2 (now using the SDK) | Civilopedia Promotion Info | Civ4 spreadsheet-based XML editor Fall from Heaven 2: Thread Forum As the Americans learned so painfully in Earth's final century, free flow of information is the only safeguard against tyranny. The once-chained people whose leaders at last lose their grip on information flow will soon burst with freedom and vitality, but the free nation gradually constricting its grip on public discourse has begun its rapid slide into despotism. Beware of he who would deny you access to information, for in his heart he dreams himself your master. Commissioner Pravin Lal
"U.N. Declaration of Rights" |
|
|
|
|
|
#4 |
|
pretend the impossible
Join Date: Nov 2003
Location: Northern Germany
Posts: 371
|
jeah, found the error now, thanks !
__________________
Creator of : Space Empires - Civ3 [ModComp] Unit SandBox - Civ4 [MapScript] Scenario World - Civ4 [Map] Vadus World - Civ5 Currently working on : Space Empires - Civ4 |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Python] Need Debugging Help | deanej | Civ4 - SDK/Python | 6 | Sep 06, 2008 06:42 PM |
| Help with Python debugging | Nicky21 | Civ4 - SDK/Python | 6 | Jul 16, 2008 09:21 PM |
| python debugging help | wait321 | Civ4 - SDK/Python | 3 | Apr 25, 2008 09:03 PM |
| Python debugging | theSeby | Civ4 - Creation & Customization | 3 | Feb 11, 2006 10:14 AM |
| Python debugging | gautam | Civ4 - Creation & Customization | 0 | Jan 13, 2006 06:16 PM |