Results 1 to 7 of 7

Thread: webpin Problems

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Location
    Rocksprings, TX
    Posts
    42

    Question webpin Problems

    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
    SuSE 11.2 on a HP-dv7-3057nr with AMD Vision 2.2 GHZ 64bit processor. 4096 RAM and 500 Gb HDD.
    Server is an OLD Gateway e-3400 with SuSE 11.3 with a LAMP server.

  2. #2
    Join Date
    Jun 2008
    Posts
    1,825
    Blog Entries
    1

    Default Re: webpin Problems

    Quote Originally Posted by jim7634 View Post
    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.
    Code:
    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
    ______________________________________________________________________________________
    Don't ask "if" something can be done, for it can always be done. Rather instead ask "How" can it be done.

  3. #3
    Join Date
    Apr 2010
    Location
    Rocksprings, TX
    Posts
    42

    Default Re: webpin Problems

    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/se...SUSE_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
    SuSE 11.2 on a HP-dv7-3057nr with AMD Vision 2.2 GHZ 64bit processor. 4096 RAM and 500 Gb HDD.
    Server is an OLD Gateway e-3400 with SuSE 11.3 with a LAMP server.

  4. #4
    Join Date
    Jun 2008
    Posts
    1,825
    Blog Entries
    1

    Default Re: webpin Problems

    Quote Originally Posted by jim7634 View Post
    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/se...SUSE_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;
    Code:
    2010-07-04 17:49:08 <1> linux-gjwp(30868) [YCP]  WebpinPackageSearch.ycp:352 HTTP::Get  (http://api.opensuse-community.org/se...SUSE_112/skype,  /tmp/YaST2-30868-eHDPk8/package_search_webpin.xml)
    The site http://api.opensuse-community.org/se...SUSE_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
    Code:
    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.
    ______________________________________________________________________________________
    Don't ask "if" something can be done, for it can always be done. Rather instead ask "How" can it be done.

  5. #5
    Join Date
    May 2008
    Location
    Belgium
    Posts
    42

    Default Re: webpin Problems

    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.

  6. #6
    Join Date
    Apr 2010
    Location
    Rocksprings, TX
    Posts
    42

    Smile Re: webpin Problems

    Yep, webpin works again. Thanks again Guys, for your help.
    SuSE 11.2 on a HP-dv7-3057nr with AMD Vision 2.2 GHZ 64bit processor. 4096 RAM and 500 Gb HDD.
    Server is an OLD Gateway e-3400 with SuSE 11.3 with a LAMP server.

  7. #7

    Default Re: webpin Problems

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

    Regards

    Marcus Borelli

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •