[kmymoney] [Bug 390411] Sqlite opening broken

2019-01-19 Thread Gicdillah
https://bugs.kde.org/show_bug.cgi?id=390411

Gicdillah  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED
 Status|NEEDSINFO   |RESOLVED

--- Comment #21 from Gicdillah  ---
No. Nightly appimage and current Kmymoney from Neon repo
(5.0.2-0xneon+18.04+bionic+build10) hasn't this problem. Thanks for fixing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2019-01-19 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=390411

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|CONFIRMED   |NEEDSINFO

--- Comment #20 from Thomas Baumgart  ---
Does the problem still persist in recent versions? Can you check that against a
nightly build? Visit
https://binary-factory.kde.org/job/KMyMoney_Nightly_Appimage_Build/ to obtain
the latest AppImage build.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-11-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=390411

k...@openken.com changed:

   What|Removed |Added

 CC||k...@openken.com

--- Comment #19 from k...@openken.com ---
I ran into the same issue today after upgrading to Ubuntu 18.04.1 LTS with
kmymoney v5.0.1-2.

Neither the UI or command line works for me. In the software itself it won't
open the sqlite file. 

On the command line the error looks like this:

$ kmymoney sql:/tmp/kmy.sqlite3?driver=QSQLITE
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket.
WebConnect: Running in server mode
Invalid Context= "stock" line for icon theme: 
"/usr/share/icons/ubuntu-mono-light/stock/16/"
Invalid Context= "stock" line for icon theme: 
"/usr/share/icons/ubuntu-mono-light/stock/22/"
Invalid Context= "stock" line for icon theme: 
"/usr/share/icons/ubuntu-mono-light/stock/24/"
Invalid Context= "stock" line for icon theme: 
"/usr/share/icons/ubuntu-mono-light/stock/32/"
Invalid Context= "stock" line for icon theme: 
"/usr/share/icons/ubuntu-mono-light/stock/48/"
Invalid Context= "stock" line for icon theme: 
"/usr/share/icons/ubuntu-mono-light/stock/64/"
Invalid Context= "stock" line for icon theme: 
"/usr/share/icons/ubuntu-mono-light/stock/128/"
Plugins: checkprinting loaded
Plugins: csvexporter loaded
Plugins: csvimporter loaded
Plugins: gncimporter loaded
Plugins: icalendarexporter loaded
Plugins: kbanking loaded
KBankingPlugin: No AqB4 config found.
KBankingPlugin: No AqB3 config found.
Plugins: kbanking pluged
Plugins: ofximporter loaded
Plugins: qifexporter loaded
Plugins: qifimporter loaded
Plugins: reconciliation report loaded
Plugins: weboob loaded
Online plugins found 3
Cost center model created with items 0
Payees model created with items 0
Error in function bool MyMoneyStorageSqlPrivate::alterTable(const
MyMoneyDbTable&, int) : Error inserting into new table kmmSecurities
Driver = QSQLITE, Host = , User = , Database = /tmp/kmy.sqlite3
Driver Error: 
Database Error No -1: 
Text:  
Error type 0
Executed: INSERT INTO kmmSecurities (id, name, symbol, type, typeString,
smallestAccountFraction, pricePrecision, tradingMarket, tradingCurrency) SELECT
id, name, symbol, type, typeString, smallestAccountFraction, pricePrecision,
tradingMarket, tradingCurrency FROM kmmtmpSecurities;
Query error No -1: No query Unable to fetch row
Error type 1
void MyMoneyStorageSql::cancelCommitUnit(const QString&) - bool
MyMoneyStorageSqlPrivate::alterTable(const MyMoneyDbTable&, int) s/be int
MyMoneyStorageSqlPrivate::upgradeToV11()
terminate called after throwing an instance of 'MyMoneyException'
Aborted (core dumped)


It's worth noting that the same file opened fine yesterday before the upgrade,
which I believe was kmymoney v4.x (forgot the minor version number) on Ubuntu
16.04 LTS.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-11-01 Thread Gicdillah
https://bugs.kde.org/show_bug.cgi?id=390411

--- Comment #17 from Gicdillah  ---
5.0.1-2+16.04+xenial+build4 (I didn't upgrade to 18.04 yet)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-10-31 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=390411

--- Comment #16 from Thomas Baumgart  ---
What is the exact version number of 'Kmymoney from Neon repo' you mention in
comment 14?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-10-30 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=390411

Jack  changed:

   What|Removed |Added

 Status|NEEDSINFO   |CONFIRMED
 Resolution|WAITINGFORINFO  |---

--- Comment #15 from Jack  ---
I believe there have been changes in how the SQL plugins are set up.  It is
possible old versions included the encryption, but now the explicit QSQLCIPHER
is required.  (It may also just be a rename of the plugin, but I don't use SQL,
so I can't be sure.)  The code in the appimage you used should be included in
the next version, so perhaps it's OK to leave this as confirmed until then,
unless one of the developers thinks otherwise.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-10-30 Thread Gicdillah
https://bugs.kde.org/show_bug.cgi?id=390411

--- Comment #14 from Gicdillah  ---
I'm not sure. Tested appimage uses different sqlite driver.

Kmymoney from Neon repo uses QSQLITE: https://i.imgur.com/t5ZqEXl.png
This version fails to open sqlite file from menu but cat open it from command
line launched as `kmymoney sql:kmymoney.sqlite?driver=QSQLITE`

Kmymoney from nightly appimage uses QSQLCIPHEER:
https://i.imgur.com/tW2o5X7.png
and it works ok with same db file, created by previous version.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: [kmymoney] [Bug 390411] Sqlite opening broken

2018-10-15 Thread Thomas Baumgart
Yes, the SQLiteCipher version can apparently also read (and maybe also write) 
un-encrypted SQLite databases.



[kmymoney] [Bug 390411] Sqlite opening broken

2018-10-13 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=390411

Thomas Baumgart  changed:

   What|Removed |Added

 Status|CONFIRMED   |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #11 from Thomas Baumgart  ---
I made some changes to the DB code which should help here. Can you please check
if the problem persists or has gone by compiling from the 5.0 branch and report
back here? Many thanks in advance.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-09-28 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=390411

Jack  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|NEEDSINFO   |CONFIRMED
 Resolution|WAITINGFORINFO  |---

--- Comment #10 from Jack  ---
I'm changing this back to confirmed, since the second report was after Thomas
asked for additional information.  Also, there have been other BD backend
problems discovered recently, and this may or may not be related.  Unless
Thomas has other questions, the main thing you could do now is to compile from
the 5.0 branch of git to confirm the problem still exists there, especially as
any changes get made in the near future.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-09-28 Thread Gicdillah
https://bugs.kde.org/show_bug.cgi?id=390411

--- Comment #9 from Gicdillah  ---
What kind of info is needed?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-09-27 Thread Andrew Crouthamel
https://bugs.kde.org/show_bug.cgi?id=390411

Andrew Crouthamel  changed:

   What|Removed |Added

   Keywords||triaged

--- Comment #8 from Andrew Crouthamel  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days.
Please provide the requested information as soon as possible and set the bug
status as REPORTED. Due to regular bug tracker maintenance, if the bug is still
in NEEDSINFO status with no change in 30 days, the bug will be closed as
RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki
located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug
status as REPORTED so that the KDE team knows that the bug is ready to be
confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-06-30 Thread Gicdillah
https://bugs.kde.org/show_bug.cgi?id=390411

--- Comment #7 from Gicdillah  ---
(In reply to Christian David from comment #4)
> Could this be connected with or caused by bug 341304?

I don't thik so. It's possible to open sqlite db manually from terminal
supplying file as kmymoney sql:/home/username/kmymoney.sqlite?driver=QSQLITE

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-05-11 Thread sergio_nsk
https://bugs.kde.org/show_bug.cgi?id=390411

--- Comment #6 from sergio_nsk  ---
I have built kmymoney from sources and got the errors:

Error in function bool MyMoneyStorageSqlPrivate::alterTable(const
MyMoneyDbTable &, int) : Error inserting into new table kmmSecurities
Driver = QSQLITE, Host = localhost, User = <...>, Database =
//home/<...>/Geld.sqlite
Driver Error: 
Database Error No -1: 
Text:  
Error type 0
Executed: INSERT INTO kmmSecurities (id, name, symbol, type, typeString,
smallestAccountFraction, pricePrecision, tradingMarket, tradingCurrency) SELECT
id, name, symbol, type, typeString, smallestAccountFraction, pricePrecision,
tradingMarket, tradingCurrency FROM kmmtmpSecurities;
Query error No -1: No query Unable to fetch row
Error type 1

It seems the bug is connected with the bug 341304.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-05-05 Thread sergio_nsk
https://bugs.kde.org/show_bug.cgi?id=390411

--- Comment #5 from sergio_nsk  ---
I'm not sure that it is connected with
https://bugs.kde.org/show_bug.cgi?id=341304 The mentioned bug is fixed on
2015-01-10 and kmymony 5.0 released later on 2018-02-06, thus includes this
fix.
Moreover my Geld.sqlite is of version 3, but the mentioned bug report discusses
versions 0 and 1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-05-05 Thread Christian David
https://bugs.kde.org/show_bug.cgi?id=390411

Christian David  changed:

   What|Removed |Added

 CC||christian-da...@web.de

--- Comment #4 from Christian David  ---
Could this be connected with or caused by bug 341304?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: [kmymoney] [Bug 390411] Sqlite opening broken

2018-05-02 Thread Tony Bloomfield
On 02/05/18 05:38, sergio_nsk wrote:
> https://bugs.kde.org/show_bug.cgi?id=390411
>
> sergio_nsk  changed:
>
>What|Removed |Added
> 
>  CC||sergio_...@yahoo.de
>
> --- Comment #3 from sergio_nsk  ---
> I have the same problem. Tried to open sqlite database used in kmymoney 4.8
> from a command line in Ubuntu Bionic:
>
I'm working on this.

-- 

Cheers
TonyB



[kmymoney] [Bug 390411] Sqlite opening broken

2018-02-15 Thread Gicdillah
https://bugs.kde.org/show_bug.cgi?id=390411

--- Comment #2 from Gicdillah  ---
> What are you doing exactly?

Just trying to load an existing kmymoney sqlite file:
https://i.imgur.com/4bQiab0.png
After pressing "Ok" blank window shown and "Invalid URL ''" message appears on
stderr. Nothing else. https://i.imgur.com/HZLaqMa.png

File is valid, it's still possible to open it manually from command line
running as `kmymoney sql:/path/kmymoney.sqlite?driver=QSQLITE`

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390411] Sqlite opening broken

2018-02-15 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=390411

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #1 from Thomas Baumgart  ---
I am unable to duplicate this. What are you doing exactly? The error message
you mention does not contain a filename for the db (which is usually printed
between the two single-quotes), but the UI does not allow to get there. So
there must be something else.

-- 
You are receiving this mail because:
You are the assignee for the bug.