[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:       Alessandro Pisa <alessandro.pisa () gmail ! com>
Date:       2014-04-30 23:28:23
Message-ID: bug-333941-17878-6WDUBHAdUo () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Alessandro Pisa <alessandro.pisa@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alessandro.pisa@gmail.com

--- Comment #1 from Alessandro Pisa <alessandro.pisa@gmail.com> ---
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.


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

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