Hello.
Just trying the PyCon tutorial and I am trying to run
------------------------
import dabo
app = dabo.dApp()
app.start()
----------------
This is the execution of this file
What am I doing wrong???
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import simple
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "simple.py", line 3, in <module>
app.start()
File "C:\python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\dApp.py",
line 3
83, in start
self.setup()
File "C:\python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\dApp.py",
line 3
28, in setup
self._initDB()
File "C:\python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\dApp.py",
line 9
17, in _initDB
cn = self.getConnectionsFromFile(f)
File "C:\python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\dApp.py",
line 9
92, in getConnectionsFromFile
connDefs = importConnections(filePath, useHomeDir=True)
File
"C:\python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\lib\connParser.p
y", line 79, in importConnections
xml.sax.parse(f, ch)
File "C:\Python25\lib\xml\sax\__init__.py", line 33, in parse
parser.parse(source)
File "C:\Python25\lib\xml\sax\expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Python25\lib\xml\sax\xmlreader.py", line 123, in parse
self.feed(buffer)
File "C:\Python25\lib\xml\sax\expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "C:\Python25\lib\xml\sax\handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException:
C:\dab\dabo\projects\FileName.cnxml:1:0:
syntax error
>>>
KeyboardInterrupt
>>>
--
View this message in context:
http://old.nabble.com/Running-simple.py-in-PyCon-tp28137430p28137430.html
Sent from the dabo-users mailing list archive at Nabble.com.
_______________________________________________
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]