Author Topic: blender script problem  (Read 4875 times)

andyglest

  • Guest
blender script problem
« on: 28 June 2007, 13:17:56 »
i downloaded blender import and i found this message:

#       Copy this Script AND g3d_logo.png into .Blender\scripts
#       directory then start inside blender Scripts window
#       "Update Menus" after that this Script here is accesible
#       as 'Wizards' G3d Fileformat Im/Exporter

i done all that, but when i click on G3d Fileformat Im/Exporter in Wizards i get this message:
python script error: check console

i use blender 2.44

what to do?
« Last Edit: 1 January 1970, 00:00:00 by andyglest »

weedkiller

  • Draco Rider
  • *****
  • Posts: 277
    • View Profile
(No subject)
« Reply #1 on: 28 June 2007, 17:52:10 »
I assume you must have python installed. Python is a programming language and a runtime-environment like java for example.
you could use version 2.5 for example:
    http://www.python.org/download/[/list]
    « Last Edit: 1 January 1970, 00:00:00 by weedkiller »

    andyglest

    • Guest
    (No subject)
    « Reply #2 on: 28 June 2007, 18:21:05 »
    When i go to download python, i have to choose something of this. i use winXP, i do not use x86 processor and i do not use 64 bit. i choose last  option. from sourceforge i choose to download pywin32-210

    is that ok? i am just downloading it.

    BTW what should i use to import KMZ files into blender? i think it need some extension or script again. where i can download it? (i want to send files from google sketchup saving it as google earth file (.kmz)



    Windows

    For x86 processors: python-2.5.1.msi

    For Win64-Itanium users: python-2.5.1.ia64.msi

    For Win64-AMD64 users: python-2.5.1.amd64.msi

    This installer allows for automated installation and many other new features.

    To use these installers, the Windows system must support Microsoft Installer 2.0. Just save the installer file to your local machine and then run it to find out if your machine supports MSI.

    Windows XP and later already have MSI; many older machines will already have MSI installed.

    If your machine lacks Microsoft Installer, you'll have to download it freely from Microsoft for Windows 95, 98 and Me and for Windows NT 4.0 and 2000.

    Windows users may also be interested in Mark Hammond's win32all package, available from Sourceforge. win32all adds a number of Windows-specific extensions to Python, including COM support and the Pythonwin IDE.
    « Last Edit: 1 January 1970, 00:00:00 by andyglest »

    jbr

    • Guest
    (No subject)
    « Reply #3 on: 28 June 2007, 23:06:51 »
    I have blender 2.42 and the KMZ import is under file > import > Google earth kmz. It is a script, but it came with version 2.42, preinstalled. If you don't have it, you could probably Google it or find it on the Blender website, though.
    « Last Edit: 1 January 1970, 00:00:00 by jbr »

    titi

    • MegaGlest Team
    • Airship
    • ********
    • Posts: 4,239
      • View Profile
      • http://www.titusgames.de
    (No subject)
    « Reply #4 on: 29 June 2007, 09:49:54 »
    @andy:

    I think you have an x86 Processor ( windows is always x86 ).
    Did you read the errors on the console?
    What does it say?
    I think you already have python installed ( included in blender ), so there is another problem!
    « Last Edit: 1 January 1970, 00:00:00 by titi »
    Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

    andyglest

    • Guest
    (No subject)
    « Reply #5 on: 29 June 2007, 16:04:59 »
    where is console???
    « Last Edit: 1 January 1970, 00:00:00 by andyglest »

    jbr

    • Guest
    (No subject)
    « Reply #6 on: 29 June 2007, 16:09:09 »
    The console is the dos (or whatever) window that pops up with blender. It should be hard to miss... Maybe you have a really weird version or something... What processor do you have and what version did you download?
    « Last Edit: 1 January 1970, 00:00:00 by jbr »

    andyglest

    • Guest
    (No subject)
    « Reply #7 on: 29 June 2007, 16:17:04 »
    blender version: 2.44

    i'm not expert with hardware - here is what everest says:

    its in croatian, but u will understand

    CPU
    -----------------
     
      Informacije o procesoru:  
       Procesor   AMD Athlon XP, 1678 MHz (12.5 x 134) 2000+  
       Jezgra procesora   Thoroughbred-B  
       CPU stepping   B0  
       Podržani setovi instrukcija   x86, MMX, 3DNow!, SSE  
       L1 cache za kod   64 KB  
       L1 cache za podatke   64 KB  
       L2 cache   256 KB (On-Die, Full-Speed)  
       
      Fizikalne informacije o procesoru:  
       Tip pakiranja   453 Pin PGA  
       Dimenzije   4.95 cm x 4.95 cm  
       Broj tranzistora   37.6 milijuna  
       Tehnologija izrade   6Mi, 0.13 um, CMOS, Cu  
       Veličina silicijske pločice   84 mm2  
       Napon jezgre   1.50 - 1.65 V  
       I/O napon   1.6 V  
       Standardna potroÅ¡nja   44.0 - 64.0 W (ovisno o frekvenciji)  
       Maksimalna potroÅ¡nja   48.5 - 74.3 W (ovisno o frekvenciji)  
       
      Proizvođač procesora:  
       Naziv tvrtke   Advanced Micro Devices, Inc.  
       Informacije o proizvodu   http://www.amd.com/us-en/Processors/Pro ... 18,00.html
    « Last Edit: 1 January 1970, 00:00:00 by andyglest »

    titi

    • MegaGlest Team
    • Airship
    • ********
    • Posts: 4,239
      • View Profile
      • http://www.titusgames.de
    (No subject)
    « Reply #8 on: 1 July 2007, 00:00:49 »
    Please post the content of the blender console if you want more help!
    « Last Edit: 1 January 1970, 00:00:00 by titi »
    Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

    andyglest

    • Guest
    (No subject)
    « Reply #9 on: 1 July 2007, 15:18:59 »


    if you don't see the picture click here
    « Last Edit: 1 January 1970, 00:00:00 by andyglest »

    weedkiller

    • Draco Rider
    • *****
    • Posts: 277
      • View Profile
    (No subject)
    « Reply #10 on: 2 July 2007, 20:07:55 »
    "No installed Python found."
    I'm sorry but the problem is still Python.
    In order to solve this you could reinstall everything, uninstall blender and phython and then install Blender and after it Phyton. You better use a version higher 2.5, so 2.4 may work but 2.5 feels better ;).
    « Last Edit: 1 January 1970, 00:00:00 by weedkiller »

    andyglest

    • Guest
    (No subject)
    « Reply #11 on: 2 July 2007, 21:03:46 »
    ok, but before it - is there any connection througt SketchUp (KMZ and somthing like GSM), Anim8or (AN8 - i found its easier to work than in blender) and G3D?
    « Last Edit: 1 January 1970, 00:00:00 by andyglest »

    jbr

    • Guest
    (No subject)
    « Reply #12 on: 3 July 2007, 00:42:55 »
    I get the "no python" error on startup too, but I can still run glest related scripts...
    « Last Edit: 1 January 1970, 00:00:00 by jbr »

    weedkiller

    • Draco Rider
    • *****
    • Posts: 277
      • View Profile
    (No subject)
    « Reply #13 on: 3 July 2007, 20:14:47 »
    The script for export should work. But there are other scripts like the import scripts. In Blender they are called and accessed as "wizard" (you have simple colorfull buttons, with the glestsword logo).
    These need some python librarys in order to uncompile the g3d (rough explanation: g3d is binary code, some kind of number-file in whitch only values are storen one afer another, the xml files are real textfiles and have a text description for each value).
    « Last Edit: 1 January 1970, 00:00:00 by weedkiller »