It's difficult to say for certain the cause, but I suspect the fix will be
very easy for you, as long as you do some minor prep work first.
1. Make sure you don't have any .pyc files checked into your version
control. If you do, remove them, and add them to your ignore rules.
2. Do the same for *.egg-info, *.egg, and (just in case) devdata.db (or
whichever database file you're using, if you're using sqlite).
3. If you store your virtualenv in your version control system, stop. That
will make problems for you later (and is probably doing so now). Get rid of
it. Instead, use your setup.py to specify versions of packages if you must
(under install_requires). Oh, and make sure to add the virtualenv to your
ignore file as well, just in case.
This gets you down to just the files that actually make up your project. You
may have some extra items (for instance, if you added a README file, or
such), but they shouldn't affect the rest of the system.
Next, make a brand new virtualenv, and activate it. Something like the
following should do nicely. Make sure you're not in any active one before
starting (just in case).
deactivate
virtualenv --no-site-packages ${HOME}/Software/tg21env
source ${HOME}/Software/tg21env/bin/activate
Finally, enter your project's directory, and do this:
python setup.py develop
And that's it. The prep work is common across any project, and I recommend
doing it regardless. It will help you keep your projects clean and easily
worked on by others. The last bit is just standard stuff for any "how to
begin work" on a project that uses virtualenv, not just TG.
Hopefully, this helps. If not, please let us know, but also let us know the
versions of the packages installed in your virtualenv, and (if possible) the
versions for where things worked. That will help us to narrow down the
difference and get it fixed.
--
Michael J. Pedersen
My IM IDs: Jabber/[email protected], AIM/pedermj022171
Yahoo/pedermj2002, MSN/[email protected]
My Online Resume: http://www.icelus.org/
Twitter: pedersentg
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.