#musicbrainz-devel

/

      • ruaok
        yeah, I have mixed feeling about it.
      • 2014-05-18 13822, 2014

      • ruaok
        I’ll give ‘em this: they have style and taste. even if its a bit too much. :)
      • 2014-05-18 13847, 2014

      • Gentlecat
        also, don't know what date it is in their office, but "Apr 23" doesn't seem right
      • 2014-05-18 13848, 2014

      • Gentlecat
      • 2014-05-18 13808, 2014

      • ianmcorvidae
        heh
      • 2014-05-18 13817, 2014

      • ianmcorvidae
        someone's computer clock is off :P
      • 2014-05-18 13823, 2014

      • Gentlecat
        unless you are in different universe right now
      • 2014-05-18 13853, 2014

      • ruaok
        thats the damn vm I use.
      • 2014-05-18 13802, 2014

      • ruaok
        ntpd refused to work right on that machine. :(
      • 2014-05-18 13809, 2014

      • ruaok
        not sure which way I have to kick it to behave
      • 2014-05-18 13844, 2014

      • Gentlecat
        yay, it works!
      • 2014-05-18 13852, 2014

      • spinza_ joined the channel
      • 2014-05-18 13855, 2014

      • ruaok
        its hard to try and code coherently through jetlag fog. :(
      • 2014-05-18 13858, 2014

      • ruaok
        Gentlecat: yay.
      • 2014-05-18 13859, 2014

      • Gentlecat
        needs more testing probably, but core functionality is ok
      • 2014-05-18 13818, 2014

      • ruaok
        good good. let me work on deployment more.
      • 2014-05-18 13820, 2014

      • Gentlecat
        now I need to build a better UI for submissions
      • 2014-05-18 13800, 2014

      • ianmcorvidae taps foot waiting for the stupid freedb.mb db to vacuum itself :P
      • 2014-05-18 13809, 2014

      • ianmcorvidae
        ha! it heard me
      • 2014-05-18 13848, 2014

      • Gentlecat
      • 2014-05-18 13812, 2014

      • Gentlecat
        is tooltip at the bottom a good indicator?
      • 2014-05-18 13842, 2014

      • ianmcorvidae
        I'd put a background on the whole container on hover
      • 2014-05-18 13851, 2014

      • ianmcorvidae
        like for a selected table row type thing
      • 2014-05-18 13857, 2014

      • Gentlecat
        right
      • 2014-05-18 13803, 2014

      • ianmcorvidae
        (and let you click on the title too, accordingly)
      • 2014-05-18 13837, 2014

      • Gentlecat
        I wish we had artist names there :(
      • 2014-05-18 13859, 2014

      • ianmcorvidae
        I'm sure the spotify API has it, but
      • 2014-05-18 13817, 2014

      • ianmcorvidae
        you might also create an explicit "it's not any of these" point to click
      • 2014-05-18 13830, 2014

      • ianmcorvidae
        (as appears to be the case with your example :P)
      • 2014-05-18 13843, 2014

      • Gentlecat
        it does, but not within a single request http://pastebin.com/TTbuszt8
      • 2014-05-18 13859, 2014

      • ianmcorvidae
        how helpful of them
      • 2014-05-18 13800, 2014

      • ianmcorvidae
        lol
      • 2014-05-18 13807, 2014

      • ianmcorvidae
        looks like their lookup endpoint does, but
      • 2014-05-18 13842, 2014

      • ruaok
        ianmcorvidae: there is a new API that we’re using. if you want the password to use the docs, let me know.
      • 2014-05-18 13843, 2014

      • Gentlecat
        well I can query for each album, but.. yeah
      • 2014-05-18 13806, 2014

      • ianmcorvidae
        hm, as does their ws.spotify.com/search/1/ version
      • 2014-05-18 13815, 2014

      • ianmcorvidae
        which suggests the new API is inferior :P
      • 2014-05-18 13828, 2014

      • ianmcorvidae
        I guess it has images, but
      • 2014-05-18 13841, 2014

      • Gentlecat
        yeah, images a cool
      • 2014-05-18 13800, 2014

      • Gentlecat
        just look at the second one on linked page :D
      • 2014-05-18 13842, 2014

      • ianmcorvidae joined the channel
      • 2014-05-18 13808, 2014

      • Gentlecat
        ianmcorvidae: looks better now?
      • 2014-05-18 13809, 2014

      • ruaok
        > unavailable modifier requested: 0
      • 2014-05-18 13812, 2014

      • ruaok
        thanks uwsgi
      • 2014-05-18 13835, 2014

      • ruaok
        mbspotify is running on sakura!
      • 2014-05-18 13852, 2014

      • ruaok
        in theory getting CB running is more copy pasta.
      • 2014-05-18 13857, 2014

      • ruaok gets pastaing
      • 2014-05-18 13814, 2014

      • Gentlecat
        we probably need to change default keys for CB client there
      • 2014-05-18 13802, 2014

      • Gentlecat
      • 2014-05-18 13812, 2014

      • ruaok
        can you hook me up with a config.py while I do all the other shit?
      • 2014-05-18 13826, 2014

      • Gentlecat
        sure
      • 2014-05-18 13843, 2014

      • Gentlecat
        what's URL for mbspotify?
      • 2014-05-18 13810, 2014

      • ruaok
      • 2014-05-18 13822, 2014

      • ruaok
        of course only works on sakura and is not publicly exposed.
      • 2014-05-18 13807, 2014

      • Gentlecat
        and CB itself?
      • 2014-05-18 13826, 2014

      • ruaok
        I havent gotten there yet.
      • 2014-05-18 13855, 2014

      • ruaok
        well, for now, we need to go with critiquebrainz.musicbrainz.org
      • 2014-05-18 13800, 2014

      • ruaok
        until the domain transfer finishes.
      • 2014-05-18 13806, 2014

      • ruaok
        any idea about this?
      • 2014-05-18 13807, 2014

      • ruaok
      • 2014-05-18 13802, 2014

      • Gentlecat
        ah, sec
      • 2014-05-18 13837, 2014

      • Gentlecat
      • 2014-05-18 13821, 2014

      • Gentlecat
        add params at the beginning of requirements.txt
      • 2014-05-18 13840, 2014

      • ianmcorvidae
        Gentlecat: that does look better, yeah
      • 2014-05-18 13833, 2014

      • JesseW joined the channel
      • 2014-05-18 13841, 2014

      • ruaok blantantly steals the nginx config from rika
      • 2014-05-18 13844, 2014

      • ruaok
        Gentlecat: if you mirror the setup as it is on rika, that will make things nice and easy
      • 2014-05-18 13803, 2014

      • Gentlecat
        it's ugly there
      • 2014-05-18 13805, 2014

      • Gentlecat
        very
      • 2014-05-18 13836, 2014

      • ruaok
        ha. ok.
      • 2014-05-18 13843, 2014

      • ruaok
        then tell me how you’d like to set things up.
      • 2014-05-18 13852, 2014

      • Gentlecat
      • 2014-05-18 13800, 2014

      • Gentlecat
        I've got tow screens with these
      • 2014-05-18 13805, 2014

      • Gentlecat
        two*
      • 2014-05-18 13838, 2014

      • Gentlecat
        ianmcorvidae: suggested uwsgi iirc
      • 2014-05-18 13848, 2014

      • Gentlecat
        but I've got no idea how to set this up
      • 2014-05-18 13819, 2014

      • Nyanko-sensei joined the channel
      • 2014-05-18 13849, 2014

      • ruaok
        aight. I have an hour before we get kicked out of github and have to move to spotify.
      • 2014-05-18 13803, 2014

      • ruaok
        I think I’d rather get this shizzle working before then so I can just go and pass out
      • 2014-05-18 13849, 2014

      • ruaok
        Gentlecat: there will be two ve’s right.
      • 2014-05-18 13857, 2014

      • Gentlecat
        yep
      • 2014-05-18 13801, 2014

      • ruaok
        /home/critiquebrainz/client_ve
      • 2014-05-18 13803, 2014

      • ruaok
        and server_ve ?
      • 2014-05-18 13805, 2014

      • ruaok
        how is that?
      • 2014-05-18 13814, 2014

      • Gentlecat
        venv in both
      • 2014-05-18 13817, 2014

      • ruaok
        k
      • 2014-05-18 13823, 2014

      • ruaok
        wait
      • 2014-05-18 13827, 2014

      • ruaok
        client_venv
      • 2014-05-18 13838, 2014

      • ruaok
        or both in /home/critiquebrainz/venv ?
      • 2014-05-18 13859, 2014

      • Gentlecat
        oh, separate in ./server/ and ./client/
      • 2014-05-18 13822, 2014

      • ruaok is really confused now.
      • 2014-05-18 13834, 2014

      • ruaok backs up
      • 2014-05-18 13841, 2014

      • ruaok
        will there be one or two venvs?
      • 2014-05-18 13830, 2014

      • Gentlecat
        two: /home/critiquebrainz/server/venv and /home/critiquebrainz/client/venv
      • 2014-05-18 13835, 2014

      • ruaok
        thx
      • 2014-05-18 13847, 2014

      • CallerNo6 joined the channel
      • 2014-05-18 13855, 2014

      • ruaok
        and one git repo?
      • 2014-05-18 13858, 2014

      • ruaok
        where I cloned it?
      • 2014-05-18 13859, 2014

      • Gentlecat
        yep
      • 2014-05-18 13801, 2014

      • ruaok
        k
      • 2014-05-18 13835, 2014

      • Nyanko-sensei joined the channel
      • 2014-05-18 13852, 2014

      • d4rkie joined the channel
      • 2014-05-18 13825, 2014

      • ianmcorvidae
        ruaok, Gentlecat: use uwsgi, you'll want to copy from rocko, not rika
      • 2014-05-18 13810, 2014

      • ruaok
        yeah, I already go that impression.
      • 2014-05-18 13821, 2014

      • ruaok
        I’ve got the uwsgi setup almost working
      • 2014-05-18 13823, 2014

      • ruaok
        the server starts
      • 2014-05-18 13827, 2014

      • ruaok
        but the client is… failing.
      • 2014-05-18 13857, 2014

      • ruaok
        ImportError: No module named site
      • 2014-05-18 13804, 2014

      • ruaok
        does that ring a bell, ianmcorvidae ?
      • 2014-05-18 13814, 2014

      • ruaok
        we can’t find anyplace that tries to import site.
      • 2014-05-18 13816, 2014

      • ruaok
        whatever site is.
      • 2014-05-18 13838, 2014

      • ianmcorvidae
      • 2014-05-18 13800, 2014

      • ianmcorvidae
        but no, that doesn't ring any bells
      • 2014-05-18 13809, 2014

      • ianmcorvidae
        it suggests you shouldn't have the /lib/python2.7/site-packages in pythonpath, but that's basically guessing :P
      • 2014-05-18 13840, 2014

      • ianmcorvidae
        geordi seems to use different things for the same tasks, too, specifically home rather than virtualenv and pythonpath rather than chdir
      • 2014-05-18 13834, 2014

      • ianmcorvidae
        I guess home/virtualenv are the same
      • 2014-05-18 13848, 2014

      • ruaok
        we found it.
      • 2014-05-18 13857, 2014

      • ruaok
        the client site wasn’t quite configured yet.
      • 2014-05-18 13802, 2014

      • ruaok
        once Gentlecat finished, it came up ok.
      • 2014-05-18 13808, 2014

      • ianmcorvidae
        ah
      • 2014-05-18 13810, 2014

      • ruaok
        nginx come up with we’re getting a 404.
      • 2014-05-18 13812, 2014

      • ruaok
        closer!
      • 2014-05-18 13831, 2014

      • Gentlecat
        where are you getting that?
      • 2014-05-18 13853, 2014

      • ruaok
      • 2014-05-18 13812, 2014

      • ianmcorvidae
        I still just get the welcome to nginx, with a faked critiquebrainz.org
      • 2014-05-18 13816, 2014

      • ruaok
        has DNS propagated?
      • 2014-05-18 13841, 2014

      • Gentlecat
        (failed) net::ERR_NAME_NOT_RESOLVED
      • 2014-05-18 13847, 2014

      • ruaok
        I have this in DNS:
      • 2014-05-18 13848, 2014

      • ruaok
      • 2014-05-18 13851, 2014

      • ianmcorvidae
        it's not, for mb.org, anyway
      • 2014-05-18 13852, 2014

      • ruaok
        er /etc/hosts
      • 2014-05-18 13805, 2014

      • ruaok
        yeah, I dont think DWNI has dealt with it yet.
      • 2014-05-18 13808, 2014

      • ruaok
        should I call them?
      • 2014-05-18 13824, 2014

      • ruaok
        it would be nice for that to propagate overnight.
      • 2014-05-18 13803, 2014

      • ianmcorvidae
        it seems to be 502ing, from nginx
      • 2014-05-18 13825, 2014

      • ianmcorvidae
        but then it's failing trying to open /etc/nginx/502.html :P
      • 2014-05-18 13803, 2014

      • ruaok
        duely prodded.
      • 2014-05-18 13811, 2014

      • ruaok
        they will make the change now.
      • 2014-05-18 13817, 2014

      • ruaok
        yeah, I haven’t setup the error pages now.
      • 2014-05-18 13822, 2014

      • ruaok
        502?
      • 2014-05-18 13824, 2014

      • warp makes lots of mbids.
      • 2014-05-18 13828, 2014

      • ianmcorvidae
        TypeError: 'Manager' object is not callable
      • 2014-05-18 13838, 2014

      • ianmcorvidae
        in the uwsgi log
      • 2014-05-18 13848, 2014

      • ruaok
        why am I getting 404?
      • 2014-05-18 13827, 2014

      • ruaok
        huh. not sure why that is happening.
      • 2014-05-18 13843, 2014

      • ruaok
        the app object is called manager in manage.py
      • 2014-05-18 13843, 2014

      • ianmcorvidae
        still no /etc/nginx/502.html that I can see, hence still 404 :)
      • 2014-05-18 13856, 2014

      • ianmcorvidae
        you shouldn't be using a manager for uwsgi, probably?
      • 2014-05-18 13814, 2014

      • ruaok
        not sure.
      • 2014-05-18 13815, 2014

      • Gentlecat
        yeah