Author Topic: BSOD - File ".\Scripts\Custom\Carriers\Pulsar.py", line 22 return 2 ^ SyntaxError: invalid syntax  (Read 1610 times)

Offline FourChan

  • Admiral Noel Vermillion
  • Posts: 608
  • Cookies: 4
  • Starfleet Technologies Development Center
    • Twitter Four Channel
Okay, I downloaded the KM mod and the patch and installed them, they were playing great, the in system warp worked, the emergency repair, the distress signal and all that worked. Well a couple of hours ago I downloaded a few ships and suddenly they quit working, it's the basic with some of the MVAM Options and some of the low end foundation options. I was wondering if there's a way to fix it or should I reinstall it with KM and reinstall my ships?

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
I'm not entirely sure what the problem is.

Does it look like BC sort of went back to factory standards?
Then you need to reactivate the mutators (look under Options).


Does the menu not load entire, try to get a console report (see the Black Screen sticky) after you have started QB.
But from what you have posted, I think the most likely cause is the first one I mentioned.

Otherwise you need to be more specific about the problem.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
well, first of all, it probably has nothing to do with KM, most likely it is a random error caused by one of the new ships, which could easily be fixed with a console report, secondly I suggest you download the latest version of KM, which contains far more ships and other mods

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
well, first of all, it probably has nothing to do with KM, most likely it is a random error caused by one of the new ships, which could easily be fixed with a console report, secondly I suggest you download the latest version of KM, which contains far more ships and other mods
He hasn't installed KM yet.

And let's try saving some BC install. ;)
There have been enough reinstalls lately. :(
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline FourChan

  • Admiral Noel Vermillion
  • Posts: 608
  • Cookies: 4
  • Starfleet Technologies Development Center
    • Twitter Four Channel
KM was installed but it was working perfectly before I installed ships and stuff. It still says Mutators is on and all the plugins are turned on there. It's weird, it's like 1/2 and 1/2 factory/custom settings.

Offline FourChan

  • Admiral Noel Vermillion
  • Posts: 608
  • Cookies: 4
  • Starfleet Technologies Development Center
    • Twitter Four Channel
When I ran the console report it said "Unexpected EOF while parsing"

Offline FourChan

  • Admiral Noel Vermillion
  • Posts: 608
  • Cookies: 4
  • Starfleet Technologies Development Center
    • Twitter Four Channel
This is the Console Dump

>> This is a console tracker dump       by USS Frontier
##############
>> This dump started on -> Thu May 29 20:17:04 2008
##############
#----------------------------------------------------------------------->>> Thu May 29 20:17:04 2008
####
Outdated Foundation, updating functions
Outdated Foundation, installing FolderManager
Updating FoundationMenu.ShipMenuBuilderDef
Foundation Tech loaded
Gravity FX has been loaded.
BridgeFX Enabled...
CameraFX Enabled...
ExplosionFX Enabled...
SpecialFX Enabled...
WarpFX Enabled...
DS9FX Initializing...
Fixing Jaggies
Tracking Console
####

####################
>> This dump ended on -> Thu May 29 20:17:04 2008
>> Console Tracker Dump END
#----------------------------------------------------------------------->>> Thu May 29 20:19:12 2008
#----------------------------------------------------------------------->>> Thu May 29 20:21:20 2008
#----------------------------------------------------------------------->>> Thu May 29 20:23:28 2008
#----------------------------------------------------------------------->>> Thu May 29 20:25:36 2008
####
AttributeError: PreLoadAssets
Setting Stock System Planets Random Density.
Traceback (innermost last):
  File ".\Scripts\Custom\Autoload\000-Fixes20030305-FoundationTriggers.py", line 25, in __call__
    i(pObject, pEvent)
  File ".\Scripts\Custom\Autoload\LoadEngineeringExtension.py", line 240, in __call__
    LoadQBautostart.ImportQBautostart()
  File ".\Scripts\Custom\Autoload\LoadEngineeringExtension.py", line 163, in ImportQBautostart
    pModule = __import__(dotPrefix + fileName)
  File ".\Scripts\Custom\QBautostart\AIShuttleLaunching.py", line 3, in ?
    import ftb.ShipManager
  File ".\Scripts\ftb\ShipManager.py", line 96, in ?
    LoadExtraPlugins()
  File ".\Scripts\ftb\ShipManager.py", line 92, in LoadExtraPlugins
    pModule = __import__(dotPrefix + pluginFile)
  File ".\Scripts\Custom\Carriers\Pulsar.py", line 22
    return 2
         ^
SyntaxError: invalid syntax
Traceback (innermost last):
  File ".\Scripts\Custom\Autoload\LoadTech.py", line 20, in __call__
    techfunc.ImportTechs()
  File ".\Scripts\techfunc.py", line 26, in ImportTechs
    pModule.Setup()
  File ".\Scripts\Custom\Tech\ShipLaunch.py", line 13, in Setup
    ftb.LaunchShipHandlers.MissionStart()
  File ".\Scripts\ftb\LaunchShipHandlers.py", line 198, in MissionStart
    AddLaunchButtons(ftb.GUIUtils.GetScienceMenu())
  File ".\Scripts\ftb\LaunchShipHandlers.py", line 229, in AddLaunchButtons
    pCarrier = ftb.ShipManager.GetShip(pLaunchShip)
AttributeError: ShipManager
DS9FX: Kobayashi Maru is Installed. Deleting DS9FX Docking Function!
DS9FX: You're not currently running a QB Mission. DS9 Set cannot be reached by Warp!
####

#----------------------------------------------------------------------->>> Thu May 29 20:27:44 2008
####
console report
  File "<string>", line 1
    console report
                ^
SyntaxError: unexpected EOF while parsing
####

####
   
####
Traceback (innermost last):
  File ".\Scripts\ftb\LaunchShipHandlers.py", line 210, in MissionRestart
    AddLaunchButtons(ftb.GUIUtils.GetScienceMenu())
  File ".\Scripts\ftb\LaunchShipHandlers.py", line 229, in AddLaunchButtons
    pCarrier = ftb.ShipManager.GetShip(pLaunchShip)
AttributeError: ShipManager
Setting Stock System Planets Random Density.
DS9FX: QB Mission Mode Enabled. DS9 Set is reachable by Warp!
####

#----------------------------------------------------------------------->>> Thu May 29 20:29:52 2008
####
Warp - dist: 10000.000000, speed: 6.000000, fac: 404.428986, time: 24.726219
####

####
Setting Stock System Planets Random Density.
Warp - dist: 10000.000000, speed: 6.000000, fac: 404.428986, time: 24.726219
####

####
Player lost his warp engines. Beaking warp cutscene
Warp Error: Unable to set Impulse speed.
####

####
Setting Stock System Planets Random Density.
Setting Stock System Planets Random Density.
####

####
Warp - dist: 10000.000000, speed: 6.000000, fac: 404.428986, time: 24.726219
####

#----------------------------------------------------------------------->>> Thu May 29 20:32:00 2008
####################
>> This dump ended on -> Thu May 29 20:32:00 2008
>> Console Tracker Dump END
####################
>> This dump ended on -> Thu May 29 20:32:00 2008
>> Console Tracker Dump END

Offline FourChan

  • Admiral Noel Vermillion
  • Posts: 608
  • Cookies: 4
  • Starfleet Technologies Development Center
    • Twitter Four Channel
I got it fixed, there was that .py file in Carriers it told me to put there, that was screwing it up. Now I have a question. I was playing a quick battle and the Lakota was shooting square photon torpedeos, what would cause that? Thanks.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
What did you do to fix the carrier file?


A missing texture or you installed something called "Dukats Torpedo" (or something similar).
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline FourChan

  • Admiral Noel Vermillion
  • Posts: 608
  • Cookies: 4
  • Starfleet Technologies Development Center
    • Twitter Four Channel
I removed the Carrier file and the ship still works, just can't launch a shuttle from it. I think there was a scripting error someplace in it. Now if I can figure out this torpedo error, the Galaxy Class uses the Same Torpedos so it's annoying.

Offline FourChan

  • Admiral Noel Vermillion
  • Posts: 608
  • Cookies: 4
  • Starfleet Technologies Development Center
    • Twitter Four Channel
Oh also, can you do me a favor and send me your torpedo textures that work on the Galaxy Class and Lakota Class? Thanks

My email is saiyajin_dale@yahoo.com

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
I removed the Carrier file and the ship still works, just can't launch a shuttle from it. I think there was a scripting error someplace in it. Now if I can figure out this torpedo error, the Galaxy Class uses the Same Torpedos so it's annoying.
If you can attach the carrier script, then I can fix it, since the console report you posted contained the location of the error.


As for your second question, like I said in your PM (remember, this is a forum, not a chat session), I don't know what torpedo it is in question, I only said that in the past, a similar problem occured and it was with a torpedo called something like Dukats Torpedo.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.