Re: [Boa Constr] Bicyclerepairman needs a repair!
Status: Beta
Brought to you by:
riaan
From: F.A. P. <f_...@ly...> - 2007-06-01 09:47:35
|
Hi Tim, Werner, I did the repeat test and got the same results. So here is what I did. Removed from site packages: Folder: bike Files: All starting will Bicycle... and bike... Download from sourceforge the version 0.9 of BicycleRepairMan From the folder where you expanded the download. Edit File: \ide-intergation\BicycleRepairMan_Idle.py ---This is what has the wrong indentation and garbage: def confirm_buffer_is_saved(self, editwin): if not editwin.get_saved(): name = (editwin.short_title()or editwin.long_title()or "Untitled") reply = tkMessageBox.askokcancel("Bicycle Repair Man", "The buffer for %s is not saved.\n\n"%name+ "Save it and continue?", master = self.editwin.text) &nbs p; self.editwin.text.focus_set() if reply: editwin.io.save(None) else: return 0 return 1 I used Python IDLE to do this while Boa/Editor complained about my unicode install. From the above you also have to remove this: &nbs p; I aligned self.editwin.focus_set() with reply. Now the above section looks like this: def confirm_buffer_is_saved(self, editwin): if not editwin.get_saved(): name = (editwin.short_title()or editwin.long_title()or "Untitled") reply = tkMessageBox.askokcancel("Bicycle Repair Man", "The buffer for %s is not saved.\n\n"%name+ "Save it and continue?", master = self.editwin.text) self.editwin.text.focus_set() if reply: editwin.io.save(None) else: return 0 return 1 save the editted file. From the folder remove the file: bike/query/getPackageDependencies.py You may look at it first, I found it not very repairable. Return to Boa From the expanded downlaod folder load the file setup.py Run: File/setup install Restart Boa. Now it should work. It did for me, but... on BRM Definition it sometimes it crashed Python or it found a syntax error or the wrong definition It found dlg.GetPath() with only GetPath selected, but crashedon parents.getParentsList() with only getParentsList selected. It did find parents.getParentsList select in total. Sorry, I forgot to note the occasion the syntax error. It found something totally unrelated with Family.select() with only select selected. Do I have exclusive rights on these errors? Could the removal of getDependencies.py explain all of the above? File/setup install does copy a lot from downloaded files and folders into a new created folder, in the same folder the setup.py resides, named build. Once this folder is present it stops doing that, so changing downloaded files once this folder is present has no effect. To do that just delete it, it is save to do that while it is not part of the download. The same holds for the destination of the files in Python25\lib\site-packages. Once there they are not 'replaced' Python25 is where I installed Python,wxPython and Boa. I thought setup clean would remove this build folder, it seems to do something while I heard the disk rattle a while. I hope this helps. I posted on bicyclerepair-general list at SF and mailed to the project admin. what can we do more? Frans. |