Currently Online

Latest Posts

Topic: Game craches without recognizable indication

kaputtnik
Avatar
Joined: 2013-02-18, 19:48
Posts: 2441
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-01-25, 14:44

Goofy wrote:

It's only one error-message, now:

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Sparky/Tyche

But I hope thats unimportant?

This is because your distribution is called different than the Ubuntu ones. No idea if it matters... please ask in the sparky forums face-smile.png There are so many linux distributions out there, we couldn't know anyone.

How can I recognize, which exactly Widelands-Version is running now?

Either run widelands in terminal or the window title should show it. But i am not sure, since i am compiling myself (which is really not difficult).


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Goofy
Avatar
Topic Opener
Joined: 2017-01-24, 10:47
Posts: 29
OS: Linux-x86_64 (Manjaro)
Version: 1.1 release
Ranking
Pry about Widelands
Location: Berlin
Posted at: 2017-01-25, 15:20

ok, thank you, kaputtnik,

something is going wrong with my actions...

But I have start a topic in the Sparky-Forum. If there are answers, I will post it here.

goofy


Top Quote
Goofy
Avatar
Topic Opener
Joined: 2017-01-24, 10:47
Posts: 29
OS: Linux-x86_64 (Manjaro)
Version: 1.1 release
Ranking
Pry about Widelands
Location: Berlin
Posted at: 2017-01-27, 10:50

Hello kaputtnik, hello to all,

no I have a solution for getting the daily version in Sparky-Linux. The administrator of the Sparky-Forum was very helpful! I think it will be better to creat a new topic for this.

But before I'm doing this, I want talk about, how I can get the information, which Widelands-version is actually running:

If I start widelands in a terminal window by typing widelands, I get always the message that it is

'Version build-19 (Release)'

But if there is running a daily build, it should be for example

'1:19+repack-2'

If I type the command

'apt-cache policy widelands'

I get the full informtion about the actually widelands package. In my case:

goofy@pc01goofy:~$ apt-cache policy widelands

widelands: Installiert: 1:19+repack-2

Installationskandidat: 1:19+repack-2

Versionstabelle:

*** 1:19+repack-2 500

500 http://ftp.debian.org/debian testing/main amd64 Packages

100 /var/lib/dpkg/status

1:18-ppa0-bzr8262-201701251832~ubuntu16.10.1 500

500 http://ppa.launchpad.net/widelands-dev/widelands-daily/ubuntu yakkety/main amd64 Packages

In spite of the fact, that there is the daily-build, the Widelands starts with the status-message 'Version build-19 (Release)'.

Can it be that it is unwanted, perhaps a little bug?

goofy

Edited: 2017-01-27, 11:14

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-01-27, 14:13

I just changed the version for widelands-daily from 1:18-ppa0-bzr{revno}-{time} to 1:19-ppa0-bzr{revno}-{time}. The new version should be ready within the hour. I don't really know anything about packaging though.

Don't worry about the repack thing, that's just the packager fiddling with the package - the Widelands code is still the same.


Busy indexing nil values

Top Quote
Goofy
Avatar
Topic Opener
Joined: 2017-01-24, 10:47
Posts: 29
OS: Linux-x86_64 (Manjaro)
Version: 1.1 release
Ranking
Pry about Widelands
Location: Berlin
Posted at: 2017-01-28, 08:18

Hello GunChleoc,

yes, this 'apt-cache policy widelands' -command shows your version-table, and 'says' that there is installed the '1:19+repack-2' -daily version.

But I haven't got a feedback about this from the Widelands-programm. And I want to know from the Widelands-programm, which version is actually running. If I start Widelans it shows the message that it is 'Version build-19 (Release)', but I expect it should be 'Version build-19 (daily)' or similarly. So I could recognize, that all was successful.

goofy


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-01-28, 08:38

Actually, it should give you the current bzr revision number. Maybe build19 is being started anyway? Do you still have that version installed?

Edited: 2017-01-28, 08:39

Busy indexing nil values

Top Quote
Goofy
Avatar
Topic Opener
Joined: 2017-01-24, 10:47
Posts: 29
OS: Linux-x86_64 (Manjaro)
Version: 1.1 release
Ranking
Pry about Widelands
Location: Berlin
Posted at: 2017-01-28, 09:05

Yes, thats my problem: Maybe build19 (Release) is being started instead Version build-19 (daily).

And I don't know what I should believe: The status-message from the Widelands-programm or the output from the 'apt-cache policy' -command.

...If you have the daily-version on your computer, you can type at the terminal 'widelands' and look what is the output info (in the terminal window first line).


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 19:48
Posts: 2441
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-01-28, 13:24

You will see if you are running a later version than build19: Try zooming by scrolling with the mouse wheel.

If this don't work please try to find the widelands executale by run in terminal:

find / -type f -name widelands 2>/dev/null

This will show you all files on your system with name "widelands"


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Tibor

Joined: 2009-03-23, 22:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2017-01-28, 16:32

in addition to what is mentioned above, you can use:

which widelands

prints out all widelands binaries in the path. The best way to be sure what binary are you running is to use binary with path, either absolute, or relative, f.e.:

/usr/bin/widelands   # absolute
./widelands    # relative, if binary is in current directory
./blabla/widelands    # other example of relative path

debian based distributions can be querried for the package the file belongs to like:

dpkg -S /path/to/file

But I can not verify it now, I dont have debian based distro


Top Quote
Goofy
Avatar
Topic Opener
Joined: 2017-01-24, 10:47
Posts: 29
OS: Linux-x86_64 (Manjaro)
Version: 1.1 release
Ranking
Pry about Widelands
Location: Berlin
Posted at: 2017-01-28, 17:50

Hello kaputtnik, hello Tibor,

@kaputtnik

I don't understand your first tip: What should I zooming or scrolling?

The command

'find / -type f -name widelands 2>/dev/null'

prints only the path out, without any files

@Tibor

Hmm, the command

'which widelands'

shows only the path to widelands, but no file. The same is if I type the command

'dpkg -S /usr/games/widelands'

(/usr/games/widelands = the path to widelands in my case)

I have looked in that directory but haven't found any file, which named widelands. There are a subdirectory named 'data', where are some additional subdirectories.


Top Quote