Thanks Ben, thats exactly what I did I just let it override everything. Migration is going to be alot more work then I originally thought, I still have a copy of the original files (pre migration) I think I'll do a diff on the files to see whats different. From what you wrote below I should pay close attention to the lib my base file. Any other files I should pay particular attention to? I guess what is going to be difficult is teasing away what you can allow to be overwritten vs what you can't let be overwritten Jose
Ben Bangert wrote: > On Jul 16, 2007, at 2:40 PM, Jose Galvez wrote: > >> Sure, >> First I was testing with pylons-0.9.6rc2dev_r2256-py2.5.egg >> >> The project was created with pylons 0.9.4.1 <http://0.9.4.1> and then >> converted after installing rc2 using overwrite the test project was >> not installed using easy_install simply created and run from the >> created egg > > Ah, when converting projects I highly recommend using the diff option > with paster, then backing up the old file and merging changes. This > way you don't miss important things, which happened in your case. > >> my controller is: >> from rc.lib.base import * >> >> class MainController(BaseController): >> def index(self): >> res = Response() >> res.write('hello world') >> return res >> >> def template(self): >> return render_response('/main.html') > > Check your lib.base file, I'm guessing you let it override it, and new > projects do not import the Response or render_response, which is the > cause of your other errors. These objects however are still present in > pylons, and adding them to the big from pylons import.... block should > have you rolling again. > > Cheers, > Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
