Archive for the ‘Microentry’ Category
Thursday, September 18th, 2008
Good to see that satchmo multishop branch is merged into the trunk. Bad is that this is not reflected on the MultiShop wiki page - had to waste some time and even try to start a fork on multishop branch to update it to django 1.0...
Posted in Microentry, Django | No Comments »
Thursday, September 18th, 2008
Image via Wikipedia Spent several hours yesterday untangling yet another mysterious test crash:
Warning: Field 'id' doesn't have a default value
As appears, it happened during usual INSERT to djangocontenttype... WTF!?
mysql> describe django_content_type;
+-----------+--------------+------+-----+---------+-------+
| Field | Type | Null ...
Posted in Microentry, Python | No Comments »
Monday, September 15th, 2008
Image via Wikipedia Tracking svn repository with a git is a pleasure, thanks to git-svn:
git svn clone (svn url)
and go.
But until today it wasn't clear to me how to add an svn for already existing git project. For example, if a client requested to push the progress to his ...
Posted in Microentry, Software Development | 2 Comments »
Saturday, September 13th, 2008
Struggling for a second hour in a row. Feeling dumber with every minute spent.
Code:
import pprint
import sys
import django.conf
assert django.conf.__file__.startswith(
'/home/akhavr'
), pprint.pformat((sys.path, django.conf.__file__))
Test run:
PYTHONPATH=/home/akhavr/src/django-hotclub:/home/akhavr/django/:/home/akhavr/src/django-hotclub/apps:/home/akhavr/src/django-hotclub/site-packages/misc:/home/akhavr/src/django-hotclub/site-packages/python-openid-2.1.1:/home/akhavr/src/django-hotclub/site-packages/python-yadis-1.1.0:/home/akhavr/src/django-hotclub/site-packages/python-twitter-0.5/:/home/akhavr/src/django-hotclub/site-packages/pownce-api-0.2:.. DJANGO_SETTINGS_MODULE=pinax.settings nosetests --with-coverage --cover-package=projects --exe -x projects
F
======================================================================
FAIL: Failure: AssertionError ((['/home/akhavr/src/django-hotclub/pinax/local_apps/projects/tests',
'/usr/bin',
'/usr/lib/python2.5/site-packages/coverage-2.78-py2.5.egg',
'/usr/lib/python2.5/site-packages/twill-0.9-py2.5.egg',
'/usr/lib/python2.5/site-packages/opml-0.5-py2.5.egg',
...
Posted in Microentry, Python | 2 Comments »
Friday, September 12th, 2008
Have yet to think out how to handle those django-hotclub numerous svn:externals. Git advise given here is nice (I'm following the same route), but it doesn't answer the issue of managing the regular single-command deployment of those dependencies.
On the other hand, packaging each of these packagelets into tiny RPMs ...
Posted in Microentry, Software Development | No Comments »