2010-3-23
| 00:04 | alerades | Hi, I'm trying to understand django-staticfiles, but the difference between STATIC_ROOT and MEDIA_ROOT isn't clear to me |
| 00:04 | alerades | do you have ideas? |
| 01:16 | klynton|away | Hi, I'm having this problem with pinax-boot.py, running python2.6 on CentOS 5.x: http://paste.ofcode.org/34SH5WbDMCGaNtQkDHhjYdt |
| 01:16 | klynton|away | anyone seen that before, known fix? |
| 01:19 | brosner | which version of Pinax? |
| 01:22 | klynton|away | trunk |
| 01:22 | brosner | actually i see the problem |
| 01:22 | brosner | are you sure you are running 2.6? |
| 01:22 | klynton|away | brosner: Yep! |
| 01:22 | brosner | i only see that exception on Python 2.4 |
| 01:23 | klynton|away | Python2.4 was/is being installed in pinax-env/python |
| 01:24 | klynton|away | Hm...hold on, my distutils magic may not be as strong as it is supposed to be. :( |
| 01:24 | brosner | we do support 2.4 so this is a valid bug |
| 01:28 | klynton|away | interesting, if distribute is already installed on the machine, and pip, does it try to build it again? |
| 01:28 | brosner | build what again? |
| 01:28 | klynton|away | distribute and setuptools. http://paste.ofcode.org/EzBsLEg7L2ZMazNXCP9KAb |
| 01:28 | brosner | i don't know anything about distribute |
| 01:29 | brosner | all i do know is that the command you are issuing is installing setuptools in the virtual environment it is creating. |
| 01:30 | klynton|away | cool, thanks for your help. I'll try to figure out what is going on. |
| 01:30 | brosner | might try passing --distribute to pinax-boot.py? |
| 01:30 | klynton|away | OK, Will do. |
| 01:30 | brosner | Pinax doesn't officially support it. that is just what virtualenv does. |
| 01:34 | klynton|away | brosner: that allowed everything to be installed but couldn't locate a version file for the release...since it is not a tarball |
| 01:34 | brosner | you still need to pass --development |
| 01:35 | brosner | i did fix the 2.4 bug btw http://github.com/pinax/pinax/commit/7c3f7b9eee... |
| 01:36 | klynton|away | awesome, you guys are fast! |
| 01:37 | brosner | we "support" 2.4, but right now that really means we wait until someone complains then we fix it ;-) |
| 01:37 | brosner | so honestly 2.5 is best since that is tested the most. |
| 01:37 | brosner | 2.5+ |
| 01:38 | klynton|away | Python 2.4 is way old, so I did all sorts of hacks to get python2.6 working on CentOS, it's been a wild journey. :) |
| 01:38 | brosner | yeah :-( |
| 01:39 | brosner | does even the latest CentOS come with anything greater than 2.4? |
| 01:40 | klynton|away | Nope, that is what yum requires. I tried to upgrade but yum completely broke. |
| 01:40 | brosner | ahh |
| 01:41 | klynton|away | Luckily a quick distutils.cfg with ~lib and ~bin mkaes it work. |
| 06:45 | brainasium | getting following Error loading psycopg2 module: No module named psycopg2 |
| 06:45 | brainasium | can someone explain how to install psycopg2 with pinax |
| 06:46 | brainasium | using 0.7.1 |
| 08:04 | phoenix24 | Hi |
| 11:11 | phoenix24 | can i use mongodb / couchdb with my pinax application ? |
| 11:12 | jtauber | well, Pinax doesn't do anything to help you but it doesn't stop you either |
| 11:19 | phoenix24 | are there any techniques to be followed if my db, schema alters ? |
| 11:20 | jtauber | phoenix24: nothing unique to Pinax |
| 11:26 | phoenix24 | what are techniques in general for django application ? |
| 11:38 | jtauber | phoenix24: there are migration tools like South or (my own preference) just writing custom SQL |
| 12:11 | sunoano | phoenix24: I got disconnected so I am not sure how much I missed about the converstaion; just wanted to say that there is pymongo, the python driver for mongodb, then there is http://bitbucket.org/namlook/mongokit/wiki/Home |
| 12:12 | sunoano | if you want to use MongoDB with Django/Pinax there is also http://github.com/peterbe/django-mongokit which builds atop mongokit |
| 12:32 | phoenix24 | sunoano, thanks a lot; i'll definitely have a look at the booth. |
| 12:32 | sunoano | sure, no problem |
| 12:32 | sunoano | I am too pretty interested in using mongodb as the data tier below Django/Pinax so ... |
| 12:34 | sunoano | truth is, one might probably use both types of databases for a while; RDBMS for transactional stuff and NoSQL for the rest |
| 12:35 | sunoano | because of the CAP theorem NoSQL databases are no good fit if you need to, for example, do billing and such things; for this kind of stuff you want ACID behavior of the data tier ... |
| 13:24 | phoenix24 | do, the memcache pyhton bindings come bundles as the pinax virtualenv ? |
| 19:05 | callen | okay, does anyone here use johnny cache? |
| 21:36 | Evet | pinax is focused on creating social networking sites, or i get it wrong? |
| 21:39 | sunoano | |
| 21:46 | Evet | thanks sunoano |
| 21:46 | sunoano | no problem, you are welcome |