Comments (5)
Placing the following code near the top of urlwatch will suppress the error:
import signal
# ignore broken pipe
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
Maybe @thp can add it?
Upon further examination, it appears this will also suppress any SIGPIPE on a socket. Not sure if this behavior will pose a problem.
from urlwatch.
Looks like when a SIGPIPE for a socket is received, the network send will return an error, so that should be good. I guess I'll add this to Git now.
from urlwatch.
Glad this could get sorted so quickly! Thank you both.
from urlwatch.
I get this on my Fedora 24 workstation after installing urlwatch with pip:
$ urlwatch File "/usr/bin/urlwatch", line 93
...
^
SyntaxError: invalid syntax
because of the "..." in commit 9c675de .
Edit: Sorry, that seems to be correct python3 syntax.
from urlwatch.
@DerEineDa as you probably have already noticed in your edit, you need to install urlwatch using Python 3's PIP.
from urlwatch.
Related Issues (20)
- How to handle errors like "Connection broken: IncompleteRead" HOT 2
- Browser Job not working HOT 5
- HtmlReporter uses invalid css color HOT 1
- RequestsDependencyWarning: urllib3 HOT 4
- Feature request: error threshold HOT 2
- TypeError: string indices must be integers HOT 2
- UnicodeDecodeError: 'charmap' codec can't decode byte
- Shell reporter not working HOT 5
- --gc-cache does not delete unused keys from redis db HOT 2
- Keye
- KeyError thrown when using default config YAML HOT 8
- Watching webpage that needs a session cookie HOT 2
- XPath/CSS filter: `exclude` not working properly HOT 6
- White underline visible in documentation code blocks due to Sphinx Theme HOT 9
- Consider switching to playwright-python from pyppeteer HOT 1
- DeprecationWarning alerts related to "Docutils 0.21 or later" HOT 1
- urlwatch fails to find example files when launched from /usr/sbin HOT 3
- Pushover reporter: Implement possibility to override `priority` on url configuration HOT 2
- Built-in "ntfy" reporter HOT 2
- Wait for selector? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urlwatch.