Application cannot start
-
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.
-
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.
-
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? -
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
-
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.
-
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',) -
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.
-
Virgil Dupras
- State changed from new to accepted
- Assigned user set to Virgil Dupras
Yup, I can reproduce the bug as well (on vista).
-
Virgil Dupras
- State changed from accepted to fixed
(from [1946f11ab87d]) [#250 Application cannot start state:fixed] Fixed crash when date format had spaces in it. https://bitbucket.org/hsoft/moneyguru/changeset/1946f11ab87d/
-
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()...
-
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/
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.
