Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Feb 19, 2006, 02:25 PM   #1
Vadus
pretend the impossible
 
Vadus's Avatar
 
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
But there are no new entrys in my civ4/log folder. Maybe there is another switch somewhere ?
__________________
Creator of :
Space Empires - Civ3
[ModComp] Unit SandBox - Civ4
[MapScript] Scenario World - Civ4

[Map] Vadus World - Civ5


Currently working on :
Space Empires - Civ4
Vadus is offline   Reply With Quote
Old Feb 19, 2006, 02:51 PM   #2
The Great Apple
Big Cheese
 
The Great Apple's Avatar
 
Join Date: Mar 2002
Location: Oxford, England
Posts: 3,361
Quote:
Originally Posted by Vadus
Hi all,
I created the Civilization.ini file in my civ root folder with the following content:
This would be the problem. Inside your root folder there should already be a link to your Civilization4.ini file

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.
The Great Apple is offline   Reply With Quote
Old Feb 19, 2006, 07:30 PM   #3
talchas
Prince
 
talchas's Avatar
 
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"
talchas is offline   Reply With Quote
Old Feb 20, 2006, 12:18 PM   #4
Vadus
pretend the impossible
 
Vadus's Avatar
 
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
Vadus is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Debugging python in Civ4

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


Advertisement

All times are GMT -6. The time now is 03:26 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR