code logs -> 2009 -> Wed, 11 Feb 2009< code.20090210.log - code.20090212.log >
--- Log opened Wed Feb 11 00:00:27 2009
01:07
<@Derakon>
Okay, that's no good.
01:07
<@Derakon>
Just got a report of an "Unsupported image format" error when loading the splash image.
01:07
<@Derakon>
http://aegis-soft.com/forum/viewtopic.php?f=3&t=4&sid=856a51803c4f303ea6a875fbe8 ad1142
01:09
<@Derakon>
About all I can think of is that you need to have libpng installed to run Fusillade, which would imply that the game's not actually standalone.
01:09
<@Derakon>
And that's no good.
01:09
<@McMartin>
... libpng isn't living in Contents/Frameworks/Resources?
01:10
<@Derakon>
Allow me to double-check.
01:11
<@McMartin>
It's possible that libpng, being a transitive dependency of SDL_image, isn't being packaged.
01:11
<@Derakon>
Looks like it. The only stuff in Contents/Resources/lib is python2.5.
01:12
<@McMartin>
o_O. libSDL and libSDL_image should at least be there
01:13
<@Derakon>
Ahh, most of the libraries are in site-packages.zip, I think.
01:14
<@Derakon>
Hrm. Don't see any mention of sdl in filenames though.
01:15
<@McMartin>
Hm.
01:15
<@Derakon>
Let alone png.
01:15
<@McMartin>
I'll poke once I get off work
01:15
<@McMartin>
Try a find?
01:16
<@McMartin>
(find Fusillade.app -name \*SDL\*)
01:16
<@Derakon>
find . | grep -i sdl
01:16
<@Derakon>
No output.
01:16
<@McMartin>
Ow.
01:16
<@McMartin>
*.zip?
01:16
<@McMartin>
I mean, SDL is clearly somewhere...
01:16
<@McMartin>
Or he'd have crashed well before that.
01:17
<@Derakon>
Aside from the already-uncompressed site-packages.zip, just a font package I forgot to remove.
01:17 * Derakon nods.
01:21
<@Derakon>
Oh, Contents/Frameworks, not Contents/Resources.
01:21
<@Derakon>
Contents/Frameworks has e.g. SDL.framework, SDL_image.framework, etc.
01:24
<@McMartin>
OK, so, libpng should be somwhere in SDL_image.framwork, or link against it elsewhere
01:24
<@McMartin>
Do an otool -L on SDL_image.framework/Versions/?/SDL_image
01:25
<@McMartin>
Make sure it's not linking, like, /usr/local/lib/libpng.dylib
01:26
<@Derakon>
http://paste.ubuntu.com/116653/
01:26
<@McMartin>
That was... not what I was expecting.
01:26
<@Derakon>
Versions/A/SDL_image has the same output.
01:26
<@Derakon>
Yeah.
01:27
<@McMartin>
... but I should have. It can't statically link it or it wouldn't have loaded in the first place.
01:27
<@Derakon>
I don't follow.
01:28
<@McMartin>
OK, so, it's loading libpng "by hand" so that it can decide to selectively not support it.
01:28
<@McMartin>
Hence, "I don't support this format"
01:28
<@McMartin>
Not "OH SHIT I CAN'T FIND A LIBRARY I DEPEND ON DYING NOW"
01:28 * Derakon nods.
01:29
<@Derakon>
libpng is not an absolute dependency, just one that, if not present, disables certain features.
01:29
<@Derakon>
Hence why it's only failing once I get to try to load a PNG.
01:29
<@Derakon>
Ahh, so the implication is that any statically-linked dependency would have to be of the "oh shit" type.
01:29
<@McMartin>
Yeah
01:30
<@McMartin>
That said, UQM doesn't appear to pack a copy of libpng either, and I know it's needed.
01:37
<@Derakon>
Hmm...I'm running .0.3.6 right now, and there are newer versions. That might fix the problem?
01:37
<@Derakon>
By "newer" I mean "in SVN".
01:38
<@Derakon>
Hm. "py2app is smart enough to include all image plugins if it detects PIL
01:38
<@Derakon>
is being used. The problem was that the application needed a font,
01:38
<@Derakon>
and the font wasn't listed as a data file so it didn't make it into
01:38
<@Derakon>
the application bundle. "
01:39
<@Derakon>
No idea what PIL is in this context, but I am manually putting my data dependencies into position. Maybe if I told py2app to do that for me it'd say "Oh, you're reading PNGs, so I need this dependency."
01:41
<@McMartin>
PIL = Python Image Library
01:48
<@Derakon>
I figured out how to tell py2app to include the data directly, but I don't see any difference in the resulting app.
01:49 * Consul just pulled the trigger and bought an MSI Wind U100. Feel free to tell me I made a huge mistake and wasted all my money, as that's what I'm expecting to hear from everyone now.
01:49
<@Derakon>
Um, is this a joystick?
01:49
<@Consul>
Netbook
01:49
<@Derakon>
Ah.
01:49
<@Consul>
Atom 1.6Ghz, 160GB hard disk, 2GB ram
01:49
<@Derakon>
Find out how well it runs Fusillade~
01:50
<@Consul>
Heh
01:50
<@Consul>
It can't run HD video, so...
01:50
<@Consul>
That's not what I'm getting it for anyway.
01:51
<@Consul>
I want something that can a) do word processing on so I can do *all* of my homework at school, and b) handle a USB audio interface so I can do field recording.
01:51
<@Derakon>
Ahh, got a second report from the guy.
01:52
<@Derakon>
It sounds like some of the files are showing up as Adobe PNGs (e.g. the splash screen) instead of "normal" PNGs.
01:52
<@Derakon>
Basically he said he went through and found a bunch of files that his computer didn't like, so he mucked with them and now it works.
01:52
<@ToxicFrog>
...what software did you use to generate them, incidentally?
01:52
<@McMartin>
Aha, good times then I guess
01:52
<@Derakon>
Mostly Blender, but Photoshop was involved for the splash screen, help screen, etc.
01:52
<@ToxicFrog>
Aah.
01:53
<@Derakon>
Shows what I get for thinking it can be trusted.
01:53
<@ToxicFrog>
(I don't know about PS, but Fireworks is known to have serious issues with PNG generation)
01:53
<@Derakon>
Hrm. For lossless conversion, should I do 'convert foo.png foo.tiff && convert foo.tiff foo.png'?
01:54
<@McMartin>
That would, in fact, be lossless...
01:54
<@McMartin>
TGA would probably work too
02:04
<@Derakon>
Okay, I hope that fixed the problem~
02:08
<@Derakon>
And another good suggestion: hide the mouse during gameplay.
02:15 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
02:26
<@Derakon>
Hrm. Mail::Sendmail doesn't appear to work on my hosting.
02:26
<@Derakon>
...TW's not here, and I'd guess that none of the rest of you have ever had cause to send email from Perl. Oh, well.
03:20
<@Vornicus>
I once debugged a PHP script that sent mail.
03:21
<@ToxicFrog>
Sending mail by hand isn't hard.
03:23
<@Derakon>
I'd rather have an interface between me and the mail.
03:23
<@Derakon>
So I don't have to consciously worry about things like users putting weird characters in their email addresses or something.
03:23
<@ToxicFrog>
HELO hostname; MAIL FROM address; RCPT TO address; DATA
04:23 Serah [~Z@87.72.35.ns-26506] has joined #code
04:24 Serah is now known as NSGuest-410
05:28 * ToxicFrog returns from the shower with an epiphany WRT: error handling in his compiler
06:02 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
06:56 You're now known as TheWatcher
07:11 * TheWatcher readsup, normally just invokes sendmail himself - my $mailcmd = "sendmail -t -f your@adress.com"; open(SENDMAIL, "|$mailcmd"); print SENDMAIL $headers,"\n\n",$body; close(SENDMAIL);
07:12
<@TheWatcher>
also, you should always be worried about users putting unwanted or unexpected data in form fields, as it's always a potential security rist. Turn on tainting and check the fields.
07:13
<@TheWatcher>
It kinda sucks, but it makes your script far less of a risk.
07:13 * Derakon nods.
07:20
<@TheWatcher>
except, of course, that should have been your\@address.com or use single quotes, because it's way too early in th emorning for me to get it right >.<
07:20
<@Derakon>
It's too late in the evening for me to get it right, which is why I'm doing fiddly HTML stuff instead.
07:23 UndeadAnno [~farkoff@Nightstar-29313.neoplus.adsl.tpnet.pl] has joined #Code
07:23 mode/#code [+o UndeadAnno] by ChanServ
07:26 Derakon is now known as Derakon[AFK]
07:29 Derakon[AFK] [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has quit [Quit: Leaving]
08:14 You're now known as TheWatcher[afk]
09:07 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Quit: ]
10:00 You're now known as TheWatcher
10:51 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
11:36 NSGuest-410 [~Z@87.72.35.ns-26506] has quit [Quit: ]
11:57 Searh [~Z@87.72.35.ns-26506] has joined #code
12:16 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
12:16 mode/#code [+o gnolam] by ChanServ
13:52 Searh [~Z@87.72.35.ns-26506] has quit [Ping Timeout]
13:53 You're now known as TheWatcher[d00m]
15:01 You're now known as TheWatcher[afk]
15:03 Searh [~Z@130.227.16.ns-12529] has joined #code
15:08 KBot [AnnoDomini@Nightstar-6936.neoplus.adsl.tpnet.pl] has joined #Code
15:09 UndeadAnno [~farkoff@Nightstar-29313.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:10 KarmaBot [AnnoDomini@Nightstar-29313.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:11 KBot is now known as KarmaBot
15:16 UndeadAnno [~farkoff@Nightstar-6936.neoplus.adsl.tpnet.pl] has joined #Code
15:16 mode/#code [+o UndeadAnno] by ChanServ
16:04 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
16:05 Syloqs_AFH is now known as Syloqs-AFH
17:15 Derakon [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has joined #code
17:15 mode/#code [+o Derakon] by ChanServ
17:29 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
17:30 mode/#code [+o Vornicus] by ChanServ
18:04 You're now known as TheWatcher
18:31 Derakon [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has quit [Operation timed out]
18:53 Finale [c0cb88fd@Nightstar-14595.mibbit.com] has joined #code
18:53
< Finale>
xxx> I sit and read comments in this code. Procedure for determination of access rights. Comment: "Admin has all possible rights, a set of impossible ones, and two improbable ones". How true.
19:07 CBR [~Q8iT@78.154.194.ns-12950] has joined #code
19:08 CBR [~Q8iT@78.154.194.ns-12950] has left #code []
19:21
<@gnolam>
:)
19:21
< Finale>
can I get voice for a second please?
19:39 mode/#code [+v Finale] by gnolam
19:47 Derakon [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has joined #code
19:47 mode/#code [+o Derakon] by ChanServ
20:02 Derakon [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has quit [Ping Timeout]
20:18 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
20:23
<+Finale>
oh! missed it.
20:23
<+Finale>
http://pastie.org/386281
20:28
<@gnolam>
Hah
20:32
<@gnolam>
I think I'll pass that one on to my reenactment mailing list. :)
20:40 Gruber [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
20:41 gnolam is now known as NSGuest-416
20:41 Gruber is now known as gnolam
20:41 NSGuest-416 [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Ping Timeout]
21:01 Derakon [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has joined #code
21:01 mode/#code [+o Derakon] by ChanServ
22:35 UndeadAnno [~farkoff@Nightstar-6936.neoplus.adsl.tpnet.pl] has quit [Quit: Death is always at your back, for all return to the earth from which they came, the fire of life is at the births to come, the tears of a mourning woman are at your left, and the wind blows forth from your right.]
23:38 You're now known as TheWatcher[T-2]
23:42 You're now known as TheWatcher[zZzZ]
23:42
< gnolam>
Bleh.
23:42
< gnolam>
I need a new monitor.
23:42
< gnolam>
Or a larger desk.
23:53
<@Derakon>
Or both~
--- Log closed Thu Feb 12 00:00:38 2009
code logs -> 2009 -> Wed, 11 Feb 2009< code.20090210.log - code.20090212.log >