*** tpb has joined #melange | 00:00 | |
*** scorche has quit IRC | 02:08 | |
*** BlankVerse has joined #melange | 03:11 | |
*** lresende has joined #melange | 03:21 | |
*** BlankVerse has quit IRC | 04:29 | |
*** BlankVerse has joined #melange | 04:31 | |
*** BlankVerse has quit IRC | 07:33 | |
*** aureianimus has joined #melange | 07:56 | |
*** BlankVerse has joined #melange | 08:19 | |
*** asmeurer has quit IRC | 08:42 | |
*** m1k3y has quit IRC | 08:50 | |
*** madrazr has joined #melange | 08:53 | |
*** ChanServ sets mode: +o madrazr | 08:53 | |
*** madrazr has quit IRC | 08:57 | |
*** madrazr has joined #melange | 09:00 | |
*** ChanServ sets mode: +o madrazr | 09:00 | |
*** SRabbelier|Lappy has joined #melange | 09:11 | |
*** ChanServ sets mode: +o SRabbelier|Lappy | 09:11 | |
*** m1k3y has joined #melange | 09:21 | |
aureianimus | SRabbelier|Lappy, hallo (pim hier) | 09:27 |
---|---|---|
SRabbelier|Lappy | aureianimus: hi | 09:29 |
SRabbelier|Lappy | (brb) | 09:32 |
*** SRabbelier|Lappy has quit IRC | 09:32 | |
*** m1k3y_ has joined #melange | 09:37 | |
*** m1k3y has quit IRC | 09:37 | |
*** SRabbelier|Lappy has joined #melange | 09:45 | |
*** ChanServ sets mode: +o SRabbelier|Lappy | 09:45 | |
SRabbelier|Lappy | aureianimus: hi again | 09:46 |
*** tansell-laptop has quit IRC | 09:46 | |
aureianimus | SRabbelier|Lappy, hi again :) So, i'm trying to compile melange but it stuffs on an _sqlite3 import error, and this: http://stackoverflow.com/questions/2665337/importerror-no-module-named-sqlite3 says i can ignore it, since gae doesn't support it, is that right? | 10:19 |
tpb | <http://ln-s.net/8vpD> (at stackoverflow.com) | 10:19 |
SRabbelier|Lappy | aureianimus: well, it crashes right? | 10:42 |
aureianimus | ehm, i'm trying to compile locally and it gives an error if that counts as crashing | 10:43 |
aureianimus | thirdparty/google_appengine/dev_appserver.py build | 10:43 |
SRabbelier|Lappy | aureianimus: what os are you compiling on? | 10:45 |
aureianimus | ubuntu | 10:45 |
SRabbelier|Lappy | aureianimus: doesn't that come with python2.6 by default? | 10:46 |
SRabbelier|Lappy | (including the python bindings for sqlite) | 10:46 |
aureianimus | ehm, i have 2.6 and 2.7 | 10:46 |
aureianimus | should i use one of those? | 10:46 |
SRabbelier|Lappy | aureianimus: yeah, that should help :) | 10:50 |
aureianimus | well, they give the same error on "import _sqlite3) | 10:50 |
aureianimus | but a different error upon the build command | 10:50 |
aureianimus | File "/home/pim/source/melange/thirdparty/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line 341, in <module> | 10:50 |
aureianimus | class FancyHTTPSHandler(urllib2.HTTPSHandler): | 10:50 |
aureianimus | AttributeError: 'module' object has no attribute 'HTTPSHandler' | 10:50 |
aureianimus | (with 2.7, i actually don't have 2.6, just thought i did) | 10:51 |
SRabbelier|Lappy | aureianimus: needs ssl | 10:56 |
SRabbelier|Lappy | aureianimus: apt-cache search python sslĀ | 10:56 |
SRabbelier|Lappy | aureianimus: try 'sudo aptitude install python-openssl' | 10:58 |
aureianimus | got that one | 10:58 |
aureianimus | and openssl too | 10:58 |
SRabbelier|Lappy | aureianimus: what does `python2.7 -c 'import ssl'` | 11:01 |
aureianimus | Traceback (most recent call last): | 11:01 |
aureianimus | File "<string>", line 1, in <module> | 11:01 |
aureianimus | File "/usr/local/lib/python2.7/ssl.py", line 60, in <module> | 11:01 |
aureianimus | import _ssl # if we can't import it, let the error propagate | 11:01 |
aureianimus | ImportError: No module named _ssl | 11:01 |
SRabbelier|Lappy | aureianimus: sudo aptitude install apt-cache search python sslĀ | 11:02 |
SRabbelier|Lappy | err | 11:02 |
SRabbelier|Lappy | python2.7-openssl | 11:02 |
aureianimus | python-openssl - Python wrapper around the OpenSSL library | 11:03 |
aureianimus | alreayd at newest version | 11:04 |
SRabbelier|Lappy | aureianimus: uh.... sudo easy_install-2.7 ssl | 11:04 |
aureianimus | from where? | 11:05 |
SRabbelier|Lappy | from a shell? | 11:06 |
aureianimus | pim@pim-K53SV:~/source/melange$ sudo easy_install-2.7 ssl | 11:07 |
aureianimus | sudo: easy_install-2.7: command not found | 11:07 |
SRabbelier|Lappy | aureianimus: sudo aptitude install python2.7-setuptools | 11:08 |
aureianimus | ValueError: This extension should not be used with Python 2.6 or later (already built in), and has not been tested with Python 2.3.4 or earlier. | 11:11 |
aureianimus | 11:11 | |
aureianimus | i'm forcing 2.5 on it then | 11:11 |
aureianimus | or should i? | 11:11 |
aureianimus | (this came after 'sudo easy_install-2.7 ssl' | 11:13 |
aureianimus | wait. it should be built in... *confused* | 11:14 |
aureianimus | brb | 11:18 |
SRabbelier|Lappy | aureianimus: totally weird | 11:21 |
*** tansell-laptop has joined #melange | 11:25 | |
*** BlankVerse has quit IRC | 11:33 | |
aureianimus | back | 11:34 |
aureianimus | SRabbelier|Lappy, i did manage to get ssl in python2.5, but i compiled that from source | 11:40 |
SRabbelier|Lappy | aureianimus: you compiled 2.5 from source? | 11:40 |
aureianimus | yes | 11:40 |
aureianimus | does that change things regarding the sqlite? | 11:41 |
SRabbelier|Lappy | aureianimus: in that case you should be able to compile python2.5 with sqlite | 11:42 |
*** BlankVerse has joined #melange | 11:45 | |
*** in3xes has quit IRC | 11:47 | |
aureianimus | according to this: http://agiletesting.blogspot.com/2009/11/compiling-python-26-with-sqlite3.html ./configure USE="sqlite" should do the trick, but that doesn't work, any ideas? | 11:48 |
tpb | <http://ln-s.net/8vq6> (at agiletesting.blogspot.com) | 11:48 |
*** in3xes has joined #melange | 11:48 | |
SRabbelier|Lappy | aureianimus: see http://code.google.com/p/soc/wiki/GettingStarted | 11:49 |
tpb | <http://ln-s.net/2kv-> (at code.google.com) | 11:49 |
SRabbelier|Lappy | aureianimus: in particular the much more helpful http://stackoverflow.com/questions/1210664/no-module-named-sqlite3 | 11:49 |
tpb | <http://ln-s.net/8vq7> (at stackoverflow.com) | 11:49 |
SRabbelier|Lappy | aureianimus: (in particular the comments0 | 11:50 |
aureianimus | ah, this may explain something | 11:52 |
aureianimus | /usr/lib/python2.7/lib-dynload/_sqlite3.so | 11:52 |
aureianimus | can i just append that to the system path, or should i not do that? | 11:53 |
SRabbelier|Lappy | aureianimus: worth a try | 11:56 |
aureianimus | SRabbelier|Lappy, too bad, same error | 11:58 |
SRabbelier|Lappy | aureianimus: have you tried installing python-sqlite? | 11:59 |
aureianimus | SRabbelier|Lappy, no, but that is an interface for sqlite 2 | 12:00 |
aureianimus | i do have python-sqlite2 | 12:00 |
aureianimus | which is for sqlite3 | 12:00 |
SRabbelier|Lappy | (heh, python-sqlite is for sqlite2, whereas python-sqlite2 is for sqlite3, how sad is that) | 12:02 |
aureianimus | yep -.- (but python-sqlite doesn't help either) | 12:03 |
aureianimus | i've tried everything else on the stackoverflow page | 12:03 |
aureianimus | except | 12:04 |
aureianimus | Checking your settings.py file. Did you not just write "sqlite" instead of "sqlite3" for the database engine? | 12:04 |
aureianimus | SRabbelier|Lappy, nope, that's not it either | 12:07 |
*** BlankVerse has quit IRC | 12:10 | |
aureianimus | ah, i remembered i tried some other fix, so that might obscure the real problem | 12:12 |
aureianimus | i reversed that fix and the error i now get when compiling python itself is: http://pastebin.com/MJ8bDhmb | 12:14 |
tpb | Title: [Python] /usr/include/sqlite3.h: version 3.7.4 Traceback (most recent call last): Fil - Pastebin.com (at pastebin.com) | 12:14 |
aureianimus | SRabbelier|Lappy, meh. i'm taking a break and i guess i'll try again some other time :P | 12:18 |
SRabbelier|Lappy | aureianimus: ugh. | 12:28 |
SRabbelier|Lappy | aureianimus: python+linux = eternity of pain | 12:29 |
aureianimus | python+windows isn't exactly a cakewalk either, when installing libraries and stuffs | 12:33 |
SRabbelier|Lappy | aureianimus: have you tried python2.6? :D | 12:36 |
aureianimus | xD | 12:36 |
*** in3xes_ has joined #melange | 12:48 | |
*** tansell-laptop has quit IRC | 12:50 | |
*** in3xes has quit IRC | 12:52 | |
*** in3xes_ is now known as in3xes | 14:21 | |
aureianimus | SRabbelier|Lappy, (or anyone else). I managed to compile python the right way, but now i'm getting an AppConfigNotFoundError, while i do have an app.yaml and i am running the command from ~/source/melange, where i checked it out | 14:29 |
aureianimus | traceback and app.yaml locations: http://pastebin.com/2vTpSzw9 | 14:31 |
tpb | Title: [Python] pim@pim-K53SV:~/source/melange$ thirdparty/google_appengine/dev_appserver.py bui - Pastebin.com (at pastebin.com) | 14:31 |
SRabbelier|Lappy | aureianimus: you're running from /build | 14:46 |
SRabbelier|Lappy | aureianimus: but you didn't run bin/paver build | 14:46 |
aureianimus | SRabbelier|Lappy, i am, but then the GettingStarted document has flaws | 14:50 |
aureianimus | Running the Code Locally | 14:51 |
aureianimus | You can start the server on your computer by running: | 14:51 |
aureianimus | thirdparty/google_appengine/dev_appserver.py build | 14:51 |
aureianimus | so to run locally, should i run from build or from another directory? | 14:52 |
SRabbelier|Lappy | aureianimus: you should follow the other steps first :P | 14:52 |
SRabbelier|Lappy | aureianimus: ah, no I think you're right | 14:53 |
aureianimus | i think what went wrong | 14:53 |
aureianimus | i 'skipped' the tldr; , which contains commands that later aren't really mentioned | 14:53 |
aureianimus | SRabbelier|Lappy, okay, localhost:8080 says: this page is only accessible to developers | 14:57 |
SRabbelier|Lappy | aureianimus: no you should be able to skip the tl;dr, the page should be fixe | 14:58 |
SRabbelier|Lappy | aureianimus: hm, we should add that too, you need to go to http://localhost:8080/seed_db | 14:58 |
aureianimus | SRabbelier|Lappy, in that case the bin/paver build command is in the wrong place | 14:59 |
SRabbelier|Lappy | aureianimus: either that, or we should instruct to run dev_appserver from app | 15:00 |
aureianimus | ah, yes | 15:00 |
*** scorche has joined #melange | 15:02 | |
aureianimus | SRabbelier|Lappy, so, my melange is deployed, but i can't find the actual url it runs at xD | 15:07 |
aureianimus | ohwait <appname>.appspot.com, right? | 15:08 |
SRabbelier|Lappy | aureianimus: yeah | 15:11 |
*** aureianimus_ has joined #melange | 15:12 | |
*** aureianimus_ has quit IRC | 15:14 | |
*** aureianimus has quit IRC | 15:14 | |
*** aureianimus has joined #melange | 15:19 | |
aureianimus | SRabbelier|Lappy, is it correct that seed_db does not work when it's running on the appengine? | 15:20 |
SRabbelier|Lappy | aureianimus: unless you set version to devvin | 15:26 |
aureianimus | SRabbelier|Lappy, how do i do that? | 15:27 |
SRabbelier|Lappy | aureianimus: in your app.yaml | 15:28 |
*** aureianimus_ has joined #melange | 15:30 | |
*** aureianimus has quit IRC | 15:33 | |
*** aureianimus_ has quit IRC | 15:33 | |
*** aureianimus has joined #melange | 15:34 | |
aureianimus | SRabbelier|Lappy, how do i properly close an instance so i don't get socket.error: [Errno 98] Address already in use | 15:35 |
aureianimus | nvm, i think i know what happened, brb | 15:36 |
*** aureianimus has quit IRC | 15:36 | |
*** aureianimus has joined #melange | 15:36 | |
SRabbelier|Lappy | aureianimus: bbl, going home | 15:43 |
*** SRabbelier|Lappy has quit IRC | 15:43 | |
*** aureianimus has quit IRC | 15:53 | |
*** carols has joined #melange | 16:12 | |
*** carols has quit IRC | 16:16 | |
*** carols has joined #melange | 16:19 | |
*** SRabbelier has joined #melange | 16:27 | |
*** ChanServ sets mode: +o SRabbelier | 16:27 | |
*** stpere has quit IRC | 16:42 | |
*** carols has quit IRC | 17:02 | |
*** dhaun has joined #melange | 17:05 | |
*** stpere has joined #melange | 17:49 | |
*** carols has joined #melange | 17:53 | |
*** carols has quit IRC | 18:05 | |
*** aureianimus has joined #melange | 18:11 | |
*** m1k3y_ is now known as m1k3y | 18:14 | |
*** aureianimus has quit IRC | 18:17 | |
*** aureianimus has joined #melange | 18:26 | |
*** carols has joined #melange | 19:38 | |
*** carols has quit IRC | 19:40 | |
*** carols has joined #melange | 19:46 | |
*** aureianimus has quit IRC | 19:56 | |
*** carols has quit IRC | 20:17 | |
*** carols has joined #melange | 20:22 | |
*** carols has quit IRC | 20:29 | |
*** madrazr has quit IRC | 20:36 | |
*** madrazr has joined #melange | 20:52 | |
*** ChanServ sets mode: +o madrazr | 20:52 | |
*** m1k3y_ has joined #melange | 21:24 | |
*** m1k3y_ has joined #melange | 21:24 | |
*** m1k3y has quit IRC | 21:24 | |
*** dhaun has quit IRC | 21:26 | |
*** schultmc has quit IRC | 21:38 | |
*** schultmc has joined #melange | 21:39 | |
*** m1k3y_ has quit IRC | 22:03 | |
*** carols has joined #melange | 22:03 | |
*** m1k3y has joined #melange | 22:05 | |
*** m1k3y has joined #melange | 22:05 | |
*** madrazr has left #melange | 22:17 | |
*** carols_ has joined #melange | 22:32 | |
*** carols has quit IRC | 22:34 | |
*** carols_ is now known as carols | 22:34 | |
*** carols has quit IRC | 22:47 | |
*** carols has joined #melange | 22:53 | |
*** carols has quit IRC | 23:42 | |
*** m1k3y has quit IRC | 23:54 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!