war2/war2edit

_eo_call_resolve() for class 'Evas_Image

Opened this issue · 7 comments

swimp commented

Hi,
Getting an error in the console when I try to save a .pud:

ERR<34148>:eo lib/eo/eo.c:462 _eo_call_resolve() in ../src/lib/elementary/elm_widget.eo.c:230: func 'elm_obj_widget_child_can_focus_get' (446) could not be resolved for class 'Evas_Image'.
*** Backtrace ***
/usr/local/opt/efl/lib/libeina.1.dylib	 0x10d1d64d9 0x10d1c7000
/usr/local/opt/efl/lib/libeina.1.dylib	 0x10d1d77e6 0x10d1c7000
/usr/local/opt/efl/lib/libeina.1.dylib	 0x10d1d76db 0x10d1c7000
/usr/local/opt/efl/lib/libeo.1.dylib	 0x10d90f560 0x10d90c000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d63b58c 0x10d4ec000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d6074b0 0x10d4ec000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d63dbd4 0x10d4ec000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d645a57 0x10d4ec000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d63d6ec 0x10d4ec000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d64524e 0x10d4ec000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d63cdcb 0x10d4ec000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d647a52 0x10d4ec000
/usr/local/opt/efl/lib/libelementary.1.dylib	 0x10d63db25 0x10d4ec000
/usr/local/opt/efl/lib/libeo.1.dylib	 0x10d915e82 0x10d90c000
/usr/local/opt/efl/lib/libeo.1.dylib	 0x10d9141df 0x10d90c000
/usr/local/opt/efl/lib/libevas.1.dylib	 0x10d26bc75 0x10d262000
/usr/local/opt/efl/lib/libevas.1.dylib	 0x10d2914e2 0x10d262000
/usr/local/opt/efl/lib/libefl.1.dylib	 0x10d4b2084 0x10d4ac000
/usr/local/opt/efl/lib/libevas.1.dylib	 0x10d28b0c3 0x10d262000
/usr/local/bin/war2edit	 0x10d18609c 0x10d17d000
/usr/local/opt/efl/lib/libeo.1.dylib	 0x10d915e15 0x10d90c000
/usr/local/opt/efl/lib/libeo.1.dylib	 0x10d9141df 0x10d90c000
/usr/local/opt/efl/lib/libedje.1.dylib	 0x10d89fe0b 0x10d826000
/usr/local/opt/efl/lib/libedje.1.dylib	 0x10d8a4e10 0x10d826000
/usr/local/opt/efl/lib/libedje.1.dylib	 0x10d8a09fc 0x10d826000
/usr/local/opt/efl/lib/libedje.1.dylib	 0x10d8a0ffd 0x10d826000
/usr/local/opt/efl/lib/libecore.1.dylib	 0x10d47ec5d 0x10d474000
/usr/local/opt/efl/lib/libecore.1.dylib	 0x10d47b067 0x10d474000
/usr/local/opt/efl/lib/libecore.1.dylib	 0x10d47f05d 0x10d474000
/usr/local/opt/efl/lib/libecore.1.dylib	 0x10d47f25c 0x10d474000
/usr/local/bin/war2edit	 0x10d18521a 0x10d17d000
/usr/local/bin/war2edit	 0x10d185441 0x10d17d000
/usr/lib/system/libdyld.dylib	 0x7fffd36e0235 0x7fffd36db000


swimp commented

And when I start war2edit I'm getting:
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! ERR<46701>:eldbus lib/eldbus/eldbus_core.c:1021 _connection_get() Error connecting to bus of type 2. error name: org.freedesktop.DBus.Error.NoMemory error message: Not enough memory

Hi,

thanks for your interest in war2edit :)
I used to see the first error message you are reporting, but after a recent update of the EFL (from the upstream git), it seems to have vanished, at least on Linux. I'll test on a mac.

I can see you are running on a mac. I can tell that it is either a dbus misconfiguration or an efl issue. I'll try to investigate on my mac to see how this is going. I'll keep you posted.

swimp commented

Cool, thanks! :)

swimp commented

Is there anything I can do in the meantime, like trash some cache files to "reset" it's state.. ? @jeanguyomarch

Mhh I'm not sure what you meant by "reset its state". I don't think there are cache files you can remove. If any, they may be generated by EFL themselves, and are likely to be in ~/.cache/.

swimp commented

When I first started it, everything worked and I could save .pud files, but then I think something happens when I placed a Guard tower and then changed the surface underneath, there was a graphic glitch and it disappeared "half way" (like two of the four matrices) and from the I can't save any maps. So that's why I thought it might be some cache files.

Puds edition is self-contained, so having trouble with one should not affect another one. I suppose in the case of the tower that the unit was partially deleted, and when you attempted to save, safety checks were triggered and caused the map not to be saved.

Is it the same map that you cannot save back, or does the issue occur with multiple maps? If your map contain buildings such as shipard, foundry, refinery, things may not go as planned. I just recently found out that when loading a map with these buildings, that are half ground, half water, these buildings are (wronlgy) deleted when loading the map.