Michael J. Cohen
ee4e91d318
Default exception handler no longer assumes all remaining exceptions take (errno, string) pairs.
...
Previously any exception that made it all the way up to the default
exception handler would be expected to take (errno, string) pairs,
as is the python standard for exceptions thrown by system calls.
All exceptions that don't take enough arguments throw a ValueError.
Based on the errno tested, it appears that this code
is meant to silently ignore when a socket receives a SIGINT (from
e.g. a timeout.) This seems to be the only instance where handling
EINTR in this manner is desired - though having this bubble up this
far seems odd.
The existing code would also handle any other EINTR, though, which
includes those raised by OSError, WindowsError, and
anything that subclasses EnvironmentError, barring KeyboardError
because it is handled separately. This is a bug as there is already
some use of the signals module elsewhere in CouchPotato.py to trap
SIGINT and SIGTERM outside of system calls, and most of these other
EINTRs should be handled by code lower down the stack.
A default exception handler is also added, so that unhandled
exceptions will be logged, and raised.
2012-04-03 19:34:21 -04:00
Ruud
8c0de491dc
Correct type check fix for downloaders
2012-04-03 23:18:55 +02:00
Ruud
7a246bc190
Safe filename for nzb files
2012-04-03 21:34:12 +02:00
Ruud
7dd89247f2
Post hostname with bookmark
2012-03-18 17:44:20 +01:00
Ruud
4cca9fbb6a
Use host from current page, nog from config
2012-03-18 17:25:23 +01:00
Ruud
59c2e101d7
Reference to self
2012-03-18 17:08:22 +01:00
Ruud
02fb1a5741
Userscript bookmarklet
2012-03-18 16:02:26 +01:00
Ruud
a9cc7a457b
List notifications
2012-03-15 22:16:22 +01:00
Ruud
43529a9e64
No option for CP provider
2012-03-15 20:56:36 +01:00
Ruud
15175a0330
Notification system
2012-03-14 20:33:22 +01:00
Ruud
2323136221
Don't load empty json
2012-03-13 08:04:04 +01:00
Ruud
63225f7e5c
Library info as json
2012-03-12 21:43:34 +01:00
Ruud
eceaf465f0
Better git version check
2012-03-11 02:46:08 +01:00
Ruud
34611e1061
Better priority merging
2012-03-11 02:12:03 +01:00
Ruud
8803323ae4
Rating and director XBMC metadata fix
2012-03-11 00:53:03 +01:00
Ruud
d1315ffc81
Catch metadata exception and continue
2012-03-11 00:25:52 +01:00
Ruud
7675ef80fe
Don't type behind searchbox
2012-03-11 00:21:29 +01:00
Ruud
bb27d0a18b
Remove non-used items from imdbapi
2012-03-11 00:03:59 +01:00
Ruud
93eecc614c
Use spin.js for loaders
2012-03-10 23:21:00 +01:00
Ruud
9a88cc8e0b
Prio tmdb searches before imdbapi
2012-03-10 23:19:51 +01:00
Ruud
3f84f22262
Don't return imdb empty poster
2012-03-10 23:13:06 +01:00
Ruud
3f08238adb
Don't show scheduler warnings
2012-03-10 23:12:34 +01:00
Ruud
b3ba732854
Don't ask password on userscript iframe
2012-03-10 17:35:19 +01:00
Ruud
088dc5386c
Better shutdown of process
2012-03-10 17:07:19 +01:00
Ruud
bfbd3b26a9
Don't show xbmc error message when not available
2012-03-09 12:40:36 +01:00
Ruud
e7be68bf10
Return int for permission settings
2012-03-09 12:38:59 +01:00
Ruud
9df218d0a8
Enable octal and decimal permission settings
2012-03-08 00:51:12 +01:00
Ruud
e2675bd28c
Remove getppid script
2012-03-08 00:50:24 +01:00
Ruud
af46827eb2
Better score calculating
2012-03-06 23:37:55 +01:00
Ruud
6e8a1950cd
Spinner overlay color
2012-03-06 19:14:52 +01:00
Ruud
0ce183968d
styling, element alignment
2012-03-06 18:04:22 +01:00
Ruud
d03d1565f3
Styling fix for numberlist
2012-03-06 17:59:25 +01:00
Ruud
d2fd098030
Notify my Windows Phone support
...
Thanks to https://github.com/yngvebn
2012-03-06 16:15:47 +01:00
Ruud
aa0f7bfb36
Don't return rotten tomatoes results with imdbapi for now
2012-03-06 08:02:25 +01:00
Ruud
d0aca61165
Try and stop running daemon first
2012-03-06 07:55:30 +01:00
Ruud
f2b1c6b688
Better search result popup
2012-03-06 07:52:02 +01:00
Ruud
70783d3b60
Move check for updates to more menu
2012-03-05 21:12:39 +01:00
Ruud
59373b0793
Only show parent id > 1
2012-03-05 19:52:37 +01:00
Ruud
80ecfdba00
Show pid and parent_id in about page
2012-03-05 19:02:53 +01:00
Ruud
84246a6799
Try and get imdb url before sending it to CP
2012-03-05 18:54:32 +01:00
Ruud
2f69a0694c
Proper link to userscript when updating
2012-03-05 11:40:26 +01:00
Ruud
d8a126cac4
Letterboxd userscript support
2012-03-05 10:17:30 +01:00
Ruud
18510cbd38
More menu styling
...
Logs link fix
2012-03-05 07:50:49 +01:00
Ruud
58f132546d
Move logs to more menu
2012-03-04 23:29:12 +01:00
Ruud
f160bfe779
Reordering of settings
2012-03-04 23:26:36 +01:00
Ruud
ca67370b44
Cleaner userscript CSS
2012-03-04 20:46:45 +01:00
Ruud
2d3dc8f7c8
Crossbrowser transition
2012-02-29 23:27:17 +01:00
Ruud
9ca29749a6
Cleaner A-Z in movie list
2012-02-29 23:26:30 +01:00
Ruud
62d89c641a
Extra manage options
2012-02-29 23:02:57 +01:00
Ruud
560f74e5ba
Proper movie list selection and optimization
2012-02-29 08:52:26 +01:00