Uwe Grauer wrote: > Bob Sysero llc Dev wrote: > >> Dear Dabo, >> >> Ubuntu 8.04 running under Gnome. The last problem was with running >> main.py to run my demo. The problem was when I printed the current >> directory the return value contained my path twice. Ed Leafe ran the his >> main.py on KDE linux without any problem. What I am thinking is there >> my be a major problem with Gnome. Have any one ran in this problem on >> Linux and would it be better to use KDE for Dabo? >> >> > > I can't think of any reason why Gnome should behave differently than > KDE for path handling. I agree that Gnome and KDE should be the same but when Ed had no problems running the main.py from his KDE it made me think there may be a problem .
>> I have a database that is located in my db directory called >> menuButtonApp.sqlite. I also created menuButtonConnection.cnxml that is >> located also in the db directory that was created with dabo CxnEditor. >> In my Class Designer I want to create a "Grid using the Add Controls >> from Environment". The problem I am having in the "Select Data >> Connection" Open a Connection I am able to select >> menuButtonConnection.cnxml in the Dialog but my menuButtonConnection is >> not displayed in the Select Data Connection. What is displayed is >> Sample >> @ >> > > Why did you put your cnxml file into the db directory? > Do you understand the notion of the current working directory? > Did you try putting it into the same directory as your main.py file > after you changed it according to that location? > In the past I was able to place my Connection1.cnxml file in the same directory that my database was located, to keep everthing related together. When running the CD I want to place a grid in my PageFrame and Selected" Add Controls from Data Environment" that brings up "Select Data Connection" Window. I then select Open Connection to select my Connection file menuButtonConnection.cnxml that was no problem. My connection menuButtonConnection.cnxml should be displayed in the Select Connection List, which it is not being displayed at all but I am geting in the list is Sample and the the @. I had this problem in the past and was fixed by one of the dabo developers. I though that maybe the length is a problem so I changed it to Connection.cnxml. That did not correct the problem. I even tried to place the file in my current directory and that failed. I even crated a script to run dabo CD to see if that will solve the problem and it to failed. export PYTHONPATH=/home/bobsysero/0SyseroProjects/aSyseroSBsystem cd /home/bobsysero/0SyseroProjects/aSyseroSBsystem /home/bobsysero/src/dabo/ide/ClassDesigner.py ui/SyseroSB.cdxml > Did you start CD from the same directory as your main.py? > > Does the connection test of CxnEditor give different results than the > CD when started from the commandline from the directory where your > main.py is located? > In the CxnEditor when I select Test after making the connection to my Sqlite database that is located in the db directory. No Problems and the file is created in the db and I have look in the file to make sure everything looks alright. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <connectiondefs xmlns="http://www.dabodev.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dabodev.com conn.xsd" xsi:noNamespaceSchemaLocation = "http://dabodev.com/schema/conn.xsd"> <connection dbtype="SQLite"> <name></name> <host></host> <database>../syseroAppEngine.sqlite</database> <user></user> <password></password> <port></port> </connection> </connectiondefs> > Uwe > > Uwe > > > [excessive quoting removed by server] _______________________________________________ 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]
