Bug 668283

Summary: [abrt] pitivi-0.13.5-4.fc14: sourcelist.py:467:addUris:AttributeError: 'NoneType' object has no attribute 'sources'
Product: [Fedora] Fedora Reporter: Gregory Trivett <Triv>
Component: pitiviAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: aquarichy, hicham.haouari, otte, skip, supercyper1
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7741e914
Fixed In Version: pitivi-0.14.0-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-24 03:45:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Gregory Trivett 2011-01-09 19:19:54 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: python /usr/bin/pitivi /home/gtrivett/Videos/Amelia.mpeg
component: pitivi
executable: /usr/bin/pitivi
kernel: 2.6.35.10-74.fc14.x86_64
package: pitivi-0.13.5-4.fc14
reason: sourcelist.py:467:addUris:AttributeError: 'NoneType' object has no attribute 'sources'
release: Fedora release 14 (Laughlin)
time: 1294600759
uid: 500

backtrace
-----
sourcelist.py:467:addUris:AttributeError: 'NoneType' object has no attribute 'sources'

Traceback (most recent call last):
  File "/usr/share/pitivi/python/pitivi/ui/sourcelist.py", line 587, in _dialogBoxResponseCb
    self.addUris(filenames)
  File "/usr/share/pitivi/python/pitivi/ui/sourcelist.py", line 467, in addUris
    self.app.current.sources.addUris(files)
AttributeError: 'NoneType' object has no attribute 'sources'

Local variables in innermost frame:
files: ['file:///home/gtrivett/Videos/Amelia.mpeg']
self: <SourceList object at 0x1c180f0 (pitivi+ui+sourcelist+SourceList at 0x1d415c0)>

How to reproduce
-----
1.
2.
3.
import mpeg file

Comment 1 Gregory Trivett 2011-01-09 19:19:56 UTC
Created attachment 472461 [details]
File: backtrace

Comment 2 Skip 2011-02-11 04:44:09 UTC
Package: pitivi-0.13.5-4.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Started the program
2.attempted to drag and drop video file onto workspace as workspace instructed
3.pitivi go crash!

Comment 3 Richard Schwarting 2011-04-07 05:19:23 UTC
Package: pitivi-0.13.5-4.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. opened Pitivi
2. clicked the + symbol to add a file
3. it crashed


Comment
-----
It may be relevant that I had tried to pass the test.mp4 file to Pitivi as a command-line argument, which of course gave me a warning after I started.

Comment 4 Fedora Update System 2011-06-14 17:45:11 UTC
pitivi-0.14.0-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/pitivi-0.14.0-2.fc14

Comment 5 Fedora Update System 2011-06-15 18:35:08 UTC
Package pitivi-0.14.0-2.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pitivi-0.14.0-2.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/pitivi-0.14.0-2.fc14
then log in and leave karma (feedback).

Comment 6 Fedora Admin XMLRPC Client 2011-06-20 20:56:00 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora Admin XMLRPC Client 2011-06-20 20:57:35 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Fedora Admin XMLRPC Client 2011-06-20 21:05:15 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 9 Richard Schwarting 2011-06-20 21:12:40 UTC
0.14.0 doesn't fix the problem.

I think the situation is caused because the reporter (and myself) ran pitivi like this:
$ pitivi video.mpg

Pitivi wants to take projects as arguments, not individual clips.  Pitivi starts, and complains that's not a valid project, but seems to think it has a project open anyway.  Then, when you do import a file to it, it encounters this exception.

Comment 10 Fedora Update System 2011-06-24 03:43:18 UTC
pitivi-0.14.0-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.