#250 ✓fixed
Roman

Application cannot start

Reported by Roman | April 28th, 2011 @ 01:26 PM

I have found your software moneyGuru today at http://www.root.cz/clanky/softwarova-sklizen-27-4-2011/#MoneyGuru.
I downloaded it and installed.
After first click on icon has occured error (see attachement).

I tried to install it also outside Program Files, Run as administrator but nothing helped :(.
I use Win 2008 R2.
Could you send me info as soon as you fix this problem?

Roman

Comments and changes to this ticket

  • Virgil Dupras

    Virgil Dupras May 4th, 2011 @ 09:20 PM

    I have no idea what caused this. What is win2008, a server version? I never tried moneyGuru on that. Maybe that running it from source would give a better traceback.

  • Ogar Ogarovic

    Ogar Ogarovic June 7th, 2011 @ 09:25 PM

    The problem seems to be in core/gui/date_widget.py line 37. The app has problem with the Slovak regional settings (date format dd.mm.yyyy) on windows (I tried XP,7). After switching to USA regional settings the apps starts correctly.

  • Virgil Dupras

    Virgil Dupras June 7th, 2011 @ 10:12 PM

    • Tag set to bug

    I tried it myself (slovakian setting under winxp) and it worked fine. The format was d.m.yyyy initially, but I also tried with dd.mm.yyyy.

    @Ogar: You mention core/gui/date_widget.py line 37. Is that because you saw an exception traceback? Do you have the full traceback?

  • Roman

    Roman June 7th, 2011 @ 11:08 PM

    @Virgil Yes, Windows 2008 R2 is a server edition. @Ogar Do you think, that is enough to change regional settings, culture (or date format settings) to en-US?

    Roman

  • Ogar Ogarovic

    Ogar Ogarovic June 8th, 2011 @ 07:11 AM

    I've got the same problem as Roman on WinXP and Win7. I tried the 1.8.3 version. It gave me error, but with a traceback.


    cx_Freeze: Python error in main script

    Traceback (most recent call last):
    File "C:\Python26\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in File "start.py", line 35, in File "app.py", line 57, in init File "controller\main_window.py", line 62, in init File "controller\transaction_panel.py", line 30, in init File "controller\transaction_panel.py", line 40, in _setupUi File "ui\transaction_panel_ui.py", line 29, in setupUi File "support\date_edit.py", line 29, in init File "C:\src\moneyguru\core\gui\date_widget.py", line 37, in init KeyError: (u' M',)


    OK

    After changing the regional settings to US in windows the app starts fine.

  • Ogar Ogarovic

    Ogar Ogarovic June 8th, 2011 @ 07:13 AM

    Traceback (most recent call last):
      File "C:\Python26\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
      File "start.py", line 35, in <module>
      File "app.py", line 57, in __init__
      File "controller\main_window.py", line 62, in __init__
      File "controller\transaction_panel.py", line 30, in __init__
      File "controller\transaction_panel.py", line 40, in _setupUi
      File "ui\transaction_panel_ui.py", line 29, in setupUi
      File "support\date_edit.py", line 29, in __init__
      File "C:\src\moneyguru\core\gui\date_widget.py", line 37, in __init__
    KeyError: (u' M',)
    
  • Ogar Ogarovic

    Ogar Ogarovic June 8th, 2011 @ 08:46 AM

    On WinXP switching the regionale back (from US to Slovak) does not stop the app from working. On Win7 when I switch the regionale back (from US to Slovak), the app gives the exception again.

  • Virgil Dupras

    Virgil Dupras June 8th, 2011 @ 02:36 PM

    • State changed from “new” to “accepted”
    • Assigned user set to “Virgil Dupras”

    Yup, I can reproduce the bug as well (on vista).

  • Virgil Dupras

    Virgil Dupras June 8th, 2011 @ 03:01 PM

    • State changed from “accepted” to “fixed”

    (from [1946f11ab87d]) [#250 state:fixed] Fixed crash when date format had spaces in it. https://bitbucket.org/hsoft/moneyguru/changeset/1946f11ab87d/

  • Virgil Dupras

    Virgil Dupras June 8th, 2011 @ 03:17 PM

    • State changed from “fixed” to “accepted”

    Oops, I didn't quite fix it in fact. Date editing is screwed with spaces in the format. I'll just remove them entirely from the format during clean_format()...

  • Virgil Dupras

    Virgil Dupras June 8th, 2011 @ 03:24 PM

    • State changed from “accepted” to “fixed”

    (from [f186f4ed4e68]) [#250 state:fixed] Fixed the crash about spaces in date format for real this time. All that had to be done was to call clean_format() on the Qt side, which wasn't done before. https://bitbucket.org/hsoft/moneyguru/changeset/f186f4ed4e68/

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Attachments

Tags

Referenced by

Pages