Menu

#123 Neveredit 0.8b1 and CEP

neveredit
open
Sumpfork
7
2005-02-12
2005-02-05
Pyrates
No

Hello!

The toolbar for adding items is superb :) But I have a
module that uses the CEP, and the extra custom items
are not shown in the toolbar. Here's the output of the
session, after loading the module:

INFO __init__: empty prop for "Mod_Hak"
INFO __init__: empty prop for "Mod_OnPlrEqItm"
INFO __init__: empty prop for "Mod_OnPlrUnEqItm"
Traceback (most recent call last):
File "NeverEditMainApp.py", line 756, in treeSelChanged
File
"/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py",
line 10728, in __getattr__
wx._core.PyDeadObjectError: The C++ part of the
ToolFrame object has been deleted, attribute access no
longer allowed.
Reading area contents...
Reading area tiles...
MapWindow cannot find thing with id 128
Traceback (most recent call last):
File "NeverEditMainApp.py", line 750, in treeSelChanged
File
"/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py",
line 10728, in __getattr__
wx._core.PyDeadObjectError: The C++ part of the
ToolFrame object has been deleted, attribute access no
longer allowed.
Preparing door display...
Preparing placeable display...
Preparing creature display...
Preparing tile display...
Map display prepared.
preprocessing took 0.97 seconds
INFO __init__: empty prop for "Mod_Hak"
INFO __init__: empty prop for "Mod_OnPlrEqItm"
INFO __init__: empty prop for "Mod_OnPlrUnEqItm"

I'm using the binary version.

cheers
Philipp

Discussion

  • Sumpfork

    Sumpfork - 2005-02-05
    • labels: --> neveredit exception/crash
    • milestone: --> neveredit
    • assigned_to: nobody --> sumpfork
     
  • Alan Schmitt

    Alan Schmitt - 2005-02-06

    Logged In: YES
    user_id=131154

    I can look at this. Could you give us the url of a
    simple/small module that uses the CEP (if there is such
    thing ;-) ). Or a module that does not require an external
    hakpak.

     
  • Sumpfork

    Sumpfork - 2005-02-06

    Logged In: YES
    user_id=688907

    I don't know why this particular exception occurs, but full CEP support is
    not a simple matter in general. The CEP uses alternate talk table files
    (not currently supported by neveredit), a file in the erf directory (not
    currently looked at by neveredit) and there may be other things. Sadly,
    these are the things that bioware has provided little documentation on,
    so one day I'll have to sit down and figure out how they behave.

    That said, the module that comes with the CEP ("Open Day") loads for
    me, though only few of the placeables are display correctly and lots of
    errors are reported. You just loaded the module to produce this
    exception?

     
  • Anonymous

    Anonymous - 2005-02-06

    Logged In: YES
    user_id=407310

    I don't believe the erf-folder has any use other than convienience for the
    mod builder. Giving him/her a place to put .erfs in so they are easier to
    find. After all, an erf is imported into the module and that's that. The .erf
    file isn't used again by anyone, unlike the custom tlk-file or haks, which
    are only linked to the module and need to be present when it's opened in
    "a toolset" and the game.

    How does NeverEdit handle these files:

    creaturepalcus.itp
    doorpalcus.itp
    encounterpalcus.itp
    itempalcus.itp
    placeablepalcus.itp
    soundpalcus.itp
    storepalcus.itp
    triggerpalcus.itp
    waypointpalcus.itp

    ?

    It's my understanding that when you add a new custom creature
    (yourself or if it's included in a hak), the appropriate custom palette
    has to be altered (creaturepalcus.itp in this case). Otherwise, a DM will
    not be able to spawn that entity from the in-game palette.

    And, of course, if a new area is added, it needs to be referenced in the
    module.ifo file.

    In case it would help to see how the official toolset lets the user change
    these things, and you lack access to a PC, try looking at this toolset
    manual: http://nwvault.ign.com/Files/other/data/1095552276000.shtml

     
  • Pyrates

    Pyrates - 2005-02-12

    Logged In: YES
    user_id=1086976

    Sorry it took me so long, I'm quite busy at the moment...

    Anyway, I made a mistake, for I didn't have the CEP
    installed. I did now, but the problem remains the same...
    the session is

    __init__: Platform: linux2
    INFO __init__: Python version: 2.3.4 (#1, Oct 26 2004,
    16:42:40)
    [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]
    INFO __init__: Python comand: /home/pips/bin/neveredit/neveredit
    INFO __init__: Python path:
    ['/home/pips/bin/neveredit/neveredit',
    '/home/pips/bin/neveredit']
    INFO __init__: wxPython version: 2.5.3.1
    INFO __init__: numarray version: 1.1.1
    INFO __init__: pyopengl version: 2.0.1.09
    could not import nsscompiler - install from nwntools package
    INFO __init__: Adding help_nwnlexicon.zip...
    initializing resource manager from " /home/pips/bin/nwn " . . .
    INFO __init__: empty prop for "Mod_Hak"
    INFO __init__: empty prop for "Mod_OnPlrEqItm"
    INFO __init__: empty prop for "Mod_OnPlrUnEqItm"
    preprocessing took 0.00 seconds
    Reading area contents...
    Reading area tiles...
    Traceback (most recent call last):
    File "NeverEditMainApp.py", line 740, in treeSelChanged
    File "ToolPalette.py", line 81, in EVT_TOOLSELECTION
    File
    "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py",
    line 10728, in __getattr__
    wx._core.PyDeadObjectError: The C++ part of the ToolFrame
    object has been deleted, attribute access no longer allowed.
    Preparing door display...
    Preparing placeable display...
    Preparing creature display...
    Preparing tile display...
    Map display prepared.
    preprocessing took 1.47 seconds
    preprocessing took 0.00 seconds
    Reading area contents...
    Reading area tiles...
    Traceback (most recent call last):
    File "NeverEditMainApp.py", line 740, in treeSelChanged
    File "ToolPalette.py", line 81, in EVT_TOOLSELECTION
    File
    "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py",
    line 10728, in __getattr__
    wx._core.PyDeadObjectError: The C++ part of the ToolFrame
    object has been deleted, attribute access no longer allowed.
    Preparing door display...
    Preparing placeable display...
    Preparing creature display...
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    error: cannot find resource for
    ('c_rat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 3) in
    any added lists
    Preparing tile display...
    Map display prepared.
    preprocessing took 3.06 seconds

    The maps of this module weren't even shown.

    Now, I also loaded the "Starter Module" that comes with CEP,
    and again, the palette of the CEP is missing. Also, wenn I
    added a broken waggon to the module (it's just 1 map), the
    whole display got screwed up. The session for this is
    [1] 10027
    pips@Rambazamba:~/bin/neveredit$INFO __init__: Platform: linux2
    INFO __init__: Python version: 2.3.4 (#1, Oct 26 2004,
    16:42:40)
    [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]
    INFO __init__: Python comand: /home/pips/bin/neveredit/neveredit
    INFO __init__: Python path:
    ['/home/pips/bin/neveredit/neveredit',
    '/home/pips/bin/neveredit']
    INFO __init__: wxPython version: 2.5.3.1
    INFO __init__: numarray version: 1.1.1
    INFO __init__: pyopengl version: 2.0.1.09
    could not import nsscompiler - install from nwntools package
    INFO __init__: Adding help_nwnlexicon.zip...
    initializing resource manager from " /home/pips/bin/nwn " . . .
    INFO __init__: empty prop for "Mod_Hak"
    preprocessing took 0.00 seconds
    Reading area contents...
    Reading area tiles...
    MapWindow cannot find thing with id 5
    Preparing door display...
    Preparing placeable display...
    Preparing creature display...
    Preparing tile display...
    Map display prepared.

    I ALSO tried opening the Open Day mod that comes with CEP.
    It would crash on me heavily when I tried to look at a map,
    and give so many errors about the cep.tlk that there's
    nothing usefull to report for me here...

    What other info should I provide? I used the binary version.
    Are you still interested in this bug for this version, or
    are you working on other stuff? I'd rereport this thing for
    the next version, if you want me to :)

    Cheers
    Philipp

     
  • Sumpfork

    Sumpfork - 2005-02-12

    Logged In: YES
    user_id=688907

    It looks to me like there are two distinct things going on here:

    1) A wx C++ exception. What distro are you on? Can you reproduce this
    with a non-CEP module? Is there something you do to get that particular
    exception (other than loading the module)?

    2) Lots of errors and mishandling of CEP stuff. I have to look into this.
    Warpmoon, is the erf file that you install with the CEP just for toolset
    use? And no, there aren't any custom palettes in neveredit right now.
    Adding the palettes themselves shouldn't be hard, but adding to them
    might be a bit more involved. I will delay tackling all of this until after
    0.8 (which should hopefully appear this weekend)

     
  • Sumpfork

    Sumpfork - 2005-02-12
    • priority: 5 --> 7
     
  • Anonymous

    Anonymous - 2005-02-12

    Logged In: YES
    user_id=407310

    "Warpmoon, is the erf file that you install with the CEP just
    for toolset use?"

    Yes, that's right; "End-users" do not use the erf-file for anything.

    And those that want to add CEP to a module (with the toolset) import the
    erf once to that module and they're done with it. (until they find another
    module they want to add it to)

    I shiver when I think about the work you have ahead of you when it
    comes to creature and especially item making...have fun. ;)

     
  • Pyrates

    Pyrates - 2005-02-18

    Logged In: YES
    user_id=1086976

    Hi!

    I'm on gentoo, using your binary distribution. With the new
    0.8 I can't reproduce the error, though there are others.
    I'll report if I can reproduce it ...

    Cheers
    Philipp

     

Log in to post a comment.