HI, On Fri, Mar 4, 2011 at 12:47 PM, Andrew Colin Kissa <[email protected]> wrote: > > On 04 Mar 2011, at 1:28 PM, Mikael Syska wrote: > >> I would love to help ... but still have some issues. > > Cool.
No problem. > >> >> Are there any speciel areas you want feedback from ? > > Just the level of usability and the bugs you have picked up. > >> >> >> I get the following error. When uninstalling "anyjson" i says it can't >> find the module, so I guess its installed right. > > Why are you uninstalling it ? Just to make sure it could find the modile, installed it. > >> But its missing a >> attribute. Google did not give me any real feedback on my problem, >> other than if there were any other files "named" json.py that might >> conflict. But when uninstalling anyjson it says its can't find the >> module. > > Is it installing our uninstalling ? Ohhh, the above makes no sense. I will try to clear things up. I tried to uninstalled "anyjson" from ports, and then the debug message said, it could not find the module. So I guess it picks up the right anyjson installed from the ports. > >> >> So have you any idea what might be missing here > > Yes, it seems like you do not have the anyjson module installed, > if there is no ports package you it you can install it using pip > > pip install anyjson Well ... its installed. I should have been more clear with the above statement, hope it makes more sense now. > > > I recommend however that you use virtualenv such that your system > python path does not become a wasteland of modules that you cannot > uninstall - http://virtualenv.openplans.org/ I will try this later and its in the ports tree: Port: py26-virtualenv-1.5.1 Path: /usr/ports/devel/py-virtualenv Info: Virtual Python Environment builder Maint: [email protected] B-deps: py26-setuptools-0.6c11_1 python26-2.6.6 R-deps: py26-setuptools-0.6c11_1 python26-2.6.6 WWW: http://pypi.python.org/pypi/virtualenv > > There are other advantages to using virtualenv as well in that you can > have several python installations and you do not have to be root to > install packages. > > If you have virtualenv in ports install it via ports > > Then create the virtual environment in your home directory. > > virtualenv localpython --clear --no-site-packages --distribute > source localpython/bin/activate > git clone git://github.com/akissa/baruwa.git > wget > http://geolite.maxmind.com/download/geoip/api/python/GeoIP-Python-1.2.4.tar.gz > tar xzvf GeoIP-Python-1.2.4.tar.gz > cd GeoIP-Python-1.2.4 > python setup.py install > cd - > cd baruwa > python setup.py install > > Edit baruwa/virtual.wsgi and set the correct paths > Edit your apache configuration and point the paths to the correct place (make > sure you use virtual.wsgi not baruwa.wsgi) > > Using virtualhosts you can both 1.0.2 and 1.1.0 systems at the same time > (testing on 1.1.0 and production on 1.0.2) > > Hope that helps. It sure does ... however I have a dev box and a production and we are still using MailWatch. Think we are waiting with using it for production until the CouchDB stuff is implemented. Performance when using the interface was the reason I found Baruwa :-) and then also that MailWatch is outdated and not really maintained any more that I know of. > > -- > Baruwa - www.baruwa.org > > _______________________________________________ > Baruwa mailing list > [email protected] > http://lists.baruwa.org/mailman/listinfo/baruwa > mvh Mikael Syska _______________________________________________ Baruwa mailing list [email protected] http://lists.baruwa.org/mailman/listinfo/baruwa

