login

Author Topic: Common Errors and How to Fix Them  (Read 20338 times)

DarkAnd

  • Guest
Re: Common Errors and how to fix them.
« Reply #15 on: May 19, 2007, 11:54:37 AM »
'tuple' object is not callable how can i fix this?

Offline Fisheye

  • Blues Brother
  • Moderator
  • *****
  • Posts: 427
  • My scalp's so bright, I gotta wear shades.
    • View Profile
Re: Common Errors and how to fix them.
« 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),

DarkAnd

  • Guest
Re: Common Errors and how to fix them.
« 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

Offline Hellequin

  • Journeyman
  • ***
  • Posts: 254
    • View Profile
Re: Common Errors and how to fix them.
« 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.

KingSerio

  • Guest
Re: Common Errors and how to fix them.
« 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?


Offline Winter

  • I am Tek Jansen!
  • Administrator
  • *****
  • Posts: 476
  • MBX Forum owner
    • View Profile
    • Street of Eyes: The Writing of Ryan A. Span
Re: Common Errors and how to fix them.
« 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.

KingSerio

  • Guest
Re: Common Errors and how to fix them.
« 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?

Khalid ibn Walid

  • Guest
Re: Common Errors and how to fix them.
« 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.