[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kate] [Bug 333941] python_utils pate plugins do not work
From:       Alex Turbov <i.zaufi () gmail ! com>
Date:       2014-06-10 16:33:52
Message-ID: bug-333941-17878-ND49ExIjEp () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=333941

Alex Turbov <i.zaufi@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i.zaufi@gmail.com

--- Comment #3 from Alex Turbov <i.zaufi@gmail.com> ---
(In reply to comment #1)
> 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.

yep. a lot of things has changed in python plugins since kate 3.13

> I think here you can find the original (unmantained) repo of the
> python_utils:
>  - https://github.com/goinnn/Kate-plugins

do not use it! it's completely out of date.

> 
> I fixed the plugins manually by:
> 1) fixing something like a tenth of imports (I made them relative)
good

> 2) removing any additional parameter assigned to the kate.action decorator
> (e.g. @kate.action(**KATE_ACTIONS['parseCode']) -> @kate.action)

since there some actions supposed to be, this patch shuld contain *_ui.rc file…

> 3) removing .f from the decorated functions (e.g. checkAll.f -> checkAll)
> 
> I would be glad to contribute a proper patch.
> Ciao

better to add a review to https://git.reviewboard.kde.org reffering to this
"bug".

PS. I wrote "bug", cuz honestly I don't like this set of plugins for a bunch of
reasons:
* it reintroduce some ugly snippets while kate already has them builtin (even
if not consider more advanced way to do the same (even better) w/ expand Python
plugin)
* it had some issues w/ python3 in the past, so personally I never use that
tools even for python programming… dunno, if that has been fixed… it seems the
author abandon this plugin as well…

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic