WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Appbrowser search list 'ghost' items  (Read 3763 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Appbrowser search list 'ghost' items
« on: October 24, 2009, 06:47:35 AM »
Appbrowser search lists old items which are not in the current repository, for example

conky.tczl
coreutils.tcz
Xfce4.tcz
etc.

They appear only on a serach result list, not on the normal extension list after connecting.

« Last Edit: October 24, 2009, 07:35:33 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Appbrowser search list 'ghost' items
« Reply #1 on: October 24, 2009, 10:17:21 AM »
I deleted  Xfce4.tcz, but I didn't see coreutils.tcz or conky.tczl in the search results.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Appbrowser search list 'ghost' items
« Reply #2 on: October 24, 2009, 10:18:05 AM »
Fixed! Thanks.
10+ Years Contributing to Linux Open Source Projects.

Offline makkywelly

  • Newbie
  • *
  • Posts: 5
Re: Appbrowser search list 'ghost' items
« Reply #3 on: October 26, 2009, 04:17:25 PM »
Once more aboute appbrouser - when i-net is not fast wget-window stay some time, but it's modal window and main window handler not work. This screen:


Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Appbrowser search list 'ghost' items
« Reply #4 on: October 26, 2009, 04:42:05 PM »
Looks like you have started several instances of it?
Perhaps use a mirror site closer to you?
10+ Years Contributing to Linux Open Source Projects.

Offline makkywelly

  • Newbie
  • *
  • Posts: 5
Re: Appbrowser search list 'ghost' items
« Reply #5 on: October 26, 2009, 05:02:09 PM »
No, my speed wery low it's true (around 50 kb/s). I'm about other.

I mean why it wget-window BLOCK main window (in win32 it call modal-window, in web pop-up, etc.), maybe t. need alone thread - one thread (and window) for one dowload. Multidownload version?

Offline makkywelly

  • Newbie
  • *
  • Posts: 5
Re: Appbrowser search list 'ghost' items
« Reply #6 on: October 26, 2009, 05:40:50 PM »
I don't know, but what if

Quote from: appbrowser.cxx
#include "appbrowser.h"
// (c) Robert Shingledecker 2008, 2009
//...
void btn_callback(Fl_Widget *, void* userdata) {
//...
} else if (userdata == "install" or userdata == "mount") {
   string loadit = "tce-load -w -i ";
   if (repository == "tcz" and userdata == "install")
      loadit = loadit + "-r ";
   loadit = loadit + select_extn + " & ";
//...
} else if (userdata == "download") {
   string grabit = "tce-load -w " + select_extn + " & ";
//...

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Appbrowser search list 'ghost' items
« Reply #7 on: October 30, 2009, 06:53:17 AM »
The above solution would remove the error reporting.

Since tce-load already knows about X via flwget, how about moving error reporting to it?
That would shorten appbrowser code, keep the main window interactive, and enable several simultanious downloads.
The only barriers that can stop you are the ones you create yourself.