2010-8-1
| 23:36 | Alex_Gaynor | hi |
| 23:37 | innervision | Alex_Gaynor: one thing |
| 23:37 | innervision | Alex_Gaynor: sorry, retarded Sunday typing skills: I've tried installing Pinax, but somehow some of the packages (django-ajax-validation) depend on "setuptools_git", wth is that? |
| 23:38 | Alex_Gaynor | innervision: Uh, I thought that was just a part of setuptools by default, that is I've never installed anything special for it |
| 23:38 | atoi | sounds like a module easyinstall uses to install from git repository. |
| 23:38 | atoi | pretty straight forward. |
| 23:38 | atoi | gah, this is Python, not Java. Logging should be easy. t.t |
| 23:39 | innervision | Alex_Gaynor: weird, it keeps killing my pip when trying to install the requirements. |
| 23:39 | innervision | atoi: the disgrace here is that the logging framework is pretty much a direct port of Java's, lol |
| 23:39 | Alex_Gaynor | innervision: not sure, perhaps someone in the pinax channel can help |
| 23:40 | atoi | yes, I know it's similar. |
| 23:40 | atoi | But the Java one is actually still more convoluted. |
| 23:40 | atoi | :) |
| 23:40 | innervision | Alex_Gaynor: oh, yup, that... should've thought of that before. thanks anyway! |
| 23:40 | atoi | <~~~ did Java for years. |
| 23:40 | innervision | atoi: I'm glad you survived, lol |
| 23:40 | atoi | heh |
| 23:40 | FunkyBob | logging in python is only slightly more complex that it could be, imho |
| 23:42 | innervision | FunkyBob: it's not terribly complex, but rather terribly unpythonic |
| 23:42 | FunkyBob | hmm |
| 23:42 | atoi | FunkyBob, well. Yeah, probably. I think the design could be more Pythonic. But I've not had a problem so far. At least, not a problem like this where it just flat isn't working. |
| 23:43 | innervision | atoi: actually in my case it's always been the other way around. logging is one of those things where you hammer a bit until it's finally working, instead of somewhat working right away |
| 23:44 | atoi | FunkyBob, any ideas for why this isn't working? http://dpaste.com/224068/ (handler_class is a RotatingFileHandler or ConcurrentRotatingFileHandler) |
| 23:44 | atoi | "logging initialized!" (and in fact all print calls) are working. |
| 23:45 | atoi | but when I log, it seems to disappear. |
| 23:47 | atoi | nevermind. :) |
| 23:47 | atoi | got it. |
| 23:47 | atoi | log level has to be an int. when I saw the dictionary in logging.__init__.py which mapped debugging level strings to int, I figured it would just convert. |
| 23:47 | atoi | apparently not. |
| 23:48 | atoi | logging.DEBUG instead of "DEBUG" did it. |
| 23:48 | atoi | ./facepalm |
| 23:48 | atoi | should have been obvious |
| 23:49 | FunkyBob | heh |
| 23:54 | t3mp3st | innervision: looks like threading wasn't the issue. Running synchronously, things still bork |
| 23:56 | m1chael | i have a CentOS server... is it possible to run a django/newer version of python/satchmo/other libraries in it's own enviornment? i have python2.4, django 1.1,older version of satchmo right now running.. but i would like to experiment with other configurations |
| 23:56 | FunkyBob | m1chael: sure |
| 23:56 | FunkyBob | m1chael: there's a few approaches.... virtualenv can certainly make it easier |
| 23:56 | m1chael | okay, i'll check out virtualenv |
| 23:57 | justinzane is away: Gone away for now | |
| 23:58 | justinzane is back. | |
Page 9 of 9
← Previous
(840 total)