#musicbrainz-devel

/

      • SexyKen
        Anyone around here who may be able to help me? Can't get musicbrainz server to start: http://pastebin.com/bth9nEMK
      • ocharles: around by any chance?
      • reosarevok
        Afraid he's on holiday for a few days
      • SexyKen
        shucks.
      • demosdemon joined the channel
      • doskir joined the channel
      • kepstin joined the channel
      • navap
        kepstin: heh, thank you, thank you. I'll try and slip an 'eh' into there :)
      • kepstin
        heh
      • navap
        I notice Picard has '>' and '<' as translatable strings, are they supposed to be there?
      • kepstin: Do we spell it catalog or catalogue?
      • kepstin
        navap: I've been using catalogue
      • (the only thing I've really done so far was replace all the 'catalog' strings I could find with 'catalogue' ;)
      • navap
      • kepstin
        oh, I've only looked at server
      • picard was added since I last checked :)
      • navap
        Ah, I've only looked at picard
      • kepstin
        feel free to do stuff like put in fancy punctuation “”… in the translations
      • huh, those < > strings are weird
      • ianmcorvidae
        everything has probably changed since you last looked :P
      • kepstin
        ianmcorvidae: a bit, yeah :)
      • that's where the < > are from
      • navap
        heh
      • kepstin would translate them as ← and → :)
      • What happens when source strings change? Do the translated strings get removed?
      • kepstin
        hmm. most places turn them into 'fuzzy' strings, which are left in place, but marked as needing review
      • I dunno how transifex handles it
      • navap
        I just came across five instances of 'other' for server
      • That's not right, right?
      • kepstin
        mmm, server has some redundancies in it.
      • that's the official list of country names in Canadian English and French
      • ianmcorvidae|alt joined the channel
      • ianmcorvidae
        kepstin: yeah, we have lots of redundancies
      • navap: there should be five in attributes
      • because of case differences in other languages, they're from different tables
      • in server, unsure
      • incidentally, transifex tends to break things when source strings change
      • navap
        Ah, you're right they're in attributes
      • ianmcorvidae
        which is why we back up everything hourly :)
      • yeah; if you open up the details thing you'll see they have different context strings
      • (which are tables, in this case)
      • the eo translation actually has slightly different translations for some of them, so it's even been useful :P
      • in any case, gettext doesn't actually even *allow* duplicates unless they have different msgctxt strings
      • so if you see duplicates, they're either distinguished somehow, probably being stupidly hidden by transifex, or they're in different domains
      • (there's probably some redundancy between statistics and server, but probably not anywhere else unless someone put a literal name from the DB into a string somewhere, which would be stupid)
      • (of course, with and without . or : or whatever is still redundant, but different enough gettext won't complain :/)
      • bitmap
        luks: do you think it's worth deciding what to do with release types in picard before 1.0?
      • Prophet5_ joined the channel
      • Prophet5 joined the channel
      • ijabz_ joined the channel
      • ijabz joined the channel
      • Mineo joined the channel
      • SexyKen
        I was told to find a mbcontrol script here: http://paste.pocoo.org/show/555245/ but it no longer exists?any ideas?
      • ijabz joined the channel
      • reosarevok joined the channel
      • I was told to find a mbcontrol script here: http://paste.pocoo.org/show/555245/ but it no longer exists?any ideas?
      • ianmcorvidae|alt joined the channel
      • ianmcorvidae joined the channel
      • luks
        bitmap: I'm fine with releasing 1.0 without that
      • SexyKen
        shit?finally got musicbrainz installed but my mirror aint showing some updated info.
      • reosarevok
        Do you have replication set up?
      • (it will always run 1 h behind the main server, in any case)
      • SexyKen
        I think so? :\ To be honest, I'm not sure, lol?.
      • Just need a cron with "carton exec -- ./admin/replication/LoadReplicationChanges" right?
      • I love you bro.
      • ianmcorvidae
        SexyKen: what finally got it working?
      • SexyKen
        ianmcorvidae: You betcha! you are the man. updated cpan and started all over. a bunch of shit still didn't get installed by carton, so did all as "carton install bologne" and the final test?launching?and it worked!
      • ianmcorvidae
        ah, cool
      • so I guess it was just some weird cpan dependencies problem on your particular platform
      • at least you got it working finally :)
      • SexyKen
        !
      • Just gotta get updates to load auto and stuff
      • Any ideas for auto start and update? :)
      • ianmcorvidae
        for update, you should be able to add 'carton exec <absolute path to /admin/cron/slave.sh>' to run at 10 minutes after the hour
      • in crontab
      • LoadReplicationChanges would also work, but slave.sh has better logging
      • SexyKen
        Hmm, logs rotated or no?
      • My wife wants some info for Flo Rida from 2012 but mu mirrors not showing anything
      • Mineo joined the channel
      • doskir_ joined the channel
      • Mineo_ joined the channel
      • the_metalgamer joined the channel
      • kurtjx joined the channel
      • kurtjx joined the channel
      • bitmap joined the channel
      • reosarevok_ joined the channel
      • plaintext joined the channel
      • ijabz_ joined the channel
      • ijabz joined the channel
      • kurtjx joined the channel
      • ijabz joined the channel
      • bitmap
        luks: I think I fixed all the tickets I wanted to get in, so we can release any time today or tomorrow
      • luks
        bitmap: how do you feel about the copy files patch?
      • bitmap
        I haven't looked at it yet, I can do that now
      • luks
        no, not necessary
      • I'd rather not include it in this release
      • and I don't have any other changes on my mind
      • bitmap
        okay, well I'll look at it later anyway :)
      • I should mention the new tag comparison in NEWS, I don't see it there
      • alastairp
        how can I tell plack to listen on 127.0.0.1 not 0.0.0.0?
      • ianmcorvidae
        alastairp: probably with the --listen directive
      • alastairp
        yeah, just found that
      • ianmcorvidae
        alastairp: but search 'plackup' on metacpan, that should give you everything you need
      • alastairp
        wondered if I could put it in the .psgi file
      • ianmcorvidae
        nah
      • for rika I just wrote a script to run the servers
      • rika is also using fastcgi and such of course, but
      • alastairp
        right
      • hmm, maybe you can help here
      • so, I have plack running the devserver
      • on :5000
      • and nginx on :80
      • ianmcorvidae
        ah
      • I'd recommend using plack with FCGI on a unix socket, if you're passing to nginx
      • alastairp
        ok, sure
      • ianmcorvidae
        look at the sample nginx configuration for beta
      • alastairp
        and will that still reload the site and stuff on changes?
      • ianmcorvidae
        for the nginx end
      • alastairp
        "for beta"?
      • ianmcorvidae
        if you pass -r to plackup it still will
      • alastairp
        cool
      • ianmcorvidae
        admin/nginx/002-beta
      • alastairp
        what's the args to plackup to make it fcggi?
      • ianmcorvidae
        -s FCGI
      • alastairp
        thankms
      • ianmcorvidae
        and --listen for that can take a file path (for UNIX sockets)
      • rika's run.sh is just: carton exec -- plackup -Ilib -s FCGI --listen $HOME/.fcgi.socket -r
      • (well, after a cd into the proper directory)
      • alastairp
        2012/06/02 13:03:20 [error] 1556#0: *1 FastCGI sent in stderr: "[error] Caught exception in MusicBrainz::Server::Controller::Root->begin "Can't locate object method "forget_dead_hosts" via package "Cache::Memcached::Fast" at local/lib/perl5/Cache/Memcached/Managed.pm line 765."" while reading upstream, client: 174.91.230.205,
      • does fcgi do memcache differently?
      • ianmcorvidae
        no
      • don't use Cache::Memcached::Fast for sessions
      • alastairp
        well, I wasn't!
      • :)
      • ianmcorvidae
        get rid of the "memcached_class => 'Cache::Memcached::Fast'" that's in SESSION_STORE_ARGS
      • the Cache::Memcached and Cache::Memcached::Fast interfaces aren't the same, sadly
      • alastairp
        so, what differed between the 2?
      • meaning, I'm pretty sure I wasn't seeing it when plack was hosting directly
      • thanks
      • ianmcorvidae
        shouldn't really make a difference, maybe you hadn't logged in before?
      • but cool, anyway
      • alastairp
        nah, it was when I was just hitting /
      • shrug
      • bitmap
        luks: should the version be updated to 1.0 final?
      • ianmcorvidae
        yeah, who knows -- I don't remember how Cache::Memcached::Managed decides if it needs to take the branch that hits forget_dead_hosts
      • may be some incidental thing
      • alastairp
        ianmcorvidae: ah. that might be it