linux .deb? - Page 3

linux .deb?

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

clericvash wrote:I got this again:
I: workdir is '/home/liam/.springdir/ubuntu:0.0'
I: type spring-setup to configure mods/maps/units
ERROR: DotfileHandler
Could not write to config file
Warning: Incorrect/Missing content:
FT_New_Face failed:cannot open resource
I would be interested in the output of

Code: Select all

cat /home/liam/.springdir/ubuntu:0.0/.springrc
I looked in the spring folder in my home, the maps and mods folders have stuff in them the datadir has nothing in it, is it supposed to be empty?
AFAIK Yes. It's empty here and I'm currently playing spring on my second console.
And this screenshot is when i changed resolution in spring-setup:
Looks like a error in the dialog-binary. Which version do you use (dpkg -p dialog)?

fbo
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Code: Select all

liam@ubuntu:~$ cat /home/liam/.springdir/ubuntu:0.0/.springrc
ModFile=xtape.sd7
SpringData=/home/liam/.springdir/ubuntu:0.0
And

Code: Select all

Version: 1.0-20060101-1
Hope it helps.
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

I am also having the same problem. With the same error message help would be appreciated. :D
User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

clericvash wrote:I got this again:
I: workdir is '/home/liam/.springdir/ubuntu:0.0'
I: type spring-setup to configure mods/maps/units
ERROR: DotfileHandler
Could not write to config file
Warning: Incorrect/Missing content:
FT_New_Face failed:cannot open resource
Please install the latest 'spring-scripts' package, run 'spring -d' (which should behave exactly like 'spring' but will write a trace-file) and reproduce this error. Try to reproduce the error as quick as possible because the trace file will grow very rapidly. Then put the trace file (It'll be compressed automatically) somewhere, where I can download it.
clericvash wrote:I got this again:

I looked in the spring folder in my home, the maps and mods folders have stuff in them the datadir has nothing in it, is it supposed to be empty?

And this screenshot is when i changed resolution in spring-setup:
Sorry, I'm still unable to reproduce this problem. Could you describe as detailled as possible, which step are causing this error message? BTW: I'm using the same dialog-version here.

FBO
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

There seems to be a problem with one of the fonts - "Luxi.ttf" - which is not available. This font is usually part of the spring package ( /usr/share/spring/workdir/Luxi.ttf ) and schould be symlinked into the base folder of your workdir.

Please post the output of those commands:

Code: Select all

/bin/ls -QFla /home/word/.springdir/localhost:0
/bin/ls -QFla /usr/share/spring/workdir
dpkg -S /usr/share/spring/workdir/Luxi.ttf
FBO
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Just a note we are on ubuntu (i assume he is as some error as me) and it is set as:
ubuntu:0.0 not localhost:0

I tried the commands and got this:
liam@ubuntu:~$ /bin/ls -QFla /home/liam/.springdir/ubuntu:0.0
total 40
drwxr-xr-x 7 root root 4096 2006-06-02 16:53 "."/
drwxr-xr-x 3 root root 4096 2006-06-02 16:49 ".."/
-rw-r--r-- 1 root root 906 2006-06-08 19:43 "archivecache.txt"
drwxr-xr-x 2 root root 4096 2006-06-02 16:49 "datadir"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:49 "demos"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:53 "maps"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:53 "mods"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:49 "screenshots"/
-rw-r--r-- 1 root root 69 2006-06-02 16:53 ".spring-debianrc"
-rw-r--r-- 1 root root 62 2006-06-08 19:43 ".springrc"
lrwxrwxrwx 1 root root 22 2006-06-02 16:53 ".Xauthority" -> "/home/liam/.Xauthority"
liam@ubuntu:~$ /bin/ls -QFla /usr/share/spring/workdir
total 184
drwxr-xr-x 8 root root 4096 2006-06-08 19:42 "."/
drwxr-xr-x 7 root root 4096 2006-06-02 16:48 ".."/
drwxr-xr-x 3 root root 4096 2006-06-02 16:48 "base"/
drwxr-xr-x 6 root root 4096 2006-06-08 19:42 "bitmaps"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:48 "gamedata"/
drwxr-xr-x 3 root root 4096 2006-06-08 19:42 "guis"/
-rw-r--r-- 1 root root 67548 2006-05-20 14:02 "Luxi.ttf"
-rw-r--r-- 1 root root 378 2006-05-20 14:02 "selectkeys.txt"
drwxr-xr-x 3 root root 4096 2006-06-08 19:42 "shaders"/
drwxr-xr-x 3 root root 4096 2006-06-08 19:42 "startscripts"/
-rw-r--r-- 1 root root 1125 2006-05-26 20:02 "uikeys.txt"
-rw-r--r-- 1 root root 65932 2006-05-20 14:02 "Vera.ttf"
liam@ubuntu:~$ dpkg -S /usr/share/spring/workdir/Luxi.ttf
spring: /usr/share/spring/workdir/Luxi.ttf
User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

clericvash wrote:Just a note we are on ubuntu (i assume he is as some error as me) and it is set as:
ubuntu:0.0 not localhost:0

I tried the commands and got this:
liam@ubuntu:~$ /bin/ls -QFla /home/liam/.springdir/ubuntu:0.0
total 40
drwxr-xr-x 7 root root 4096 2006-06-02 16:53 "."/
drwxr-xr-x 3 root root 4096 2006-06-02 16:49 ".."/
-rw-r--r-- 1 root root 906 2006-06-08 19:43 "archivecache.txt"
drwxr-xr-x 2 root root 4096 2006-06-02 16:49 "datadir"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:49 "demos"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:53 "maps"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:53 "mods"/
drwxr-xr-x 2 root root 4096 2006-06-02 16:49 "screenshots"/
-rw-r--r-- 1 root root 69 2006-06-02 16:53 ".spring-debianrc"
-rw-r--r-- 1 root root 62 2006-06-08 19:43 ".springrc"
lrwxrwxrwx 1 root root 22 2006-06-02 16:53 ".Xauthority" -> "/home/liam/.Xauthority"
Looks like the 'lndir' utility is missing. Install the 'xutils-dev' Package, run 'spring-setup' and try 'spring' again.

FBO
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

I searched synaptic, xutils is installed but searching for xutils-dev found nothing?
User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

clericvash wrote:I searched synaptic, xutils is installed but searching for xutils-dev found nothing?
It seems as there's no 'lndir' utility in the Ubuntu world. Maybe because it's a XFree86-tool which was dropped when everyone moved to xorg. I didn't know about this tool's origin. I'm going to reimplement it's functionality in perl to remove this dependency.

FBO
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

That is good news, i am glad you are very determind in your efforts for us linux users, any ideas when you may have this sorted so i can update the ubuntu users?

Thanks again.
User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

clericvash wrote:That is good news, i am glad you are very determind in your efforts for us linux users,
I'm using linux on 100% and windows on 0% of my computers and I like advocating for linux which providing good games for is part of :-) .
any ideas when you may have this sorted so i can update the ubuntu users?

Thanks again.
I'm not sure, if I understand your question correctly. The new 'spring-scripts' package which will contain the lndir-fix will be ready in ~ 4h (I'm still @ work and my development box is @home :-) ). I'll post temporary URLs for this package - the official debspring mirror will be updated tomorrow 14:30 MST. The 'spring' package itself doesn't need to be changed.

I'm still unable to to Provide ubuntu binary packages because of some technical problems which basically means: I don't have vmware-server-debian-packages :-( .

FBO
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

To be honest i wouldn't worry too much about the ubuntu packages as i am rubbish with command line yet i followed your guide fine to get it on my ubuntu box :)

4 hours? Dam, your awesome, i was expecting you to say a week haha.
User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

clericvash wrote:To be honest i wouldn't worry too much about the ubuntu packages as i am rubbish with command line yet i followed your guide fine to get it on my ubuntu box :)

4 hours? Dam, your awesome, i was expecting you to say a week haha.
OK:

ftp://fbo.no-ip.org/t/spring-scripts_1.2-1_all.deb

Good luck,

fbo
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Installed new spring scripts .deb then this...
liam@ubuntu:~$ spring
I: workdir is '/home/liam/.springdir/ubuntu:0.0'
I: type spring-setup to configure mods/maps/units
ERROR: DotfileHandler
Could not write to config file
Warning: Incorrect/Missing content:
FT_New_Face failed:cannot open resource
Still no dice :(
User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

clericvash wrote:Installed new spring scripts .deb then this...
liam@ubuntu:~$ spring
I: workdir is '/home/liam/.springdir/ubuntu:0.0'
I: type spring-setup to configure mods/maps/units
ERROR: DotfileHandler
Could not write to config file
Warning: Incorrect/Missing content:
FT_New_Face failed:cannot open resource
Still no dice :(
That doesn't surprise me. You have to use spring-setup first to create a new workdir.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

When i do spring-setup all it does is bring up options like map and mod, i'm pretty sure it doesn't create a new directory...
User avatar
fbo
Posts: 75
Joined: 27 May 2006, 20:42

Post by fbo »

clericvash wrote:When i do spring-setup all it does is bring up options like map and mod, i'm pretty sure it doesn't create a new directory...
I'm sure, it does. "Save" in spring-setup means "Create workdirectory and apply configuration". Creating a workdirectory means creating the symlink-tree which was missing when spring-setup depended on lndir.

fbo
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Well i have done it twice, nothing happens.
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

Cleric I just installed the new scripts package then ran spring-setup then pressed save and exit then ran spring and I can now play :D Thanks fbo.
Post Reply

Return to “Linux”