Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Application cannot start

#250

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

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

State: fixed
Milestone: none
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras

    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.

    May 4th, 2011 @ 09:20 PM

  2. Ogar Ogarovic
    Ogar Ogarovic

    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.

    June 7th, 2011 @ 09:25 PM

  3. Virgil Dupras
    Virgil Dupras
    • 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?

    June 7th, 2011 @ 10:12 PM

  4. Roman
    Roman

    @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

    June 7th, 2011 @ 11:08 PM

  5. Ogar Ogarovic
    Ogar Ogarovic

    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.

    June 8th, 2011 @ 07:11 AM

  6. Ogar Ogarovic
    Ogar Ogarovic
    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',)
    

    June 8th, 2011 @ 07:13 AM

  7. Ogar Ogarovic
    Ogar Ogarovic

    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.

    June 8th, 2011 @ 08:46 AM

  8. Virgil Dupras
    Virgil Dupras
    • State changed from new to accepted
    • Assigned user set to Virgil Dupras

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

    June 8th, 2011 @ 02:36 PM

  9. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed

    June 8th, 2011 @ 03:01 PM

  10. Virgil Dupras
    Virgil Dupras
    • 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()...

    June 8th, 2011 @ 03:17 PM

  11. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed

    (from [f186f4ed4e68]) [#250 Application cannot start 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/

    June 8th, 2011 @ 03:24 PM

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.