Setting up a dev environment with Eclipse ad PyDev
#1
I'm a tad stuck following this: https://kodi.wiki/view/HOW-TO:Debug_Pyth...th_Eclipse

It's way dated. I work fluidly with Eclipse and PyDev all the time, i.e. already have that dev environment in regular use.

Now I'd like to apply it to a little Kodi Addon work but that tutorial is a maze of deprecated tips.

2.3.5 Setting up Predefined Completions (optional)

Optional so I won't fuss with it too much for now. Still flagging that  'PyDev Predefined Completions Creator' Addon cannot for love or money be found. I found a copy here:

https://kodi-addons.club/addon/script.pypredefcom/

which even claims to be Kodi 18 compatible, bu no. I tweaked it to install at all (shifting its xmbc.python import from 2.0 to 2.14.0 that Kodi 18.3 seems to use) . But when run it bombs with an error saying to check logs. Which I'll dwell on later (as when i turn on the debug log it's flooded fast as I happen to me importing a mass of media at same time so I will wait for that to die down, point here being that this addon is a mystery, and if it does live somewhere, we'd love to find it and update that wiki!)

3.4 Add Pydev Python source code (pysrc) to XBMC

Now this is a little more important. And it concludes with a little note:
Quote:In new Eclipse versions on Linux, the standard eclipse installation (/usr/share/eclipse/plugins) does not contain the pydev files any more. The easiest solution is to install the pydevd-addon.
To access this from your addon, your addon.xml has to contain 
<import addon="script.module.pydevd" version="3.4.1"/>

Which refers to this: https://kodi.wiki/view/Add-on:Pydevd

But again, this addon I cannot find, for love or money. Where is it?

I would love to get this rolling, but it seems I need the pydevd addon and don't know where to look for it or how it install it.

Regards,

Bernd.
Reply
#2
(2019-08-23, 06:56)ThumbOne Wrote: I'm a tad stuck following this: https://kodi.wiki/view/HOW-TO:Debug_Pyth...th_Eclipse

It's way dated. I work fluidly with Eclipse and PyDev all the time, i.e. already have that dev environment in regular use.

Now I'd like to apply it to a little Kodi Addon work but that tutorial is a maze of deprecated tips.

2.3.5 Setting up Predefined Completions (optional)

Optional so I won't fuss with it too much for now. Still flagging that  'PyDev Predefined Completions Creator' Addon cannot for love or money be found. I found a copy here:

https://kodi-addons.club/addon/script.pypredefcom/

which even claims to be Kodi 18 compatible, bu no. I tweaked it to install at all (shifting its xmbc.python import from 2.0 to 2.14.0 that Kodi 18.3 seems to use) . But when run it bombs with an error saying to check logs. Which I'll dwell on later (as when i turn on the debug log it's flooded fast as I happen to me importing a mass of media at same time so I will wait for that to die down, point here being that this addon is a mystery, and if it does live somewhere, we'd love to find it and update that wiki!)

3.4 Add Pydev Python source code (pysrc) to XBMC

Now this is a little more important. And it concludes with a little note:
Quote:In new Eclipse versions on Linux, the standard eclipse installation (/usr/share/eclipse/plugins) does not contain the pydev files any more. The easiest solution is to install the pydevd-addon.
To access this from your addon, your addon.xml has to contain 
<import addon="script.module.pydevd" version="3.4.1"/>

Which refers to this: https://kodi.wiki/view/Add-on:Pydevd

But again, this addon I cannot find, for love or money. Where is it?

I would love to get this rolling, but it seems I need the pydevd addon and don't know where to look for it or how it install it.

Regards,

Bernd. 
Is there no-one that is using PyDev today that wants to pipe up on how to set this up and help us update that wiki page so it actually helps us?
Reply
#3
Try asking in the developer add-on subforum.  I suspect you will get better response there.

scott s.
.
Reply
#4
(2019-08-29, 17:57)scott967 Wrote: Try asking in the developer add-on subforum.  I suspect you will get better response there.

scott s.
.

Thanks! Done. Didn't notice that one. Moved there!
Reply

Logout Mark Read Team Forum Stats Members Help
Setting up a dev environment with Eclipse ad PyDev0