Bug 755655

Summary: [abrt] pyrenamer-0.6.0-8.fc16: pyrenamer_filefuncs.py:620:replace_music_eyed3:AttributeError: 'NoneType' object has no attribute 'replace'
Product: [Fedora] Fedora Reporter: Rakesh Jain <net.subscription>
Component: pyrenamerAssignee: Gwyn Ciesla <gwync>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:34c79bd92d6d24f2534737a8fe4a023ba924cd54
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 15:59:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rakesh Jain 2011-11-21 17:45:51 UTC
libreport version: 2.0.6
abrt_version:   2.0.4.981
cmdline:        python /usr/bin/pyrenamer
comment:        I tried to use the music tab and put original filename pattern as {L}
executable:     /usr/bin/pyrenamer
kernel:         3.1.1-2.fc16.x86_64
reason:         pyrenamer_filefuncs.py:620:replace_music_eyed3:AttributeError: 'NoneType' object has no attribute 'replace'
time:           Mon Nov 21 23:14:43 2011
uid:            500
username:       rakesh

backtrace:
:pyrenamer_filefuncs.py:620:replace_music_eyed3:AttributeError: 'NoneType' object has no attribute 'replace'
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/pyrenamer/pyrenamer.py", line 939, in on_music_original_pattern_changed
:    self.on_preview_button_clicked(None)
:  File "/usr/lib/python2.7/site-packages/pyrenamer/pyrenamer.py", line 683, in on_preview_button_clicked
:    self.file_selected_model.foreach(self.preview_rename_rows, paths)
:  File "/usr/lib/python2.7/site-packages/pyrenamer/pyrenamer.py", line 550, in preview_rename_rows
:    newname, newpath = renamerfilefuncs.replace_music_eyed3(name, path, newname, newpath)
:  File "/usr/lib/python2.7/site-packages/pyrenamer/pyrenamer_filefuncs.py", line 620, in replace_music_eyed3
:    if artist != None: newname = newname.replace('{artist}', artist)
:AttributeError: 'NoneType' object has no attribute 'replace'
:
:Local variables in innermost frame:
:album: u'Aamar Hiyar Majhe CD 3'
:newpath: None
:name: '01 - Aloker Ei Jharnadharai.mp3'
:title: u'01 - Aloker Ei Jharnadharai'
:track: None
:artist: u'Indrani Sen'
:newname: None
:tag: <eyeD3.tag.Tag instance at 0x2610f38>
:trackt: None
:file: '/media/linux_data/Audio/Rabindra Sangeet/Various - Aamar Hiyar Majhe/CD 3/01 - Aloker Ei Jharnadharai.mp3'
:year: '2010'
:genre: 'Rabindra Sangeet'
:path: '/media/linux_data/Audio/Rabindra Sangeet/Various - Aamar Hiyar Majhe/CD 3/01 - Aloker Ei Jharnadharai.mp3'
:audioFile: <eyeD3.tag.Mp3AudioFile instance at 0x2610fc8>

smolt_data:
:
:
:General
:=================================
:UUID: f3eda95c-2bf3-4f6a-9f22-a235b5e2774e
:OS: Fedora release 16 (Verne)
:Default run level: Unknown
:Language: en_US.utf8
:Platform: x86_64
:BogoMIPS: 5332.93
:CPU Vendor: GenuineIntel
:CPU Model: Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz
:CPU Stepping: 6
:CPU Family: 6
:CPU Model Num: 23
:Number of CPUs: 2
:CPU Speed: 2665
:System Memory: 3817
:System Swap: 5855
:Vendor: Unknown
:System:  
:Form factor: Unknown
:Kernel: 3.1.1-2.fc16.x86_64
:SELinux Enabled: 1
:SELinux Policy: targeted
:SELinux Enforce: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Devices
:=================================
:(32902:10688:32902:20548) pci, agpgart-intel, HOST/PCI, 82G33/G31/P35/P31 Express DRAM Controller
:(32902:10544:32902:20548) pci, i801_smbus, SERIAL, 82801I (ICH9 Family) SMBus Controller
:(32902:10530:32902:20548) pci, ahci, STORAGE, 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller
:(32902:10514:32902:20548) pci, None, PCI/ISA, 82801IH (ICH9DH) LPC Interface Controller
:(32902:10572:32902:1) pci, e1000e, ETHERNET, 82566DC-2 Gigabit Network Connection
:(32902:10564:32902:10564) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 3
:(32902:9294:32902:20548) pci, None, PCI/PCI, 82801 PCI Bridge
:(32902:10549:32902:20548) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #2
:(32902:10548:32902:20548) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #1
:(32902:10553:32902:20548) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #6
:(32902:10550:32902:20548) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #3
:(32902:10554:32902:20548) pci, ehci_hcd, USB, 82801I (ICH9 Family) USB2 EHCI Controller #1
:(32902:10556:32902:20548) pci, ehci_hcd, USB, 82801I (ICH9 Family) USB2 EHCI Controller #2
:(4172:32803:32902:20548) pci, firewire_ohci, FIREWIRE, TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]
:(32902:10690:32902:20548) pci, i915, VIDEO, 82G33/G31 Express Integrated Graphics Controller
:(32902:10566:32902:10566) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 4
:(32902:10560:32902:10560) pci, pcieport, PCI/PCI, Optiplex 755
:(32902:10562:32902:10562) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 2
:(32902:10692:32902:20548) pci, None, SIMPLE, 82G33/G31/P35/P31 Express MEI Controller
:(32902:10568:32902:10568) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 5
:(32902:10558:32902:2) pci, snd_hda_intel, MULTIMEDIA, 82801I (ICH9 Family) HD Audio Controller
:(32902:10551:32902:20548) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #4
:(32902:10552:32902:20548) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #5
:(4523:24833:4523:24833) pci, pata_marvell, STORAGE, 88SE6101/6102 single-port PATA133 interface
:
:
:Filesystem Information
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/mapper/VolGroup-lv_root / ext4 4096 4096 12901535 10431108 9775748 3276800 2963634 2963634
:/dev/sda2 /boot ext4 1024 1024 495844 413431 387831 128016 127766 127766
:/dev/mapper/VolGroup-lv_home /home ext4 4096 4096 29963831 6862342 5340269 7610368 7537194 7537194
:/dev/sdb1 WITHHELD ext4 4096 4096 240358226 31959130 19749622 61054976 61008760 61008760
:

Comment 1 Rakesh Jain 2011-11-21 18:08:27 UTC
Package: pyrenamer-0.6.0-8.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
tried to rename music files

Comment 2 Fedora End Of Life 2013-01-16 14:43:53 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2013-02-13 15:59:21 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.