I know what is going on here. A bandaid for you is using —datadir as command 
line flag. I filed bug https://bugs.launchpad.net/widelands/+bug/1342228 and 
suggest taking the discussion there. 


> so I used strace to watch what files it opens and here is the result :) :
> 
> 
> open("/usr/share/games/widelands/tribes/atlanteans/scripting/sc00_headquarters_medium.lua",
>  O_RDONLY) = 11
> 
> Game data error
> reading basic info for tribe "atlanteans": 
> [/var/widelands/tibor-ai5/src/scripting/lua_errors.h:29] [string 
> "tribes/atlanteans/scripting/sc00_headquarters..."]:5: attempt to call global 
> 'use' (a nil value)
> 
> Why is it? I believe it should touch only files in own directory...
> 
> I can uninstall distribution package of widelands, if it is the only way....
> 
> 
> 
> 
> 2014-07-15 14:48 GMT+02:00 Tibor Bamhor <tibor...@gmail.com>:
> I have couple of them, one is from package manger and about 2 are compiled. I 
> have it this way for long time and tibor-ai3 (compiled today) works fine, 
> only fresh branch from the trunk complains.
> 
> 
> 2014-07-15 14:36 GMT+02:00 Holger Rapp <sir...@gmx.de>:
> Probably your --datadir searches for widelands data in the wrong place. Do 
> you have a installed version of widelands somewhere?
> 
> > Am 15.07.2014 um 12:33 schrieb Fòram na Gàidhlig <f...@foramnagaidhlig.net>:
> >
> > Try the following instead of the use:
> >
> > include "scripting/infrastructure.lua"
> >
> >
> >
> > 15/07/2014 08:42, sgrìobh Tibor Bamhor:
> >> Hi,
> >>
> >> quick question
> >>
> >> I compiled a trunk from yesterday and when running the game I am getting
> >> this error:
> >>
> >> Game data error
> >> reading basic info for tribe "atlanteans":
> >> [/var/widelands/tibor-ai5/src/scripting/lua_errors.h:29] [string
> >> "tribes/atlanteans/scripting/sc00_headquarters..."]:5: attempt to call
> >> global 'use' (a nil value)
> >>
> >> I tried to find the occurrence of the 'use' everywhere but with no result
> >>
> >> How can I quickly get rid of this error?
> >>
> >> Tibor
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~widelands-dev
> >> Post to     : widelands-dev@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~widelands-dev
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >>
> >> No virus found in this message.
> >> Checked by AVG - www.avg.com <http://www.avg.com>
> >> Version: 2014.0.4716 / Virus Database: 3986/7855 - Release Date: 07/15/14
> >>
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~widelands-dev
> > Post to     : widelands-dev@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~widelands-dev
> > More help   : https://help.launchpad.net/ListHelp
> 
> 

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to