This is a mirror of the main OpenLP repository at https://gitlab.com/openlp/openlp
Go to file
Dave Warnock 913b0433f6 This update is a tidy up of the code that fixed bug #927473
Changes are made due to the following issues:

- the code assumed that exception OperationalError would only be thrown by  mySQL temporarily disappearing. However, other dbms can throw this exception and usually for errors that mean a retry will also fail.

- the code repeated the actual code of the method within the exception handler. This means code duplication and also that any new exceptions  are not handled by the same exception handler so for example their transaction will not get rolled back.

- not all potential dbms exceptions were caught and so in some cases the database transaction was not rolled back

The solution is to retry transactions where an OperationalError is thrown. Currently these are retried up to 3 times before the error is logged and the method returns false. By retrying the transaction we ensure that the same transaction code with the same exception handlers is used each time.

An additional catchall exception has been added where there is a transaction to ensure that it is rolled back. As with the OperationError this throws the exception back up the stack.
2012-06-10 22:45:02 +01:00
documentation Changed some things to comply with Debian's packaging policies. 2012-05-02 22:57:12 +02:00
openlp This update is a tidy up of the code that fixed bug #927473 2012-06-10 22:45:02 +01:00
resources Moved OS X stuff to its own repository. 2012-05-02 23:19:02 +02:00
scripts Moved Windows stuff into its own repository. 2012-05-02 23:02:27 +02:00
testing clean ups 2012-04-12 16:16:12 +02:00
.bzrignore Updated translations. 2012-03-23 22:52:07 +02:00
copyright.txt Raoul felt left out 2011-12-27 11:46:44 +00:00
LICENSE Updated copyright information. Removed .eric4project directory from version control. 2011-02-24 07:47:38 +02:00
MANIFEST.in Add the .png files to the package and set OpenLP's classification. 2011-03-19 09:20:20 +02:00
openlp.pyw reverted some changes to avoid conflicts + clean up 2012-05-17 22:26:31 +02:00
README.txt Updated the copyright notice, adding Jeffrey Smith back in after he accidentally got removed somewhere somehow. 2011-05-24 22:47:05 +02:00
setup.py Fix Fedora validation 2012-03-25 07:26:12 +01:00

OpenLP 2.0
==========

You're probably reading this because you've just downloaded the source code for
OpenLP 2.0. If you are looking for the installer file, please go to the download
page on the web site::

    http://openlp.org/en/download.html

If you're looking for how to contribute to OpenLP, then please look at the
OpenLP wiki::

    http://wiki.openlp.org/

Thanks for downloading OpenLP 2.0!