From kde-bugs-dist Wed Apr 30 23:28:23 2014 From: Alessandro Pisa Date: Wed, 30 Apr 2014 23:28:23 +0000 To: kde-bugs-dist Subject: [kate] [Bug 333941] python_utils pate plugins do not work Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=139890051001891 https://bugs.kde.org/show_bug.cgi?id=333941 Alessandro Pisa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alessandro.pisa@gmail.com --- Comment #1 from Alessandro Pisa --- Thanks for your hints, they lead me to discover more! There have been changes to the pate decorators and apparently the python_utils code (shipped by kubuntu 14.04 in the kate-data deb) did not get updated. I think here you can find the original (unmantained) repo of the python_utils: - https://github.com/goinnn/Kate-plugins Now the code should be here: - https://projects.kde.org/projects/kde/applications/kate/repository/revisions/23267e27341e46f921d97bd765014bc2552f85f1/show/addons/kate/pate/src/plugins/python_utils I fixed the plugins manually by: 1) fixing something like a tenth of imports (I made them relative) 2) removing any additional parameter assigned to the kate.action decorator (e.g. @kate.action(**KATE_ACTIONS['parseCode']) -> @kate.action) 3) removing .f from the decorated functions (e.g. checkAll.f -> checkAll) I would be glad to contribute a proper patch. Ciao P.s.: this is the first time I write here, forgive me if I said stupid things :p -- You are receiving this mail because: You are watching all bug changes.