#musicbrainz-devel

/

      • mb-chat-logger
      • ruaok
        ocharles: is rocko's extra drive working for ya?
      • ocharles
      • upgrade.sh test from a clean import in 1 minute 14 seconds
      • ruaok
        nice
      • ocharles
        we don't have many branches in upgrade.sh yet though
      • no areas, track identifiers, dynamic work attributes, multiple barcodes, or multiple release countries
      • ijabz_ joined the channel
      • ocharles leaves
      • misterswag joined the channel
      • ijabz joined the channel
      • ijabz_ joined the channel
      • nikki_ joined the channel
      • ruaok joined the channel
      • luks
        ocharles: it works in my branch, but not when merged to beta, so I guess something else has changed in between
      • or not, checked it in the wrong branch
      • bandtrace joined the channel
      • bandtrace joined the channel
      • the_metalgamer joined the channel
      • S1RC joined the channel
      • reosarevok joined the channel
      • ijabz joined the channel
      • Ben\Sput joined the channel
      • misterswag joined the channel
      • S1RC
        Hello, not sure if I need to schedule a meeting or ticket to get help with setting up a dev server?
      • reosarevok
        No, just ask and hope someone knows the answers you need :)
      • S1RC
        I've gone through setting up a musicbrainz dev server in an Ubuntu VM. I'm at the point where I'm trying to start the server but I just keep getting this error:
      • Error while loading app.psgi: Can't locate Plack/Middleware/Debug/Base.pm in @INC (@INC contains: lib local/lib/perl5/x86_64-linux-gnu-thread-multi local/lib/perl5 . /usr/share/perl/5.14 /usr/lib/perl/5.14) at /usr/share/perl/5.14/parent.pm line 20.
      • Acka joined the channel
      • I've checked carton install Plack::Middleware::Debug::Base but it's already installed.
      • I have set in my DBDefs.pm sub CATALYST_DEBUG { 0 }, still not working.
      • Acka
        hi everybody
      • ruaok
        hi Acka
      • S1RC
        Hello
      • nikki_
      • ruaok
        S1RC: did you go through the carton install --deployment step?
      • S1RC
        nikki_: I'll give that a try.
      • ruaok: Yes I did go through that. I even went back and manually checked each required with a carton install {module name}
      • Acka
        I was developping a application in music information retrieval and i want to ask you a question, because i have some problems with your web service. hawke_1 help me last week but don't known this time. I have randomly answer "bad request" from your service and when i test url manually with my browser, it works.. could someone help me?
      • ruaok
        what is the request?
      • Acka
        i give you an exemple :http://musicbrainz.org/ws/2/release/?type=xml&query=release%3AAbracadabra+artist%3AFlorent+Pagny
      • ruaok
        and you get a 400 error when you sent outside the browser?
      • what error message do you get?
      • the body of the result has an error message.
      • Acka
        yes but not all the time
      • S1RC
        nikki_: I tried that cpan file, apparently I was still missing 34 modules despite checking each individually. Not I am getting the following:
      • Error while loading app.psgi: Can't locate Catalyst/Plugin/Session/Store/Memcached.pm in @INC (@INC contains: lib local/lib/perl5/x86_64-linux-gnu-thread-multi local/lib/perl5 . /usr/share/perl/5.14 /usr/lib/perl/5.14) at lib/Catalyst/Plugin/Session/Store/MusicBrainz.pm line 3.
      • Memcached is installed.
      • Acka
        want to retrieve relation works from your base, and i start with query and after i try to find relation works in a second request
      • ruaok
        S1RC: memcached might be installed, but the catalyst module that works with memcached isn;t.
      • Acka
        URL (http://musicbrainz.org/ws/2/release/?type=xml&a...) Request Failed - Code: 400 Error: Bad Request
      • ruaok
        are you sending a User-Agent string, Acka ?
      • Acka
        i use a perl user agent, and my header have this information _headers => bless({ "user-agent" => "WebService::MusicBrainz/2" }, "HTTP::Headers")
      • ruaok
        you should set the User Agent to something that we can identify your app with. in case your app makes bad requests and we have to block it.
      • doesn't happen often, but this is good practice.
      • I think we block certain user agents because we want people to provide identifying information.
      • Mineo
        Acka: someone else was having a similar problem a few days ago, somehow his app managed to urlencode even the "?type" and "&query" parts
      • nikki_
      • ruaok
        nikki: not abnormal compared to last month
      • nikki_
        you say that like we notice these things immediately :P
      • S1RC
        ruaok: Error while loading app.psgi: Can't locate Catalyst/Pluruaok: Catalyst::Plugin::Session::Store::Memcached is up to date (0.05), still getting the same error.
      • nikki_ wouldn't be surprised to find the ws randomly gives 400s to people :(
      • Acka
        thanks for the link nikki, but i can't read.. Site need idenfication with login and password.. as your forum, i want to register last week and ask my question and i can't because registering link ask me a passowrd
      • nikki_
        both of them tell you what to do in the popup
      • ruaok
        ianmcorvidae or warp: you about?
      • Acka
        exact.. didn't read
      • sorry
      • nikki_
        you're not the first :)
      • Acka
        I use LWP::UserAgent ruaok
      • ruaok
        yes, i think that one is blocked.
      • nikki_
        but that should be a 503, shouldn't it?
      • ruaok
        you need to use something that ids your app.
      • and ideally one that lets us contact you.
      • nikki: which one?
      • (which one should be a 503?)
      • Mineo
        the get-a-real-useragent-they're-free one
      • Acka
        must just change the name of agent?
      • ruaok
        Acka: yes.
      • Acka
        I try
      • ruaok
      • see section User-Agent
      • nikki_
        ruaok: that page does not mention 400s, only 503s.
      • ruaok
        and in general read this document.
      • then we should fix the docs. but a 400 is the right code for us to return.
      • Ben\Sput joined the channel
      • nikki_
        is it?
      • apparently that's for bad syntax
      • ruaok
        4xx errors are for when the client makes some bad request.
      • and a missing/block User Agent fits that bill in my book.
      • 5xx errors are for when WE made a mistake
      • nikki_
        then 403 seems more appropriate to me
      • ruaok
        maybe we need to pick a differente 4xx erro
      • nikki_: sure. file a bug please.
      • nikki_
        and the docs should be updated too :P
      • ruaok
        add that to the ticket. :)
      • nikki_
        mbh or?
      • aww man, I already had one ticket I was in the middle of reporting >_<
      • hawke_1
        maybe error 418 ;-)
      • ruaok
        nikki: MBS
      • hawke: +1 to that one.
      • ruaok runs off for a phone call
      • hawke_1
        But more seriously, none of the status codes seem appropriate. 403 maybe, kind of.
      • Mineo
        we could hammer some random apis on the internet to find out what they use
      • Acka
        not interessed by a discussion about the number of the code error, want do the right thing to have good answer^
      • hawke_1
        Acka: The right thing to do is to change your user agent, if I understand the above discussion.
      • Acka
        I change my header in the string with something can identify my app
      • hawke_1
        yes
      • Acka
        and I do a test
      • come back in few minutes
      • nikki_
      • S1RC joined the channel
      • S1RC
        I can't seem to find any modules missing, still getting :Error while loading app.psgi: Can't locate Catalyst/Plugin/Session/Store/Memcached.pm in @INC (@INC contains: lib local/lib/perl5/x86_64-linux-gnu-thread-multi local/lib/perl5 . /usr/share/perl/5.14 /usr/lib/perl/5.14) at lib/Catalyst/Plugin/Session/Store/MusicBrainz.pm line 3.
      • andreypopp joined the channel
      • Is there something I have to do after installing the Catalyst::Plugin::Session::Store::Memcached module for it to be recognized?
      • ruaok
        when its properly installed, it should just work.
      • nikki_
      • JonnyJD
        warp: https://bitbucket.org/metabrainz/musicbrainz-se... is blocked on your feedback atm.
      • mb-chat-logger
      • MBJenkins
        * Ian McEwen: MBS-5964: assorted fixups from ocharles' review
      • * Ian McEwen: MBS-6038: don't use the terrible-for-i18n string 'See all {num} {entity}', instead having a string per entity. Also, really use ln for languages without Germanic pluralization rules
      • * Ian McEwen: MBS-6042: add ReleaseCountry predicate in the (remaining) place it is missing
      • * Ian McEwen: MBS-5613: show more information on the 'set cover art' page
      • * Ian McEwen: MBS-5830: show attributes in 'Add Relationship Type' edits
      • * Ian McEwen: MBS-6043: html-escape release/artist titles on homepage
      • alex549us3 joined the channel
      • alex549us3
        I have a question about installing the musicbrainz server..?
      • reosarevok
        Ask!
      • MBJenkins
        Project musicbrainz-server_beta build #390: STILL FAILING in 3 min 36 sec: http://ci.musicbrainz.org/job/musicbrainz-serve...
      • Ian McEwen: Update .pot files
      • alex549us3
        When I try to load the databases I get the following error:
      • Can't exec "./adminInitDb.pl": No such file or directory at /usr/local/share/perl/5.14.2/Carton/CLI.pm line 320.
      • ianmcorvidae
        you missed a slash
      • Acka
        200 documents and no problems ruaok, it look's good . I don't stop it and see if i can go to the end
      • ruaok
        Acka: good
      • ianmcorvidae
        ./admin/InitDb.pl, not ./adminInitDb.pl
      • alex549us3
        Ahh.. Now I feel dumb..
      • MBJenkins
        Ian McEwen: MBS-5964: pass artist_id array correctly, to fix tests
      • ianmcorvidae
        bah
      • alex549us3
        now it's giving me the error:
      • Use of uninitialized value $databaseName in string eq at ./admin/InitDb.pl line 469. Tue Mar 26 18:34:49 2013 : InitDb.pl starting psql: FATAL: Peer authentication failed for user "musicbrainz" psql: FATAL: Peer authentication failed for user "musicbrainz" psql: FATAL: Peer authentication failed for user "musicbrainz" psql: FATAL: Peer authentication failed for user "musicbrainz" Failed to create schema Tue Mar 26
      • : InitDb.pl failed
      • ianmcorvidae
        you need to look into your postgresql permissions
      • if this is a server for yourself, you should just set it to trust with 'local all all trust' above anything else, in pg_hba.conf
      • note that the order in the file is important
      • it looks like it's trying to use ident/peer auth (they're the same, basically)
      • alex549us3
        okay, and that'd be under "# "local" is for Unix domain socket connections only", right?
      • ianmcorvidae
        I don't know how your configuration file is laid out
      • that should be the first non-commented line
      • alex549us3
        Hmm.. Okay.
      • I already have local all all trust on the first non-commented line..