Hi,
I'm new to DF. After meeting the vanilla interface, I thought pointing and clicking might break the ice a bit, so installed the Linux LNP pack including Dwarf Therapist. I'm runing Mint 15, 32-bit.
With the DwarfTherapist executable from the pack, I only got the following in the terminal:
bash: ./DwarfTherapist.precompiled.notworking: cannot execute binary file
and nothing happens.
So I compiled DwarfTherapist from GitHub instead, without issues. When I run this executable from the same directory, while DF is running, the DT window appears but then straight away closes again. The terminal says
ptrace attach: Operation not permitted
and I get an error log like this:
2014-Dec-02 13:36:16.099 INFO core Dwarf Therapist "0.6.12" starting normally. [src/dwarftherapist.cpp:100] (setup_logging)
2014-Dec-02 13:36:18.205 INFO core Loaded 4 views from disk [src/viewmanager.cpp:128] (reload_views)
2014-Dec-02 13:36:18.318 DEBUG core "redrew views in 112ms" [src/viewmanager.cpp:160] (draw_views)
2014-Dec-02 13:36:18.336 DEBUG core setting up connections for MainWindow [src/mainwindow.cpp:105] (MainWindow)
2014-Dec-02 13:36:18.378 DEBUG core group_by now set to 0 [src/models/dwarfmodel.cpp:456] (set_group_by)
2014-Dec-02 13:36:18.425 DEBUG core beginning to read settings [src/dwarftherapist.cpp:122] (read_settings)
2014-Dec-02 13:36:18.426 DEBUG core finished reading settings [src/dwarftherapist.cpp:168] (read_settings)
2014-Dec-02 13:36:19.125 DEBUG core attempting connection to running DF game [src/mainwindow.cpp:216] (connect_to_df)
2014-Dec-02 13:36:19.126 ERROR core No valid memory layouts found in the following directories... () [src/dfinstance.cpp:106] (DFInstance)
2014-Dec-02 13:36:19.307 ERROR core Could not attach to PID 31208 [src/dfinstancelinux.cpp:158] (attach)
2014-Dec-02 13:36:19.308 ERROR core Unable to open "/proc/31208/mem" [src/dfinstancelinux.cpp:202] (read_raw)
2014-Dec-02 13:36:19.308 DEBUG core base_addr: 0 HEX 0 [src/dfinstancelinux.cpp:324] (find_running_copy)
2014-Dec-02 13:36:20.780 DEBUG core DF's checksum is "0x13cc404f" [src/dfinstancelinux.cpp:328] (find_running_copy)
2014-Dec-02 13:36:20.781 INFO core Dwarf fortress path: "/media/aglminor/nonsci/pelit/Dwarf_Fortress/df_linux" [src/dfinstancelinux.cpp:335] (find_running_copy)
After an earlier attempt, the error log was slightly different, and identical to the one
here. For that player a newer version (not of DT per se but of df-lnp-installer) helped -- but it's over a year ago.
Can someone explain why I get this error and what remedy there may be? Thanks!