After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675449 - clipproperties.py:563:_onValueChangedCb:AttributeError: 'NoneType' object has no attribute 'get_property'
clipproperties.py:563:_onValueChangedCb:AttributeError: 'NoneType' object has...
Status: RESOLVED INCOMPLETE
Product: pitivi
Classification: Other
Component: Effects
0.15.x
Other Linux
: Normal normal
: Git
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on: 708495
Blocks:
 
 
Reported: 2012-05-04 14:42 UTC by nathanael
Modified: 2014-11-06 20:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nathanael 2012-05-04 14:42:07 UTC
Received this traceback when playing around with pitivi for a few minutes. not exactly sure how I triggered it but it seems like a pretty simple fix.


backtrace:
:clipproperties.py:563:_onValueChangedCb:AttributeError: 'NoneType' object has
no attribute 'get_property'
:
:Traceback (most recent call last):
:  File "/usr/share/pitivi/python/pitivi/ui/clipproperties.py", line 563, in
_onValueChangedCb
:    if value != self.effect.get_property(prop):
:AttributeError: 'NoneType' object has no attribute 'get_property'
:
:Local variables in innermost frame:
:self: <TransformationProperties object at 0x2378f00 (GtkExpander at
0x2958990)>
:spinbtn: <gtk.SpinButton object at 0x237a3c0 (GtkSpinButton at 0x29680a0)>
:value: 0.5
:prop: 'tilt_x'

RH Bug: https://bugzilla.redhat.com/show_bug.cgi?id=818993

I've manually edited the clipproperties.py file to change

if value != self.effect.get_property(prop):

to

if self.effect != None and value != self.effect.get_property(prop):
Comment 1 sam tygier 2012-11-18 16:17:21 UTC
i seem almost the same message with current git (built with pitivi-git-environment.sh on gentoo).

PTV env:/var/tmp/pitivi-git/pitivi (master)$ pitivi
Gtk-Message: Failed to load module "gnomesegvhandler"
Traceback (most recent call last):
  • File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 570 in _onValueChangedCb
    if value != self.effect.get_property(prop):
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  • File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 570 in _onValueChangedCb
    if value != self.effect.get_property(prop):
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  • File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 570 in _onValueChangedCb
    if value != self.effect.get_property(prop):
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  • File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 570 in _onValueChangedCb
    if value != self.effect.get_property(prop):
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  • File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 570 in _onValueChangedCb
    if value != self.effect.get_property(prop):
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  • File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 570 in _onValueChangedCb
    if value != self.effect.get_property(prop):
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  • File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 570 in _onValueChangedCb
    if value != self.effect.get_property(prop):
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  • File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 570 in _onValueChangedCb
    if value != self.effect.get_property(prop):
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 523, in _expandedCb
    self.effect = self._findOrCreateEffect("frei0r-filter-scale0tilt")
  File "/var/tmp/pitivi-git/pitivi/pitivi/clipproperties.py", line 609, in _findOrCreateEffect
    self.effect = list(list(a.elements())[0].elements())[1]
AttributeError: '__main__.GnlOperation' object has no attribute 'elements'

steps to trigger:
1)open pitivi, creat enew project.
2)add video to media library, and add to timeline
3)select clip on timeline.
4)on clip transformation tab, open transformation options

once i have hit the problem i can no longer select clips in the timeline
Comment 2 Jean-François Fortin Tam 2014-11-06 20:35:48 UTC
Closing this bug report as no further information has been provided.
Please feel free to reopen if the issue persists with 0.94 or newer
and if you can provide the information asked for. Thanks!