Error: uninitialized functions in python binding

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error: uninitialized functions in python binding

Srushti Dhope
I'm trying to run an example python code (using playerc.py) and getting the following error:

Traceback (most recent call last):
  File "simple.py", line 12, in <module>
    from playerc import *
  File "/usr/local/lib64/python2.7/site-packages/playerc.py", line 28, in <module>
    _playerc = swig_import_helper()
  File "/usr/local/lib64/python2.7/site-packages/playerc.py", line 24, in swig_import_helper
    _mod = imp.load_module('_playerc', fp, pathname, description)
ImportError: /usr/local/lib64/python2.7/site-packages/_playerc.so: undefined symbol: _playerc_device_t_subscribe

I'm using Player 3.0.2, Stage 4.1.1 and Python 2.7.6, and running them on Ubuntu 14.04 on x86_64 with kernel 3.13.0-73-generic.

I see that it has been marked as a bug on github. Is there a way around it? Any help is appreciated.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error: uninitialized functions in python binding

Rich Mattes-2
On 02/25/2016 06:13 PM, Srushti Dhope wrote:

> I'm trying to run an example python code (using playerc.py) and getting
> the following error:
>
> Traceback (most recent call last):
>    File "simple.py", line 12, in <module>
>      from playerc import *
>    File "/usr/local/lib64/python2.7/site-packages/playerc.py", line 28,
> in <module>
>      _playerc = swig_import_helper()
>    File "/usr/local/lib64/python2.7/site-packages/playerc.py", line 24,
> in swig_import_helper
>      _mod = imp.load_module('_playerc', fp, pathname, description)
> ImportError: /usr/local/lib64/python2.7/site-packages/_playerc.so:
> undefined symbol: _playerc_device_t_subscribe
>
> I'm using Player 3.0.2, Stage 4.1.1 and Python 2.7.6, and running them
> on Ubuntu 14.04 on x86_64 with kernel 3.13.0-73-generic.
>
> I see that it has been marked as a bug
> <https://github.com/playerproject/player/issues/3> on github. Is there a
> way around it? Any help is appreciated.

I tried building player-3.0.2 from source and got the following error,
which is not exactly the same as yours:

>>> from playerc import *
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "playerc.py", line 28, in <module>
     _playerc = swig_import_helper()
   File "playerc.py", line 24, in swig_import_helper
     _mod = imp.load_module('_playerc', fp, pathname, description)
ImportError: ./_playerc.so: undefined symbol: _playerc_device_t_get_boolprop


However, the playerc python bindings seem to work fine when built from
the current git master.  Can you replecate your error when building from
git?

Rich

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Loading...