Hello, Am 23.10.2010 09:04, schrieb Fraser Burns: > I cd until I am positioned in the "orders project". > ~/src/dabo/projects/orders > I choose to edit some code within "ui" called "need-code.py"(for example) > I happen to like using Editor.py > So I type "python 'pathto'/Editor.py ui/need-code.py" > The editor opens fine, loads the file fine, allows the code to edit > fine, but then won't let me save it. > > When I try to Save I get a Dialog: > Error stating file > '/home/fraser/src/dabo/projects/orders/ui/ui': No such file or directory > > If I give up and decide to just close Editor.py without saving, I get > the dialog: > Do you want to save your changes to file 'ui/need-code.py'? > > Obviously the terminal is spitting out the trace back too. > If instead I cd into the ui folder, then everything works as I would > expect (apart from the random refusal of the Ctrl+S ) > > It seems to be an issue of adding the path in twice. I'm guessing there > was no thought to editing a file other than in the folder you start in. >
Another workaround: open the Editor without a filename and then open the file. That works (at least on Linux) and lets you edit several files in different directories (ui and biz for example). But all of this isn't really nice. HTH Sibylle _______________________________________________ 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]
