#817: Upgrading past SVN 1081 breaks external modules' datababse connectivity.
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: SQLObject | Version: 0.9a5
Severity: major | Resolution:
Keywords: |
---------------------------------+------------------------------------------
Comment (by [EMAIL PROTECTED]):
After some strong coffee and logical thinking I now understand the true
problem:
1. SQLObject should not be attempting to communicate with the database;
1. At all during package initialization; and,
1. Not before there is a database connection or full startup has been
achieved.
1. There should be some way to determine if a property, function, or
method of an entry point is available without calling and thus
initializing the whole package containing that entry point.
Temporarily, at least, the problem can be made to go away by removing or
commenting out the tgsymbols related code from `turbogears/__init__.py`.
This solution is, however, not optimal as being able to add properties to
the turbogears namespace is useful. The only true fix is to change
SQLObject's behavior to not query the database when initializing the child
of an InheritableSQLObject. Unfortunately that operation is above -my-
head. I'll post a link to this ticket on the SQLObject trac with a
description of the main problem.
- Alice
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/817>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---