[kmymoney] [Bug 400761] Cannot open files on MacOS

2019-03-18 Thread Benjamin Southall
https://bugs.kde.org/show_bug.cgi?id=400761

--- Comment #19 from Benjamin Southall  ---
Created attachment 118901
  --> https://bugs.kde.org/attachment.cgi?id=118901=edit
Replace kmymoneyutils::fileExists with version that uses QFileInfo instead of
KIOStatJob

(In reply to Benjamin Southall from comment #18)
> I also have this problem (I can't open any files, both existing valid files
> and new ones that I create) running Gentoo Linux, but I have kioslave
> installed, I am not sure why kuiserver is needed, I didn't have
> plasma-workspace installed before and kmymoney previously worked., I also
> get Couldn't start kuiserver from org.kde.kuiserver.service:
> QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name
> org.kde.kuiserver was not provided by any .service files"), but no other
> error.
> 
> I am not sure if the issue has to do with validation scheme checks at 
> https://github.com/KDE/kmymoney/blob/
> fccd937fd6e72078c7498022c0e9ade2d880ca64/kmymoney/kmymoney.cpp#L3380 and
> elsewhere only accepting the sql scheme ? I would believe that xml files are
> the xml scheme or am I mistaken ?

I was mistaken, they are the file scheme, but I was looking in the wrong place.
I tried installing a standalone version of kuiserver, from
https://github.com/sandsmark/kuiserver-standalone and using that which got rid
of the error message but not the bug.

I then wrote the following patch, which resolved the problem for me, and may
also work on Mac OS, but I haven't tested it there.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 400761] Cannot open files on MacOS

2019-03-18 Thread Benjamin Southall
https://bugs.kde.org/show_bug.cgi?id=400761

Benjamin Southall  changed:

   What|Removed |Added

 CC||applemansig...@gmail.com

--- Comment #18 from Benjamin Southall  ---
I also have this problem (I can't open any files, both existing valid files and
new ones that I create) running Gentoo Linux, but I have kioslave installed, I
am not sure why kuiserver is needed, I didn't have plasma-workspace installed
before and kmymoney previously worked., I also get Couldn't start kuiserver
from org.kde.kuiserver.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name
org.kde.kuiserver was not provided by any .service files"), but no other error.

I am not sure if the issue has to do with validation scheme checks at 
https://github.com/KDE/kmymoney/blob/fccd937fd6e72078c7498022c0e9ade2d880ca64/kmymoney/kmymoney.cpp#L3380
and elsewhere only accepting the sql scheme ? I would believe that xml files
are the xml scheme or am I mistaken ?

-- 
You are receiving this mail because:
You are watching all bug changes.