#250 ✓fixed
Roman

Application cannot start

Reported by Roman | 2011-04-28 13:26:32 UTC

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 2011-05-04 21:20:19 UTC

    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 2011-06-07 21:25:30 UTC

    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 2011-06-07 22:12:47 UTC

    • 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 2011-06-07 23:08:46 UTC

    @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 2011-06-08 07:11:51 UTC

    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 2011-06-08 07:13:56 UTC

    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 2011-06-08 08:46:01 UTC

    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 2011-06-08 14:36:29 UTC

    • 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 2011-06-08 15:01:33 UTC

    • 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 2011-06-08 15:17:38 UTC

    • 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 2011-06-08 15:24:29 UTC

    • 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