Carl Karsten wrote: > On Thu, Jan 28, 2010 at 10:03 AM, Jeff Johnson <[email protected]> wrote: >> Carl Karsten wrote: >>> This worked on my laptop, then I moved it to another box and it >>> didn't. I am not sure where to start. I am hoping something isn't >>> defaulting like it should be. >>> >>> The lines with blanks before/after are what was executing. >>> >>> 16. from django.core import serializers >>> 17. >>> 18. from datetime import datetime >>> 19. from datetime import timedelta >>> 20. import os >>> 21. import csv >>> 22. from cStringIO import StringIO >>> >>> 23. from dabo.dReportWriter import dReportWriter ... >>> >>> 24. >>> 25. from main.models import Client,Show,Location,Episode,Cut_List >>> 26. from main.forms import Episode_Form_small, Episode_Form, clrfForm >>> 27. >>> 28. from accounts.forms import LoginForm >>> 29. >>> >>> >> Carl: I had this problem the other day and traced it to a pathing >> problem. The file was not found in the path even though I could import >> everything. >> >> HTH > > What file? > > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.432 / Virus Database: 271.1.1/2650 - Release Date: 01/27/10 > 19:36:00 >
I am not sure what file it was looking for. The traceback just said "translation file". I guessed it had to do with what folder I was running the program from. I ran it so that I could see all things dabo and it worked. It was able to import dabo because of my .pth file, but for some reason it couldn't find the "translation file". Not a very scientific approach and probably not much help for you, but it worked for me. I'm not sure I understand all I know about this. ;^) -- Jeff Jeff Johnson [email protected] Phoenix Python User Group - [email protected] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
