All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Isengard 15.0 python issue - solution
@ 2015-07-24 18:49 Stanislav Vlasic
  2015-07-24 21:01 ` Bernd Kuhls
  0 siblings, 1 reply; 3+ messages in thread
From: Stanislav Vlasic @ 2015-07-24 18:49 UTC (permalink / raw)
  To: buildroot

Hi,

Problem was isolated and fixed by Corey Moyer. I will not submit patch 
as I'm not original author of it, will just describe it:

Python addons are crashing because of 
https://github.com/xbmc/xbmc/blob/master/xbmc/interfaces/python/XBPython.cpp#L565

Patch would be to remove defined(TARGET_LINUX) from #if statement in 
line above. I'm not sure if this issue affects all Linux builds (Kodi 
15.0 works fine on my Linux Mint 17.1).

This is tested on Buildroot 2015.02 and 2015.05, Python 2.7.8, 2.7.9 and 
2.7.10.

Regards,
Stanislav Vlasic

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Isengard 15.0 python issue - solution
  2015-07-24 18:49 [Buildroot] Isengard 15.0 python issue - solution Stanislav Vlasic
@ 2015-07-24 21:01 ` Bernd Kuhls
  2015-07-24 21:08   ` Stanislav Vlasic
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Kuhls @ 2015-07-24 21:01 UTC (permalink / raw)
  To: buildroot

[posted and mailed]

Stanislav Vlasic <svlasic@gmail.com> wrote
in news:mou1bv$4au$1 at ger.gmane.org: 

> Problem was isolated and fixed by Corey Moyer. I will not submit patch 
> as I'm not original author of it, will just describe it:
> 
> Python addons are crashing because of 
> https://github.com/xbmc/xbmc/blob/master/xbmc/interfaces/python/XBPython.
> cpp#L565 
> 
> Patch would be to remove defined(TARGET_LINUX) from #if statement in 
> line above. I'm not sure if this issue affects all Linux builds (Kodi 
> 15.0 works fine on my Linux Mint 17.1).
> 
> This is tested on Buildroot 2015.02 and 2015.05, Python 2.7.8, 2.7.9 and
> 2.7.10.

Hi,

I never had any problems with python addons in Kodi, here is a snippet of
my .config: 

BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_PY_ONLY=y
# BR2_PACKAGE_PYTHON_PYC_ONLY is not set
# BR2_PACKAGE_PYTHON_PY_PYC is not set

Maybe these options have an influence?

Regards, Bernd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Isengard 15.0 python issue - solution
  2015-07-24 21:01 ` Bernd Kuhls
@ 2015-07-24 21:08   ` Stanislav Vlasic
  0 siblings, 0 replies; 3+ messages in thread
From: Stanislav Vlasic @ 2015-07-24 21:08 UTC (permalink / raw)
  To: buildroot

On 07/24/2015 11:01 PM, Bernd Kuhls wrote:
> [posted and mailed]
>
> Stanislav Vlasic <svlasic@gmail.com> wrote
> in news:mou1bv$4au$1 at ger.gmane.org:
>
>> Problem was isolated and fixed by Corey Moyer. I will not submit patch
>> as I'm not original author of it, will just describe it:
>>
>> Python addons are crashing because of
>> https://github.com/xbmc/xbmc/blob/master/xbmc/interfaces/python/XBPython.
>> cpp#L565
>>
>> Patch would be to remove defined(TARGET_LINUX) from #if statement in
>> line above. I'm not sure if this issue affects all Linux builds (Kodi
>> 15.0 works fine on my Linux Mint 17.1).
>>
>> This is tested on Buildroot 2015.02 and 2015.05, Python 2.7.8, 2.7.9 and
>> 2.7.10.
>
> Hi,
>
> I never had any problems with python addons in Kodi, here is a snippet of
> my .config:
>
> BR2_PACKAGE_PYTHON=y
> BR2_PACKAGE_PYTHON_PY_ONLY=y
> # BR2_PACKAGE_PYTHON_PYC_ONLY is not set
> # BR2_PACKAGE_PYTHON_PY_PYC is not set
>
> Maybe these options have an influence?
>
> Regards, Bernd
>

Difference is that I have BR2_PACKAGE_PYTHON_PYC_ONLY selected but I'm 
not sure if that could be the case because everything was working with 
BR2_PACKAGE_PYTHON_PYC_ONLY as default option since XBMC 12 (I'm working 
with Amlogic SoCs).

I will test with BR2_PACKAGE_PYTHON_PY_ONLY enabled and patch disabled 
and will report back results.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-24 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-24 18:49 [Buildroot] Isengard 15.0 python issue - solution Stanislav Vlasic
2015-07-24 21:01 ` Bernd Kuhls
2015-07-24 21:08   ` Stanislav Vlasic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.