flamenco-worker.git
6 weeks agoBumped 2.3.1 release date to 'now' master v2.3.1
Sybren A. Stüvel [Fri, 3 May 2019 14:30:13 +0000 (16:30 +0200)]
Bumped 2.3.1 release date to 'now'

6 weeks agoExtra checks on the `manager_url` configuration value
Sybren A. Stüvel [Fri, 3 May 2019 14:30:02 +0000 (16:30 +0200)]
Extra checks on the `manager_url` configuration value

It's easy to get the value wrong, and it's hard to diagnose when that
happens.

8 weeks agoUpdated CHANGELOG
Sybren A. Stüvel [Wed, 24 Apr 2019 16:11:27 +0000 (18:11 +0200)]
Updated CHANGELOG

8 weeks agoBumped version to 2.3.1
Sybren A. Stüvel [Wed, 24 Apr 2019 16:11:17 +0000 (18:11 +0200)]
Bumped version to 2.3.1

8 weeks agoCopy command: ignore errors copying file modes
Sybren A. Stüvel [Wed, 24 Apr 2019 16:10:33 +0000 (18:10 +0200)]
Copy command: ignore errors copying file modes

The `shutil.copy()` function calls `shutil.copyfile()` and
`shutil.copymode()`, and fails when either fails. By calling those
functions separately we can ignore errors copying the file mode (this
happens on SMB shares, for example).

8 weeks agoCopy cmd: Clearer error message when unlinking a destination file fails
Sybren A. Stüvel [Wed, 24 Apr 2019 16:09:12 +0000 (18:09 +0200)]
Copy cmd: Clearer error message when unlinking a destination file fails

8 weeks agoMoved `self.log()` from `AbstractSubprocessCommand` to `AbstractCommand`
Sybren A. Stüvel [Wed, 24 Apr 2019 16:08:46 +0000 (18:08 +0200)]
Moved `self.log()` from `AbstractSubprocessCommand` to `AbstractCommand`

8 weeks agoUpgraded dependencies (mostly to fix security issue in urllib3)
Sybren A. Stüvel [Wed, 24 Apr 2019 15:53:24 +0000 (17:53 +0200)]
Upgraded dependencies (mostly to fix security issue in urllib3)

See CVE-2019-11324.

The urllib3 library before 1.24.2 for Python mishandles certain cases
where the desired set of CA certificates is different from the OS store
of CA certificates, which results in SSL connections succeeding in
situations where a verification failure is the correct outcome. This is
related to use of the ssl_context, ca_certs, or ca_certs_dir argument.

8 weeks agoCopy file: delete destination if it exists, before copying
Sybren A. Stüvel [Wed, 24 Apr 2019 15:48:04 +0000 (17:48 +0200)]
Copy file: delete destination if it exists, before copying

Copying onto a file that already exists isn't allowed when handling files
on a Microsoft SMB share.

2 months agoBumped version to 2.3 v2.3
Sybren A. Stüvel [Mon, 25 Mar 2019 15:33:45 +0000 (16:33 +0100)]
Bumped version to 2.3

2 months agoMarked version 2.3 as released
Sybren A. Stüvel [Mon, 25 Mar 2019 15:33:15 +0000 (16:33 +0100)]
Marked version 2.3 as released

3 months agoBumped version to 2.3-dev9
Sybren A. Stüvel [Tue, 19 Mar 2019 14:53:39 +0000 (15:53 +0100)]
Bumped version to 2.3-dev9

3 months agoFormatting
Sybren A. Stüvel [Tue, 19 Mar 2019 14:45:37 +0000 (15:45 +0100)]
Formatting

3 months agoFixed MyPy issues
Sybren A. Stüvel [Tue, 19 Mar 2019 14:45:33 +0000 (15:45 +0100)]
Fixed MyPy issues

3 months agoSupport authenticated registration at Flamenco Manager
Sybren A. Stüvel [Tue, 19 Mar 2019 14:41:11 +0000 (15:41 +0100)]
Support authenticated registration at Flamenco Manager

To secure the previously-open-to-anyone worker registration on the Flamenco
Manager, we now have to send a JWT token that was signed by a pre-shared
secret. To enable this behaviour, set `worker_registration_secret` both
in the Worker and the Manager configuration files to the same string.

3 months agoChanged CRF for create_video tasks from 23 to 20
Sybren A. Stüvel [Wed, 13 Mar 2019 16:11:52 +0000 (17:11 +0100)]
Changed CRF for create_video tasks from 23 to 20

We need less compression for the Spring edit.

3 months agoUse YUV420p when creating videos from images using FFmpeg
Sybren A. Stüvel [Tue, 12 Mar 2019 16:28:49 +0000 (17:28 +0100)]
Use YUV420p when creating videos from images using FFmpeg

This prevents crushed blacks & highlights when using JPEG as input, as
then FFmpeg defaults to yuvj420p, which uses a 0-255 range instead of
16-235 (at least according to [1]).

[1] https://www.eoshd.com/comments/topic/20799-what-is-the-difference-between-yuvj420p-and-yuv420p/

3 months agoTranslate `OPEN_EXR` DNA image format enum to `EXR` for CLI
Sybren A. Stüvel [Tue, 12 Mar 2019 13:18:04 +0000 (14:18 +0100)]
Translate `OPEN_EXR` DNA image format enum to `EXR` for CLI

Blender's `--render-format` CLI parameter generally takes the same names
as the `bpy.context.scene.render.image_settings.file_format` DNA parameter,
except when it comes to OpenEXR.

See https://developer.blender.org/D4502 for a proposal to make this
consistent.

3 months agoBumped version to 2.3-dev8
Sybren A. Stüvel [Tue, 12 Mar 2019 12:24:59 +0000 (13:24 +0100)]
Bumped version to 2.3-dev8

3 months agoMore logging to the task log, especially when killing a subprocess
Sybren A. Stüvel [Tue, 12 Mar 2019 11:50:07 +0000 (12:50 +0100)]
More logging to the task log, especially when killing a subprocess

3 months agoPlaced timing info collector in a separate class
Sybren A. Stüvel [Fri, 22 Feb 2019 09:42:05 +0000 (10:42 +0100)]
Placed timing info collector in a separate class

Previously the code was spread out through the `TaskRunner` and
`AbstractCommand` classes. Now it's in a class of its own and properly
tested.

Also, the timing info is now sent as one line in the task log, making it
less spammy.

3 months agoBumped version to 2.3-dev7
Sybren A. Stüvel [Thu, 21 Feb 2019 16:58:35 +0000 (17:58 +0100)]
Bumped version to 2.3-dev7

3 months agoException handling in the may-i-run loop
Sybren A. Stüvel [Thu, 21 Feb 2019 17:06:37 +0000 (18:06 +0100)]
Exception handling in the may-i-run loop

3 months agoUpload task timing metrics as part of the task update
Sybren A. Stüvel [Thu, 21 Feb 2019 16:18:30 +0000 (17:18 +0100)]
Upload task timing metrics as part of the task update

3 months agoLog uncaught exceptions in may-i-run poller
Sybren A. Stüvel [Thu, 21 Feb 2019 15:16:20 +0000 (16:16 +0100)]
Log uncaught exceptions in may-i-run poller

3 months agoLog command & task timing information
Sybren A. Stüvel [Thu, 21 Feb 2019 14:45:46 +0000 (15:45 +0100)]
Log command & task timing information

For now every command logs its total runtime. The `AbstractBlenderCommand`
subclasses log more granular information, like starting blender, loading
the blendfile, and rendering.

This info is just sent to the task log, and not stored in the task itself
yet.

4 months agoFix for 07263c3
Sybren A. Stüvel [Thu, 14 Feb 2019 12:08:34 +0000 (13:08 +0100)]
Fix for 07263c3

4 months agoBumped version to 2.3-dev6
Sybren A. Stüvel [Thu, 14 Feb 2019 11:49:49 +0000 (12:49 +0100)]
Bumped version to 2.3-dev6

4 months agoFix fatal exception when unable to connect to Manager
Sybren A. Stüvel [Thu, 14 Feb 2019 11:46:00 +0000 (12:46 +0100)]
Fix fatal exception when unable to connect to Manager

4 months agoRemove filtering of Cycles 'Synchronizing object' lines
Sybren A. Stüvel [Thu, 14 Feb 2019 11:44:21 +0000 (12:44 +0100)]
Remove filtering of Cycles 'Synchronizing object' lines

Nowadays we send the logs only to the Manager, and not to the Server any
more. Let's clog the Manager's harddisk with everything to make Dr. Debug
happier.

4 months agoBumped version to 2.3-dev5
Sybren A. Stüvel [Wed, 13 Feb 2019 09:58:04 +0000 (10:58 +0100)]
Bumped version to 2.3-dev5

4 months agoFix for 26701be6fb95fccb70ddb141563453c19e0a3b06
Sybren A. Stüvel [Wed, 13 Feb 2019 09:57:24 +0000 (10:57 +0100)]
Fix for 26701be6fb95fccb70ddb141563453c19e0a3b06

4 months agoBumped version to 2.3-dev4
Sybren A. Stüvel [Wed, 13 Feb 2019 09:48:48 +0000 (10:48 +0100)]
Bumped version to 2.3-dev4

4 months agoAutomatically re-register when the Manager does not accept credentials
Sybren A. Stüvel [Wed, 13 Feb 2019 09:48:38 +0000 (10:48 +0100)]
Automatically re-register when the Manager does not accept credentials

Fixes T54174, but rather than making a distinction between the username
not being found and the password being wrong (and only re-registering in
the former case), we now just always re-register. This could potentially
hide certain erroneous situations, but it does make the worker operational
in more cases, which I assume is generally preferred.

4 months agoBumped version to 2.3-dev3
Sybren A. Stüvel [Thu, 7 Feb 2019 14:27:12 +0000 (15:27 +0100)]
Bumped version to 2.3-dev3

4 months agoAdded `merge_progressive_render_sequence` command
Sybren A. Stüvel [Tue, 5 Feb 2019 12:04:00 +0000 (13:04 +0100)]
Added `merge_progressive_render_sequence` command

Added the `merge_progressive_render_sequence` for sample-merging sequences of EXR files. The
already-existing `merge_progressive_renders` command only performed on one frame at a time.

This commit also removes the last traces of the preview generation that
half-happened while merging. It was intrinsincly flawed and was superseded
by the `exr_sequence_to_jpeg` command.

4 months agoBumped version to 2.3-dev2
Sybren A. Stüvel [Mon, 4 Feb 2019 10:22:21 +0000 (11:22 +0100)]
Bumped version to 2.3-dev2

4 months agoCreate Video: mock platform.system() to test both Windows and Linux
Sybren A. Stüvel [Mon, 4 Feb 2019 10:21:56 +0000 (11:21 +0100)]
Create Video: mock platform.system() to test both Windows and Linux

Windows is not POSIX-compliant, and as a result ffmpeg does not support
the `-pattern_type glob` CLI argument.

4 months agoCreate Video: always pad video to even sizes
Sybren A. Stüvel [Mon, 4 Feb 2019 10:15:57 +0000 (11:15 +0100)]
Create Video: always pad video to even sizes

H.264 requires that the width and height of the video frame are
multiples of the chroma block size. When using the default yuv420 pixel
format this means the dimensions should be even (e.g. multiples of 2).
The video filter added in this commit ensures this by padding out the
frame with black pixels.

4 months agoBumped version to 2.3-dev1
Sybren A. Stüvel [Fri, 1 Feb 2019 10:00:30 +0000 (11:00 +0100)]
Bumped version to 2.3-dev1

4 months agoEXR to JPEG: Pass EXR files as glob instead of only the directory
Sybren A. Stüvel [Fri, 1 Feb 2019 09:45:00 +0000 (10:45 +0100)]
EXR to JPEG: Pass EXR files as glob instead of only the directory

This allows the command to run on a subset of the EXR files in the
directory, which is needed for generating previews of EXR files in the
intermediate render directory (which contains multiple EXR files for
each frame).

4 months agoUpdated flamenco-worker.spec for resources directory
Sybren A. Stüvel [Thu, 31 Jan 2019 13:21:25 +0000 (14:21 +0100)]
Updated flamenco-worker.spec for resources directory

4 months agoAdded 'EXR sequence to JPEG' command
Sybren A. Stüvel [Thu, 31 Jan 2019 10:35:13 +0000 (11:35 +0100)]
Added 'EXR sequence to JPEG' command

This is used for generating JPEG previews of EXR files. It is assumed that
the EXR files are named '######.exr', with any number of leading zeroes.

Gaps in the frame range are supported, and will be rendered as black
images.

4 months agoSeparated BlenderRenderCommand into an abstract superclass
Sybren A. Stüvel [Thu, 31 Jan 2019 10:33:21 +0000 (11:33 +0100)]
Separated BlenderRenderCommand into an abstract superclass

This superclass AbstractBlenderCommand takes less parameters so that it'll
be easier to add Blender commands that don't use certain parameters (such
as frame range, render format, etc.)

4 months agoAdded some type declarations
Sybren A. Stüvel [Thu, 31 Jan 2019 10:30:32 +0000 (11:30 +0100)]
Added some type declarations

4 months agoDeclare we're using Python 3.7 in setup.py
Sybren A. Stüvel [Thu, 31 Jan 2019 10:29:50 +0000 (11:29 +0100)]
Declare we're using Python 3.7 in setup.py

It was still set to 3.5.

4 months agoMoved 'merge-exr.blend' into a 'resources' subdirectory
Sybren A. Stüvel [Thu, 31 Jan 2019 10:29:28 +0000 (11:29 +0100)]
Moved 'merge-exr.blend' into a 'resources' subdirectory

We'll be adding more resources, and this provides a suitable place for them.

4 months agoUpdated progressive rendering to allow sample chunk ranges
Sybren A. Stüvel [Wed, 30 Jan 2019 13:34:42 +0000 (14:34 +0100)]
Updated progressive rendering to allow sample chunk ranges

This requires Flamenco Server 2.2 or newer. Progressive render jobs
generated by older versions of Flamenco Server are no longer supported.

4 months agoBumped version to 2.3-dev0
Sybren A. Stüvel [Thu, 31 Jan 2019 13:16:11 +0000 (14:16 +0100)]
Bumped version to 2.3-dev0

5 months agoBumped version to 2.2.1 v2.2.1
Sybren A. Stüvel [Mon, 14 Jan 2019 10:39:32 +0000 (11:39 +0100)]
Bumped version to 2.2.1

5 months agoUpdated changelog
Sybren A. Stüvel [Mon, 14 Jan 2019 10:39:24 +0000 (11:39 +0100)]
Updated changelog

5 months agoAdded shutdown check to sleep state to prevent infinite loops
Sybren A. Stüvel [Mon, 14 Jan 2019 10:30:39 +0000 (11:30 +0100)]
Added shutdown check to sleep state to prevent infinite loops

5 months agoPrevent uncaught CancelledError to force an awakening of the Worker
Sybren A. Stüvel [Mon, 14 Jan 2019 10:20:09 +0000 (11:20 +0100)]
Prevent uncaught CancelledError to force an awakening of the Worker

5 months agoBumped version to 2.2.1-dev0
Sybren A. Stüvel [Mon, 14 Jan 2019 10:03:13 +0000 (11:03 +0100)]
Bumped version to 2.2.1-dev0

5 months agoFixed bug where uncaught exception made the Worker stop requesting tasks
Sybren A. Stüvel [Mon, 14 Jan 2019 10:02:41 +0000 (11:02 +0100)]
Fixed bug where uncaught exception made the Worker stop requesting tasks

5 months agoBumped release date of 2.2 to today v2.2
Sybren A. Stüvel [Fri, 11 Jan 2019 09:59:42 +0000 (10:59 +0100)]
Bumped release date of 2.2 to today

5 months agoDocumented installation of ffprobe and blender
Sybren A. Stüvel [Fri, 11 Jan 2019 09:59:21 +0000 (10:59 +0100)]
Documented installation of ffprobe and blender

5 months agoRemoved mypy warn_unused_ignores=True setting windows-fixes
Sybren A. Stüvel [Thu, 10 Jan 2019 16:42:04 +0000 (17:42 +0100)]
Removed mypy warn_unused_ignores=True setting

Some errors are platform-specific (e.g. using asyncio.ProactorEventLoop
only exists on Windows and thus mypy complains on Linux) so ignoring those
is needed on Linux but not on Windows. Yay.

5 months agoAlso catch FileNotFoundError when doing a write check
Sybren A. Stüvel [Thu, 10 Jan 2019 16:17:20 +0000 (17:17 +0100)]
Also catch FileNotFoundError when doing a write check

This error is raised when the parent directory of a write check location
doesn't exist.

5 months agoLog error on uncaught exception in Worker.single_iteration()
Sybren A. Stüvel [Thu, 10 Jan 2019 16:16:11 +0000 (17:16 +0100)]
Log error on uncaught exception in Worker.single_iteration()

5 months agoMypy workaround, Windows-specific code fails mypy checks on Linux
Sybren A. Stüvel [Thu, 10 Jan 2019 15:44:27 +0000 (16:44 +0100)]
Mypy workaround, Windows-specific code fails mypy checks on Linux

5 months agoProperly create the asyncio loop on Windows
Sybren A. Stüvel [Thu, 10 Jan 2019 15:40:11 +0000 (16:40 +0100)]
Properly create the asyncio loop on Windows

On Windows, the loop was recreated on every call to `construct_asyncio_loop()`,
whereas on Linux the existing loop would be reused if possible. Now both
platforms work the same.

5 months agoUse less shell-uoting-sensitive test values
Sybren A. Stüvel [Thu, 10 Jan 2019 15:19:07 +0000 (16:19 +0100)]
Use less shell-uoting-sensitive test values

The new values work on Windows too.

5 months agoDisconnect from SQLite DB when tearing down tests
Sybren A. Stüvel [Thu, 10 Jan 2019 15:18:34 +0000 (16:18 +0100)]
Disconnect from SQLite DB when tearing down tests

This allows the temp directory to be cleaned up on Windows.

5 months agoSkip unwritable dir/file checks on Windows
Sybren A. Stüvel [Thu, 10 Jan 2019 15:23:37 +0000 (16:23 +0100)]
Skip unwritable dir/file checks on Windows

On Windows Python just hangs because of a misinterpretation of the
returned error. See https://bugs.python.org/issue22107

5 months agoMake test file writable before trying to delete it
Sybren A. Stüvel [Thu, 10 Jan 2019 14:53:25 +0000 (15:53 +0100)]
Make test file writable before trying to delete it

Otherwise Windows doesn't allow deletion.

5 months agoEnable debug logging in flamenco_worker.commands while testing commands
Sybren A. Stüvel [Thu, 10 Jan 2019 14:01:57 +0000 (15:01 +0100)]
Enable debug logging in flamenco_worker.commands while testing commands

5 months agoWindows compatibility: don't try to re-open temporary file
Sybren A. Stüvel [Thu, 10 Jan 2019 14:01:36 +0000 (15:01 +0100)]
Windows compatibility: don't try to re-open temporary file

5 months agoExplicitly open file with encoding='utf8'
Sybren A. Stüvel [Thu, 10 Jan 2019 14:01:22 +0000 (15:01 +0100)]
Explicitly open file with encoding='utf8'

5 months agoWindows compatibility fixes
Sybren A. Stüvel [Thu, 10 Jan 2019 13:55:47 +0000 (14:55 +0100)]
Windows compatibility fixes

5 months agoWorkaround for FFmpeg not supporting '-pattern_type glob' on Windows
Sybren A. Stüvel [Thu, 10 Jan 2019 13:43:54 +0000 (14:43 +0100)]
Workaround for FFmpeg not supporting '-pattern_type glob' on Windows

Globbing is the only way in which we can convert arbitrary frame sequences
to a video; the other input options all assume that the frame numbers are
sequential, and stop at the first gap. Globbing just skips gaps and
actually uses all available frames.

The workaround consist of doing the globbing in Python and creating an
index file that lists all the input files.

5 months agoFormatting
Sybren A. Stüvel [Thu, 10 Jan 2019 13:41:45 +0000 (14:41 +0100)]
Formatting

5 months agoMore Windows compatibility fixes
Sybren A. Stüvel [Thu, 10 Jan 2019 13:19:46 +0000 (14:19 +0100)]
More Windows compatibility fixes

5 months agoAdded 'colorama' as Windows-only dependency
Sybren A. Stüvel [Thu, 10 Jan 2019 15:23:15 +0000 (16:23 +0100)]
Added 'colorama' as Windows-only dependency

This is required for pytest coverage reports, and silently fails if not
available.

5 months agoWindows-specific fix for BlenderRenderCommand
Sybren A. Stüvel [Thu, 10 Jan 2019 12:41:34 +0000 (13:41 +0100)]
Windows-specific fix for BlenderRenderCommand

We should always pass POSIX-style paths to the CLI, it makes life much
easier.

5 months agoSome Windows-specific unit test fixes
Sybren A. Stüvel [Thu, 10 Jan 2019 12:41:03 +0000 (13:41 +0100)]
Some Windows-specific unit test fixes

5 months agoFixed unit test
Sybren A. Stüvel [Thu, 10 Jan 2019 12:38:34 +0000 (13:38 +0100)]
Fixed unit test

5 months agoRemoved mypy workaround, apparently no longer necessary
Sybren A. Stüvel [Thu, 10 Jan 2019 12:37:50 +0000 (13:37 +0100)]
Removed mypy workaround, apparently no longer necessary

5 months agoActually removed pathlib2 from pipfile
Sybren A. Stüvel [Thu, 10 Jan 2019 11:41:38 +0000 (12:41 +0100)]
Actually removed pathlib2 from pipfile

5 months agoUpdated build instructions to mention pipenv
Sybren A. Stüvel [Thu, 10 Jan 2019 11:39:05 +0000 (12:39 +0100)]
Updated build instructions to mention pipenv

5 months agoMarked version 2.2 as released today
Sybren A. Stüvel [Thu, 10 Jan 2019 11:36:42 +0000 (12:36 +0100)]
Marked version 2.2 as released today

5 months agoBumped version to 2.2
Sybren A. Stüvel [Thu, 10 Jan 2019 11:36:35 +0000 (12:36 +0100)]
Bumped version to 2.2

5 months agoReordered Changelog so that Python version is at the top
Sybren A. Stüvel [Thu, 10 Jan 2019 11:36:03 +0000 (12:36 +0100)]
Reordered Changelog so that Python version is at the top

5 months agoUpdated pipfile locked dependencies and removed pathlib2
Sybren A. Stüvel [Thu, 10 Jan 2019 11:35:25 +0000 (12:35 +0100)]
Updated pipfile locked dependencies and removed pathlib2

Pathlib2 was used to support Python 3.5, but we're not using that version
any more anyway.

5 months agoBumped version to 2.2-dev12
Sybren A. Stüvel [Fri, 4 Jan 2019 15:45:18 +0000 (16:45 +0100)]
Bumped version to 2.2-dev12

5 months agoAlso log override file contents when passing to Blender for rendering
Sybren A. Stüvel [Fri, 4 Jan 2019 15:43:52 +0000 (16:43 +0100)]
Also log override file contents when passing to Blender for rendering

5 months agoUpdated CHANGELOG
Sybren A. Stüvel [Fri, 4 Jan 2019 15:08:37 +0000 (16:08 +0100)]
Updated CHANGELOG

5 months agoAdded 'create_python_file' command
Sybren A. Stüvel [Fri, 4 Jan 2019 15:05:27 +0000 (16:05 +0100)]
Added 'create_python_file' command

5 months agoDetect & load RNA overrides file
Sybren A. Stüvel [Fri, 4 Jan 2019 14:55:19 +0000 (15:55 +0100)]
Detect & load RNA overrides file

The 'blender_render' and 'blender_render_progressive' commands now look for
a file named 'thefile-overrides.py' in the same directory as
'thefile.blend'. If it exists, Blender will be told to load that Python
file between loading the blend file and starting the rendering.

5 months agoAdded missing 'await'
Sybren A. Stüvel [Fri, 4 Jan 2019 14:55:26 +0000 (15:55 +0100)]
Added missing 'await'

5 months agoUpdated test with new FFMPEG settings for 'create video' command
Sybren A. Stüvel [Fri, 4 Jan 2019 14:46:14 +0000 (15:46 +0100)]
Updated test with new FFMPEG settings for 'create video' command

6 months agoBumped version to 2.2-dev11
Sybren A. Stüvel [Tue, 18 Dec 2018 14:01:14 +0000 (15:01 +0100)]
Bumped version to 2.2-dev11

6 months agoReduce video quality for 'create-video' command
Sybren A. Stüvel [Tue, 18 Dec 2018 14:00:49 +0000 (15:00 +0100)]
Reduce video quality for 'create-video' command

Changed CRF 17 → 23 and GOP 1 → 18

6 months agoGracefully handle KeyboardInterrupt being thrown when shutting down
Sybren A. Stüvel [Tue, 11 Dec 2018 11:48:59 +0000 (12:48 +0100)]
Gracefully handle KeyboardInterrupt being thrown when shutting down

6 months agoBumped version to 2.2-dev10
Sybren A. Stüvel [Fri, 7 Dec 2018 10:29:30 +0000 (11:29 +0100)]
Bumped version to 2.2-dev10

6 months agoAdded support for commands used in the blender-video-chunks job type
Sybren A. Stüvel [Thu, 6 Dec 2018 14:48:05 +0000 (15:48 +0100)]
Added support for commands used in the blender-video-chunks job type

Adds the following commands:

    - blender_render_audio
    - concat_videos
    - create_video
    - move_with_counter
    - mux_audio

6 months agoThrottle 'output produced' messages to Manager
Sybren A. Stüvel [Thu, 6 Dec 2018 14:48:22 +0000 (15:48 +0100)]
Throttle 'output produced' messages to Manager

6 months agoUpdated changelog
Sybren A. Stüvel [Tue, 4 Dec 2018 15:32:18 +0000 (16:32 +0100)]
Updated changelog

6 months agoBumped version to 2.2-dev9
Sybren A. Stüvel [Tue, 4 Dec 2018 15:31:30 +0000 (16:31 +0100)]
Bumped version to 2.2-dev9

6 months agoExplicitly return task to the Manager queue when stopping the task
Sybren A. Stüvel [Tue, 4 Dec 2018 15:29:32 +0000 (16:29 +0100)]
Explicitly return task to the Manager queue when stopping the task

This should solve issues when tasks fail after the worker shuts down or
goes to sleep. Previously the task would be set to 'claimed-by-manager'
when the Worker when to sleep, but flushing the task queue on the Worker
could still trigger reactivation of the task on the Manager. Since the
Worker wouldn't be running the task any more, it would time out. This is
now fixed.