|
From: Raik G. <rai...@cr...> - 2008-10-28 16:02:05
|
Hi Goksel, nice hearing from some potential brickiters ;-) Which version of brickit are you using? The last official release is quite outdated and should indeed not work with the latest django. If you update django, you also need to update brickit to the latest SVN version: svn co https://brickit.svn.sourceforge.net/svnroot/brickit/trunk brickit Now, the truth is that I am not actually sure whether or not even the latest trunk snapshot works with the latest django either. Right now I am working on a new release which underwent quite a lot of refactoring for easier development, offers some custom forms and views for Biobricks, Vectors and Samples, gives you links between Biobricks and associated samples, tries to support the attachment of sequencing results to samples and adds support for composite biobricks. You can check out the current status of this work like this: "svn co https://brickit.svn.sourceforge.net/svnroot/brickit/branches/devel2 brickitproject" (one line command) If you switch to this branch, you will need to rebuild your database. So the order of installation steps would be: 1) delete your database: dropdb -U partsuser parts 2) create a new empty database: createdb -U admin -O partsuser parts 3) checkout the project: svn co https://brickit.svn.sourceforge.net/svnroot/brickit/branches/devel2 brickitproject 4) put the folder brickitproject into your PYTHONPATH 5) re-populate the database: cd brickitproject/brickit python manage.py syncdb This is a "bleeding edge" snapshot and I haven't yet myself installed it on other machines. You probably will have to adjust the 'MEDIA_FOLDER' (or something like that) in the settings.py. This is the folder where file attachments are stored (only sequencing traces for now). The other caveat is that I am probably going to make at least one last change to the data model before rolling this out as a new official release, so please consider this a preview and don't use it for production purposes yet. If you find the time, it would be great to know whether you can get this development version running on your system. It's also the much better starting point if you want to extend the server -- there are tons of things that need to be improved. Any further questions are most welcome! Pass my best greetings to Anil and Jennifer! Good luck! Raik Goksel Misirli wrote: > Hi, > > My name is Goksel Misirli. I'm a PhD student at Newcastle University, UK. > > After our discussions with my tutors,Anil Wipat and Jennifer Hallinan, they > wanted me to setup Brickit and I'm trying to install it to one of our > servers. > > But when I run "python manage.py syncdb" I get the error attached in the > email. It complains about django.core.validators module. > > I checked django files and I could not find validators.py which exist in the > virtual machine installation I downloaded from brickit web site. Virtual > machine installation is ok but the normal installation does not work. > > It looks like brickit does not work with the latest version of Django. Or I > might be missing something else. > > If you could point me at the right direction, I would be grateful. I spent > some time but I could not make it working yet. > > Regards > > Goksel Misirli > > > > > > > ------------------------------------------------------------------------ > -- ________________________________ Dr. Raik Gruenberg http://www.raiks.de/contact.html ________________________________ |