Tuesday, 2011-06-21

*** tpb has joined #melange00:00
*** scorche has quit IRC02:08
*** BlankVerse has joined #melange03:11
*** lresende has joined #melange03:21
*** BlankVerse has quit IRC04:29
*** BlankVerse has joined #melange04:31
*** BlankVerse has quit IRC07:33
*** aureianimus has joined #melange07:56
*** BlankVerse has joined #melange08:19
*** asmeurer has quit IRC08:42
*** m1k3y has quit IRC08:50
*** madrazr has joined #melange08:53
*** ChanServ sets mode: +o madrazr08:53
*** madrazr has quit IRC08:57
*** madrazr has joined #melange09:00
*** ChanServ sets mode: +o madrazr09:00
*** SRabbelier|Lappy has joined #melange09:11
*** ChanServ sets mode: +o SRabbelier|Lappy09:11
*** m1k3y has joined #melange09:21
aureianimusSRabbelier|Lappy, hallo (pim hier)09:27
SRabbelier|Lappyaureianimus: hi09:29
SRabbelier|Lappy(brb)09:32
*** SRabbelier|Lappy has quit IRC09:32
*** m1k3y_ has joined #melange09:37
*** m1k3y has quit IRC09:37
*** SRabbelier|Lappy has joined #melange09:45
*** ChanServ sets mode: +o SRabbelier|Lappy09:45
SRabbelier|Lappyaureianimus: hi again09:46
*** tansell-laptop has quit IRC09:46
aureianimusSRabbelier|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|Lappyaureianimus: well, it crashes right?10:42
aureianimusehm, i'm trying to compile locally and it gives an error if that counts as crashing10:43
aureianimusthirdparty/google_appengine/dev_appserver.py build10:43
SRabbelier|Lappyaureianimus: what os are you compiling on?10:45
aureianimusubuntu10:45
SRabbelier|Lappyaureianimus: doesn't that come with python2.6 by default?10:46
SRabbelier|Lappy(including the python bindings for sqlite)10:46
aureianimusehm, i have 2.6 and 2.710:46
aureianimusshould i use one of those?10:46
SRabbelier|Lappyaureianimus: yeah, that should help :)10:50
aureianimuswell, they give the same error on "import _sqlite3)10:50
aureianimusbut a different error upon the build command10: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
aureianimusAttributeError: '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|Lappyaureianimus: needs ssl10:56
SRabbelier|Lappyaureianimus: apt-cache search python sslĀ 10:56
SRabbelier|Lappyaureianimus: try 'sudo aptitude install python-openssl'10:58
aureianimusgot that one10:58
aureianimusand openssl too10:58
SRabbelier|Lappyaureianimus: what does `python2.7 -c 'import ssl'`11:01
aureianimusTraceback (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 propagate11:01
aureianimusImportError: No module named _ssl11:01
SRabbelier|Lappyaureianimus: sudo aptitude install apt-cache search python sslĀ 11:02
SRabbelier|Lappyerr11:02
SRabbelier|Lappypython2.7-openssl11:02
aureianimuspython-openssl - Python wrapper around the OpenSSL library11:03
aureianimusalreayd at newest version11:04
SRabbelier|Lappyaureianimus: uh.... sudo easy_install-2.7 ssl11:04
aureianimusfrom where?11:05
SRabbelier|Lappyfrom a shell?11:06
aureianimuspim@pim-K53SV:~/source/melange$ sudo easy_install-2.7 ssl11:07
aureianimussudo: easy_install-2.7: command not found11:07
SRabbelier|Lappyaureianimus: sudo aptitude install python2.7-setuptools11:08
aureianimusValueError: 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
aureianimus11:11
aureianimusi'm forcing 2.5 on it then11:11
aureianimusor should i?11:11
aureianimus(this came after 'sudo easy_install-2.7 ssl'11:13
aureianimuswait. it should be built in... *confused*11:14
aureianimusbrb11:18
SRabbelier|Lappyaureianimus: totally weird11:21
*** tansell-laptop has joined #melange11:25
*** BlankVerse has quit IRC11:33
aureianimusback11:34
aureianimusSRabbelier|Lappy, i did manage to get ssl in python2.5, but i compiled that from source11:40
SRabbelier|Lappyaureianimus: you compiled 2.5 from source?11:40
aureianimusyes11:40
aureianimusdoes that change things regarding the sqlite?11:41
SRabbelier|Lappyaureianimus: in that case you should be able to compile python2.5 with sqlite11:42
*** BlankVerse has joined #melange11:45
*** in3xes has quit IRC11:47
aureianimusaccording 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 #melange11:48
SRabbelier|Lappyaureianimus: see http://code.google.com/p/soc/wiki/GettingStarted11:49
tpb<http://ln-s.net/2kv-> (at code.google.com)11:49
SRabbelier|Lappyaureianimus: in particular the much more helpful http://stackoverflow.com/questions/1210664/no-module-named-sqlite311:49
tpb<http://ln-s.net/8vq7> (at stackoverflow.com)11:49
SRabbelier|Lappyaureianimus: (in particular the comments011:50
aureianimusah, this may explain something11:52
aureianimus/usr/lib/python2.7/lib-dynload/_sqlite3.so11:52
aureianimuscan i just append that to the system path, or should i not do that?11:53
SRabbelier|Lappyaureianimus: worth a try11:56
aureianimusSRabbelier|Lappy, too bad, same error11:58
SRabbelier|Lappyaureianimus: have you tried installing python-sqlite?11:59
aureianimusSRabbelier|Lappy, no, but that is an interface for sqlite 212:00
aureianimusi do have python-sqlite212:00
aureianimuswhich is for sqlite312:00
SRabbelier|Lappy(heh, python-sqlite is for sqlite2, whereas python-sqlite2 is for sqlite3, how sad is that)12:02
aureianimusyep -.- (but python-sqlite doesn't help either)12:03
aureianimusi've tried everything else on the stackoverflow page12:03
aureianimusexcept12:04
aureianimusChecking your settings.py file. Did you not just write "sqlite" instead of "sqlite3" for the database engine?12:04
aureianimusSRabbelier|Lappy, nope, that's not it either12:07
*** BlankVerse has quit IRC12:10
aureianimusah, i remembered i tried some other fix, so that might obscure the real problem12:12
aureianimusi reversed that fix and the error i now get when compiling python itself is: http://pastebin.com/MJ8bDhmb12:14
tpbTitle: [Python] /usr/include/sqlite3.h: version 3.7.4 Traceback (most recent call last): Fil - Pastebin.com (at pastebin.com)12:14
aureianimusSRabbelier|Lappy, meh. i'm taking a break and i guess i'll try again some other time :P12:18
SRabbelier|Lappyaureianimus: ugh.12:28
SRabbelier|Lappyaureianimus: python+linux = eternity of pain12:29
aureianimuspython+windows isn't exactly a cakewalk either, when installing libraries and stuffs12:33
SRabbelier|Lappyaureianimus: have you tried python2.6? :D12:36
aureianimusxD12:36
*** in3xes_ has joined #melange12:48
*** tansell-laptop has quit IRC12:50
*** in3xes has quit IRC12:52
*** in3xes_ is now known as in3xes14:21
aureianimusSRabbelier|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 out14:29
aureianimustraceback and app.yaml locations: http://pastebin.com/2vTpSzw914:31
tpbTitle: [Python] pim@pim-K53SV:~/source/melange$ thirdparty/google_appengine/dev_appserver.py bui - Pastebin.com (at pastebin.com)14:31
SRabbelier|Lappyaureianimus: you're running from /build14:46
SRabbelier|Lappyaureianimus: but you didn't run bin/paver build14:46
aureianimusSRabbelier|Lappy, i am, but then the GettingStarted document has flaws14:50
aureianimusRunning the Code Locally14:51
aureianimusYou can start the server on your computer by running:14:51
aureianimusthirdparty/google_appengine/dev_appserver.py build14:51
aureianimusso to run locally, should i run from build or from another directory?14:52
SRabbelier|Lappyaureianimus: you should follow the other steps first :P14:52
SRabbelier|Lappyaureianimus: ah, no I think you're right14:53
aureianimusi think what went wrong14:53
aureianimusi 'skipped' the tldr; , which contains commands that later aren't really mentioned14:53
aureianimusSRabbelier|Lappy, okay, localhost:8080 says: this page is only accessible to developers14:57
SRabbelier|Lappyaureianimus: no you should be able to skip the tl;dr, the page should be fixe14:58
SRabbelier|Lappyaureianimus: hm, we should add that too, you need to go to http://localhost:8080/seed_db14:58
aureianimusSRabbelier|Lappy, in that case the bin/paver build command is in the wrong place14:59
SRabbelier|Lappyaureianimus: either that, or we should instruct to run dev_appserver from app15:00
aureianimusah, yes15:00
*** scorche has joined #melange15:02
aureianimusSRabbelier|Lappy, so, my melange is deployed, but i can't find the actual url it runs at xD15:07
aureianimusohwait <appname>.appspot.com, right?15:08
SRabbelier|Lappyaureianimus: yeah15:11
*** aureianimus_ has joined #melange15:12
*** aureianimus_ has quit IRC15:14
*** aureianimus has quit IRC15:14
*** aureianimus has joined #melange15:19
aureianimusSRabbelier|Lappy, is it correct that seed_db does not work when it's running on the appengine?15:20
SRabbelier|Lappyaureianimus: unless you set version to devvin15:26
aureianimusSRabbelier|Lappy, how do i do that?15:27
SRabbelier|Lappyaureianimus: in your app.yaml15:28
*** aureianimus_ has joined #melange15:30
*** aureianimus has quit IRC15:33
*** aureianimus_ has quit IRC15:33
*** aureianimus has joined #melange15:34
aureianimusSRabbelier|Lappy, how do i properly close an instance so i don't get socket.error: [Errno 98] Address already in use15:35
aureianimusnvm, i think i know what happened, brb15:36
*** aureianimus has quit IRC15:36
*** aureianimus has joined #melange15:36
SRabbelier|Lappyaureianimus: bbl, going home15:43
*** SRabbelier|Lappy has quit IRC15:43
*** aureianimus has quit IRC15:53
*** carols has joined #melange16:12
*** carols has quit IRC16:16
*** carols has joined #melange16:19
*** SRabbelier has joined #melange16:27
*** ChanServ sets mode: +o SRabbelier16:27
*** stpere has quit IRC16:42
*** carols has quit IRC17:02
*** dhaun has joined #melange17:05
*** stpere has joined #melange17:49
*** carols has joined #melange17:53
*** carols has quit IRC18:05
*** aureianimus has joined #melange18:11
*** m1k3y_ is now known as m1k3y18:14
*** aureianimus has quit IRC18:17
*** aureianimus has joined #melange18:26
*** carols has joined #melange19:38
*** carols has quit IRC19:40
*** carols has joined #melange19:46
*** aureianimus has quit IRC19:56
*** carols has quit IRC20:17
*** carols has joined #melange20:22
*** carols has quit IRC20:29
*** madrazr has quit IRC20:36
*** madrazr has joined #melange20:52
*** ChanServ sets mode: +o madrazr20:52
*** m1k3y_ has joined #melange21:24
*** m1k3y_ has joined #melange21:24
*** m1k3y has quit IRC21:24
*** dhaun has quit IRC21:26
*** schultmc has quit IRC21:38
*** schultmc has joined #melange21:39
*** m1k3y_ has quit IRC22:03
*** carols has joined #melange22:03
*** m1k3y has joined #melange22:05
*** m1k3y has joined #melange22:05
*** madrazr has left #melange22:17
*** carols_ has joined #melange22:32
*** carols has quit IRC22:34
*** carols_ is now known as carols22:34
*** carols has quit IRC22:47
*** carols has joined #melange22:53
*** carols has quit IRC23:42
*** m1k3y has quit IRC23:54

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!