FS#36817 - [weechat] Cannot load plugin „/usr/lib/weechat/plugins/python.so“

Attached to Project: Arch Linux
Opened by daimonion (demon) - Saturday, 07 September 2013, 08:48 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 07 September 2013, 16:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

As of today's upgrade weechat cannot load python plugin and python scripts therefore.

„Cannot load plugin „/usr/lib/weechat/plugins/python.so“: /usr/lib/weechat/plugins/python.so: undefined symbol: _Py_NoneStruct
If you're trying to load a script and not a C plugin, try command to load scripts (/perl, /python, ...)“

Additional info:
* weechat 0.4.1-3 (previously working version was 0.4.1-2)

Steps to reproduce:

Start weechat-ncurses.

----

Compiling with python2:
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
fixes the issue.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 07 September 2013, 16:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  weechat 0.4.1-4
Comment by daimonion (demon) - Saturday, 07 September 2013, 09:03 GMT
Also, the developers recommend the python2.7. (See note #3 from: http://weechat.org/files/doc/devel/weechat_user.en.html#dependencies)
Comment by Josh (zendeavor) - Saturday, 07 September 2013, 14:10 GMT
this bugfix is at fault https://bugs.archlinux.org/task/36812

weechat is only tested with 3.1 and 3.2 flavours of python3; 3.3 has not been tested yet and is clearly not supported.

http://dev.weechat.org/post/2012/01/03/Support-of-Python-3
Comment by Christian Rebischke (Shibumi) - Saturday, 07 September 2013, 14:13 GMT
weechat doesn't yet support python3.3. I suggest a step back to python2 as dependency.
Comment by Alexandre Bolelli Soares (Semeion) - Saturday, 07 September 2013, 14:51 GMT
I have same problem.

Loading...