2013/8/13, Eddy Petrișor <eddy.petri...@gmail.com>: > În data de 13.08.2013 02:40, "David Paleino" <da...@debian.org> a scris: >> >> On Mon, 12 Aug 2013 22:48:43 +0300, Eddy Petrișor wrote: >> >> > 2013/8/12 David Paleino <da...@debian.org>: >> > [..] >> > I see you uploaded to sid, could you, please, also push the change to >> > the canonical repo? I would like to backport for myself the official >> > version.
I backported for myself the version and I hit a serious bug already. In spite of the obvious seriousness of the issue,I did not report it officially since I am not running the official version. Trying to run the ide results in a crash: 0 eddy@heidi ~/usr/src/learnqt/podsoundboard $ ninja-ide podsoundboard.nja Traceback (most recent call last): File "/usr/bin/ninja-ide", line 34, in <module> ninja_ide.setup_and_run() File "/usr/share/ninja-ide/ninja_ide/__init__.py", line 71, in setup_and_run core.run_ninja() File "/usr/share/ninja-ide/ninja_ide/core/core.py", line 49, in run_ninja ide.start(filenames, projects_path, extra_plugins, linenos) File "/usr/share/ninja-ide/ninja_ide/gui/ide.py", line 560, in start json_manager.load_syntax() File "/usr/share/ninja-ide/ninja_ide/tools/json_manager.py", line 78, in load_syntax files = os.listdir(resources.SYNTAX_FILES) OSError: [Errno 2] No such file or directory: '/usr/share/ninja-ide/addins/syntax' The problem is that the addins directory hasn't landed in the proper place: heidi:/usr/share/ninja-ide/addins# ls addins heidi:/usr/share/ninja-ide/addins# ls addins/ lang qml syntax theme But if the extra addins level is removed, everything works fine: heidi:/usr/share/ninja-ide/addins# for d in $(ls addins/); do ln -sf addins/$d ; done heidi:/usr/share/ninja-ide/addins# ll total 4 drwxr-xr-x 6 root root 4096 aug 14 00:29 addins lrwxrwxrwx 1 root root 11 aug 14 00:38 lang -> addins/lang lrwxrwxrwx 1 root root 10 aug 14 00:38 qml -> addins/qml lrwxrwxrwx 1 root root 13 aug 14 00:38 syntax -> addins/syntax lrwxrwxrwx 1 root root 12 aug 14 00:38 theme -> addins/theme 1 eddy@heidi ~/usr/src/learnqt/podsoundboard $ ninja-ide podsoundboard.nja RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal RefactoringTool: Skipping implicit fixer: ws_comma RefactoringTool: Refactored /home/eddy/usr/src/learnqt/podsoundboard/soundcontainer.py RefactoringTool: Files that need to be modified: RefactoringTool: /home/eddy/usr/src/learnqt/podsoundboard/soundcontainer.py I am also almost sure the dependency on libjs-modernizr is no longer necessary, since html was replaced with qml. and there are no references to it in the 2.3 code. >> I guess PRJ_PATH would be /usr/lib/python2.7/dist-packages/ninja_ide/ -- > or >> kinda. The reason why it works correctly is because setup.py also >> installs >> runtime data files -- syntax highlighting, themes, ... (i.e. addins/) >> to /usr/lib/python2.7/dist-packages/ninja_ide/. >> >> Moving them to a more proper /usr/share/ninja-ide needs a patch -- maybe > mine >> isn't "beautiful" (I should've added a DATA_DIR = ..., and then make >> other >> values depend on that), but it works. > > That would be a good idea and I think, if written properly, a variant of > the patch could be submitted upstream and the Debian patch would be to only > rewrite the DATA_DIR, because the rest would be defined against it. Maybe now it's time for that patch :-) -- Eddy Petrișor, http://sceptici.ro -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org