On Jan 31, 2009, at 7:58 AM, Bob Sysero llc Dev wrote:

> Everything ran without a problem when I did a $ cd $HOME/temp/ 
> HelloWorld
> and then
> python main.py. The Form came right up without any errors. I even  
> moved
> the main into the ui directory and was able to click on the main and  
> run
> the Form.
>
> Any ideas why dabo can't find ui directory where "HelloWorld.cdxml"  
> when
> I click on the main.py from my current directory?


        I don't know why it's not seeing the main.py location as your  
HomeDirectory. I just tried several variations, and they all worked as  
expected.
        
        If you want to dig a little deeper, modify the resolvePathAndUpdate()  
method in dabo/ui.uiwx/__init__.py. The second line of that method  
reads: "hd = app.HomeDirectory". Right after that add a line to  
display the value:

dabo.ui.info("HomeDirectory = %s" % hd)

Since you're running from the ui, use the dialog instead of 'print'.


-- Ed Leafe




_______________________________________________
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]

Reply via email to