On Jan 29, 2009, at 11:44 PM, John Hampton wrote:
> Well, I just typed a long message, and lost it (yay for copy-and-paste
> errors).
That's never happened to me before! (yeah, right) ;-)
> Running the ClassDesigner.py via:
>
> sudo pythonw ClassDesigner.py
>
>
> and attempting to update after being prompted that updates are
> available
> results in a message saying that I don't have permission to update.
> The
> error printed to the console is:
>
> Dabo Error Log: Thu Jan 29 21:30:36 2009: Cannot update files; Error:
> [Errno 21] Is a directory:
> '/Library/Python/2.5/site-packages/Dabo-0.9.0-py2.5.egg/dabo/lib/
> datanav2'
That's odd, but I can confirm that the response from webupdate
includes lib/datanav2 as a plain file to be updated. I will look into
it.
> Pressing on "OK" to close the dialog results in:
>
> Traceback (most recent call last):
> File "ClassDesigner.py", line 4144, in <module>
> clsDes = ClassDesigner(f)
> File "ClassDesigner.py", line 168, in __init__
> self.setup()
[snip]
>
> File
> "/Library/Python/2.5/site-packages/Dabo-0.9.0-py2.5.egg/dabo/ui/uiwx/
> uiApp.py",
> line 235, in checkForUpdates
> if vers is None:
> UnboundLocalError: local variable 'vers' referenced before assignment
Yep, that's a bug. I've posted a fix, but I won't push it to Web
Update until I can figure out why it's sending a directory name in the
list of files.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]