QUrl and knotify (Re: KDE 4.8 RC1 (4.7.95) tarballs uploaded (try#1))

Phil Miller philm at chakra-project.org
Thu Dec 29 02:22:52 UTC 2011


Chakra GNU/Linux uses your patch now David. We are back to the unpatched qt 
package.

> Right. The real fix is to fix knotify, which was doing this rather wrong
> ("if isRelative then call toLocalFile").
> 
> Actually the guilty commit is probably the one which replaced most calls to
> path() by calls to toLocalFile() in order to fix local file paths on
> Windows.
> 
> So a solution could be to just put path() back.
> An alternative is the patch I now posted to bug 285028.
> Can you test either one (should be equivalent) and apply that if it works?
> 
> I don't think patching Qt is a good idea at all, it makes qt-4.8 different
> from qt-4.8 depending on the system, which creates a support hell.
> 
> And to reassure you, the amount of toLocalFile() calls over all doesn't
> matter, 99.99% of the urls used in KDE are absolute, not relative.

Might be some different stuff but kmail misbehaves lately. When I sent an email 
it goes as normal in my outbox but stays there, even after knotify told me 
that it was sent. Never moves to the sent folder.

It was actually sent and received by those people I sent my emails to. Kmail 
claims about dbus-issues. Here is a terminal output which uses some QUrl 
calls:

[phil at chakra-pc ~]$ kmail
QDBusConnection: session D-Bus connection created before QCoreApplication. 
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. 
Application may misbehave.
kmail2(2317)/kdepimlibs (mailtransport) 
MailTransport::TransportManagerPrivate::fillTypes: Found Akonadi type "Dummy 
MailTransport-Ressource"
kmail2(2317)/kdepimlibs (mailtransport) 
MailTransport::TransportManagerPrivate::fillTypes: Have SMTP, Sendmail, and 1 
Akonadi types.
kmail2(2317)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: 
"803483917"
kmail2(2317)/kdepimlibs (mailtransport) 
MailTransport::Transport::usrReadConfig: type 0
kmail2(2317)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: 
"1122665913"
kmail2(2317)/kdepimlibs (mailtransport) 
MailTransport::Transport::usrReadConfig: type 0
kmail2(2317)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open 
ksycoca from "/var/tmp/kdecache-phil/ksycoca4"
kmail2(2317)/kdeui (Wallet) KWallet::Wallet::openWallet: Pass a valid window 
to KWallet::Wallet::openWallet().
kmail2(2317)/kdeui (Wallet) KWallet::Wallet::openWallet: Pass a valid window 
to KWallet::Wallet::openWallet().
kmail2(2317)/nepomuk (library) {anonymous}::GlobalModelContainer::init: 
Connecting to local socket "/tmp/ksocket-phil/nepomuk-socket"
kmail2(2317)/kdewebkit KWebPage::acceptNavigationRequest: url:  QUrl( 
"file:///" )  , type: 5 , frame: QWebFrame(0x863f990)
kmail2(2317)/kdewebkit KWebPage::acceptNavigationRequest: url:  QUrl( 
"file:///" )  , type: 5 , frame: QWebFrame(0x863f990)
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kdepimlibs (mailtransport): Could not access Outbox. 
[phil at chakra-pc ~]$ kmail2(2317)/libkdepim Akonadi::PluginLoader::scan: 
registering Desktop file 
"/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kalarm.desktop" 
for ("application/x-vnd.kde.alarm", "application/x-vnd.kde.alarm.active", 
"application/x-vnd.kde.alarm.archived", "application/x-
vnd.kde.alarm.template") @ ("default", "KAlarmCal::KAEvent")
kmail2(2317)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file 
"/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop" 
for ("application/x-vnd.kde.contactgroup") @ ("legacy", "default", 
"KABC::ContactGroup")
kmail2(2317)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file 
"/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_bookmark.desktop" 
for ("application/x-xbel") @ ("legacy", "default", "KBookmark")
kmail2(2317)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file 
"/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop" 
for ("text/vcard", "text/directory") @ ("legacy", "default", 
"KABC::Addressee")
kmail2(2317)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file 
"/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcalcore.desktop" 
for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-
vnd.kde.notes") @ ("default", "KCalCore::Incidence*")
kmail2(2317)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file 
"/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_microblog.desktop" 
for ("application/x-vnd.kde.microblog") @ ("legacy", "default", 
"Microblog::StatusItem")
kmail2(2317)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file 
"/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcal.desktop" 
for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-
vnd.kde.notes") @ ("legacy", "KCal::Incidence*")
kmail2(2317)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file 
"/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_mail.desktop" 
for ("message/rfc822", "message/news", "text/x-vnd.akonadi.note") @ ("legacy", 
"default", "KMime::Message*")
kmail2(2317)/kdepimlibs (kpgp) Kpgp::Module::checkForPGP: Kpgp: gpg found
kmail2(2317)/kdewebkit KWebPage::acceptNavigationRequest: url:  QUrl( 
"file:///" )  , type: 5 , frame: QWebFrame(0x863f990)
kmail2(2317)/kio (Scheduler) KIO::SchedulerPrivate::doJob: 
KIO::SimpleJob(0x8ae0e28)
kmail2(2317)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating 
ProtoQueue instance for "data"
kmail2(2317)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: 
m_maxConnectionsTotal: 1 m_maxConnectionsPerHost: 1
kmail2(2317)/kio (Scheduler) KIO::SchedulerPrivate::doJob: 
KIO::SimpleJob(0x8b62b68)
kmail2(2317)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating 
ProtoQueue instance for "file"
kmail2(2317)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: 
m_maxConnectionsTotal: 5 m_maxConnectionsPerHost: 5
kmail2(2317)/kio (Slave) KIO::Slave::createSlave: createSlave "data" for 
KUrl("data:image/PNG;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAABCAMAAADpTH4XAAAAA3NCSVQICAjb4U/gAAAASFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///+qqqoAAAD2cKDYAAAAGHRSTlMAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wCysdQaAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAC0lEQVQImWMQxQIAEU8BpQ0ofWgAAAAASUVORK5CYII=")
kmail2(2317)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: 
Listening on  "local:/tmp/ksocket-phil/kmail2cF2317.slave-socket"
kmail2(2317)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for 
KUrl("file:///usr/share/emoticons/kde4/wink.png")
kmail2(2317)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: 
Listening on  "local:/tmp/ksocket-phil/kmail2nt2317.slave-socket"
kmail2(2317)/kio (KIOJob) KIO::TransferJob::slotFinished: 
KUrl("data:image/PNG;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAABCAMAAADpTH4XAAAAA3NCSVQICAjb4U/gAAAASFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///+qqqoAAAD2cKDYAAAAGHRSTlMAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wCysdQaAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAC0lEQVQImWMQxQIAEU8BpQ0ofWgAAAAASUVORK5CYII=")
kmail2(2317)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: 
KIO::TransferJob(0x8ae0e28) KIO::DataSlave(0x8ba5380)
kmail2(2317)/kio (AccessManager) 
KDEPrivate::AccessManagerReply::readHttpResponseHeaders: changed content-type 
to "image/PNG ; charset=us-ascii"
kmail2(2317)/kio (KIOJob) KIO::TransferJob::slotFinished: 
KUrl("file:///usr/share/emoticons/kde4/wink.png")
kmail2(2317)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: 
KIO::TransferJob(0x8b62b68) KIO::Slave(0x8b61848)
kmail2(2317)/kdewebkit KWebPage::acceptNavigationRequest: url:  QUrl( 
"file:///" )  , type: 5 , frame: QWebFrame(0x863f990)
kmail2(2317)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: 
instance(): ... initialised
kmail2(2317)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: 
readConfig(): local zone= "Europe/Berlin"
kmail2(2317)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: 
readZoneTab( "/usr/share/zoneinfo/zone.tab" )
kmail2(2317)/kdewebkit KWebPage::acceptNavigationRequest: url:  QUrl( 
"file:///" )  , type: 5 , frame: QWebFrame(0x863f990)
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(2317)/kio (Slave) KIO::Slave::kill: killing slave pid 0 ( "data://" )
kmail2(2317)/kio (Slave) KIO::Slave::kill: killing slave pid 2213 ( "file://" )



More information about the release-team mailing list