After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 404304 - totem plparser not compatible with current totem
totem plparser not compatible with current totem
Status: RESOLVED FIXED
Product: totem-pl-parser
Classification: Core
Component: General
Old
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 409617 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-04 16:08 UTC by Götz Waschk
Modified: 2008-06-03 17:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
patch (461 bytes, patch)
2007-02-04 17:08 UTC, Gustavo Carneiro
none Details | Review

Description Götz Waschk 2007-02-04 16:08:26 UTC
This is on Mandriva i586 with totem 2.17.90 and gnome-python-desktop 2.17.3:

python
Python 2.5 (r25:51908, Dec 11 2006, 18:44:13)
[GCC 4.1.2 20061110 (prerelease) (4.1.2-0.20061110.1mdv2007.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from totem import plparser
Traceback (most recent call last):
  • File "<stdin>", line 1 in <module>
ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/totem/plparser.so: undefined symbol: totem_pl_parser_error_get_type

Comment 1 Gustavo Carneiro 2007-02-04 17:08:31 UTC
Problem is in the totem build, missing export symbols.
Comment 2 Gustavo Carneiro 2007-02-04 17:08:56 UTC
Created attachment 81885 [details] [review]
patch
Comment 3 Bastien Nocera 2007-02-06 14:32:10 UTC
Comment on attachment 81885 [details] [review]
patch

>Index: src/plparse/plparser.symbols
>===================================================================
>--- src/plparse/plparser.symbols	(revision 3993)
>+++ src/plparse/plparser.symbols	(working copy)
>@@ -1,5 +1,8 @@
> totem_pl_parser_error_quark
> totem_pl_parser_get_type
>+totem_pl_parser_result_get_type
>+totem_pl_parser_error_get_type

Added those two.

>+totem_pl_parser_type_get_type

That one doesn't exist...

> totem_pl_parser_write
> totem_pl_parser_write_with_title
> totem_pl_parser_add_ignored_scheme
Comment 4 Bastien Nocera 2007-02-06 14:33:38 UTC
2007-02-06  Bastien Nocera  <hadess@hadess.net>

        * src/plparse/plparser.symbols: Patch from Gustavo Carneiro
        <gjc@inescporto.pt> to export missing symbols (Closes: #404304)
Comment 5 Gustavo Carneiro 2007-02-19 14:22:15 UTC
*** Bug 409617 has been marked as a duplicate of this bug. ***
Comment 6 Sebastien Bacher 2007-02-23 23:29:09 UTC
that bug has not been fixed, totem_pl_parser_error_get_type need to be listed
Comment 7 Götz Waschk 2007-02-26 06:49:02 UTC
Indeed, this is in gnome-python-desktop 2.17.92:
$ cd .libs
]$ python
Python 2.5 (r25:51908, Dec 11 2006, 18:44:13) 
[GCC 4.1.2 20061110 (prerelease) (4.1.2-0.20061110.1mdv2007.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import plparser
Traceback (most recent call last):
  • File "<stdin>", line 1 in <module>
ImportError: ./plparser.so: undefined symbol: totem_pl_parser_type_get_type

Comment 8 Bastien Nocera 2007-02-26 15:19:39 UTC
(In reply to comment #6)
> that bug has not been fixed, totem_pl_parser_error_get_type need to be listed

It was already listed.


(In reply to comment #7)
> Indeed, this is in gnome-python-desktop 2.17.92:
> $ cd .libs
> ]$ python
> Python 2.5 (r25:51908, Dec 11 2006, 18:44:13) 
> [GCC 4.1.2 20061110 (prerelease) (4.1.2-0.20061110.1mdv2007.1)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import plparser
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: ./plparser.so: undefined symbol: totem_pl_parser_type_get_type

*sigh* I thought this was a typo, it's actually the GObject-ification of TotemPlParserType...

2007-02-26  Bastien Nocera  <hadess@hadess.net>

        * src/plparse/plparser.symbols: really add missing symbols for
        the Python bindings to work (Closes: #404304)
Comment 9 Philip Withnall 2008-06-03 17:39:59 UTC
Mass-move from totem to totem-pl-parser. You can remove all messages by searching for this comment.