[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Bugs during boot (Planes.dat and IMC-help stuff)

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Bugs during boot (Planes.dat and IMC-help stuff)
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Nick Gammon   Australia  (18,797 posts)  [Biography] bio   Forum Administrator
Date Sat 10 Feb 2007 11:27 PM (UTC)  quote  ]
Message
I have updated my copy on this page:

http://www.gammon.com.au/downloads/dlsmaug.htm

There is also the MD5 sum from the copy I recently obtained from the www.fussproject.org site, and the exact file size.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sat 10 Feb 2007 08:49 PM (UTC)  quote  ]
Message
Samson has just fixed this:
http://www.fussproject.org/index.php?a=topic&t=1108

And yes, you are right, Lynx is technically not doing the right thing; it should be respecting the headers and not trusting the server to close the connection.

Don't you love it when the "right thing" is wrong. :-)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Nick Gammon   Australia  (18,797 posts)  [Biography] bio   Forum Administrator
Date Sat 10 Feb 2007 08:20 PM (UTC)  quote  ]
Message
Interestingly, I had a not dissimilar problem a while back:

http://www.gammon.com.au/forum/bbshowpost.php?id=7356

This was not directly to do with downloading files, but conceptually similar. Note the quote at the end:

"Also, see RFC 2616:"


8.1.2.1 Negotiation

...

In order to remain persistent, all messages on the connection MUST have a self-defined message length (i.e., one not defined by closure of the connection), as described in section 4.4.


Thus, the download managers that are using the supplied message length (and not awaiting closure of the connection) are behaving correctly, and those that wait for the connection to close are relying on good luck.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sat 10 Feb 2007 08:05 PM (UTC)  quote  ]
Message
Quote:
How did you get that listing? Do you have an account on that server?
Yes, Darkstone is hosted with Arthmoor.

Quote:
If the site is misleading download managers, effectively it is serving up a corrupted version of the file. Regardless of what file is actually on the server, if it cannot supply the correct information to programs that request to download it, then it is not "supplying" a good copy.
Well, yes. :-) I think it's broken. I'm not sure why the comment says it's 1.4mb, and I'm not sure why it doesn't serve the whole thing.

Interestingly enough:

When I download it using Lynx, I get the whole file.
But using Firefox, it only gets 1.4mb -- a corrupted file.

I guess that Lynx chooses to ignore the file size supplied by HTTP headers, and just reads until the server closes the connection.

I'm going to file a bug report of sorts on the FUSS project website, since I think this is a major issue...

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Nick Gammon   Australia  (18,797 posts)  [Biography] bio   Forum Administrator
Date Sat 10 Feb 2007 07:30 PM (UTC)  quote  ]

Amended on Sat 10 Feb 2007 07:48 PM (UTC) by Nick Gammon

Message
How did you get that listing? Do you have an account on that server?

I have tried again to download the file, from the link given on this page:

http://www.fussproject.org/index.php?a=files

Each time, and this is on different PCs, Mac, and Linux, I get around 1.4 Mb.

Now maybe there is a directory on the server that has a correct copy, but my point is that attempting to download, using the supplied link, and using different operating systems, does not serve up a 2+ Mb file.

In addition to that is the comment on that page: "Submitted by: Samson File Size: 1452 KB Date Added: Sep 17, 2006".

Given that, if you download the file, and it is around 1452 Kb, you believe you have the correct file.

Quote:

My point is that the site incorrectly reports the size, causing some download managers to fail to download the whole thing ...


If the site is misleading download managers, effectively it is serving up a corrupted version of the file. Regardless of what file is actually on the server, if it cannot supply the correct information to programs that request to download it, then it is not "supplying" a good copy.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sat 10 Feb 2007 07:33 AM (UTC)  quote  ]
Message
The 2.5 mb file is what I got from the FUSS project site. My point is that the site incorrectly reports the size, causing some download managers to fail to download the whole thing, thus giving you only a partial file -- which of course will not extract correctly.

The FUSS project file isn't corrupt, but the reported size is wrong, causing some programs to only download the first 1.5 mb of the file.

Here is what I see when I log onto Arthmoor, and look in the codebases directory:

[darkstone@crondonia codebases]$ ls -la
total 21292
drwx---r-x  2 root root    4096 Jan 30 20:56 .
drwxr-xr-x 30 root root    4096 Feb  9 21:45 ..
-rw-r--r--  1 root root 1441006 Nov 14  2003 1stmud40c.tgz
-rw-r--r--  1 root root  967831 Dec 13 20:41 ack431.tgz
-rw-r--r--  1 root root 1949041 Dec 13 20:41 afkmud177.tgz
-rw-r--r--  1 root root 1674484 Jan 30 20:56 afkmud20.tgz
-rw-r--r--  1 root root 3309864 Jul 15  2006 dsouls21.tgz
-rw-r--r--  1 root root 1077583 May 23  2004 envy22.tgz
-rw-r--r--  1 root root 1523750 May  2  2006 lpuni.tgz
-rw-r--r--  1 root root 1758460 May 23  2004 mcloud2.tgz
-rw-r--r--  1 root root  696248 Jul 14  2006 merc22.tgz
-rw-r--r--  1 root root 1128634 May 23  2004 quickmud.tgz
-rw-r--r--  1 root root 1008309 Sep  4  2004 rom24b6.tgz
-rw-r--r--  1 root root 2649642 Jan 30 20:56 smaug17fuss.tgz

As you can see, the Jan 30 version of SMAUGfuss is indeed 2.6 mb. And that file decompresses without a problem.

One thing of note is that version 1.7a has in fact had several iterations, so you can have several file sizes because the contents are not exactly the same.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Nick Gammon   Australia  (18,797 posts)  [Biography] bio   Forum Administrator
Date Sat 10 Feb 2007 03:21 AM (UTC)  quote  ]

Amended on Sat 10 Feb 2007 03:25 AM (UTC) by Nick Gammon

Message
Quote:

ls -l smaug17fuss.tgz [15:03]
-rw-r--r-- 1 david david 2648997 2007-01-12 15:27 smaug17fuss.tgz

(Nick -- any idea what is wrong with your archive?)


First, let's try to clear up which is the "correct" version. According to the SMAUGfuss web site:


Smaug FUSS 1.7

Description:
The SMAUG 1.7 FUSS Codebase. This is the main distribution for the SMAUG FUSS Project code.

Author: Community Submitted by: Samson
File Size: 1452 KB Date Added: Sep 17, 2006


You can see from that comment, that the official size of the smaug17fuss.tgz download is 1452 Kb, not over 2 Mb.

If I log onto my web server this is what I see:


$ ls -l smaug17fuss.tgz
-rw-r--r--    1 username   groupname   1514674 Jul 20  2006 smaug17fuss.tgz


$ md5sum smaug17fuss.tgz
1fb2022148f2e3876bcc30144c4ab8d1  smaug17fuss.tgz


I tried to unzip this same file (that is, my local copy which has the same md5sum) using Winzip, and it unzipped without any errors.

The interesting thing however is that I re-downloaded smaug17fuss.tgz from www.fussproject.org, and this time the file size was: 1,497,827 bytes.

Also when I try to open that with WinZip I got the error message "Invalid compressed data - unable to inflate".

So it seems to me that the copy on fussproject is actually the corrupt one.

If you download the copy from this site (the www.gammon.com.au site), and get a file size of 1514674 and get an md5sum of 1fb2022148f2e3876bcc30144c4ab8d1, you should have a good copy.

David, I'm not sure what your 2,648,997 byte file is. :)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sat 10 Feb 2007 02:49 AM (UTC)  quote  ]
Message
I really wonder why it is that the download didn't work right. Samson, if you're reading this, do you have any ideas?

Glad to hear that you were able to get the file from me, though. And I'm very reassured that there were no bugs! (Nick -- any idea what is wrong with your archive?)

I think smaug.exe is an artifact of using Cygwin. I think it does that so that you can double-click the exes and make Windows happy, but I'm not sure.

About IMC: I think you are correct about that. I have never used IMC, though, so I don't really know how to fix it.

I'm glad that you like vim: another convert!! :-P
Seriously though, it's a nice editor. At some point, I'll be uploading my .vimrc file; you might want to take a look. It has lots and lots of settings that, while my personal preference, might be interesting because
(a) you might not have known about the setting
(b) you might not have thought about the setting yet
My .vimrc file was constructed over years and years, mainly be following other people's examples and searching wide and far on the net to figure out how to do a particular feature. So if I can save others a little time, why not? :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Zagreus   (8 posts)  [Biography] bio
Date Fri 09 Feb 2007 10:56 PM (UTC)  quote  ]
Message
Yeah, it was definately a bad download. Mine was a megabyte short. I didn't think about trying to clear the cache, but considering I downloaded it from two different computers using two different browsers at two different times, I don't think that'd make such a huge difference. I'll go ahead and do it just for kicks to see what happens though.

Got the zip from your site. It appears to be working great, thanks.

One minor issue is for some reason it's being built as smaug.exe now instead of just smaug, so the startup script doesn't work. But that's just a quick edit to startup to add the .exe to the end.


So, it looks like it's running! No skill bugs whatsoever. Still that EOF on the IMC stuff, but that's probably just cause there are no settings for it to read yet or something. I should have just disabled IMC in the makefile.


Also, The more and the more I use vim, the more and more I love it! Thanks for showing it to me! (using gvim now).
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Fri 09 Feb 2007 10:08 PM (UTC)  quote  ]
Message
No problem. :-)

Let's try to isolate the problem first. So, let's check that your download was in fact bad, then we can worry about fixing it. If the download was correct, we have other problems to worry about. :-)

Here is how big my archive is:
[david@thebalrog:~/incoming]$ ls -l smaug17fuss.tgz                               [15:03]
-rw-r--r-- 1 david david 2648997 2007-01-12 15:27 smaug17fuss.tgz


So it's 2.6mb. If I remember correctly, the incorrect download was only getting some 1.something megabytes.


One thing to try is to clear your browser caches before trying to redownload.

If that still doesn't work, try downloading this:
http://binarygoblin.stanford.edu/~david/tmp/smaug17fuss.zip

Once you have it, rename it to a .tgz file and extract as normal. (And please let me know so that I can remove the file.)

The hope is to give you an alternate download of the same file, so that whatever is confusing the download from fussproject.org might not be confusing it from my server.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Zagreus   (8 posts)  [Biography] bio
Date Fri 09 Feb 2007 09:52 PM (UTC)  quote  ]
Message
First, I want to thank you so much for your patience and kindness in reading over my posts and responding to them all. I really didn't think this would be such a long and drawn out issue. I just wanted to get a smaug server up and running without any noticable bugs. :)


Now for the latest developments...

To answer your question, I tried downloading the file both with firefox 1.5 and Internet Explorer 7.

I'm not familiar with wget, but I typed it out in my xterm console and figured it out. However, the fuss project's download section hides the path of the files. The download link is pointing to a php file, not the actual file that I want to get, so I don't really have anything to type after the wget (I did manage to successfully download the php file though.) :)

As for the trying gunzip instead, -x and -z are not valid options. I tried gunzip -d smaug17fuss.tgz and got the same thing about an unexpected end of file. If the problem is as David states, then it really won't matter how I try uncompress it, as I only have a partial copy of the file. Thanks for the help though.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Fri 09 Feb 2007 09:31 PM (UTC)  quote  ]
Message
I've never, ever had trouble with tar incorrectly unpacking a gzip package. And it's not surprising, either, because the unpacking is handled by talking directly to gunzip.

Besides when I had this same problem, I tried gunzipping it first, and that didn't work; the download really was of the wrong size.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Meerclar   USA  (554 posts)  [Biography] bio
Date Fri 09 Feb 2007 09:25 PM (UTC)  quote  ]
Message
Just for giggles, try gunzip -xzf instead of tar. IIRC tar doesnt unpack particularly well if it's a gzip package.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Fri 09 Feb 2007 09:20 PM (UTC)  quote  ]
Message
Oh, yeah. I did have a problem with the SMAUGfuss download. Apparently it does not report its size correctly, and some download programs trust the reported size, instead of continuing the download until the server stops it.

How did you download the file? I think that I used wget and that caused problems, and Firefox worked, but I could be remembering incorrectly.

But no, this isn't a problem with how you're extracting it, or Cygwin managing files differently. It's an issue with the download.

For vi, Nick also has a great guide here:
http://www.gammon.com.au/smaug/vi.htm

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Zagreus   (8 posts)  [Biography] bio
Date Fri 09 Feb 2007 08:04 PM (UTC)  quote  ]
Message
I'm cursed...

I got the file from http://www.fussproject.org/index.php?a=files&s=viewfile&fid=1 and tried extracting it with winrar. Receieved a message stating that it was corrupt, so I thought "Well, maybe winrar just doesn't handle these files well, after all, it wasn't made in windows".


So, I redownloaded it on my server (just to be on the safe side incase winrar messed anything up or that there as something wrong with my workstation), and tried tar -xzf smaug17fuss.tgz under cygwin, and got the following:

gzip: stdin: unexpected enf of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

So my options are either something I can't extract from fussproject.org, or something with a messed up skills table from gammon.com.au. The thing is though... why is this only happening to me? You said you were able to get a fresh copy of smaugfuss 17 up and running a few days ago? There has to be something with my proceedures. I am not above blaming myelf and calling user error. But what frustrates me is I can't tell what it is.

Does cygwin use like a different filesystem or something? Is it bad for me to just download the tgz to a generic downloads directory using firefox, use winrar to extract it to c:\cygwin\home\Owner, then doing the rest through an xterm console?

I thought maybe there was a problem somewhere in those proceedures I just mentioned, so I tried downloading it directly to my c:\cygwin\home\Owner and using tar -xzf isntead of winrar, but it produced the same results (one from this website had bugs during boot, one from fussproject.org wouldn't extract).


On another note, I used vim for my first time... It was the most confusing thing I've ever seen. Fortunately http://vimdoc.sourceforge.net/htmldoc/usr_02.html really cleared it up a lot.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


5,562 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]