Public bug reported: Binary package hint: amarok
Because I have some audio files in WMA, m4a, ... I wanted to convert them to mp3 so that my mobile mp3 player can play them. So I downloaded the amarok script formatconverter.py. Installation was successfull, so I activated it. It asked me some questions like folder and so on, everything was ok until the script says it it ready for usage, but it will scan my music. After a few secounds the script crashes. This was shown as "crash report": X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-infinity/ksycoca ScimInputContextPlugin() kio (KDirLister): +KDirLister kio (KDirListerCache): +KDirListerCache kio (KDirWatch): Available methods: Stat, FAM, DNotify kio: KSambaShare::readSmbConf /etc/samba/smb.conf kio: KSambaShare: Found path: /tmp/ kio: KSambaShare: Found path: /var/lib/samba/printers/ kio (KDirWatch): Added File /etc/samba/smb.conf [KDirWatch-1] kio (KDirWatch): Setup FAM (Req 1) for /etc/samba/smb.conf kio (KDirWatch): Added File /etc/security/fileshare.conf NotExisting [KDirWatch-1] kio (KDirWatch): Added Dir /etc/security for /etc/security/fileshare.conf kio (KDirWatch): Setup FAM (Req 2) for /etc/security kio: KNFSShare: Could not found exports file! kio (KDirLister): -KDirLister kio (KDirLister): [virtual void KDirLister::stop()] kio (KDirListerCache): [void KDirListerCache::stop(KDirLister*)] lister: 0x81752a0 kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*)] 0x81752a0 kio (KDirLister): +KDirLister kio (KDirLister): [virtual bool KDirLister::openURL(const KURL&, bool, bool)] file:/// keep=true reload=false kio (KDirListerCache): [bool KDirListerCache::listDir(KDirLister*, const KURL&, bool, bool)] 0x81752a0 url=file:/// keep=true reload=false kio (KDirListerCache): listDir: Entry not in cache or reloaded: file:/// kio (KDirWatch): Added Dir / [KDirWatch-1] kio (KDirWatch): Setup FAM (Req 3) for / kio (KDirListerCache): [void KDirListerCache::slotEntries(KIO::Job*, const KIO::UDSEntryList&)] new entries for file:/// kio (KDirListerCache): [void KDirListerCache::slotResult(KIO::Job*)] finished listing file:/// kio (KDirLister): [virtual bool KDirLister::openURL(const KURL&, bool, bool)] file:///home keep=true reload=false kio (KDirListerCache): [bool KDirListerCache::listDir(KDirLister*, const KURL&, bool, bool)] 0x81752a0 url=file:///home keep=true reload=false kio (KDirListerCache): listDir: Entry not in cache or reloaded: file:///home kio (KDirWatch): Added Dir /home [KDirWatch-1] kio (KDirWatch): Setup FAM (Req 4) for /home kio (KDirListerCache): [void KDirListerCache::slotEntries(KIO::Job*, const KIO::UDSEntryList&)] new entries for file:///home kio (KDirListerCache): [void KDirListerCache::slotResult(KIO::Job*)] finished listing file:///home kio (KDirLister): [virtual bool KDirLister::openURL(const KURL&, bool, bool)] file:///home/infinity keep=true reload=false kio (KDirListerCache): [bool KDirListerCache::listDir(KDirLister*, const KURL&, bool, bool)] 0x81752a0 url=file:///home/infinity keep=true reload=false kio (KDirListerCache): listDir: Entry not in cache or reloaded: file:///home/infinity kio (KDirWatch): Added Dir /home/infinity [KDirWatch-1] kio (KDirWatch): Setup FAM (Req 5) for /home/infinity kio (KDirListerCache): [void KDirListerCache::slotEntries(KIO::Job*, const KIO::UDSEntryList&)] new entries for file:///home/infinity kio (KDirListerCache): [void KDirListerCache::slotResult(KIO::Job*)] finished listing file:///home/infinity kio (KDirLister): -KDirLister kio (KDirLister): [virtual void KDirLister::stop()] kio (KDirListerCache): [void KDirListerCache::stop(KDirLister*)] lister: 0x81752a0 kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*)] 0x81752a0 kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*, const KURL&, bool)] 0x81752a0 _url: file:/// kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*, const KURL&, bool)] 0x81752a0 item moved into cache: file:/// kio (KDirListerCache): Not adding a watch on file:/// because it contains a manually mounted subdir kio (KDirWatch): KDirWatchPrivate::removeEntry for '/' sub_entry: (nil) kio (KDirWatch): Cancelled FAM (Req 3) for / kio (KDirWatch): Removed Dir / [KDirWatch-1] kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*, const KURL&, bool)] 0x81752a0 _url: file:///home kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*, const KURL&, bool)] 0x81752a0 item moved into cache: file:///home kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*, const KURL&, bool)] 0x81752a0 _url: file:///home/infinity kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*, const KURL&, bool)] 0x81752a0 item moved into cache: file:///home/infinity kio (KDirWatch): KDirWatchPrivate::removeEntry for '/etc/samba/smb.conf' sub_entry: (nil) kio (KDirWatch): Cancelled FAM (Req 1) for /etc/samba/smb.conf kio (KDirWatch): Removed File /etc/samba/smb.conf [KDirWatch-1] kio (KDirWatch): KDirWatchPrivate::removeEntry for '/etc/security/fileshare.conf' sub_entry: (nil) kio (KDirWatch): KDirWatchPrivate::removeEntry for '/etc/security' sub_entry: 0x8201cc0 kio (KDirWatch): Cancelled FAM (Req 2) for /etc/security kio (KDirWatch): Removed Dir /etc/security for /etc/security/fileshare.conf kio (KDirWatch): Removed File /etc/security/fileshare.conf [KDirWatch-1] kio (KDirWatch): KDirWatchPrivate::removeEntry for '/home' sub_entry: (nil) kio (KDirWatch): Cancelled FAM (Req 4) for /home kio (KDirWatch): Removed Dir /home [KDirWatch-1] kio (KDirWatch): KDirWatchPrivate::removeEntry for '/home/infinity' sub_entry: (nil) kio (KDirWatch): Cancelled FAM (Req 5) for /home/infinity kio (KDirWatch): Removed Dir /home/infinity [KDirWatch-1] kio (KDirWatch): KDirWatch deleted (FAM closed) kio (KDirListerCache): -KDirListerCache kio (KDirWatch): Available methods: Stat, FAM, DNotify kio (KDirWatch): KDirWatchPrivate::removeEntry for '/etc/samba/smb.conf' sub_entry: (nil) kio (KDirWatch): KDirWatchPrivate::removeEntry can't handle '/etc/samba/smb.conf' kio (KDirWatch): KDirWatchPrivate::removeEntry for '/etc/security/fileshare.conf' sub_entry: (nil) kio (KDirWatch): KDirWatchPrivate::removeEntry can't handle '/etc/security/fileshare.conf' kio (KDirWatch): KDirWatch deleted (FAM closed) ~ScimInputContextPlugin() X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device Traceback (most recent call last): File "/home/infinity/.kde/share/apps/amarok/scripts/formatconverter.amarokscript/formatconverter.py", line 273, in ? mainEncodeLoop(outputFormat, destination, fileNameConven, dom_plist, options, checkOverwrite, checkInEqOut, transSkip, neverOver, FIELDS, INPUT, error_log) File "/home/infinity/.kde/share/apps/amarok/scripts/formatconverter.amarokscript/formatconverter.py", line 211, in mainEncodeLoop title, artist, album, year, comment, track, genre = getMetaInfo(item, FIELDS) File "/home/infinity/.kde/share/apps/amarok/scripts/formatconverter.amarokscript/formatconverter.py", line 111, in getMetaInfo exec getInfo[i] File "<string>", line 1, in ? AttributeError: 'NoneType' object has no attribute 'nodeValue' I have Kubuntu 6.06, KDE 3.5.5 and Amarok 1.4.3 with Formatconverter 0.6.1. So - what is wrong there and how to fix this script (sorry - phyton is complete new for me so I cant make any suggestions)? :) ** Affects: amarok (Ubuntu) Importance: Undecided Status: Unconfirmed -- Amarok Script "formatconverter" crashes https://launchpad.net/bugs/66264 -- kubuntu-bugs mailing list kubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs