webpin Problems

:question: For unrelated reasons I had to reinstall 11.2.

Update from the repos with no problems but when I tried to use webpin to install a couple of specific apps strange things happened.

I enter an app name in the search field (netbeans for example) and webpin doesn’t seem to search the repos - it just instantly returns "no programs found.

Any ideas?

Thanks,
Jim

Check your logs. I got this when I tried webpin.

XML::Simple::build_tree('XML::Simple=HASH(0xb66398)', '/tmp/YaST2-22679-j7PSDQ/package_search_webpin.xml', undef) called at /usr/lib/perl5/vendor_perl/5.10.0/XML/Simple.pm line 308
    XML::Simple::build_simple_tree('XML::Simple=HASH(0xb66398)', '/tmp/YaST2-22679-j7PSDQ/package_search_webpin.xml', undef) called at /usr/lib/perl5/vendor_perl/5.10.0/XML/Simple.pm line 227
    XML::Simple::parse_file('XML::Simple=HASH(0xb66398)', '/tmp/YaST2-22679-j7PSDQ/package_search_webpin.xml') called at /usr/lib/perl5/vendor_perl/5.10.0/XML/Simple.pm line 195
    XML::Simple::XMLin('XML::Simple=HASH(0xb66398)', '/tmp/YaST2-22679-j7PSDQ/package_search_webpin.xml') called at /usr/lib/YaST2/servers_non_y2/ag_anyxml line 81

Thanks as always for the quick come back.

Here is the output from the log file:

2010-07-04 17:48:53 <1> linux-gjwp(30868) [liby2] genericfrontend.cc(main):668 Launched YaST2 component ‘y2base’ ‘webpin_package_search’ ‘gtk’
2010-07-04 17:49:08 <1> linux-gjwp(30868) [YCP] clients/webpin_package_search.ycp:181 Selecting these packages: $]
2010-07-04 17:49:08 <1> linux-gjwp(30868) [YCP] WebpinPackageSearch.ycp:352 HTTP::Get (http://api.opensuse-community.org/searchservice/Search/Simple/openSUSE_112/skype, /tmp/YaST2-30868-eHDPk8/package_search_webpin.xml)
2010-07-04 17:49:08 <1> linux-gjwp(30868) [agent-curl] CurlAgent.cc(Execute):219 Output: /tmp/YaST2-30868-eHDPk8/package_search_webpin.xml
2010-07-04 17:49:08 <3> linux-gjwp(30868) [Interpreter] clients/webpin_package_search.ycp:338 Argument (tmp_results) to listmap(…) is nil
2010-07-04 17:49:08 <3> linux-gjwp(30868) [Interpreter] clients/webpin_package_search.ycp:98 Argument (results) to foreach(…) is nil
2010-07-04 17:49:08 <1> linux-gjwp(30868) [YCP] clients/webpin_package_search.ycp:117 Package IDs: ], previously selected: ]

I think the problem is indicated in the last three lines but I’m not sure.

Jim

No! It’s not the last three lines. Now I KNOW what it is! It’s this right here;

2010-07-04 17:49:08 <1> linux-gjwp(30868) [YCP]  WebpinPackageSearch.ycp:352 HTTP::Get  (http://api.opensuse-community.org/searchservice/Search/Simple/openSUSE_112/skype,  /tmp/YaST2-30868-eHDPk8/package_search_webpin.xml)

The site http://api.opensuse-community.org/searchservice/Search/Simple/openSUSE_112/skype is from opensuse-community.org which is blocked by Firefox and Google and other places as well.

The problem is in /usr/lib/python2.6/site-packages/webpin/const.py which what we want to look at is

import re
from webpin.layout import *

VERSION = '1.2.1'
# Software Portal URL:
server = 'software.opensuse-community.org'
baseurl = '/ws/searchservice/Search/'

So webpin is trying to search a URL that is blocked. At this point, I don’t know where to point the server to. Editing Python is easy.

It’s not because it was blocked, the webpin client (and YaST) don’t care about that. That “malware site blocking” only works in Firefox, Chromium and such because they explicitly check for that.

The webpin client(s) didn’t work because I didn’t transfer all the DNS subdomains yet and, hence, software.o-c.o and api.o-c.o were still pointing into the DNS nirvana.

But that’s solved now, webpin works again.

Yep, webpin works again. Thanks again Guys, for your help. :slight_smile:

And I still can not use the webpin. There will be some fix soon?

Regards

Marcus Borelli