← Back to team overview

linux-traipu team mailing list archive

[Bug 1208947] [NEW] TypeError: descriptor 'lower' requires a 'srt' object

 

Public bug reported:

Since the application starts, ubuntu reports that the application
OpenShot has crashed, although the application doesn't close and seem to
work properly, constant messages about this error that a function is
receiving a bad parameter may cause some unexpected behavior in the
future (seems to be something related to key presses, lowering the
string that identifies the keypress) and is annoying to the user.

Here I leave the console log:

openshot

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.4.3)
--------------------------------
Process no longer exists: 2678.  Creating new pid lock file.
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.

Detecting formats, codecs, and filters...
---
video_codecs:
  - a64multi
  - a64multi5
  - asv1
  - asv2
  - bmp
  - cljr
  - dnxhd
  - dpx
  - dvvideo
  - ffv1
  - ffvhuff
  - flashsv
  - flv
  - gif
  - h261
  - h263
  - h263p
  - huffyuv
  - jpegls
  - ljpeg
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4
  - msmpeg4v2
  - msmpeg4
  - pam
  - pbm
  - pcx
  - pgm
  - pgmyuv
  - png
  - ppm
  - qtrle
  - rawvideo
  - roqvideo
  - rv10
  - rv20
  - sgi
  - snow
  - svq1
  - targa
  - tiff
  - v210
  - v410
  - wmv1
  - wmv2
  - zlib
  - zmbv
  - libschroedinger
  - libtheora
  - libvpx
...
---
audio_codecs:
  - aac
  - ac3
  - ac3_fixed
  - alac
  - eac3
  - flac
  - mp2
  - nellymoser
  - real_144
  - vorbis
  - wmav1
  - wmav2
  - roq_dpcm
  - adpcm_adx
  - g722
  - g726
  - adpcm_ima_qt
  - adpcm_ima_wav
  - adpcm_ms
  - adpcm_swf
  - adpcm_yamaha
  - libgsm
  - libgsm_ms
  - libspeex
  - libvorbis
...
---
formats:
  - a64
  - ac3
  - adts
  - adx
  - aiff
  - amr
  - asf
  - ass
  - asf_stream
  - au
  - avi
  - avm2
  - 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
  - latm
  - m4v
  - md5
  - matroska
  - matroska
  - mjpeg
  - mlp
  - mmf
  - mov
  - mp2
  - mp3
  - mp4
  - mpeg
  - vcd
  - mpeg1video
  - dvd
  - svcd
  - mpeg2video
  - vob
  - mpegts
  - mpjpeg
  - mxf
  - mxf_d10
  - null
  - nut
  - ogg
  - oma
  - 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
  - segment
  - smjpeg
  - sox
  - spdif
  - srt
  - swf
  - 3g2
  - 3gp
  - truehd
  - rcv
  - voc
  - wav
  - webm
  - yuv4mpegpipe
  - alsa
  - oss
...
state saved
on_frmMain_key_press_event
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2202, in on_frmMain_key_press_event
    keyname = str.lower(gtk.gdk.keyval_name(event.keyval))
TypeError: descriptor 'lower' requires a 'str' object but received a 'NoneType'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2278, in on_frmMain_key_release_event
    keyname = str.lower(gtk.gdk.keyval_name(event.keyval))
TypeError: descriptor 'lower' requires a 'str' object but received a 'NoneType'
on_frmMain_key_press_event
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2202, in on_frmMain_key_press_event
    keyname = str.lower(gtk.gdk.keyval_name(event.keyval))
TypeError: descriptor 'lower' requires a 'str' object but received a 'NoneType'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2278, in on_frmMain_key_release_event
    keyname = str.lower(gtk.gdk.keyval_name(event.keyval))
TypeError: descriptor 'lower' requires a 'str' object but received a 'NoneType'

** Affects: openshot
     Importance: Undecided
         Status: New


** Tags: typeerror

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1208947

Title:
  TypeError: descriptor 'lower' requires a 'srt' object

Status in OpenShot Video Editor:
  New

Bug description:
  Since the application starts, ubuntu reports that the application
  OpenShot has crashed, although the application doesn't close and seem
  to work properly, constant messages about this error that a function
  is receiving a bad parameter may cause some unexpected behavior in the
  future (seems to be something related to key presses, lowering the
  string that identifies the keypress) and is annoying to the user.

  Here I leave the console log:

  openshot

  ------------------------- ERROR 1 ------------------------------
  Failed to import 'from openshot import main'
  Error Message: cannot import name main
  ----------------------------------------------------------------
  --------------------------------
     OpenShot (version 1.4.3)
  --------------------------------
  Process no longer exists: 2678.  Creating new pid lock file.
  No LADSPA plugins were found!

  Check your LADSPA_PATH environment variable.

  Detecting formats, codecs, and filters...
  ---
  video_codecs:
    - a64multi
    - a64multi5
    - asv1
    - asv2
    - bmp
    - cljr
    - dnxhd
    - dpx
    - dvvideo
    - ffv1
    - ffvhuff
    - flashsv
    - flv
    - gif
    - h261
    - h263
    - h263p
    - huffyuv
    - jpegls
    - ljpeg
    - mjpeg
    - mpeg1video
    - mpeg2video
    - mpeg4
    - msmpeg4v2
    - msmpeg4
    - pam
    - pbm
    - pcx
    - pgm
    - pgmyuv
    - png
    - ppm
    - qtrle
    - rawvideo
    - roqvideo
    - rv10
    - rv20
    - sgi
    - snow
    - svq1
    - targa
    - tiff
    - v210
    - v410
    - wmv1
    - wmv2
    - zlib
    - zmbv
    - libschroedinger
    - libtheora
    - libvpx
  ...
  ---
  audio_codecs:
    - aac
    - ac3
    - ac3_fixed
    - alac
    - eac3
    - flac
    - mp2
    - nellymoser
    - real_144
    - vorbis
    - wmav1
    - wmav2
    - roq_dpcm
    - adpcm_adx
    - g722
    - g726
    - adpcm_ima_qt
    - adpcm_ima_wav
    - adpcm_ms
    - adpcm_swf
    - adpcm_yamaha
    - libgsm
    - libgsm_ms
    - libspeex
    - libvorbis
  ...
  ---
  formats:
    - a64
    - ac3
    - adts
    - adx
    - aiff
    - amr
    - asf
    - ass
    - asf_stream
    - au
    - avi
    - avm2
    - 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
    - latm
    - m4v
    - md5
    - matroska
    - matroska
    - mjpeg
    - mlp
    - mmf
    - mov
    - mp2
    - mp3
    - mp4
    - mpeg
    - vcd
    - mpeg1video
    - dvd
    - svcd
    - mpeg2video
    - vob
    - mpegts
    - mpjpeg
    - mxf
    - mxf_d10
    - null
    - nut
    - ogg
    - oma
    - 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
    - segment
    - smjpeg
    - sox
    - spdif
    - srt
    - swf
    - 3g2
    - 3gp
    - truehd
    - rcv
    - voc
    - wav
    - webm
    - yuv4mpegpipe
    - alsa
    - oss
  ...
  state saved
  on_frmMain_key_press_event
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2202, in on_frmMain_key_press_event
      keyname = str.lower(gtk.gdk.keyval_name(event.keyval))
  TypeError: descriptor 'lower' requires a 'str' object but received a 'NoneType'
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2278, in on_frmMain_key_release_event
      keyname = str.lower(gtk.gdk.keyval_name(event.keyval))
  TypeError: descriptor 'lower' requires a 'str' object but received a 'NoneType'
  on_frmMain_key_press_event
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2202, in on_frmMain_key_press_event
      keyname = str.lower(gtk.gdk.keyval_name(event.keyval))
  TypeError: descriptor 'lower' requires a 'str' object but received a 'NoneType'
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2278, in on_frmMain_key_release_event
      keyname = str.lower(gtk.gdk.keyval_name(event.keyval))
  TypeError: descriptor 'lower' requires a 'str' object but received a 'NoneType'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1208947/+subscriptions


Follow ups

References