Commit Graph

15903 Commits

Author SHA1 Message Date
simhnna@gmail.com
f833150003 Instead of raising an error when converting paths, return None and log an error.
The method is allowed to return None, so calling functions should handle that. Raising an error is very rude behavior and the output just said that the input was invalid with no real clue as to what is wrong.

Now None is returned without causing too much hassle, and a proper error is logged mentioning what exactly caused the error.

The test case was updated.

This is sort of related to https://bugs.launchpad.net/openlp/+bug/1786601 in that this would have been nice to actually know what went wrong and failback to None.

bzr-revno: 2829
2018-08-18 22:16:14 +02:00
Simon Hanna
3ae978e4be Log an error instead of debug output 2018-08-12 13:14:47 +02:00
Simon Hanna
3e5eb698d9 Return None instead of raising an error when converting path objects 2018-08-12 13:12:03 +02:00
Tomas Groth
5e3c3f55d2 Fix some pylint failures and add qtawesome to appveyor install.
bzr-revno: 2828
2018-08-05 22:42:05 +02:00
Tomas Groth
0aadec661f Fix some pylint failures and add qtawesome to appveyor install. 2018-08-05 22:28:01 +02:00
Tomas Groth
0bef12612f Update resource file
bzr-revno: 2827
2018-08-04 23:25:14 +02:00
tim.bentley@gmail.com
afef6b7aba Replaced png icons with fonts
Added ability to have custom fonts

bzr-revno: 2826
2018-08-04 23:11:51 +02:00
Tim Bentley
753a8946c3 fix icons 2018-08-04 22:01:15 +01:00
Tim Bentley
3a0d0ff2ea Head 2018-08-04 21:58:13 +01:00
87c68af874 Fix windows not naming localhost interface to lo
bzr-revno: 2825
2018-08-04 21:34:31 +02:00
edada54d7e Fix windows not using lo as network interface 2018-08-03 15:32:32 -07:00
Tomas Groth
19922d38d9 Workaround for bazaar no longer working on appveyor. We now download a tarball instead of checking out the code.
bzr-revno: 2824
2018-08-03 11:57:58 +02:00
Tim Bentley
3d156cbea1 remove extra 2018-07-21 08:46:34 +01:00
Tomas Groth
378ad41747 More improvements to appveyor integration. 2018-07-16 22:01:47 +02:00
Tim Bentley
023753b2fc fix tests 2018-07-15 20:54:41 +01:00
Tomas Groth
6adf749e99 Change appveyor integration to not rely on bzr. 2018-07-14 21:56:11 +02:00
Phill Ridout
6a8bf83d27 Add cetralised proxy support
bzr-revno: 2823
2018-07-12 21:10:35 +01:00
Tomas Groth
9c0f8d73e1 Fix pep8 and pylint errors detected by new version.
bzr-revno: 2822
2018-07-07 08:45:39 +02:00
Tomas Groth
e3d163bf7a Remove debug print 2018-07-06 22:23:33 +02:00
Tomas Groth
4dd16d1bd6 pep8 fix 2018-07-05 22:43:55 +02:00
Tomas Groth
ac14c0186d fix pylint test 2018-07-05 22:33:07 +02:00
Tomas Groth
588cf96b5a Fix a test 2018-07-05 21:18:16 +02:00
Tomas Groth
5bb449455d Disable broken pylint check on specific line 2018-07-04 22:50:31 +02:00
Tomas Groth
56a811c094 More pycodestyle fixes 2018-07-04 22:42:55 +02:00
Tomas Groth
318e90f893 Fixes for pycodestyle 2018-07-02 22:38:47 +02:00
0d0ec8f818 Remove an unnecessary exception; Notify the user if one of the plugins fails to initialise; Try to make image slides work properly. 2018-06-30 21:36:32 -07:00
Tim Bentley
c064259e7e fix up after projector merge 2018-06-28 21:40:54 +01:00
a49d8068d8 PJLink2 update S
bzr-revno: 2821
2018-06-28 22:24:12 +02:00
64524318b3 Updated fix for server error when getting version 2018-06-28 09:51:35 -07:00
bc832c7c72 PJLink2 update S 2018-06-28 08:37:37 -07:00
Tim Bentley
51f8eaa911 add tests 2018-06-27 22:01:30 +01:00
Tim Bentley
5c26cf8cf0 fixes 2018-06-26 20:44:54 +01:00
Tim Bentley
0966f8c782 fix mission openlp 2018-06-26 19:59:17 +01:00
Tim Bentley
0d5673ebbb fix bzrignore 2018-06-26 18:10:34 +01:00
Tim Bentley
13f52e96db new tree 2018-06-26 18:08:36 +01:00
Tim Bentley
01c846e6e2 update ignore 2018-06-25 20:52:54 +01:00
Tim Bentley
2bb842b21c Conversion finished 2018-06-24 07:56:50 +01:00
Tim Bentley
206decbb7e finish projector 2018-06-16 07:09:15 +01:00
Tim Bentley
b6dc37fb0b remove more and fix code 2018-06-10 20:29:00 +01:00
Phill Ridout
2aaa0bf287 break out the code using multiple when/thens 2018-06-10 07:38:42 +01:00
Phill Ridout
70c777b7e3 Add translate methods 2018-06-10 07:38:16 +01:00
Phill Ridout
2e02060707 fix 2018-06-08 21:55:20 +01:00
Phill Ridout
03400afc7c Pep 2018-06-08 07:21:41 +01:00
Phill Ridout
94758a9778 Pep 2018-06-08 07:21:23 +01:00
Phill Ridout
fac5d4b798 Fixes 2018-06-08 07:12:23 +01:00
Phill Ridout
dce509e909 Add some forgetten files 2018-06-07 18:45:24 +01:00
Phill Ridout
6f34f8f2b8 Start on implementing global OpenLP proxying 2018-06-07 18:44:35 +01:00
Tim Bentley
d8e6dfaf19 more projector 2018-06-03 18:30:11 +01:00
Tim Bentley
d0950f2bd5 start projector 2018-06-03 18:10:29 +01:00
Tim Bentley
2f144c79d8 more icons 2018-06-03 17:07:20 +01:00