Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 122 123 [124] 125 126 ... 222

Author Topic: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06  (Read 999830 times)

Rogue Yun

  • Bay Watcher
  • Beware of the Carp
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1845 on: November 29, 2014, 06:13:05 pm »

hey kind of on topic, what's a good way to get familiar to linux if you don't feel smart enough to just jump in head first?

Virtualbox

AFAIU on Debian Jessie you need libqt5qml5 and libcap2-bin packages. Let me know if there are any other deps, I'm not in the mood for digging this. Also, if it freezes upon committing changes, try running it through
Code: [Select]
$ sudo dwarftherapist

Thank you so much!

I also had to install libqt5widgets5 but it seems to be working though I still get this error at startup.

Code: [Select]
/usr/bin/dwarftherapist: line 117: getcap: command not found
« Last Edit: November 29, 2014, 06:27:37 pm by Rogue Yun »
Logged

.:Simple Mood 16x16 ASCII:.
Keep it Simple. Keep it Safe.

int_ua

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1846 on: November 29, 2014, 06:31:49 pm »

hey kind of on topic, what's a good way to get familiar to linux if you don't feel smart enough to just jump in head first?
I think that's offtopic, but still:
0. Select a distribution [and a desktop environment].
1. Create a LiveUSB with UNetbootin (1Gb may not always work, but 2Gb is sufficient for almost any unmodified live disk I know of) or burn iso to CD/DVD if that's easier for you.
2. Boot from it and try it without any changes to your hard drive.
Please write any further questions on this in PM or elsewhere.

UPD: Or VirtualBox like Yun said, yeah, but that may require a little bit more time to start and more free space on disk.
« Last Edit: November 29, 2014, 06:49:49 pm by int_ua »
Logged

Urist Tilaturist

  • Bay Watcher
  • The most dwarven name possible.
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1847 on: November 30, 2014, 06:21:44 am »

hey kind of on topic, what's a good way to get familiar to linux if you don't feel smart enough to just jump in head first?

It's very similar to other operating systems, unless you want to mess around with audio drivers, in which case it is very difficult indeed.
Logged
On the item is an image of a dwarf and an elephant. The elephant is striking down the dwarf.

For old times' sake.

thraxarious

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1848 on: November 30, 2014, 11:47:35 am »

hey kind of on topic, what's a good way to get familiar to linux if you don't feel smart enough to just jump in head first?

I'd say, go with virtualbox or Vmware Player. Then download a copy of Linux Mint. Its a pretty easy and handy bit of software.

You'll want a bit of ram though. Running it side by side in a virtual box needs ram for both your system and the virtual one. 2-4GB more at least would be good. I have 12GB on my system right now, but it is several years old.

But Linux is like anything, a tool. And the right tool for the right job. Mint is a nice starter desktop linux. If you want to move into server and services, there are others. Debian, Ubuntu, CentOS/RHEL... each have community forums and plenty of answers already asked. Google is your friend.

Oh, and if you want to spend a little money and try out some neat things with hardware, find yourself a raspberry Pi, and stick it on the network to play with. I have mine connected to the TV.
Logged

kleril

  • Bay Watcher
  • I'm the guy who sucks
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1849 on: December 02, 2014, 03:08:32 am »

PSA: It looks like the memory layouts for 40.18 are up.
linky
Logged
"Obsession and despair take hold as you fail to recapture a fantastic sensation that you had for a moment but is now gone."

Aftal

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1850 on: December 02, 2014, 07:57:25 am »

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:

Code: [Select]
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

Code: [Select]
ptrace attach: Operation not permitted
and I get an error log like this:

Code: [Select]
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!
Logged

miauw62

  • Bay Watcher
  • Every time you get ahead / it's just another hit
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1851 on: December 02, 2014, 08:28:41 am »

Did you try running DT as root? (using sudo)
Logged

Quote from: NW_Kohaku
they wouldn't be able to tell the difference between the raving confessions of a mass murdering cannibal from a recipe to bake a pie.
Knowing Belgium, everyone will vote for themselves out of mistrust for anyone else, and some kind of weird direct democracy coalition will need to be formed from 11 million or so individuals.

rmblr

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1852 on: December 02, 2014, 08:54:53 am »

Running DT as root is one solution, but not particuarly safe.

Follow the directions here:

https://github.com/andrewd18/df-lnp-installer/wiki/Dwarf-Therapist-Cannot-Connect-to-Dwarf-Fortress

In Step 2 of "Disable.." change to the correct DT folder in the pack (something like 'LNP/utilities/dwarf_therapist)

Alternatively, the PyLNP for Linux launcher should have asked you for your root password. Are you using the latest version of the pack?
Logged

Chimerat

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1853 on: December 02, 2014, 09:06:33 am »

Darn... Looks like chances of DT working with 40.19 before I lose my internet in a few weeks is slim to none. :'(

Ah well... I still appreciate the effort, fellas. Just because I don't care about anything past the animal, labour and health screens doesn't mean the rest isn't important. ;)
Logged

lorduberspaz

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1854 on: December 02, 2014, 09:29:28 am »

Playing without therapist makes my head hurt :(
Logged

Aftal

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1855 on: December 02, 2014, 09:58:29 am »

Hi miauw62 and rmblr -- thanks for the replies. No luck yet though.

Yep, using the latest PyLNP; it did ask for the root password, which I gave, but perhaps that was before I compiled my own DwarfTherapist and so might not apply to the executable I substituted...

At any rate, I (re)ran
Code: [Select]
sudo setcap cap_sys_ptrace=ep DwarfTherapist, but it makes no difference.

If I run DT as root, it doesn't work either (though, again, the program window appears briefly), but instead of
Code: [Select]
ptrace attach: Operation not permitted the terminal gives a mysterious
Code: [Select]
"Unknown error" and the log file reads

Code: [Select]
2014-Dec-02 15:43:17.813 INFO core Dwarf Therapist "0.6.12" starting normally. [src/dwarftherapist.cpp:100] (setup_logging)
2014-Dec-02 15:43:18.398 INFO core Loaded 4 views from disk [src/viewmanager.cpp:128] (reload_views)
2014-Dec-02 15:43:18.551 DEBUG core "redrew views in 152ms" [src/viewmanager.cpp:160] (draw_views)
2014-Dec-02 15:43:18.568 DEBUG core setting up connections for MainWindow [src/mainwindow.cpp:105] (MainWindow)
2014-Dec-02 15:43:18.580 DEBUG core group_by now set to 0 [src/models/dwarfmodel.cpp:456] (set_group_by)
2014-Dec-02 15:43:18.581 DEBUG core beginning to read settings [src/dwarftherapist.cpp:122] (read_settings)
2014-Dec-02 15:43:18.581 DEBUG core finished reading settings [src/dwarftherapist.cpp:168] (read_settings)
2014-Dec-02 15:43:18.942 DEBUG core attempting connection to running DF game [src/mainwindow.cpp:216] (connect_to_df)
2014-Dec-02 15:43:18.958 ERROR core No valid memory layouts found in the following directories... () [src/dfinstance.cpp:106] (DFInstance)
2014-Dec-02 15:43:19.264 DEBUG core base_addr: 134531536 HEX 804c9d0 [src/dfinstancelinux.cpp:324] (find_running_copy)
2014-Dec-02 15:43:19.714 DEBUG core DF's checksum is "0x13cc404f" [src/dfinstancelinux.cpp:328] (find_running_copy)
2014-Dec-02 15:43:19.714 DEBUG core DF's checksum is: "0x13cc404f" [src/dfinstance.cpp:876] (get_memory_layout)
2014-Dec-02 15:43:19.714 DEBUG core Could not find layout for checksum "0x13cc404f" [src/dfinstance.cpp:883] (get_memory_layout)
2014-Dec-02 15:43:19.715 INFO core Checking for layout for checksum:  "0x13cc404f" [src/mainwindow.cpp:396] (check_for_layout)
2014-Dec-02 15:43:19.715 INFO core Dwarf fortress path: "/media/aglminor/nonsci/pelit/Dwarf_Fortress/df_linux" [src/dfinstancelinux.cpp:335] (find_running_copy)

which is similar to the issue I linked to. In particular, with sudo the "Could not attach to PID 31208" error is no longer there. But apparently the "No valid memory layouts found" error is by itself enough for breakdown.

Any more suggestions? cheers
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1856 on: December 02, 2014, 10:02:38 am »

you can try these layouts for 40.19, but i haven't tested them yet.

Spoiler: WINDOWS (click to show/hide)

Spoiler: LINUX (click to show/hide)

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1857 on: December 02, 2014, 10:11:27 am »

Hi miauw62 and rmblr -- thanks for the replies. No luck yet though.

Yep, using the latest PyLNP; it did ask for the root password, which I gave, but perhaps that was before I compiled my own DwarfTherapist and so might not apply to the executable I substituted...

At any rate, I (re)ran
Code: [Select]
sudo setcap cap_sys_ptrace=ep DwarfTherapist, but it makes no difference.

If I run DT as root, it doesn't work either (though, again, the program window appears briefly), but instead of
Code: [Select]
ptrace attach: Operation not permitted the terminal gives a mysterious
Code: [Select]
"Unknown error" and the log file reads

Code: [Select]
2014-Dec-02 15:43:17.813 INFO core Dwarf Therapist "0.6.12" starting normally. [src/dwarftherapist.cpp:100] (setup_logging)
2014-Dec-02 15:43:18.398 INFO core Loaded 4 views from disk [src/viewmanager.cpp:128] (reload_views)
2014-Dec-02 15:43:18.551 DEBUG core "redrew views in 152ms" [src/viewmanager.cpp:160] (draw_views)
2014-Dec-02 15:43:18.568 DEBUG core setting up connections for MainWindow [src/mainwindow.cpp:105] (MainWindow)
2014-Dec-02 15:43:18.580 DEBUG core group_by now set to 0 [src/models/dwarfmodel.cpp:456] (set_group_by)
2014-Dec-02 15:43:18.581 DEBUG core beginning to read settings [src/dwarftherapist.cpp:122] (read_settings)
2014-Dec-02 15:43:18.581 DEBUG core finished reading settings [src/dwarftherapist.cpp:168] (read_settings)
2014-Dec-02 15:43:18.942 DEBUG core attempting connection to running DF game [src/mainwindow.cpp:216] (connect_to_df)
2014-Dec-02 15:43:18.958 ERROR core No valid memory layouts found in the following directories... () [src/dfinstance.cpp:106] (DFInstance)
2014-Dec-02 15:43:19.264 DEBUG core base_addr: 134531536 HEX 804c9d0 [src/dfinstancelinux.cpp:324] (find_running_copy)
2014-Dec-02 15:43:19.714 DEBUG core DF's checksum is "0x13cc404f" [src/dfinstancelinux.cpp:328] (find_running_copy)
2014-Dec-02 15:43:19.714 DEBUG core DF's checksum is: "0x13cc404f" [src/dfinstance.cpp:876] (get_memory_layout)
2014-Dec-02 15:43:19.714 DEBUG core Could not find layout for checksum "0x13cc404f" [src/dfinstance.cpp:883] (get_memory_layout)
2014-Dec-02 15:43:19.715 INFO core Checking for layout for checksum:  "0x13cc404f" [src/mainwindow.cpp:396] (check_for_layout)
2014-Dec-02 15:43:19.715 INFO core Dwarf fortress path: "/media/aglminor/nonsci/pelit/Dwarf_Fortress/df_linux" [src/dfinstancelinux.cpp:335] (find_running_copy)

which is similar to the issue I linked to. In particular, with sudo the "Could not attach to PID 31208" error is no longer there. But apparently the "No valid memory layouts found" error is by itself enough for breakdown.

Any more suggestions? cheers

i haven't had a chance to look at this in detail, but the first line in the log "Dwarf Therapist "0.6.12" starting normally." indicates a pretty old version of DT.. since you're running 40.16 you should be building from here https://github.com/splintermind/Dwarf-Therapist with these instructions https://github.com/splintermind/Dwarf-Therapist/blob/DF2014/BUILDING.rst

Chimerat

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1858 on: December 02, 2014, 10:55:22 am »

you can try these layouts for 40.19, but i haven't tested them yet.

Spoiler: WINDOWS (click to show/hide)
:-\

So... If anyone knows what to do with these and does it, could you please post a link here for those who have no bloody clue? :D
Logged

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1859 on: December 02, 2014, 11:47:59 am »

you can try these layouts for 40.19, but i haven't tested them yet.

Spoiler: WINDOWS (click to show/hide)
:-\

So... If anyone knows what to do with these and does it, could you please post a link here for those who have no bloody clue? :D

You put them in a file called v0.40.19_graphics.ini and throw it in your shared folder with the rest of the layouts.
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back
Pages: 1 ... 122 123 [124] 125 126 ... 222