Summary: | [projectwizard] A second click on "New project wizard" crashes Lokalize | ||
---|---|---|---|
Product: | [Applications] lokalize | Reporter: | Stefan Böhmann <kde> |
Component: | general | Assignee: | Nick Shaforostoff <shafff> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | adrian, chaofeng111, lpapp, opensuse.lietuviu.kalba |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/lokalize/54e1a864dab2a6fbfc3631b9b7f043801e546e93 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | segmentation fault while creating project |
Description
Stefan Böhmann
2010-11-23 23:27:56 UTC
I have openSUSE 11.4 Milestone 5 installed from KDE liveCD and updated to KDE4.6rc2 If I start Lokalize from menu, go to Project > New project wizard, it _always_ do nothing. If I start from konsole (terminal), I can successfully create project. From backtrace it seem to related to python binding. Do you still have this bug in latest gentoo package? I use openSUSE 12.3 64 bit, Lokalize 1.5 with KDE 4.10.2 "release 1". If I start Lokalize from menu, go to Project > New project wizard, it _always_ do nothing. If I start from konsole (terminal), It starts creating of project, but at last step it crash. So I can confirm at least in openSUSE. Created attachment 79739 [details]
segmentation fault while creating project
P.S. There is two python versions installed: python-2.7.3 and python3-3.3.0.
I have both Python 2.x and Python 3.x installed and still cannot reproduce the issue. • Does /usr/bin/python point to the Python 2.x executable, or is it the Python 3.x executable? • What happens if before performing those steps to reproduce that you mention, you remove (previously backing them up somewhere else, you don’t really want to remove them for good) the following file and folder? • ~/.kde4/share/config/lokalizerc • ~/.kde4/share/apps/lokalize/ Now I use openSUSE 12.3 64 bit, Lokalize 1.5 with KDE 4.10.5 /usr/bin/python > /usr/bin/python2.7 If I start Lokalize from applications menu: going to Project > New project wizard, for first time – it do nothing. for second click – also do nothing. Now If I start Lokalize from konsole, it opens dialog for new project as expected (both, first and second and any later click). Can you find out how is Lokalize actually called from the menu? Maybe it is being passed some parameter or something else. The .desktop file that contains the menu definition is usually at “/usr/share/applications/kde4/lokalize.desktop”. Mine calls Lokalize with “lokalize %i -caption %c”. Maybe you can call Lokalize from the command line using the same command as the .desktop file and provide the command-line output when the issue happens. Git commit 54e1a864dab2a6fbfc3631b9b7f043801e546e93 by Nick Shaforostoff. Committed on 19/01/2015 at 02:47. Pushed by shaforo into branch 'master'. get rid of python-based newprojectwizard i have added 'translate opendocument' button instead. todo: implement xliff2odf call from c++ code todo: odf2xliff on osx and windows Related: bug 329723, bug 305368, bug 272977, bug 269201 M +3 -11 scripts/CMakeLists.txt D +0 -556 scripts/newprojectwizard.py D +0 -10 scripts/newprojectwizard.rc D +0 -31 scripts/newprojectwizard_win.py D +0 -10 scripts/newprojectwizard_win.rc M +1 -0 src/CMakeLists.txt M +8 -8 src/catalog/catalog.cpp M +8 -8 src/catalog/xliff/xliffstorage.cpp M +8 -7 src/common/languagelistmodel.cpp M +7 -1 src/common/languagelistmodel.h M +1 -1 src/editortab.cpp M +8 -4 src/lokalizemainwindow.cpp M +2 -1 src/lokalizemainwindowui.rc M +1 -0 src/prefs/prefs.cpp M +2 -2 src/prefs/prefs.h M +52 -2 src/project/project.cpp M +4 -1 src/project/project.h M +18 -3 src/project/projectmodel.cpp M +8 -4 src/project/projecttab.cpp M +0 -4 src/project/projectwidget.cpp A +188 -0 src/project/xliffextractor.cpp [License: LGPL (v2.1+)] A +37 -0 src/project/xliffextractor.h [License: LGPL (v2.1+)] M +2 -2 src/tm/jobs.cpp http://commits.kde.org/lokalize/54e1a864dab2a6fbfc3631b9b7f043801e546e93 |