Comments (3)
That's weird. It works for me. I thought that by calling _set_stop()
, which sets the flag to stop the recording thread after the next iteration, it would terminate recording. Maybe there's an edge case that is not covered? Anyway, I'd be happy to merge a PR that fixes that if you want to give it a shot.
Thanks for the report.
from timelapse.
I tried very hard to figure out if there is some weird race condition in there. When _set.stop()
is called, it seems to do its job. The loop in run()
does indeed terminate. So I cannot figure out why Thread.join()
then hangs. I even tried using a timeout in Thread.join
, but that makes no difference: it hangs and does not time out.
The only clean solution I've found is to run Recorder in a different process. PR #24 does so.
from timelapse.
Thanks for merging PR #24 @mre.
from timelapse.
Related Issues (20)
- White macOS icon HOT 3
- Use ffmpeg from user path instead of specifying one HOT 2
- Use Python 3 types HOT 4
- Stops working after computer locks HOT 3
- Release 1.0 🎉 HOT 9
- Improve app notifications/alerts HOT 2
- Timelapse Error [Errno 2] No such file or directory: 'ffmpeg':'ffmpeg' HOT 2
- Make screenshot interval configurable HOT 3
- Invalid filename: __init.py__ HOT 1
- Faster video creation HOT 2
- Timelapse Error [Errno 2] after stop recording HOT 18
- No output on Mojave HOT 5
- Define which part of the screen gets recorded HOT 1
- Nothing happens at all HOT 3
- Creates a massive amount of PNG captures HOT 4
- support two screens HOT 1
- timelapse freeze on suspend HOT 2
- "Timelapse Error" on macOS Ventura HOT 1
- Ability To Pause Recording HOT 6
- ❤️ Call For Maintainers
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 timelapse.