On 23/02/13 08:00, Bert wrote:
Ed
Herewith full traceback, hope this helps
Bert
Traceback (most recent call last):
File "sample.py", line 11, in <module>
app.start()
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/dApp.py",
line 388, in start
self.setup()
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/dApp.py",
line 340, in setup
self.initUIApp()
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/dApp.py",
line 380, in initUIApp
self.uiApp.setup()
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/uiApp.py",
line 432, in setup
frm = self.dApp.MainForm = mfc()
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dForm.py",
line 1044, in __init__
*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dForm.py",
line 40, in __init__
attProperties=attProperties, *args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dFormMixin.py",
line 76, in __init__
attProperties=attProperties, *args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dPemMixin.py",
line 201, in __init__
self._afterInit()
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dForm.py",
line 58, in _afterInit
super(BaseForm, self)._afterInit()
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dFormMixin.py",
line 128, in _afterInit
super(dFormMixin, self)._afterInit()
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dPemMixin.py",
line 339, in _afterInit
self.afterInit()
File "sample.py", line 7, in afterInit
self.lblHello = dabo.ui.dLabel(self, Caption="Hello Pycon",
Fontsize=24, Forclolor="blue")
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dLabel.py",
line 24, in __init__
attProperties=attProperties, *args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dPemMixin.py",
line 184, in __init__
pre.Create(*args, **kwargs)
File
"/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line
1145, in Create
return _controls_.StaticText_Create(*args, **kwargs)
TypeError: 'Fontsize' is an invalid keyword argument for this function
bert@UbuntuServer:~/Projects$ ^C
If I Go to the Application Wizard and try to run that after the
introduction and then trying to connect to the database I get the
following error. here is the traceback: maybe it all the same problem.
Traceback (most recent call last):
File "/home/bert/Projects/dabo/ide/wizards/AppWizard/AppWizard.py",
line 311, in onLeavePage
conn = dabo.db.dConnection(ci)
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/db/dConnection.py",
line 32, in __init__
self._connection = self._openConnection(**kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/db/dConnection.py",
line 85, in _openConnection
return
self._connectInfo.getConnection(forceCreate=self._forceCreate, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/db/dConnectInfo.py",
line 79, in getConnection
return self._backendObject.getConnection(self, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/db/dbMySQL.py",
line 34, in getConnection
import MySQLdb as dbapi
ImportError: No module named MySQLdb
On 22/02/13 22:08, Ed Leafe wrote:
On Feb 21, 2013, at 11:05 PM, Bert <bertt...@iinet.net.au> wrote:
When I changed to $HOME/Projects
When I tried the HelloPyCon in the lib $HOME/Projects it will not
run, I get a lot of errors, first one listed below. It looks as
something is not pointing to the right place, but I am not sure
where to start.
/File
"/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/dApp.py",
line 388, in start//
// self.setup()/
Can you include the full traceback? That usually has some clues
as to what's going on.
-- Ed Leafe
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance:
http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/4da06c7c-66d1-4341-8dd6-1a8781774...@rackspace.com
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance:
http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/51280691.6050...@iinet.net.au
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/512808f1.8010...@iinet.net.au