User Info
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 02, 2010, 08:08:16 PM

Login with username, password and session length
Search:     Advanced search
News Box
New M&B Version

1.010 is out, and so is the module system. Get modding!

Key Stats
51617 Posts in 2003 Topics by 4425 Members
Latest Member: lovely13
Home Help Search Login Register
M&B Mod Community  |  About Modding  |  Modding Knowledge Base (Moderator: Fisheye)  |  Common Errors and How to Fix Them
Pages: 1 [2]  All Print
Author Topic: Common Errors and How to Fix Them  (Read 7101 times)
DarkAnd
Craftsman
**
Offline Offline

Posts: 54


View Profile Email
« Reply #15 on: May 19, 2007, 11:54:37 AM »

'tuple' object is not callable how can i fix this?
Logged

dead before disonour
I KNOW MY ENGLISH IS TERRIBLE!
Fisheye
Blues Brother
Moderator
*****
Offline Offline

Posts: 428


My scalp's so bright, I gotta wear shades.


View Profile Email
« Reply #16 on: May 19, 2007, 12:15:57 PM »

Added to the list.

Error:
SyntaxError: tuple object is not callable
Meaning:
Missing a comma just before an open bracket (

E.g.

(first troop blah, blah blah)
(second troop blah blah),

Fix to:

(first troop blah, blah blah),
(second troop blah blah),
Logged
DarkAnd
Craftsman
**
Offline Offline

Posts: 54


View Profile Email
« Reply #17 on: May 19, 2007, 05:13:54 PM »

i am a error machine now it is 'int' object is unsubscriptable in module_troops.py
Logged

dead before disonour
I KNOW MY ENGLISH IS TERRIBLE!
Hellequin
Journeyman
***
Offline Offline

Posts: 254


View Profile Email
« Reply #18 on: July 04, 2007, 08:47:28 AM »

I think that one means that you've got a list object (several objects within parentheses) where a single value was supposed to go.  Go through the indicated file comparing the entries you've changed to a known-good one, making sure that the same fields are all in the same places.
Logged
KingSerio
Apprentice
*
Offline Offline

Posts: 9


May be hard, but not imposible.


View Profile Email
« Reply #19 on: October 24, 2007, 12:51:47 AM »

I got this error:

RGL ERROR

attempt to reregister material background_stonewall

What I should do?

Logged

All the time is a good time, no matter what.
Winter
I am Tek Jansen!
Administrator
*****
Offline Offline

Posts: 448


MBX Forum owner


View Profile WWW Email
« Reply #20 on: October 24, 2007, 01:58:04 AM »

I got this error:

RGL ERROR

attempt to reregister material background_stonewall

What I should do?



Check your BRFs with BRFEdit for a duplicate material called background_stonewall. You currently have more than one of the same name, and M&B won't run unless there's only one.
Logged


STREET: Losing your mind has never been so much fun . . .
KingSerio
Apprentice
*
Offline Offline

Posts: 9


May be hard, but not imposible.


View Profile Email
« Reply #21 on: October 25, 2007, 05:39:19 PM »

Which Brfs. I mean from the Common Res folder or my own Brfs of My Mod folder Resourses?
Logged

All the time is a good time, no matter what.
Khalid ibn Walid
Apprentice
*
Offline Offline

Posts: 14


View Profile Email
« Reply #22 on: October 26, 2007, 02:28:37 AM »

Which Brfs. I mean from the Common Res folder or my own Brfs of My Mod folder Resourses?

Both.  If you are loading resources from the Common Res folder, then you'll have to account for them too.
Logged
Pages: 1 [2]  All Print 
Jump to:  

Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Arcane Magic based on BlackDay by TechnoDragon.net | Buttons by Andrea