ver 1.4.2 'from openshot.openshot import main' and " 'NoneType' object has no attribute 'set_cursor' "
Hello everybody, any idea on how to fix this? it seems a bug.
OpenShot 1.4.2 was working fine, now it is displaying the error message below:
I tried to fix it by reinstalling after complete removal, also by upgrading FFmpeg, searched for locks in /var/locks, nothing worked.
$ openshot
-------
Failed to import 'from openshot import main'
Error Message: cannot import name main
-------
-------
OpenShot (version 1.4.2)
-------
Process no longer exists: 4328. Creating new pid lock file.
Detecting formats, codecs, and filters...
---
video_codecs:
- a64multi
- a64multi5
- asv1
- asv2
- bmp
- dnxhd
- dpx
- dvvideo
- ffv1
- ffvhuff
- flashsv
- flashsv2
- flv
- gif
- h261
- h263
- h263p
- huffyuv
- jpegls
- ljpeg
- mjpeg
- mpeg1video
- mpeg2video
- mpeg4
- msmpeg4v2
- msmpeg4
- msvideo1
- pam
- pbm
- pcx
- pgm
- pgmyuv
- png
- ppm
- qtrle
- rawvideo
- roqvideo
- rv10
- rv20
- sgi
- snow
- svq1
- targa
- tiff
- v210
- wmv1
- wmv2
- zlib
- zmbv
- libschroedinger
- libtheora
- libvpx
- libx264
...
---
audio_codecs:
- aac
- ac3
- ac3_fixed
- alac
- dca
- eac3
- flac
- mp2
- nellymoser
- real_144
- sonic
- sonicls
- vorbis
- wmav1
- wmav2
- pcm_alaw
- pcm_f32be
- pcm_f32le
- pcm_f64be
- pcm_f64le
- pcm_mulaw
- pcm_s8
- pcm_s16be
- pcm_s16le
- pcm_s24be
- pcm_s24daud
- pcm_s24le
- pcm_s32be
- pcm_s32le
- pcm_u8
- pcm_u16be
- pcm_u16le
- pcm_u24be
- pcm_u24le
- pcm_u32be
- pcm_u32le
- pcm_zork
- roq_dpcm
- adpcm_adx
- g722
- g726
- adpcm_ima_qt
- adpcm_ima_wav
- adpcm_ms
- adpcm_swf
- adpcm_yamaha
- libgsm
- libgsm_ms
- libmp3lame
- libopencore_amrnb
- libspeex
- libvorbis
...
---
formats:
- a64
- ac3
- adts
- aiff
- amr
- asf
- ass
- asf_stream
- au
- avi
- avm2
- caf
- cavsvideo
- crc
- daud
- dirac
- dnxhd
- dts
- dv
- eac3
- ffm
- ffmetadata
- filmstrip
- flac
- flv
- framecrc
- framemd5
- g722
- gif
- gxf
- h261
- h263
- h264
- image2
- image2pipe
- ipod
- ivf
- m4v
- md5
- matroska
- matroska
- microdvd
- mjpeg
- mlp
- mmf
- mov
- mp2
- mp3
- mp4
- mpeg
- vcd
- mpeg1video
- dvd
- svcd
- mpeg2video
- vob
- mpegts
- mpjpeg
- mxf
- mxf_d10
- null
- nut
- ogg
- alaw
- mulaw
- f64be
- f64le
- f32be
- f32le
- s32be
- s32le
- s24be
- s24le
- s16be
- s16le
- s8
- u32be
- u32le
- u24be
- u24le
- u16be
- u16le
- u8
- psp
- rawvideo
- rm
- RoQ
- rso
- rtp
- rtsp
- sap
- sox
- spdif
- srt
- swf
- 3g2
- 3gp
- truehd
- rcv
- voc
- wav
- webm
- yuv4mpegpipe
- alsa
- oss
- sdl
...
-------
Failed to import 'from openshot.openshot import main'
Error Message: 'NoneType' object has no attribute 'set_cursor'
-------
OpenShot has failed to import some of the Python files or libraries
required for our application to run. Here are some trouble shooting
tips:
Tip 1) Check if MLT can be successfully imported in Python. Run the
following commands, and see if any errors are displayed. If you get
an error, you need to investigate the correct way to install MLT.
NOTE: Do not type the $ or >> characters in the examples below.
$ python
>> import mlt
>> mlt.Factory(
Tip 2) If MLT is working from the first example, then the next tip is
to look at the above error messages very closely, and google for more
help. It's likely the problem is already reported, and maybe there is
a simple work-around. Also, you can search for bugs or report a new
bug at https:/
^Z
killall openshot
************ Intended the recommended test in the message **********
$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mlt
>>> mlt.Factory(
<mlt.Repository; proxy of <Swig Object of type 'Mlt::Repository *' at 0x7f8c1113bd20> >
>>>
****************** OTHER SOFTWARE RELATED WITH VIDEO *******
other software, installed:
$ melt --version
MLT melt 0.7.2
Copyright (C) 2002-2011 Ushodaya Enterprises Limited
<http://
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
******
$ x264 --version
x264 0.120.2151 a3f4407
(libswscale 2.1.100)
(libavformat 53.32.100)
(ffmpegsource 2.17.0.0)
built on Jun 19 2012, gcc: 4.4.3
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
libswscale/
*********** Upgrade ffmpeg to see if it fixes the problem ************
Have upgraded ffmpeg AFTER OpenShot failure, from 0.7,? version, but OpenShot still shows the same error report.
$ ffmpeg -version
ffmpeg version 0.10.4-
built on Jun 21 2012 15:14:43 with gcc 4.4.3
configuration: --extra-
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
********** Software that were not possible to upgrade **************
Could not upgrade this library:
libvpx1:
PreDepends: multiarch-support but it is not installable
*******
Installed on the following computer:
*******
*******
$ uname -a
Linux computer 2.6.32-41-generic #94-Ubuntu SMP Fri Jul 6 18:00:34 UTC 2012 x86_64 GNU/Linux
*******
description: CPU
bus info: cpu@0
slot: uFC-PGA Socket
size: 2GHz
width: 64 bits
clock: 166MHz
display:0
bus info: pci@0000:00:02.0
width: 32 bits
clock: 33MHz
display:1 UNCLAIMED
bus info: pci@0000:00:02.1
width: 32 bits
clock: 33MHz
bus info: pci@0000:00:1b.0
width: 64 bits
clock: 33MHz
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu openshot Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- elias
- Solved:
- Last query:
- Last reply: