openshot-render crash with "AttributeError: 'NoneType' object has no attribute 'settings'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenShot Video Editor |
Confirmed
|
High
|
Unassigned |
Bug Description
When trying to render a project with openshot-render it crashes with AttributeError. The project.form attribute, which seems to be a reference to a GTK form, is never set when running from openshot-render.
I was extremely happy to find the render-tool, as I've spent days trying to figure out a way to do a big batch job. Not so happy when I realised it didn't work. ;)
1) Ubuntu 10.10 (Also on 10.04)
2) Installed from repositories
3) Openshot-version 1.3.0
OUTPUT:
$openshot-render proj.osp
rendering options:
container type: avi
video codec: mpeg4
video bitrate: 5000000
audio codec: libmp3lame
audio sample rate: 44100
channels: 2
audio bitrate: 128000
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/lib/
bot.render()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
bg_
File "/usr/lib/
current_frame = MyClip.
File "/usr/lib/
use_affine = self.parent.
AttributeError: 'NoneType' object has no attribute 'settings'
Changed in openshot: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
importance: | Undecided → High |
tags: | added: patch |
Changed in openshot: | |
milestone: | none → 1.4.0 |
Changed in openshot: | |
milestone: | 1.4.0 → 1.4.1 |
Changed in openshot: | |
milestone: | 1.4.1 → 1.5.0 |
Changed in openshot: | |
milestone: | 1.5.0 → 1.4.3 |
Changed in openshot: | |
milestone: | 1.4.3 → 1.5.0 |
It seems to be quite complex to solve. A workaround could be to disable affine transformation for openshot_render, but the best solution would be to have a settings class which is ui independant, which is not the case now.
Maybe a good reason to use GSettings (it's mutli-platforms with windows, kde, and many others backend) ?