Revision history [back]
Hi there, I could not reproduce your error, but I would like to test on your versions of django and the same database, and same version of the python db adapter.
Most likely it is a missing dependency problem and not circular import. If you like to debug the import problem - add print statements before and after the suspect import. Once you find a place like that - go one level deeper and continue.
I will add a requirements file soon, to ease the installation of askbot with pip in the cases like yours. Someone already pointed out that it is not easy to debug dependency issues in askbot, we'll need to add more explicit checks for that.
Hi there, I could not reproduce your error, but I would like to test on your versions of django and the same database, and same version of the python db adapter.
Most likely it Regarding the circular imports - they work as long as they can be resolved at run time.
In order to confirm that the problem is due to a missing dependency problem and not circular import. If you like to debug the import problem - add some print statements just before and after the suspect import. import.
Once you find a the place like that causes error - go one level you can debug deeper and continue.into the module being imported until you find the failing import.
I think it is possible that you are simply missing some dependency (especially given that you've installed them manually), sometimes error messages are not very helpful, unfortunately.
I will add a requirements file soon, to ease the installation of askbot with pip in the cases like yours. Someone already pointed out that it is not easy to debug dependency issues in askbot, we'll need to add more explicit checks for that.yours.