Bug 751192

Summary: Turpial doesn't work
Product: [openSUSE] openSUSE 12.2 Reporter: Saúl Bordes Sánchez <saulbordes>
Component: OtherAssignee: Dominique Leuenberger <dimstar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar, sven
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Turpial error on console

Description Saúl Bordes Sánchez 2012-03-08 09:47:34 UTC
Created attachment 480314 [details]
Turpial error on console

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.21 (KHTML, like Gecko) Chrome/19.0.1046.0 Safari/535.21 SUSE/19.0.1046.0

When i try to open it, it doesn't anything. If i try to launch it on console, i receive this error:

Traceback (most recent call last):
  File "/usr/bin/turpial", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources


I'm using openSUSE-current repo.

Reproducible: Always

Steps to Reproduce:
1. open console
2. tip turpial and lauch it.
3.
Actual Results:  
The application doesn't work.


I'm using openSUSE 12.2 x64 with openSUSE-current repo. It's a clean installation.
Comment 1 Sven Uebelacker 2012-08-06 22:03:31 UTC
Reproducable always as well in openSUSE 12.1.

$ turpial 
Traceback (most recent call last):
  File "/usr/bin/turpial", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Fedoras Bugtracker says that it looks like the python-setuptools have to do with it:

https://bugzilla.redhat.com/show_bug.cgi?id=758979

and on the turpial mailinglist: https://code.google.com/p/turpial/issues/detail?id=147
Comment 2 Dominique Leuenberger 2012-08-06 22:06:13 UTC
(In reply to comment #1)
> Reproducable always as well in openSUSE 12.1.

You filed the bug against 12.2. Was that intentional or did you see the error originally there and then tested 12.1? This wil lhe important in tracking it down I'm afraid.
Comment 3 Sven Uebelacker 2012-08-06 22:25:59 UTC
Saul has the problem with 12.2, my 12.1 is affected with the same error message, too. So, should I file a new bug report then to get it out of the factory scope?

BTW: I started building turpial version 1.6.9 in my home repo for 12.1 to see if that error still exists. openSUSE 12.1 delivers old version 1.5.0 (>9 months old), 12.2/Factory is recent.
Comment 4 Dominique Leuenberger 2012-08-06 22:38:16 UTC
Sven,

Thanks for clarification.. I did not realize this being two different people posting on the same bug within one day... my bad.
Comment 5 Dominique Leuenberger 2012-08-06 22:40:02 UTC
Seems we're missing a dependency on python-distribute in this case...
Comment 6 Dominique Leuenberger 2012-08-06 22:55:58 UTC
For GNOME:Apps (Factory): Cretaed request 130260
for 12.1 / 12.2: Created maintenance request 130261

As a workaround, you can manually trigger the installation of python-distribute
Comment 7 Bernhard Wiedemann 2012-08-06 23:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (751192) was mentioned in
https://build.opensuse.org/request/show/130262 Factory / turpial
Comment 8 Sven Uebelacker 2012-08-07 23:01:50 UTC
Hi Dominique,

I tried version 1.6.9 in openSUSE 12.1 x86_64 from GNOME:Apps as well now. Same error message. Installation of python-distribute is indeed a good idea. That's a missing dependency. I see it's fixed in GNOME:Apps now.

But in my 12.1 a new error occurres then:

$ turpial
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
No module named indicate
Segmentation fault

$ python -vvv /usr/bin/turpial
[…]
import webkit # directory /usr/lib64/python2.7/site-packages/webkit
# trying /usr/lib64/python2.7/site-packages/webkit/__init__.so
# trying /usr/lib64/python2.7/site-packages/webkit/__init__module.so
# trying /usr/lib64/python2.7/site-packages/webkit/__init__.py
import webkit # from /usr/lib64/python2.7/site-packages/webkit/__init__.py
# can't create /usr/lib64/python2.7/site-packages/webkit/__init__.pyc
# trying /usr/lib64/python2.7/site-packages/webkit/webkit.so
dlopen("/usr/lib64/python2.7/site-packages/webkit/webkit.so", 102);
Segmentation fault

$ rpm -qa|grep webkit
libwebkitgtk-1_0-0-1.6.1-2.1.2.x86_64
python-webkitgtk-1.1.8-6.1.2.x86_64
libwebkitgtk-3_0-0-1.6.1-2.1.2.x86_64
libproxy1-pacrunner-webkit-0.4.7-7.4.1.x86_64

$ strace /usr/bin/turpial
[…]
open("/usr/lib64/python2.7/site-packages/webkit/webkit.so", O_RDONLY) = 7
fstat(7, {st_mode=S_IFREG|0755, st_size=85256, ...}) = 0
--- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x869e} (Segmentation fault) ---
+++ killed by SIGSEGV +++
Segmentation fault


Any idea on that? Thanks.
Comment 9 Dominique Leuenberger 2012-08-14 12:43:55 UTC
Can you manage to get this running in gdb so we can get a stack trace?
Comment 10 Swamp Workflow Management 2012-08-29 21:08:44 UTC
openSUSE-RU-2012:1057-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 751192
CVE References: 
Sources used:
openSUSE 12.1 (src):    turpial-1.5.0-3.4.1
Comment 11 Dominique Leuenberger 2012-10-15 18:59:10 UTC
The original issue reported has been addressed with an online update.

@Sven: if you still see other issues, please feel free to create a new bug with the information requested.
Comment 12 Sven Uebelacker 2012-11-08 22:05:54 UTC
Sorry for not replying quickly: I dupped to 12.2 and haven't seem the bug any more. Look good! Thanks.