[KPhotoAlbum] KPA does not find some of my videos

Jesper K. Pedersen blackie at blackie.dk
Mon Aug 28 02:04:34 BST 2006


On Saturday 26 August 2006 19:33, Rafael Beccar wrote:
| El Sábado, 26 de Agosto de 2006 16:50, Jesper K. Pedersen escribió:
| > On Saturday 26 August 2006 15:52, Rafael Beccar wrote:
| > | Hi Jesper,
| > |
| > | Some cameras save the video files as *.MPG (with capital letters) but
| > | KPA is not finding them. It seems KPA only can see those videos named
| > | with the .mpg extension.
| >
| > Right I didn't find a way to check which extensions KDE understood as
| > videos, so I hard coded it.
| >
| > I'll include non lowercases too in the next snapshot (and in svn in an
| > hour :-)
|
| OK, all of my 33 videos were found now. But there is some problems with the
| media types:
|
| In the "Media Type" category I have the following:
|
| No Media Type	5 images		24 movies
| Image			2873 images		0 movies
| Video			0 images		9 Movies
|
| The 9 movies are those with the .mpg extension that KPA had already seen
| before the changes.
| The 24 movies are the new ones (those with the .MPG extension)
| The 5 images are some images KPA didn't see before because I had "Search
| for new images on startup" disabled.
Found it. Fixd. Thanks. 

This crash is strange though, I can't see how it could fail finding the 
categoty given its name. Could you try and insert 
qDebug("category name is %s", categoryName.latin1() );

in XMLDB::FileWriter::shouldSaveCategory (FileWritter.cpp line 286), and tell 
me what it says.

Cheers
jesper.

| Everytime I try to save the database, KPA crash with this backtrace:
| ---------------------------------------------------------------------------
|--------------------------- Using host libthread_db library
| "/lib/tls/libthread_db.so.1".
| [Thread debugging using libthread_db enabled]
| [New Thread -1233226048 (LWP 2589)]
| [New Thread -1238471760 (LWP 2590)]
| [KCrash handler]
| #5  0x080cfb2e in XMLDB::XMLCategory::shouldSave (this=0x0)
|     at XMLCategory.cpp:137
| #6  0x080d8c21 in XMLDB::FileWriter::shouldSaveCategory (this=0xbfa5fc40,
|     categoryName=@0xbfa5fa90) at FileWriter.cpp:286
| #7  0x080db930 in XMLDB::FileWriter::saveMemberGroups (this=0xbfa5fc40,
|     doc=@0xbfa5fc00, top=@0xbfa5fbf8) at FileWriter.cpp:138
| #8  0x080dc9d6 in XMLDB::FileWriter::save (this=0xbfa5fc40,
|     fileName=@0xbfa5fc84, isAutoSave=false) at FileWriter.cpp:38
| #9  0x080c65cd in XMLDB::Database::save (this=0x82e8af0,
|     fileName=@0xbfa5fc84, isAutoSave=false) at Database.cpp:245
| #10 0x080862bd in MainWindow::Window::slotSave (this=0x82dba20)
|     at Window.cpp:382
| #11 0x0808e048 in MainWindow::Window::qt_invoke (this=0x82dba20, _id=80,
|     _o=0xbfa5fd8c) at Window.moc:276
| #12 0xb700b54b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
| #13 0xb700bfdc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
| #14 0xb794a759 in KAction::activated () from /usr/lib/libkdeui.so.4
| #15 0xb7980fe1 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
| #16 0xb7980f7d in KAction::slotButtonClicked () from /usr/lib/libkdeui.so.4
| #17 0xb7a5f246 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
| #18 0xb700b54b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
| #19 0xb798bd7e in KToolBarButton::buttonClicked () from
| /usr/lib/libkdeui.so.4 #20 0xb798c088 in KToolBarButton::mouseReleaseEvent
| ()
|    from /usr/lib/libkdeui.so.4
| #21 0xb7045c78 in QWidget::event () from /usr/lib/libqt-mt.so.3
| #22 0xb79fa8d1 in KToolBarButton::event () from /usr/lib/libkdeui.so.4
| #23 0xb6fa187a in QApplication::internalNotify () from
| /usr/lib/libqt-mt.so.3 #24 0xb6fa1dff in QApplication::notify () from
| /usr/lib/libqt-mt.so.3 #25 0xb775a52e in KApplication::notify () from
| /usr/lib/libkdecore.so.4 #26 0xb6f3306f in
| QApplication::sendSpontaneousEvent ()
|    from /usr/lib/libqt-mt.so.3
| #27 0xb6f2e7a4 in QETWidget::translateMouseEvent ()
|    from /usr/lib/libqt-mt.so.3
| #28 0xb6f2cc94 in QApplication::x11ProcessEvent () from
| /usr/lib/libqt-mt.so.3 #29 0xb6f462a2 in QEventLoop::processEvents () from
| /usr/lib/libqt-mt.so.3 #30 0xb6fba255 in QEventLoop::enterLoop () from
| /usr/lib/libqt-mt.so.3 #31 0xb6fba17a in QEventLoop::exec () from
| /usr/lib/libqt-mt.so.3
| #32 0xb6fa038d in QApplication::exec () from /usr/lib/libqt-mt.so.3
| #33 0x0808007d in main (argc=1, argv=0xbfa60b14) at main.cpp:74
| ---------------------------------------------------------------------------
|---------------------------
|
| Hope that helps,
| Rafael
|
| > Thanks.
| >
| > | Greetings,
| > | Rafael
| > |
| > | _______________________________________________
| > | KPhotoAlbum mailing list
| > | KPhotoAlbum at kdab.net
| > | http://mail.kdab.net/mailman/listinfo/kphotoalbum
|
| _______________________________________________
| KPhotoAlbum mailing list
| KPhotoAlbum at kdab.net
| http://mail.kdab.net/mailman/listinfo/kphotoalbum

-- 
Having trouble finding a given image in your collection containing
thousands of images?

http://www.kphotoalbum.org might be the answer.




More information about the Kphotoalbum mailing list