[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-03-03 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=390658

Thomas Baumgart  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
   Version Fixed In||5.0.1
 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/kmy
   ||money/20e629fc6bbaa5aa0f0ac
   ||43144fb1e25b66dff68

--- Comment #14 from Thomas Baumgart  ---
Git commit 20e629fc6bbaa5aa0f0ac43144fb1e25b66dff68 by Thomas Baumgart.
Committed on 03/03/2018 at 14:01.
Pushed by tbaumgart into branch '5.0'.

Don't crash when editing the base currency

Using Tools/Currencies on the selected base currency and hitting Enter
caused a crash. This patch avoids the crash.
FIXED-IN: 5.0.1

M  +10   -2kmymoney/models/equitiesmodel.cpp

https://commits.kde.org/kmymoney/20e629fc6bbaa5aa0f0ac43144fb1e25b66dff68

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-03-03 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=390658

Thomas Baumgart  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #13 from Thomas Baumgart  ---
Problem only shows if you edit the base currency. Fix is underway.

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-20 Thread Michael Carpino
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #12 from Michael Carpino  ---
I did change it as I made a backup file.  Opened KMM and saw that it was
changed when I viewed the edit of USD and was set to a 2.  Clicked ok and
crash.

On Tue, Feb 20, 2018 at 12:10 PM, Michael Carpino 
wrote:

> Thanks Thomas!
>
>
> I changed the file to xml and then did some looking around.  What are your
> thoughts on changing in this section below the pp="4" to a 2?
>
>  
>  
>name="US Dollar" id="USD" saf="100"/>
>  
>  
>
> On Tue, Feb 20, 2018 at 11:55 AM, Thomas Baumgart <
> bugzilla_nore...@kde.org> wrote:
>
>> https://bugs.kde.org/show_bug.cgi?id=390658
>>
>> --- Comment #10 from Thomas Baumgart  ---
>> This is a compressed file. Using it as is with any editor does not make
>> sense.
>> Please take a look at
>> https://docs.kde.org/stable4/en/extragear-office/kmymoney/de
>> tails.formats.html
>> to determine how to make this readable (it's an XML file).
>>
>> I doubt that rounding has anything todo with your crash.
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>>
>
>

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-20 Thread Michael Carpino
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #11 from Michael Carpino  ---
Thanks Thomas!


I changed the file to xml and then did some looking around.  What are your
thoughts on changing in this section below the pp="4" to a 2?

 
 
  
 
 

On Tue, Feb 20, 2018 at 11:55 AM, Thomas Baumgart 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=390658
>
> --- Comment #10 from Thomas Baumgart  ---
> This is a compressed file. Using it as is with any editor does not make
> sense.
> Please take a look at
> https://docs.kde.org/stable4/en/extragear-office/kmymoney/
> details.formats.html
> to determine how to make this readable (it's an XML file).
>
> I doubt that rounding has anything todo with your crash.
>
> --
> You are receiving this mail because:
> You reported the bug.
>

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

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

--- Comment #10 from Thomas Baumgart  ---
This is a compressed file. Using it as is with any editor does not make sense.
Please take a look at
https://docs.kde.org/stable4/en/extragear-office/kmymoney/details.formats.html
to determine how to make this readable (it's an XML file).

I doubt that rounding has anything todo with your crash.

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-20 Thread Michael Carpino
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #9 from Michael Carpino  ---
Here's a screenshot of what I get when I open .kmy with kwrite.  That's
correct it can't be changed and crash is caused if I leave it the same or
try to change it and I press ok.

On Tue, Feb 20, 2018 at 10:24 AM, NSLW  wrote:

> https://bugs.kde.org/show_bug.cgi?id=390658
>
> --- Comment #8 from NSLW  ---
> (In reply to Michael Carpino from comment #7)
> > something is telling me this is maybe related to the price precision.
> > Previously in older versions there was a global setting where you could
> > change this figure.  Mine was/is set to 4 and I can't change it.  Now
> that
> > setting is gone and the smallest cash & money unit is 2 digits.  Anytime
> I
> > save it I think it's conflicting and maybe be causing the crash.  Just a
> > thought.
>
> Price precision has been enhanced by per security/currency setting.
> Do you mean that you can't change it from 4 to 2 now?
>
> There are two things I would like you to do:
>
> 1) open your kmy file in e.g. kwrite and change
>
> rounding-method="0"
>
> to
>
> rounding-method="7"
>
> Make a backup before.
> It's a wild guess, so it may bring you nothing.
>
> 2) check if you've got exact the same problem with fresh kmy file.
>
> --
> You are receiving this mail because:
> You reported the bug.

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-20 Thread NSLW
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #8 from NSLW  ---
(In reply to Michael Carpino from comment #7)
> something is telling me this is maybe related to the price precision. 
> Previously in older versions there was a global setting where you could
> change this figure.  Mine was/is set to 4 and I can't change it.  Now that
> setting is gone and the smallest cash & money unit is 2 digits.  Anytime I
> save it I think it's conflicting and maybe be causing the crash.  Just a
> thought.

Price precision has been enhanced by per security/currency setting.
Do you mean that you can't change it from 4 to 2 now?

There are two things I would like you to do:

1) open your kmy file in e.g. kwrite and change

rounding-method="0"

to

rounding-method="7"

Make a backup before.
It's a wild guess, so it may bring you nothing.

2) check if you've got exact the same problem with fresh kmy file.

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-19 Thread Michael Carpino
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #7 from Michael Carpino  ---
something is telling me this is maybe related to the price precision. 
Previously in older versions there was a global setting where you could change
this figure.  Mine was/is set to 4 and I can't change it.  Now that setting is
gone and the smallest cash & money unit is 2 digits.  Anytime I save it I think
it's conflicting and maybe be causing the crash.  Just a thought.

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-19 Thread Michael Carpino
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #6 from Michael Carpino  ---
I reran gdb with added results. installed drkongi and Konqueror that created no
results or execution.

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-19 Thread Michael Carpino
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #5 from Michael Carpino  ---
Created attachment 110826
  --> https://bugs.kde.org/attachment.cgi?id=110826&action=edit
rerun gdb

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-19 Thread Michael Carpino
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #4 from Michael Carpino  ---
Created attachment 110825
  --> https://bugs.kde.org/attachment.cgi?id=110825&action=edit
screen shot of where I click ok then crash

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-19 Thread NSLW
https://bugs.kde.org/show_bug.cgi?id=390658

NSLW  changed:

   What|Removed |Added

 CC||lukasz.wojnilow...@gmail.co
   ||m

--- Comment #3 from NSLW  ---
I cannot reproduce your crash too.

Could you attach screenshots of currencies window and its edit window for USD?

If you experience crash, then drkonqi should fire up with backtrace or
instruction how to get it. It should look like this
https://farm4.staticflickr.com/3557/3410899444_75970652eb.jpg

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

2018-02-18 Thread Michael Carpino
https://bugs.kde.org/show_bug.cgi?id=390658

--- Comment #2 from Michael Carpino  ---
I'd be happy to provide it.  I just need some instructions on how to do the
trace.

On Sun, Feb 18, 2018 at 7:30 AM, Thomas Baumgart 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=390658
>
> --- Comment #1 from Thomas Baumgart  ---
> It does not crash for me here. Can you provide a backtrace?
>
> --
> You are receiving this mail because:
> You reported the bug.

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

[kmymoney] [Bug 390658] Crash > Tools > Currencies

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

--- Comment #1 from Thomas Baumgart  ---
It does not crash for me here. Can you provide a backtrace?

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