Here's the traceback. I won't be around tomorrow to work on this but will get back to it as soon as I get home Thursday Oops!
Sorry, something just went wrong in Launchpad. We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience. (Error ID: OOPS-93ba0ac45482be54e1271e15f9eb01e1) Traceback (most recent call last): - Module zope.publisher.publish, line 132, in publish result = publication.callObject(request, obj) - Module lp.services.webapp.publication, line 463, in callObject return mapply(ob, request.getPositionalArguments(), request) - Module zope.publisher.publish, line 107, in mapply return debug_call(obj, args) __traceback_info__: <bound method OpenIDLogin.__call__ of <zope.browserpage.metaconfigure.OpenIDLogin object at 0x7f0367b3b390>> - Module zope.publisher.publish, line 113, in debug_call return obj(*args) - Module lp.services.webapp.publisher, line 443, in __call__ return self.render() - Module lp.services.webapp.login, line 196, in render config.launchpad.openid_provider_root) - Module openid.consumer.consumer, line 347, in begin 'Error fetching XRDS document: %s' % (why[0],), None) DiscoveryFailure: Error fetching XRDS document: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)><br /> On 29 September 2015 at 17:09, William Grant <william.gr...@canonical.com> wrote: > On 29/09/15 16:27, Michael . wrote: > >>The development config uses https://testopenid.dev/ as its OpenID > > provider, which is served by the same app that runs > https://launchpad.dev/. > > Ok. > > > >>Have you tried rebooting to ensure all config changes are in place? > > Yes before I emailed the mailing list. > > > >>What do the Apache logs say about the testopenid.dev request? > > Just read through the logs and did a search for testopenid.dev and there > > is no mention at all. > > Open up lib/lp/app/browser/configure.zcml and remove the element that > mentions DiscoveryFailure. You should get a traceback rather than the > error page without any details. > > >>Are you using Ubuntu 12.04 LTS or 14.04 LTS on the server? > > I'm using 14.04.3 because it is the closest to Debian Jessie which is > > what I use on my machines. > > I would eventually like to get Launchpad running on Debian Jessie but > > I'm happy to work with Ubuntu 14.04 while I am learning about Launchpad. > > I haven't run Launchpad on Debian in several years. It's not > intractable, but doing it without a lot of Python and Debian packaging > experience would be troublesome. > > > On 29 September 2015 at 15:57, William Grant > > <william.gr...@canonical.com <mailto:william.gr...@canonical.com>> > wrote: > > > > On 29/09/15 15:37, Michael . wrote: > > > I finished with Launchpad in VM (so I didn't inadvertently > destroy a > > > good working system) and I have sat down today and installed it on > a > > > production machine. > > > There were a couple of hiccups along the way and each time I had a > > > problem I worked through it till I got past that problem. I then > > > reinstalled my system so it was totally new and up to date. > > > The final time I got it running with no problems and the > > > https://launchpad.dev page loads. I go to log in (I created a user > > > michael and it had a generic email address given by > utilities/make-lp-user . > > > I went to sign in and on the sign in page ( > https://launchpad.dev/+login) > > > and I I get "OpenID Provider Is Unavailable at This Time > > > The openid provider was unavailable. Please try again in a > moment." (I > > > have a screenshot if you want one). > > > I try a few more times but keep getting the same message (which I > > > figured I would). > > > What's going on here? What isn't installed or working properly? > > > I'm happy to do a clean install again because I want to get this > working > > > on my machine before I go any further. > > > Cheers. > > > Michael > > > > The development config uses https://testopenid.dev/ as its OpenID > > provider, which is served by the same app that runs > > https://launchpad.dev/. Have you tried rebooting to ensure all > config > > changes are in place? What do the Apache logs say about the > > testopenid.dev request? Are you using Ubuntu 12.04 LTS or 14.04 LTS > on > > the server? > > > > > On 26 September 2015 at 18:22, Michael . <keltoi...@gmail.com > <mailto:keltoi...@gmail.com> > > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com>>> wrote: > > > > > > Ah ok, just checked and it works. > > > I'll use the old Makefile now and see what happens with > rabbitmq. > > > Thanks for your help. > > > > > > On 26 September 2015 at 15:58, William Grant > > > <william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>>> > > > wrote: > > > > > > On 26/09/15 15:28, Michael . wrote: > > > > Correction, it doesn't tell me that rabbitmq has timed > out. > > > This is the > > > > output the mare run stops at. > > > > 2015-09-26 05:15:51 INFO Killing librarian (3150) > > > > 2015-09-26 05:15:51 INFO Killing launchpad (3148) > > > > bin/run -r > > librarian,google-webservice,memcached,txlongpoll \ > > > > -i development > > > > Removing stale pidfile /var/tmp/development-librarian.pid > > > > ------ > > > > 2015-09-26T15:15:58 WARNING root Developer mode is > enabled: > > > this is a > > > > security risk and should NOT be enabled on production > > servers. > > > Developer > > > > mode can be turned off in etc/zope.conf > > > > ------ > > > > 2015-09-26T15:16:17 INFO Server zope.server.http (HTTP) > > started. > > > > Hostname: michael-RV411-RV511-E3511-S3511-RV711 > > > > Port: 8085 > > > > URL: > http://michael-RV411-RV511-E3511-S3511-RV711:8085/ > > > > ------ > > > > 2015-09-26T15:16:17 INFO PMDBWSGIHTTPServer > zope.server.http > > > > (PostmortemDebuggingHTTP) started. > > > > Hostname: michael-RV411-RV511-E3511-S3511-RV711 > > > > Port: 8088 > > > > URL: > http://michael-RV411-RV511-E3511-S3511-RV711:8088/ > > > > ------ > > > > 2015-09-26T15:16:17 INFO Server zope.server.http > > > (DebugLayerHTTP) started. > > > > Hostname: michael-RV411-RV511-E3511-S3511-RV711 > > > > Port: 8086 > > > > URL: > http://michael-RV411-RV511-E3511-S3511-RV711:8086/ > > > > ------ > > > > 2015-09-26T15:16:17 INFO Server zope.server.http > > > (PrivateXMLRPC) started. > > > > Hostname: michael-RV411-RV511-E3511-S3511-RV711 > > > > Port: 8087 > > > > URL: > http://michael-RV411-RV511-E3511-S3511-RV711:8087/ > > > > ------ > > > > 2015-09-26T15:16:17 INFO root Startup time: 18.689 sec > real, > > > 10.549 sec CPU > > > > > > That means Launchpad is up and running successfully. If > > you've used > > > rocketfuel-setup, you should be able to browse to > > > https://launchpad.dev/. > > > > > > But it took about twice as long to start as I would > expect. I > > > wouldn't > > > try to run an appserver with less than 4GiB of RAM, though > > 2GiB > > > might > > > not be absolutely terrible if you're running 32-bit. > > > > > > > On 26 September 2015 at 15:26, Michael . > > <keltoi...@gmail.com <mailto:keltoi...@gmail.com> > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com>> > > > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com> > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com>>>> wrote: > > > > > > > > I have made a backup of the Makefile (Makefile.old) > and removed all > > > > references do rabbitmq in the original file. Nothing > changes. > > > > I'm starting to think some of this is a ram issue. > How much ram is > > > > the recommended minimum for launchpad to build and > run? > > > > > > > > On 26 September 2015 at 10:34, William Grant > > > > <william.gr...@canonical.com <mailto: > william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com <mailto: > william.gr...@canonical.com>> > > > <mailto:william.gr...@canonical.com <mailto: > william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com <mailto: > william.gr...@canonical.com>>>> > > > > wrote: > > > > > > > > On 26/09/15 05:33, Michael . wrote: > > > > > Sorry for the delay > > > > > Clean install Ubuntu 14.04.3. Followed the > > process' at > > > > > https://dev.launchpad.net/Running Everything > > went as > > > it should until > > > > > make run where I got > > > > > <lp.scripts.runlaunchpad.TxLongPollService > > object at > > > 0x2ab851b3fc50> > > > > > fixture details: > > > > > (not ready yet?) > > > > > Traceback (most recent call last): > > > > > File "bin/run", line 26, in <module> > > > > > > > sys.exit(lp.scripts.runlaunchpad.start_launchpad()) > > > > > File > > > > > > > > > > > "/home/michael/launchpad/lp-branches/devel/lib/lp/scripts/runlaunchpad.py", > > > > > line 436, in start_launchpad > > > > > with nested(*services): > > > > > File "/usr/lib/python2.7/contextlib.py", > > line 17, > > > in __enter__ > > > > > return self.gen.next() > > > > > File "/usr/lib/python2.7/contextlib.py", > > line 112, > > > in nested > > > > > vars.append(enter()) > > > > > [... snip ...] > > > > > Exception: Timeout waiting for RabbitMQ server > to > > > start: log in > > > > > '/tmp/tmpJyCtsY/server.log'. > > > > > make: *** [run] Error 1 > > > > > > > > > > michael@michael-RV411-RV511-E3511-S3511-RV711 > :~/launchpad/lp-branches/devel$ > > > > > > > > > > > > > > > Checked logs and attached them to this > > > > > message.tmpppg...@localhost-sasl.log is empty. > > > > > > > > > > So now rabbitmq is timing out and launchpad > > wont start. > > > > > > > > It works fine for me on a fresh trusty system. > Does > > > everything > > > > work if > > > > you edit Makefile to remove rabbitmq from the > > list of > > > services > > > > to start? > > > > It's not essential for basic usage. > > > > > > > > > Cheers. > > > > > Michael. > > > > > > > > > > On 24 September 2015 at 20:08, Michael . > > > <keltoi...@gmail.com <mailto:keltoi...@gmail.com> > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com>> > > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com> > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com>>> > > > > > <mailto:keltoi...@gmail.com > > <mailto:keltoi...@gmail.com> <mailto:keltoi...@gmail.com > > <mailto:keltoi...@gmail.com>> > > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com> > > <mailto:keltoi...@gmail.com <mailto:keltoi...@gmail.com>>>>> wrote: > > > > > > > > > > Ok I will work on it tomorrow when my mind > > is more alert. > > > > > Thanks for your time and assistance, it is > > appreciated. > > > > > Cheers. > > > > > Michael. > > > > > > > > > > On 24 September 2015 at 19:46, William > Grant > > > > > <william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>>> > > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>> > > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>>>>> > > > > > wrote: > > > > > > > > > > On 24/09/15 19:32, Michael . wrote: > > > > > > I am currently cleaning up my > system. I > > > will do a fresh install tomorrow > > > > > > and post the results but as I said I > > have > > > been able to get passed that > > > > > > error and get stuck on a different > error > > > later on. The "librarian" and > > > > > > now the rabbit time out is what I > would > > > like to work on as they are the > > > > > > errors that are stopping me. > > > > > > > > > > The librarian error is fallout from > > the bad > > > database setup. I've > > > > > updated > > > > > the manual instructions on the wiki > (the > > > problem you ran into was > > > > > probably lack of IPv6 auth config), > > but you > > > should work out why > > > > > launchpad-database-setup is failing. It > > > looks like the script is > > > > > corrupt, or your /bin/sh is weird, or > > > something similarly sinister. > > > > > > > > > > > On 24 September 2015 at 19:13, > > William Grant > > > > > > <william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>>> > > > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>>>> > > > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>> > > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>>> > > > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>> > > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com> > > > <mailto:william.gr...@canonical.com > > <mailto:william.gr...@canonical.com>>>>>> wrote: > > > > > > > > > > > > On 24/09/15 18:56, Michael . > wrote: > > > > > > > I have noticed that many things > > > about LP see > > > > to be aged > > > > > but when that is > > > > > > > what is available it is what > > people > > > will use. > > > > > > > Anyway, below is a copy of the > > > output from a > > > > new setup > > > > > > > > > > > > > > > > > > > > > michael@michael-RV411-RV511-E3511-S3511-RV711 > :~/launchpad/lp-branches/devel$ > > > > > > > > > ./utilities/launchpad-database-setup > > > michael > > > > > > > <snip> > > > > > > > * Starting PostgreSQL 9.3 > > database > > > > > > > server > > > > > > > [ OK ] > > > > > > > Waiting 10 seconds for > > postgresql to > > > come up... > > > > > > > Creating postgresql user $ > > > > > > > > > > > > That's a bit suspicious; it > > should say > > > "Creating > > > > > postgresql user > > > > > > michael". Can you paste the full > > output of > > > > > launchpad-database-setup? Is > > > > > > your /bin/sh a symlink to a shell > > > other than > > > > dash or bash? > > > > > > > > > > > > William. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp