#musicbrainz-devel

/

      • SexyKen
        Anyone around here who may be able to help me? Can't get musicbrainz server to start: http://pastebin.com/bth9nEMK
      • 2012-06-02 15418, 2012

      • SexyKen
        ocharles: around by any chance?
      • 2012-06-02 15410, 2012

      • reosarevok
        Afraid he's on holiday for a few days
      • 2012-06-02 15439, 2012

      • SexyKen
        shucks.
      • 2012-06-02 15408, 2012

      • demosdemon joined the channel
      • 2012-06-02 15423, 2012

      • doskir joined the channel
      • 2012-06-02 15416, 2012

      • kepstin joined the channel
      • 2012-06-02 15421, 2012

      • navap
        kepstin: heh, thank you, thank you. I'll try and slip an 'eh' into there :)
      • 2012-06-02 15458, 2012

      • kepstin
        heh
      • 2012-06-02 15437, 2012

      • navap
        I notice Picard has '>' and '<' as translatable strings, are they supposed to be there?
      • 2012-06-02 15407, 2012

      • navap
        kepstin: Do we spell it catalog or catalogue?
      • 2012-06-02 15420, 2012

      • kepstin
        navap: I've been using catalogue
      • 2012-06-02 15449, 2012

      • kepstin
        (the only thing I've really done so far was replace all the 'catalog' strings I could find with 'catalogue' ;)
      • 2012-06-02 15444, 2012

      • navap
      • 2012-06-02 15410, 2012

      • kepstin
        oh, I've only looked at server
      • 2012-06-02 15417, 2012

      • kepstin
        picard was added since I last checked :)
      • 2012-06-02 15452, 2012

      • navap
        Ah, I've only looked at picard
      • 2012-06-02 15452, 2012

      • kepstin
        feel free to do stuff like put in fancy punctuation “”… in the translations
      • 2012-06-02 15409, 2012

      • kepstin
        huh, those < > strings are weird
      • 2012-06-02 15429, 2012

      • ianmcorvidae
        everything has probably changed since you last looked :P
      • 2012-06-02 15442, 2012

      • kepstin
        ianmcorvidae: a bit, yeah :)
      • 2012-06-02 15418, 2012

      • kepstin
      • 2012-06-02 15424, 2012

      • kepstin
        that's where the < > are from
      • 2012-06-02 15434, 2012

      • navap
        heh
      • 2012-06-02 15434, 2012

      • kepstin would translate them as ← and → :)
      • 2012-06-02 15416, 2012

      • navap
        What happens when source strings change? Do the translated strings get removed?
      • 2012-06-02 15449, 2012

      • kepstin
        hmm. most places turn them into 'fuzzy' strings, which are left in place, but marked as needing review
      • 2012-06-02 15454, 2012

      • kepstin
        I dunno how transifex handles it
      • 2012-06-02 15455, 2012

      • navap
        I just came across five instances of 'other' for server
      • 2012-06-02 15414, 2012

      • navap
        That's not right, right?
      • 2012-06-02 15433, 2012

      • kepstin
        mmm, server has some redundancies in it.
      • 2012-06-02 15412, 2012

      • kepstin
      • 2012-06-02 15424, 2012

      • kepstin
        that's the official list of country names in Canadian English and French
      • 2012-06-02 15420, 2012

      • ianmcorvidae|alt joined the channel
      • 2012-06-02 15443, 2012

      • ianmcorvidae
        kepstin: yeah, we have lots of redundancies
      • 2012-06-02 15447, 2012

      • ianmcorvidae
        navap: there should be five in attributes
      • 2012-06-02 15456, 2012

      • ianmcorvidae
        because of case differences in other languages, they're from different tables
      • 2012-06-02 15404, 2012

      • ianmcorvidae
        in server, unsure
      • 2012-06-02 15429, 2012

      • ianmcorvidae
        incidentally, transifex tends to break things when source strings change
      • 2012-06-02 15451, 2012

      • navap
        Ah, you're right they're in attributes
      • 2012-06-02 15402, 2012

      • ianmcorvidae
        which is why we back up everything hourly :)
      • 2012-06-02 15426, 2012

      • ianmcorvidae
        yeah; if you open up the details thing you'll see they have different context strings
      • 2012-06-02 15440, 2012

      • ianmcorvidae
        (which are tables, in this case)
      • 2012-06-02 15455, 2012

      • ianmcorvidae
        the eo translation actually has slightly different translations for some of them, so it's even been useful :P
      • 2012-06-02 15446, 2012

      • ianmcorvidae
        in any case, gettext doesn't actually even *allow* duplicates unless they have different msgctxt strings
      • 2012-06-02 15403, 2012

      • ianmcorvidae
        so if you see duplicates, they're either distinguished somehow, probably being stupidly hidden by transifex, or they're in different domains
      • 2012-06-02 15401, 2012

      • ianmcorvidae
        (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)
      • 2012-06-02 15430, 2012

      • ianmcorvidae
        (of course, with and without . or : or whatever is still redundant, but different enough gettext won't complain :/)
      • 2012-06-02 15427, 2012

      • bitmap
        luks: do you think it's worth deciding what to do with release types in picard before 1.0?
      • 2012-06-02 15420, 2012

      • Prophet5_ joined the channel
      • 2012-06-02 15407, 2012

      • Prophet5 joined the channel
      • 2012-06-02 15409, 2012

      • ijabz_ joined the channel
      • 2012-06-02 15452, 2012

      • ijabz joined the channel
      • 2012-06-02 15431, 2012

      • Mineo joined the channel
      • 2012-06-02 15438, 2012

      • SexyKen
        I was told to find a mbcontrol script here: http://paste.pocoo.org/show/555245/ but it no longer exists?any ideas?
      • 2012-06-02 15434, 2012

      • ijabz joined the channel
      • 2012-06-02 15420, 2012

      • reosarevok joined the channel
      • 2012-06-02 15452, 2012

      • SexyKen
        I was told to find a mbcontrol script here: http://paste.pocoo.org/show/555245/ but it no longer exists?any ideas?
      • 2012-06-02 15413, 2012

      • ianmcorvidae|alt joined the channel
      • 2012-06-02 15406, 2012

      • ianmcorvidae joined the channel
      • 2012-06-02 15402, 2012

      • luks
        bitmap: I'm fine with releasing 1.0 without that
      • 2012-06-02 15418, 2012

      • SexyKen
        shit?finally got musicbrainz installed but my mirror aint showing some updated info.
      • 2012-06-02 15433, 2012

      • reosarevok
        Do you have replication set up?
      • 2012-06-02 15453, 2012

      • reosarevok
        (it will always run 1 h behind the main server, in any case)
      • 2012-06-02 15427, 2012

      • SexyKen
        I think so? :\ To be honest, I'm not sure, lol?.
      • 2012-06-02 15445, 2012

      • SexyKen
        Just need a cron with "carton exec -- ./admin/replication/LoadReplicationChanges" right?
      • 2012-06-02 15450, 2012

      • SexyKen
        I love you bro.
      • 2012-06-02 15437, 2012

      • ianmcorvidae
        SexyKen: what finally got it working?
      • 2012-06-02 15409, 2012

      • 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!
      • 2012-06-02 15420, 2012

      • ianmcorvidae
        ah, cool
      • 2012-06-02 15445, 2012

      • ianmcorvidae
        so I guess it was just some weird cpan dependencies problem on your particular platform
      • 2012-06-02 15452, 2012

      • ianmcorvidae
        at least you got it working finally :)
      • 2012-06-02 15452, 2012

      • SexyKen
        !
      • 2012-06-02 15419, 2012

      • SexyKen
        Just gotta get updates to load auto and stuff
      • 2012-06-02 15443, 2012

      • SexyKen
        Any ideas for auto start and update? :)
      • 2012-06-02 15456, 2012

      • 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
      • 2012-06-02 15409, 2012

      • ianmcorvidae
        in crontab
      • 2012-06-02 15427, 2012

      • ianmcorvidae
        LoadReplicationChanges would also work, but slave.sh has better logging
      • 2012-06-02 15452, 2012

      • SexyKen
        Hmm, logs rotated or no?
      • 2012-06-02 15449, 2012

      • SexyKen
        My wife wants some info for Flo Rida from 2012 but mu mirrors not showing anything
      • 2012-06-02 15437, 2012

      • Mineo joined the channel
      • 2012-06-02 15442, 2012

      • doskir_ joined the channel
      • 2012-06-02 15404, 2012

      • Mineo_ joined the channel
      • 2012-06-02 15454, 2012

      • the_metalgamer joined the channel
      • 2012-06-02 15449, 2012

      • kurtjx joined the channel
      • 2012-06-02 15416, 2012

      • kurtjx joined the channel
      • 2012-06-02 15447, 2012

      • bitmap joined the channel
      • 2012-06-02 15443, 2012

      • reosarevok_ joined the channel
      • 2012-06-02 15445, 2012

      • plaintext joined the channel
      • 2012-06-02 15414, 2012

      • ijabz_ joined the channel
      • 2012-06-02 15438, 2012

      • ijabz joined the channel
      • 2012-06-02 15413, 2012

      • kurtjx joined the channel
      • 2012-06-02 15406, 2012

      • ijabz joined the channel
      • 2012-06-02 15431, 2012

      • bitmap
        luks: I think I fixed all the tickets I wanted to get in, so we can release any time today or tomorrow
      • 2012-06-02 15409, 2012

      • luks
        bitmap: how do you feel about the copy files patch?
      • 2012-06-02 15435, 2012

      • bitmap
        I haven't looked at it yet, I can do that now
      • 2012-06-02 15450, 2012

      • luks
        no, not necessary
      • 2012-06-02 15414, 2012

      • luks
        I'd rather not include it in this release
      • 2012-06-02 15428, 2012

      • luks
        and I don't have any other changes on my mind
      • 2012-06-02 15450, 2012

      • bitmap
        okay, well I'll look at it later anyway :)
      • 2012-06-02 15444, 2012

      • bitmap
        I should mention the new tag comparison in NEWS, I don't see it there
      • 2012-06-02 15400, 2012

      • alastairp
        how can I tell plack to listen on 127.0.0.1 not 0.0.0.0?
      • 2012-06-02 15412, 2012

      • ianmcorvidae
        alastairp: probably with the --listen directive
      • 2012-06-02 15418, 2012

      • alastairp
        yeah, just found that
      • 2012-06-02 15421, 2012

      • ianmcorvidae
        alastairp: but search 'plackup' on metacpan, that should give you everything you need
      • 2012-06-02 15436, 2012

      • alastairp
        wondered if I could put it in the .psgi file
      • 2012-06-02 15422, 2012

      • ianmcorvidae
        nah
      • 2012-06-02 15429, 2012

      • ianmcorvidae
        for rika I just wrote a script to run the servers
      • 2012-06-02 15438, 2012

      • ianmcorvidae
        rika is also using fastcgi and such of course, but
      • 2012-06-02 15435, 2012

      • alastairp
        right
      • 2012-06-02 15439, 2012

      • alastairp
        hmm, maybe you can help here
      • 2012-06-02 15447, 2012

      • alastairp
        so, I have plack running the devserver
      • 2012-06-02 15453, 2012

      • alastairp
        on :5000
      • 2012-06-02 15457, 2012

      • alastairp
        and nginx on :80
      • 2012-06-02 15408, 2012

      • ianmcorvidae
        ah
      • 2012-06-02 15421, 2012

      • ianmcorvidae
        I'd recommend using plack with FCGI on a unix socket, if you're passing to nginx
      • 2012-06-02 15426, 2012

      • alastairp
        ok, sure
      • 2012-06-02 15427, 2012

      • ianmcorvidae
        look at the sample nginx configuration for beta
      • 2012-06-02 15434, 2012

      • alastairp
        and will that still reload the site and stuff on changes?
      • 2012-06-02 15435, 2012

      • ianmcorvidae
        for the nginx end
      • 2012-06-02 15441, 2012

      • alastairp
        "for beta"?
      • 2012-06-02 15443, 2012

      • ianmcorvidae
        if you pass -r to plackup it still will
      • 2012-06-02 15448, 2012

      • alastairp
        cool
      • 2012-06-02 15457, 2012

      • ianmcorvidae
        admin/nginx/002-beta
      • 2012-06-02 15403, 2012

      • alastairp
        what's the args to plackup to make it fcggi?
      • 2012-06-02 15413, 2012

      • ianmcorvidae
        -s FCGI
      • 2012-06-02 15418, 2012

      • alastairp
        thankms
      • 2012-06-02 15443, 2012

      • ianmcorvidae
        and --listen for that can take a file path (for UNIX sockets)
      • 2012-06-02 15455, 2012

      • ianmcorvidae
        rika's run.sh is just: carton exec -- plackup -Ilib -s FCGI --listen $HOME/.fcgi.socket -r
      • 2012-06-02 15404, 2012

      • ianmcorvidae
        (well, after a cd into the proper directory)
      • 2012-06-02 15454, 2012

      • 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,
      • 2012-06-02 15401, 2012

      • alastairp
        does fcgi do memcache differently?
      • 2012-06-02 15404, 2012

      • ianmcorvidae
        no
      • 2012-06-02 15411, 2012

      • ianmcorvidae
        don't use Cache::Memcached::Fast for sessions
      • 2012-06-02 15419, 2012

      • alastairp
        well, I wasn't!
      • 2012-06-02 15428, 2012

      • alastairp
        :)
      • 2012-06-02 15452, 2012

      • ianmcorvidae
        get rid of the "memcached_class => 'Cache::Memcached::Fast'" that's in SESSION_STORE_ARGS
      • 2012-06-02 15424, 2012

      • ianmcorvidae
        the Cache::Memcached and Cache::Memcached::Fast interfaces aren't the same, sadly
      • 2012-06-02 15458, 2012

      • alastairp
        so, what differed between the 2?
      • 2012-06-02 15409, 2012

      • alastairp
        meaning, I'm pretty sure I wasn't seeing it when plack was hosting directly
      • 2012-06-02 15436, 2012

      • alastairp
      • 2012-06-02 15437, 2012

      • alastairp
        thanks
      • 2012-06-02 15446, 2012

      • ianmcorvidae
        shouldn't really make a difference, maybe you hadn't logged in before?
      • 2012-06-02 15454, 2012

      • ianmcorvidae
        but cool, anyway
      • 2012-06-02 15452, 2012

      • alastairp
        nah, it was when I was just hitting /
      • 2012-06-02 15415, 2012

      • alastairp
        shrug
      • 2012-06-02 15430, 2012

      • bitmap
        luks: should the version be updated to 1.0 final?
      • 2012-06-02 15443, 2012

      • 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
      • 2012-06-02 15450, 2012

      • ianmcorvidae
        may be some incidental thing
      • 2012-06-02 15408, 2012

      • alastairp
        ianmcorvidae: ah. that might be it