On 07/27/2010 03:18 PM, Ed Leafe wrote:
> On Jul 27, 2010, at 9:00 AM, Mark Veldhuis wrote:
>
>
>> when trying to connect to the resipes database for the pycon demo, I got
>> another message:
>> /usr/local/lib/python2.6/dist-packages/dabo/lib/SimpleCrypt.py:52:
>> UserWarning: WARNING: SimpleCrypt is not secure. Please see
>> http://wiki.dabodev.com/SimpleCrypt for more information
>> warnings.warn("WARNING: SimpleCrypt is not secure. Please see
>> http://wiki.dabodev.com/SimpleCrypt for more information")
>>
> This is the standard warning we issue if you use the default encryption
> module. It works fine for testing, but it's not secure enough for production
> apps.
>
>
>> Traceback (most recent call last):
>> File
>> "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dControlMixin.py",
>> line 27, in _onWxHit
>> self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
>>
> [snip]
>
>> File
>> "/usr/local/lib/python2.6/dist-packages/dabo/db/dConnectInfo.py", line
>> 105, in getConnection
>> return self._backendObject.getConnection(self, **kwargs)
>> File "/usr/local/lib/python2.6/dist-packages/dabo/db/dbMySQL.py",
>> line 22, in getConnection
>> import MySQLdb as dbapi
>> ImportError: No module named MySQLdb
>>
> You haven't installed the MySQLdb module on that machine. If you want
> to connect to MySQL databases from Python, you need to install that.
>
> I've just posted an SQLite version of the database at
> http://dabodev.com/download#sqlite. You can use that if you don't want to
> install MySQL support.
>
>
> -- 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]
>
>
Thank you Ed, that solved the connection problem. One step closer... :-)
Mark
_______________________________________________
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]