Mageia Bugzilla – Attachment 5184 Details for
Bug 13465
childsplay will not start
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
SPMainCore.py fix
childsplay-fix-sqlalchemy-exceptions-import.patch (text/plain), 934 bytes, created by
Tadej Panjtar
on 2014-06-01 17:05:05 CEST
(
hide
)
Description:
SPMainCore.py fix
Filename:
MIME Type:
Creator:
Tadej Panjtar
Created:
2014-06-01 17:05:05 CEST
Size:
934 bytes
patch
obsolete
>--- /usr/lib/python2.7/site-packages/childsplay_sp/SPMainCore.py.old 2014-06-01 14:51:37.967045767 +0200 >+++ /usr/lib/python2.7/site-packages/childsplay_sp/SPMainCore.py 2014-06-01 16:48:12.058109656 +0200 >@@ -61,7 +61,7 @@ > from SPocwWidgets import ExitDialog, InfoDialog, GraphDialog, Graph, Label, \ > ExeCounter > from SPVirtualkeyboard import VirtualKeyboard >-from sqlalchemy import exceptions as sqla_exceptions >+from sqlalchemy import exc as sqla_exceptions > > # Used to cleanup stuff when the Python vm ends > def cleanup(): >@@ -197,7 +197,7 @@ > # get a datamanager which will also handle the login screen > try: > self.dm = SPDataManager.DataManager(self.spgoodies) >- except sqla_exceptions.SQLError: >+ except sqla_exceptions.SQLAlchemyError: > self.logger.exception("Error while handeling the dbase, try removing the existing dbase") > # setup misc stuff >
--- /usr/lib/python2.7/site-packages/childsplay_sp/SPMainCore.py.old 2014-06-01 14:51:37.967045767 +0200 +++ /usr/lib/python2.7/site-packages/childsplay_sp/SPMainCore.py 2014-06-01 16:48:12.058109656 +0200 @@ -61,7 +61,7 @@ from SPocwWidgets import ExitDialog, InfoDialog, GraphDialog, Graph, Label, \ ExeCounter from SPVirtualkeyboard import VirtualKeyboard -from sqlalchemy import exceptions as sqla_exceptions +from sqlalchemy import exc as sqla_exceptions # Used to cleanup stuff when the Python vm ends def cleanup(): @@ -197,7 +197,7 @@ # get a datamanager which will also handle the login screen try: self.dm = SPDataManager.DataManager(self.spgoodies) - except sqla_exceptions.SQLError: + except sqla_exceptions.SQLAlchemyError: self.logger.exception("Error while handeling the dbase, try removing the existing dbase") # setup misc stuff
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13465
: 5184