November 25, 2002

Nightly recap

Quick entry since I wrote so much today.

Went to dinner with parents at the Melting Pot. Good dinner. Couldn’t taste the difference between the Caribbean and the Coq au Vin (sp?) cooking styles. Played shortbus25a and cornrows (I think) in TFC tonight; I was late for practice, bad darky! shortbus25a is fun because there’s an actual bus I get to ride. I’m a sucker for gimmicks.

Attempted to work on DarkWiki some. Re-did the way user interfaces are going to work. Not totally sure I like it, or that it offers enough, but it kind of seems to work. One thing I’m not sure about is whether session selecting for the operating context should be done in the view or the application. It would be nice in the interface (view), at least for HTTP/HTML, but I think it belongs in the controller. That’s probably where it’ll sit. The controller already needs to know a bit about what kind of interface it’s using, I think. Of course, I could probably get around that to an extent too.

Tested sound on darkbook (the Powerbook). Gnome wasn’t set to start esd automatically, so I set that then logged out and back in. xmms wasn’t playing files, but it wasn’t because of the sound card, it was because it couldn’t read the MP3s from the SMB share I had mounted:

smb_open: Genesis/02. Everybody Rise Again.mp3 open failed, result=-13
smb_readpage_sync: Genesis/02. Everybody Rise Again.mp3 open failed, error=-13

Lots of errors like that. cp said “Permission denied” when I tried to access the file — though I believe it started to make the destination file, which I don’t think it would usually. Maybe it makes a call to access(2) before opening the destination. So if access(2) falsely returns OK, it might open the destination then get the permission denied when it actually goes to open it. xmms doesn’t give me any errors at all, though, which is probably bad. (Even mpg123 gave me a “Bus error”. Of course, that’s potentially worse than no error. With no error you know you have to look elsewhere to see what’s going on. With an incorrect error message you might go barking up the wrong tree for hours.) At any rate, I just used SecureFX to SFTP the file from my windows machine to darkbook: I’ll figure out SMB problems some other day. (Note that smbclient didn’t work either, so either my Win2k box is at fault or my samba package is.) After copying the file to the local drive, xmms played it just fine. Well done. My only minor complaint is that the range for the volume setting might not be great enough; i.e., I can’t get it quiet enough, at least on the speakers. Perhaps I shall try some headphones some day.

Off to bed now hopefully. Need to get up around 1000 tomorrow.

Comments (1)

  1. October 2, 2003
    Anonymous said...

    Once I had similar symptoms:
    smb_open: //.directory open failed, result=-13
    smb_readpage_sync: //.directory open failed, result=-13

    It turned out, that file (the .directory file on the share) had no proper permissions to be opened by users. After changing those privileges it worked fine.

    Bye ASZA

Leave a Reply