Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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 circular import - add some print statements just before and after the suspect import.

Once you find the place that causes error - you can debug deeper 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.

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.

Regarding Most likely it is a missing dependency problem and not circular import. If you like to debug the circular imports - they work as long as they can be resolved at run time. In order to confirm that the import problem is due to a circular import - add some print statements just before and after the suspect import.

import. Once you find the a place like that causes error - you can debug go one level deeper 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.and continue.

I will add a requirements file soon, to ease the installation of askbot with pip in the cases like yours.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.