Posted by Alexsandr Isayko |
|
I'm confronted with difficulties at this point. TIA don't worry be happy, bitch! |
|
Posted by Herbert Poul |
|
this is weird.. i've had similar reports before.. but was never able to reproduce the problem..
what software + version are you using ? mysql ? django trunk ? sct trunk ? Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by Alexsandr Isayko |
|
WinXP Sp2
Python 2.5.1 Django trunk SCT trunk Mysql 5.0.22 One more weakness i'm find when replying to thread - url of link "Board" is corrupt (http://127.0.0.1:8000/forums/reply/show/0/ instead http://127.0.0.1:8000/forums/show/0/) don't worry be happy, bitch! |
|
Posted by Herbert Poul |
|
could you please try out a few debugging statements.. i have written a few thoughts here: http://code.google.com/p/sct-project/issues/detail?id=81&colspec=ID%20Type%20Status%20Priority%20Milestone%20Component%20Owner%20Summary#c9 - although haven't gotten any notice what the result was..
seems to be a simple bug.. never noticed that before.. i have created an issue for it http://code.google.com/p/sct-project/issues/detail?id=87 Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by Herbert Poul |
|
you mean the debug.log remained empty ? but was it created ?
anyway .. you can also try to use normal print statements instead of logger.debug in sphene/sphboard/models.py .. try it, start the debugging server.. and try to reproduce it .. fyi: i've now tried it with mysql 5.0 .. and everything worked as it should.. so it's probably no DB specific problem.. neither from the python version (since i'm using python2.5 on this server) .. i still have no idea actually :( --- Last Edited by Herbert Poul at 2008-01-31 22:26:21 --- Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by Herbert Poul |
|
ah .. and .. could you look into the database if you get any results with:
select * from sphboard_threadinformation; .. if you have any results.. get a ID from a post (e.g. /board/thread/684/ take that 684): select * from sphboard_threadinformation where root_post_id = 684; ... do you get any results ? Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by Alexsandr Isayko |
|
select * from sphboard_threadinformation where root_post_id = 684 -- -- -- no results !!! jh my god! Мляяятьь don't worry be happy, bitch! |
|
Posted by Herbert Poul |
|
have you replaced 684 with a post id that exists on your setup ? :)
is there an easy way i could try to directly debug SCT within your project ? maybe you could send me your project (in a zip file or something) .. or do you have a server where i could debug it remotely or something ? Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by Alexsandr Isayko |
|
:) Third beer it would be out of place :) Sorry
In general - mysql return the records on this query
access to project i c't give because it commercial don't worry be happy, bitch! |
|
Posted by Herbert Poul |
|
ok .. let's try it another way :) .. update from subversion .. and then replace the file communitytools/sphenecoll/sphene/sphboard/models.py with the file i've attached to this post ..
afterwards run the development server.. and post a new thread.. you should see something like:
Hey, we have Signatures !!! Great, isn't it ? ;) |