btqueue-users Mailing List for BitTorrent Queue Manager
Status: Beta
Brought to you by:
xgie
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(25) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(11) |
Feb
(16) |
Mar
(3) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
2006 |
Jan
(1) |
Feb
(1) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Sugree P. <su...@gm...> - 2006-08-17 03:44:28
|
Hi Nate, Oops! I'm so sorry that I don't have deb package for you. Please follow howto at http://www.howforge.com/how-to-install-btqueue-on-ubuntu-server.= Cheers, Sugree Nate Heinrich wrote: > Hey Sugree, >=20 > =20 >=20 > Trying to figure out how to install btqueue. I=92m running ubuntu serve= r.=20 > Can you direct me to the docs on how to accomplish this? >=20 > =20 >=20 > Thanks. >=20 > =20 >=20 > Nate >=20 |
From: Sugree P. <su...@hp...> - 2006-03-24 14:59:12
|
I'm so sorry. I didn't know how ports work. I will always change version number on every release. Regards, Sugree Phatanapherom su...@hp... Stefan Walter wrote: > Sugree Phatanapherom, 24.03.06, 04:27h CET: > >> Oops! Sorry. I thought the changes were just minor bug fixs and no need >> to change version to 0.1.1. So, I just changed its build number. Sadly, >> I don't know how to add build number into the source filename. I will >> notify you next time I release new code (perhaps tomorrow). > > Hm...I can't say I'm happy with that solution. It basically means that a > release isn't really a release but a moving target, and that the FreeBSD > port will stop working every time you upload a new tarball. My wish would > be that a tar ball, once released, is left untouched, so the port can be > used with the old version until I have time to update it. > > Is it really necessary to upload a new tar ball that often? People who > want the latest features could always check out the source via CVS, after > all... > > Regards, > Stefan |
From: Stefan W. <sw...@ge...> - 2006-03-24 07:30:47
|
Sugree Phatanapherom, 24.03.06, 04:27h CET: > Oops! Sorry. I thought the changes were just minor bug fixs and no need= =20 > to change version to 0.1.1. So, I just changed its build number. Sadly,= =20 > I don't know how to add build number into the source filename. I will=20 > notify you next time I release new code (perhaps tomorrow). Hm...I can't say I'm happy with that solution. It basically means that a release isn't really a release but a moving target, and that the FreeBSD port will stop working every time you upload a new tarball. My wish would be that a tar ball, once released, is left untouched, so the port can be used with the old version until I have time to update it. Is it really necessary to upload a new tar ball that often? People who want the latest features could always check out the source via CVS, after all... Regards, Stefan |
From: Sugree P. <su...@hp...> - 2006-03-24 03:29:24
|
Hi Stefan, Oops! Sorry. I thought the changes were just minor bug fixs and no need to change version to 0.1.1. So, I just changed its build number. Sadly, I don't know how to add build number into the source filename. I will notify you next time I release new code (perhaps tomorrow). Regards, Sugree Phatanapherom su...@hp... Stefan Walter wrote: > Hi Sugree, > > when 0.1.0 came out, I updated the FreeBSD port to that version. Now I was > notified that the release tar ball's size (and, according to the attached > diff, the content, too) has changed since I did that update, which > prevents the port from working due to a size and checksum mismatch. > Updating the port again to match the new tar ball isn't a problem, but I > haven't seen an announcement for any changes in the release tar ball and > was wondering what the reason for those changes was. > > Regards, > Stefan > > > ------------------------------------------------------------------------ > > diff -urN BTQueue-0.1.0.old/BitQueue/__init__.py BTQueue-0.1.0/BitQueue/__init__.py > --- BTQueue-0.1.0.old/BitQueue/__init__.py Tue Feb 28 10:22:26 2006 > +++ BTQueue-0.1.0/BitQueue/__init__.py Sat Mar 11 15:49:24 2006 > @@ -1,5 +1,5 @@ > > -version = "Q-0.1.0 406 (BitQueue)" > +version = "Q-0.1.0 433 (BitQueue)" > > version_short = version.split(' ')[0] > version_num = version.split(' ')[0].split('-')[1] > diff -urN BTQueue-0.1.0.old/BitQueue/launchmanycore_bittorrent.py BTQueue-0.1.0/BitQueue/launchmanycore_bittorrent.py > --- BTQueue-0.1.0.old/BitQueue/launchmanycore_bittorrent.py Tue Feb 28 10:19:16 2006 > +++ BTQueue-0.1.0/BitQueue/launchmanycore_bittorrent.py Thu Mar 9 16:02:54 2006 > @@ -8,7 +8,7 @@ > platform.get_config_dir = get_config_dir > platform.install_translation() > > -from BitTorrent import RawServer, download > +from BitTorrent import RawServer, download, ConvertedMetainfo > > try: > basestring > @@ -60,10 +60,31 @@ > self.myid = PeerID.make_id() > > def reannounce(self): > - self._rerequest._announce() > + if self._rerequest._announce: > + self._rerequest._announce() > > download._SingleTorrent = _SingleTorrent > > +BTConvertedMetainfo = ConvertedMetainfo.ConvertedMetainfo > +class _ConvertedMetainfo(BTConvertedMetainfo): > + def __init__(self,*args,**kw): > + self.policy = policy.get_policy() > + BTConvertedMetainfo.__init__(self,*args,**kw) > + > + def _enforce_utf8(self, s): > + encodings = ['utf-8']+self.policy(policy.DEFAULT_ENCODING).split(',')+['latin1'] > + for encoding in encodings: > + try: > + s = s.decode(encoding) > + break > + except: > + pass > + if type(s) == type(u''): > + s = s.encode('utf-8') > + return BTConvertedMetainfo._enforce_utf8(self,s) > + > +ConvertedMetainfo.ConvertedMetainfo = _ConvertedMetainfo > + > from BitTorrent.bencode import bencode,bdecode > from BitTorrent import BTFailure,status_dict > from BitTorrent import configfile > @@ -73,6 +94,7 @@ > from BitTorrent import TorrentQueue > from BitTorrent.ConvertedMetainfo import ConvertedMetainfo, set_filesystem_encoding > from BitTorrent.download import Feedback, Multitorrent > +from BitTorrent import INFO, WARNING, ERROR, CRITICAL, status_dict > > import copy > from random import seed,randrange > @@ -83,6 +105,7 @@ > from __init__ import createPeerID, mapbase64, version > from threading import Event,Thread > from cStringIO import StringIO > +import time > > from queue import hours as fmttime > from i18n import * > @@ -156,12 +179,13 @@ > return 1 > > def remove(self, item): > - hash = item.infohash_bin > - > if item in self.startqueue: > self.startqueue.remove(item) > - self.torrent_list.remove(item) > - del self.downloads[item] > + self.torrent_list.remove(item.infohash_bin) > + try: > + del self.downloads[item] > + except TypeError: > + pass > return > > try: > @@ -183,25 +207,33 @@ > > def add(self, item): > hash,data = item.infohash_bin,item.get_metadata() > + pol = item.get_policy() > + > + try: > + item.metainfo = ConvertedMetainfo(item.get_meta()) > + except BTFailure,why: > + self.output.exception('FAILURE: %s %s' % (item.id,item.title)) > + self.output.exception(str(why)) > + raise why > > self.torrent_list.append(hash) > self.downloads[hash] = item > > - item.metainfo = ConvertedMetainfo(item.get_meta()) > - > name = item.metainfo.name_fs > item.config = copy.copy(self.config) > > path = item.config['save_in'] > item.saveas = os.path.join(path,name) > > - item.config['upnp'] = self.policy(policy.UPNP_NAT_ACCESS) > - item.config['min_peers'] = self.policy(policy.MIN_PEER) > - item.config['max_initiate'] = self.policy(policy.MAX_INITIATE) > - item.config['rerequest_interval'] = self.policy(policy.REREQUEST_INTERVAL) > - item.config['snub_time'] = self.policy(policy.SNUB_TIME) > - item.config['socket_timeout'] = self.policy(policy.IDLE_TIMEOUT) > - item.config['timeout_check_interval'] = self.policy(policy.IDLE_TIMEOUT_CHECK_INTERVAL) > + item.config['min_peers'] = pol(policy.MIN_PEER) > + item.config['max_initiate'] = pol(policy.MAX_INITIATE) > + item.config['rerequest_interval'] = pol(policy.REREQUEST_INTERVAL) > + item.config['snub_time'] = pol(policy.SNUB_TIME) > + item.config['socket_timeout'] = pol(policy.IDLE_TIMEOUT) > + item.config['timeout_check_interval'] = pol(policy.IDLE_TIMEOUT_CHECK_INTERVAL) > + item.config['start_trackerless_client'] = self.auto_dht(item) > + item.config['filesystem_encoding'] = pol(policy.FILESYSTEM_ENCODING) > + item.config['tracker_proxy'] = pol(policy.TRACKER_PROXY) > > self.start_check(item) > > @@ -209,6 +241,27 @@ > # metainfo = self.torrentqueue.torrents[hash] > # self.save_location(hash) > > + def auto_dht(self, item): > + mode = item.get_policy().get(policy.ENABLE_DHT) > + if mode == 0: > + return 0 > + elif mode == 2: > + return 1 > + > + enable = 1 > + meta = item.get_meta() > + > + if meta.has_key('nodes'): > + enable = 1 > + if meta.has_key('azureus_properties'): > + azp = meta['azureus_properties'] > + enable = azp.get('dht_backup_enable',1) > + if meta.has_key('info'): > + info = meta['info'] > + enable = enable and not info.get('private',0) > + > + return enable > + > def start_check(self, item): > if self.busyflag.isSet(): > self.startqueue.append(item) > @@ -220,16 +273,13 @@ > self.emptyflag.clear() > item.dow = self.multitorrent.start_torrent(item.metainfo,item.config,self,item.saveas) > > - def stop(self, item=None): > - if not item: > - for hash in self.torrent_list: > - item = self.downloads[hash] > - self.remove(item) > - if self.removingflag.isSet(): > - self.emptyflag.wait() > - self.doneflag.set() > - else: > - item.done_flag.set() > + def stop(self): > + for hash in self.torrent_list: > + item = self.downloads[hash] > + self.remove(item) > + if self.removingflag.isSet(): > + self.emptyflag.wait() > + self.doneflag.set() > > # def save_location(self, hash): > # metainfo = self.torrentqueue.torrents[hash].metainfo > @@ -277,7 +327,10 @@ > return function(*args) > > def started(self,torrent): > - item = self.downloads[torrent.infohash] > + item = self.downloads.get(torrent.infohash,None) > + if not item: > + self.output.message('FAILURE: not found '+torrent.infohash) > + return > self.output.message('started %s' % item.id) > if self.startqueue: > item = self.startqueue.pop(0) > @@ -311,15 +364,28 @@ > if not self.removing_list: > self.removingflag.clear() > > - def failed(self, torrent, is_external=1): > + def failed(self,torrent,is_external=1): > item = self.downloads.get(torrent.infohash) > - self.output.message('FAILURE: '+item.id) > + if not item: > + self.output.message('FAILURE: invalid item') > + return > + self.output.message('FAILURE: %s %s' % (item.id,item.title)) > > - def exception(self, torrent, s): > + if torrent.errors: > + def format_error(t,l,msg): > + return '%s %s %s' % (time.strftime('%Y/%m/%d %H:%M:%S'),status_dict[l],msg) > + self.output.message(' %s' % format_error(*torrent.errors[-1])) > + self.remove(item) > + if item.state == STATE_SEEDING: > + item.state = STATE_FINISHED > + else: > + item.state = STATE_PAUSED > + > + def exception(self,torrent,s): > self.output.exception(str(s)) > > - def error(self,infohash,severity,text): > - item = self.downloads.get(infohash,None) > + def error(self,torrent,severity,text): > + item = self.downloads.get(torrent.infohash,None) > if item: > item.error = text > > diff -urN BTQueue-0.1.0.old/BitQueue/manager.py BTQueue-0.1.0/BitQueue/manager.py > --- BTQueue-0.1.0.old/BitQueue/manager.py Tue Feb 28 03:51:27 2006 > +++ BTQueue-0.1.0/BitQueue/manager.py Sat Mar 11 15:48:45 2006 > @@ -28,6 +28,7 @@ > from launchmanycore import LaunchManyThread > from scrape import get_scrape_by_metadata > from table import TableFormatter > +import util > > def format_time(s): > if s < 0: > @@ -151,7 +152,10 @@ > args = ['--minport',minport, > '--maxport',maxport, > '--seed_forever', > + '--ip',self.policy(policy.REPORT_IP), > '--save_in',self.policy(policy.DEST_PATH), > + '--start_trackerless_client',str(self.policy(policy.ENABLE_DHT)), > + '--filesystem_encoding',self.policy(policy.FILESYSTEM_ENCODING), > '--max_upload_rate',self.policy(policy.MAX_UPLOAD_RATE)] > # '--max_download_rate',self.policy(policy.MAX_DOWNLOAD_RATE)] > self.controller = LaunchManyThread(self.out,args, > @@ -281,6 +285,8 @@ > dest='referer',default=None, > help='specify referer') > > + clear = self.get_parser('clear') > + > def get_parser(self,prog,usage=None): > if not self.parser.has_key(prog): > if not usage is None: > @@ -1623,8 +1629,10 @@ > detail = res.getreply() > print '%-20s %s' % ('infohash:',detail['infohash']) > for key in detail.keys(): > - if not key in ['infohash','files']: > + if not key in ['infohash','files','creation date']: > print '%-20s %s' % (key+':',str(detail[key])) > + if key == 'creation date': > + print '%-20s %s' % (key+':',format_time(int(detail[key]))) > print '%-20s' % 'files:' > length = 0 > for i in detail['files']: > @@ -1751,6 +1759,10 @@ > def do_quit(self,line=None): > '''detach''' > return 1 > + > + def do_clear(self,line=None): > + '''clear screen''' > + util.clear_screen() > > do_exit = do_quit > do_info = do_detail > diff -urN BTQueue-0.1.0.old/BitQueue/policy.py BTQueue-0.1.0/BitQueue/policy.py > --- BTQueue-0.1.0.old/BitQueue/policy.py Mon Feb 27 12:56:05 2006 > +++ BTQueue-0.1.0/BitQueue/policy.py Wed Mar 8 05:17:19 2006 > @@ -34,6 +34,10 @@ > IDLE_TIMEOUT_CHECK_INTERVAL = 'idle_timeout_check_interval' > > PEER_ID = 'peer_id' > +ENABLE_DHT = 'enable_dht' > +DEFAULT_ENCODING = 'default_encoding' > +FILESYSTEM_ENCODING = 'filesystem_encoding' > +TRACKER_PROXY = 'tracker_proxy' > > DEFAULT_SOCKET_TIMEOUT = 'default_socket_timeout' > MAX_JOB_RUN = 'max_run_job' > @@ -264,6 +268,11 @@ > MAX_SEEDER: 4, > MIN_PEER_RATIO: 0, > MAX_PEER_RATIO: 4, > + > + ENABLE_DHT: 1, > + FILESYSTEM_ENCODING: '', > + TRACKER_PROXY: '', > + > PRIORITIES: '', > USE_LOCAL_POLICY: 0, > } > @@ -307,7 +316,7 @@ > try: > ret = self.params[key] > except KeyError: > - ret = None > + ret = get_policy().get(key) > return ret > > class Policy: > @@ -326,27 +335,39 @@ > DEFAULT_COMMAND: 'list running seeding', > DEFAULT_SOCKET_TIMEOUT: 60, > DEFAULT_PRIORITY: 5, > + > TORRENT_FORMAT: DEFAULT_TORRENT_FORMAT, > SPEW_FORMAT: DEFAULT_SPEW_FORMAT, > PEER_FORMAT: DEFAULT_PEER_FORMAT, > + > SCHEDULING_INTERVAL: 30, > SCRAPE_INTERVAL: 20*60, > REREQUEST_INTERVAL: 20*60, > REQUEST_BACKLOG: 2, > + > IDLE_TIMEOUT: 300, > IDLE_TIMEOUT_CHECK_INTERVAL: 60, > SNUB_TIME: 30, > + > DEBUG_LEVEL: 0, > REASSIGN_ID: 1, > LOG_UNKNOWN_ID: 0, > + > REPORT_IP: '', > BIND_IP: '', > IPV6_BINDS_V4: 0, > UPNP_NAT_ACCESS: 1, > + > PEER_ID: 'btq', > + ENABLE_DHT: 1, > + DEFAULT_ENCODING: 'tis-620', > + FILESYSTEM_ENCODING: '', > + TRACKER_PROXY: '', > + > MIN_PORT: 6881, > MAX_PORT: 6999, > RANDOM_PORT: 1, > + > MIN_FREE_SPACE: 100*1024*1024, > MIN_PEER: 20, > MAX_PEER: 90, > @@ -362,33 +383,38 @@ > MAX_SEEDER: 4, > MIN_PEER_RATIO: 0, > MAX_PEER_RATIO: 4, > + > DEST_PATH: os.path.join(default_path,'incoming'), > TORRENT_PATH: os.path.join(default_path,'torrent'), > IGNORE_WAITING_MEDIA: 0, > + > ALLOW_ACL: 'ALL', > DENY_ACL: 'NONE', > ORDER_ACL: 'allow,deny', > MAX_LAST_BANNED: 20, > MAX_LAST_MESSAGE: 40, > + > VERIFY_LINK: 0, > DAEMON_STDOUT: '', > DAEMON_STDERR: '', > WRITE_BUFFER_SIZE: 4, > + > XMLRPC_IP: '127.0.0.1', > XMLRPC_PORT: 19413, > XMLRPC_ID: 'xmlrpcbt', > + > WEBSERVICE_IP: '127.0.0.1', > WEBSERVICE_PORT: 19412, > WEBSERVICE_ID: 'wsbt', > - WEBSERVICE_CLOSE: False, > - WEBSERVICE_QUERY: True, > - WEBSERVICE_ADD: True, > - WEBSERVICE_DELETE: True, > - WEBSERVICE_PAUSE: True, > - WEBSERVICE_RESUME: True, > - WEBSERVICE_QUEUE: True, > - WEBSERVICE_VERSION: True, > - WEBSERVICE_GSET: False > + WEBSERVICE_CLOSE: 0, > + WEBSERVICE_QUERY: 1, > + WEBSERVICE_ADD: 1, > + WEBSERVICE_DELETE: 1, > + WEBSERVICE_PAUSE: 1, > + WEBSERVICE_RESUME: 1, > + WEBSERVICE_QUEUE: 1, > + WEBSERVICE_VERSION: 1, > + WEBSERVICE_GSET: 0, > } > self.load() > > diff -urN BTQueue-0.1.0.old/BitQueue/queue.py BTQueue-0.1.0/BitQueue/queue.py > --- BTQueue-0.1.0.old/BitQueue/queue.py Tue Feb 28 04:28:35 2006 > +++ BTQueue-0.1.0/BitQueue/queue.py Sat Mar 11 15:44:27 2006 > @@ -317,7 +317,6 @@ > self.priority = self.global_policy(policy.DEFAULT_PRIORITY) > self.local_policy = policy.EntryPolicy() > self.state = STATE_WAITING > - self.done_flag = Event() > self.dest_path = dest_path > self.saveas = '' > self.dlsize = self.ulsize = self.old_dlsize = self.old_ulsize = 0 > @@ -575,7 +574,7 @@ > if sizeDone != None: > self.size_done = sizeDone > if self.size_done > self.old_dlsize+self.dlsize: > - self.old_dlsize = self.size_done-self.dlsize > + self.dlsize = self.size_done-self.old_dlsize > #if self.statistics: > # if self.old_dlsize+self.dlsize > \ > # self.statistics.downmeasure.get_total(): > diff -urN BTQueue-0.1.0.old/BitQueue/scheduler.py BTQueue-0.1.0/BitQueue/scheduler.py > --- BTQueue-0.1.0.old/BitQueue/scheduler.py Mon Feb 27 19:28:34 2006 > +++ BTQueue-0.1.0/BitQueue/scheduler.py Tue Mar 7 06:47:13 2006 > @@ -278,9 +278,8 @@ > self.unhold(item) > return > if item.state in [STATE_RUNNING,STATE_SEEDING]: > - item.done_flag.set() > - item.state = STATE_WAITING > - self.schedule() > + return > + self.dispatch(item) > > def hold(self,item): > if item.state == STATE_HOLDED: > @@ -323,7 +322,12 @@ > item.params += ['--ip',report_ip] > item.params += [item.file] > self.num_run += 1 > - self.do_dispatch(item,self.cb_finished,self.cb_failed) > + try: > + self.do_dispatch(item,self.cb_finished,self.cb_failed) > + except Exception,why: > + self.num_run -= 1 > + item.state = STATE_PAUSED > + item.error = str(why) > > def cb_finished(self,item): > self.lock.acquire() > @@ -352,7 +356,7 @@ > completes = [] > incompletes = [] > > - for j in self.queue.get(): > + for j in self.jobs(): > # duplicate with download rate > #j.update_scrape() > if not j.dow or not hasattr(j.dow.d,'downloader'): > @@ -432,7 +436,7 @@ > return > incompletes = [] > > - for j in self.queue.get(): > + for j in self.jobs(): > # duplicate with download rate > #j.update_scrape() > if not j.dow or not hasattr(j.dow.d,'downloader'): > @@ -465,7 +469,7 @@ > incompletes = [] > used_bw = 0 > dl_rates = [] > - for j in self.queue.get(): > + for j in self.jobs(): > # duplicate with upload rate > #j.update_scrape() > if not j.dow or not hasattr(j.dow.d,'downloader'): > @@ -503,13 +507,13 @@ > if free_space == -1: > return > if free_space < self.policy(policy.MIN_FREE_SPACE): > - for j in self.queue.get(): > + for j in self.jobs(): > if j.state in [STATE_RUNNING,STATE_SEEDING]: > self.pause(j) > > def terminate_seeding(self): > now = time.time() > - for j in self.queue.get(): > + for j in self.jobs(): > pol = j.get_policy() > if pol(policy.USE_LOCAL_POLICY): > min_share_ratio = pol(policy.MIN_SHARE_RATIO) > @@ -595,7 +599,7 @@ > if self.scrape_thread.isAlive(): > return > active_jobs = [] > - for j in self.queue.get(): > + for j in self.jobs(): > if j.state in [STATE_RUNNING,STATE_SEEDING]: > active_jobs.append(j) > > @@ -605,7 +609,7 @@ > > def stop(self): > self._quit.set() > - for j in self.queue.get(): > + for j in self.jobs(): > self.controller.remove(j) > if hasattr(self,'scrape_thread'): > if self.scrape_thread.isAlive(): > diff -urN BTQueue-0.1.0.old/BitQueue/util.py BTQueue-0.1.0/BitQueue/util.py > --- BTQueue-0.1.0.old/BitQueue/util.py Fri Dec 10 18:25:33 2004 > +++ BTQueue-0.1.0/BitQueue/util.py Tue Mar 7 07:01:29 2006 > @@ -2,6 +2,8 @@ > Utilities > ''' > > +numlines = 100 > + > import os,sys > > def get_free_space_statvfs(path): > @@ -31,3 +33,19 @@ > else: > import statvfs > get_free_space = get_free_space_statvfs > + > +def clear_screen_posix(): > + os.system('clear') > + > +def clear_screen_win32(): > + os.system('CLS') > + > +def clear_screen_default(): > + print '\n' * numlines > + > +if os.name == 'posix': > + clear_screen = clear_screen_posix > +elif os.name in ('nt','dos','ce'): > + clear_screen = clear_screen_win32 > +else: > + clear_screen = clear_screen_default > diff -urN BTQueue-0.1.0.old/BitQueue/xmlrpc.py BTQueue-0.1.0/BitQueue/xmlrpc.py > --- BTQueue-0.1.0.old/BitQueue/xmlrpc.py Wed Dec 22 18:41:09 2004 > +++ BTQueue-0.1.0/BitQueue/xmlrpc.py Tue Mar 7 05:48:03 2006 > @@ -116,6 +116,7 @@ > self.id = self.policy(policy.XMLRPC_ID).split(',') > > def _dispatch(self,method,params): > + params = xml_unescape(params) > if len(params) < 1 or not params[0] in self.id: > raise Exception('unauthorized') > if hasattr(SimpleXMLRPCRequestHandler,'_dispatch'): > @@ -173,6 +174,7 @@ > def __request(self, methodname, params): > # call a method on the remote server > > + params = xml_escape(params) > request = xmlrpclib.dumps(params, methodname, encoding=self.__encoding) > > response = self.__transport.request( > diff -urN BTQueue-0.1.0.old/BitTorrent/Rerequester.py BTQueue-0.1.0/BitTorrent/Rerequester.py > --- BTQueue-0.1.0.old/BitTorrent/Rerequester.py Mon Feb 27 12:54:46 2006 > +++ BTQueue-0.1.0/BitTorrent/Rerequester.py Thu Mar 2 04:23:13 2006 > @@ -62,9 +62,18 @@ > self.tracker_num_seeds = None > > def _makeurl(self, peerid, port): > - return ('%s?info_hash=%s&peer_id=%s&port=%s&key=%s' % > - (self.baseurl, quote(self.infohash), quote(peerid), str(port), > + url = ('info_hash=%s&peer_id=%s&port=%s&key=%s' % > + (quote(self.infohash), quote(peerid), str(port), > b2a_hex(''.join([chr(randrange(256)) for i in xrange(4)])))) > + try: > + url += '&local_ip=%s' % quote(gethostbyname(gethostname())) > + except: > + pass > + if self.baseurl.find('?') >= 0: > + c = '&' > + else: > + c = '?' > + return '%s%s%s' % (self.baseurl,c,url) > > def change_port(self, peerid, port): > self.wanted_peerid = peerid > diff -urN BTQueue-0.1.0.old/setup.cfg BTQueue-0.1.0/setup.cfg > --- BTQueue-0.1.0.old/setup.cfg Tue Feb 28 10:23:01 2006 > +++ BTQueue-0.1.0/setup.cfg Sat Mar 11 15:49:28 2006 > @@ -1,3 +1,3 @@ > [bdist_rpm] > -release = 406.2.2 > +release = 433.2.2 > packager = Sugree Phatanapherom <su...@hp...> |
From: Stefan W. <sw...@ge...> - 2006-03-23 17:24:21
|
Hi Sugree, when 0.1.0 came out, I updated the FreeBSD port to that version. Now I was notified that the release tar ball's size (and, according to the attached diff, the content, too) has changed since I did that update, which prevents the port from working due to a size and checksum mismatch. Updating the port again to match the new tar ball isn't a problem, but I haven't seen an announcement for any changes in the release tar ball and was wondering what the reason for those changes was. Regards, Stefan |
From: Gie <su...@hp...> - 2006-02-27 12:51:29
|
<html><head><base href="http://btqueue.blogspot.com"></head><body bgcolor="white" text="black"> <P>I’m very exciting to announce the release of <A href="http://btqueue.sourceforge.net/" target=_self>BTQueue 0.1.0</A>. After very so long waiting for a year, I have finished BTQueue 0.1.0 and hopefully it works well without the classical bugs, e.g., 100% utilization and freezing.</P> <P>This version is kind of beta release. You can leave comments and report bugs to help me fix them all. My purpose is to develop BitTorrent client for production run in data center and co-location.</P> <P>This is the new beginning of BTQueue. By upgrading to 0.1.0, you are able to:</P> <UL> <LI>Utilize DHT network compatible to Bram Cohen’s client and BitComet</LI> <LI>Query IP location from updated database plus AS number (see <A href="http://www.howforge.com/topic/it/product/ip-to-country-module" target=_self>ip2cc</A>)</LI> <LI>Change client identifier to <A href="http://azureus.sourceforge.net/" target=_self>Azureus</A>, <A href="http://www.bittorrent.com/" target=_self>Bram Cohen’s client</A>, or <A href="http://www.bitcomet.com/" target=_self>BitComet</A></LI></UL> <P>Most of all, lots of bugs should be fixed during the update of the core. Can’t wait? Let’s go to <A href="http://sourceforge.net/project/showfiles.php?group_id=104734&package_id=112679&release_id=397099" target=_self>the download section</A> right now.</P> <P>Technorati Tags: <A href="http://www.technorati.com/tag/BTQueue" rel=tag>BTQueue</A>, <A href="http://www.technorati.com/tag/BitTorrent" rel=tag>BitTorrent</A>, <A href="http://www.technorati.com/tag/Azureus" rel=tag>Azureus</A>, <A href="http://www.technorati.com/tag/BitComet" rel=tag>BitComet</A>, <A href="http://www.technorati.com/tag/DHT" rel=tag>DHT</A></P> <br /><br />--<br><font color="gray" size="2">Posted by Gie to <a href="http://btqueue.blogspot.com/2006/02/btqueue-010-is-available.html">btqueue</a> at 2/27/2006 07:54:39 PM</font></body></html> |
From: Gie <su...@hp...> - 2006-01-06 14:42:02
|
<html><head><base href="http://btqueue.blogspot.com"></head><body bgcolor="white" text="black"> <p>I would like to introduce <a href="http://www.howforge.com/" title="HowForge.com" target="_self">HowForge.com</a> to all you here. It is my new home to share my thought and collection of know-how. For example, <a href="http://www.howforge.com/taxonomy/term/24" title="development" target="_self">development</a>, <a href="http://www.howforge.com/product" title="product" target="_self">product</a>, <a title="programming tutorial" href="http://www.howforge.com/taxonomy/term/2" target="_self" >programming tutorial</a>, <a title="software review" href="http://www.howforge.com/taxonomy/term/6" target="_self" >software review</a>, and many more.</p> <p>The most recent post is about <a title="Grid Computing Deal of EMC and Acxiom" href="http://www.howforge.com/news/emc-acxiom-grid-deal" target="_self" >Grid Computing Deal of EMC and Acxiom</a> and <a title="Sneak Preview SAP NetWeaver 04 SP15 Full Java Edition" href="http://www.howforge.com/news/sneap-preview-sap-netweaver-04-sp15-java-abap" target="_self" >Sneak Preview SAP NetWeaver 04 SP15 Full Java Edition</a>.</p> <br /><br />--<br><font color="gray" size="2">Posted by Gie to <a href="http://btqueue.blogspot.com/2006/01/howforgecom.html">btqueue</a> at 1/06/2006 09:40:41 PM</font></body></html> |
From: Gie <su...@hp...> - 2005-12-21 15:34:54
|
<html><head><base href="http://btqueue.blogspot.com"></head><body bgcolor="white" text="black"> Well, there is another referal at <a href="http://users.i.com.ua/%7Ealexbes/a/btqueue.html">http://users.i.com.ua/~alexbes/a/btqueue.html </a> I don't know what the language is but it should be <span style="font-size:-1;">Ukraine. Another one is <a href="http://robaco.mhx.com.br/blog/?q=node/92">http://robaco.mhx.com.br/blog/?q=node/92</a> in Brazil. Thanks <a href="http://www.liveblogstats.com/">LiveBlogStat.com</a> to let me know these referals. </span> <br /><br />--<br><font color="gray" size="2">Posted by Gie to <a href="http://btqueue.blogspot.com/2005/12/another-referal-from-unknown-language.html">btqueue</a> at 12/21/2005 10:24:00 PM</font></body></html> |
From: Gie <su...@hp...> - 2005-12-21 15:21:37
|
<html><head><base href=3D"http://btqueue.blogspot.com"></head><body bgcolor= =3D"white" text=3D"black">=20 <p>I have just found that BTQueue had been referred by <a href=3D"http://ww= w.slyck.com/" title=3D"Slyck" target=3D"_blank">Slyck</a> at <a title=3D"Sl= yck=E2=80=99s Guide to BitTorrent" href=3D"http://www.slyck.com/bt.php?page= =3D2" target=3D"_blank">Slyck"s Guide to BitTorrent</a>.</p>Technorati Tags= : <a href=3D"http://www.technorati.com/tag/P2P" rel=3D"tag">P2P</a>, <a hre= f=3D"http://www.technorati.com/tag/BitTorrent" rel=3D"tag">BitTorrent</a>, = <a href=3D"http://www.technorati.com/tag/BTQueue" rel=3D"tag">BTQueue</a>, = <a href=3D"http://www.technorati.com/tag/Slyck" rel=3D"tag">Slyck</a>, <a h= ref=3D"http://www.technorati.com/tag/Guide" rel=3D"tag">Guide</a> <br /><br= />--<br><font color=3D"gray" size=3D"2">Posted by Gie to <a href=3D"http:/= /btqueue.blogspot.com/2005/12/referred-by-slyck.html">btqueue</a> at 12/21/= 2005 10:18:00 PM</font></body></html> |
From: Gie <su...@hp...> - 2005-12-16 19:41:22
|
<html><head><base href=3D"http://btqueue.blogspot.com"></head><body bgcolor= =3D"white" text=3D"black">=20 <p>If you have ever noticed the changing of <a href=3D"http://btqueue.sourc= eforge.net/">http://btqueue.sourceforge.net/</a>, this is the first sign of= BTQueue"s next generation. Actually, BTQueue 0.0.19 has been internally us= ed by alpha testers for a year suddenly after 0.0.18 had been released. Unf= ortunately, frozen problem could not be permanently solved yet. I still don= "t know what part caused the problem.</p>So, I decided to migrate core code= , integrated to <a href=3D"http://www.bittornado.com/" title=3D"BitTornado"= target=3D"_blank">BitTornado</a>, to <a title=3D"original BitTorrent by Br= am Cohen" href=3D"http://www.bittorrent.com/" target=3D"_blank">original Bi= tTorrent by Bram Cohen</a>. I don=E2=80=99t mean <a href=3D"http://www.bitt= ornado.com/" title=3D"BitTornado" target=3D"_blank">BitTornado</a> causes f= rozen problem. In fact, it would be the core code bridging BTQueue and <a h= ref=3D"http://www.bittornado.com/" title=3D"BitTornado" target=3D"_blank">B= itTornado</a> itself. Rewrite this code could lead to unstable but it must = be worth to try. Nobody knows, the new code may be perfect for all of us.<b= r /><p>This is still the main blog for BTQueue. <a title=3D"The homepage at= sourceforge" href=3D"http://btqueue.sourceforge.net/" target=3D"_blank">Th= e homepage at sourceforge</a> will keep the documentation of BTQueue in blo= g format for easily publishing and editing online.</p> <br /><br />--<br><f= ont color=3D"gray" size=3D"2">Posted by Gie to <a href=3D"http://btqueue.bl= ogspot.com/2005/12/reengineering-of-btqueuesourceforgenet.html">btqueue</a>= at 12/17/2005 02:38:00 AM</font></body></html> |
From: Gie <su...@hp...> - 2005-12-10 11:56:59
|
<html><head><base href="http://btqueue.blogspot.com"></head><body bgcolor="white" text="black"> <p>Sorry all of you for so long waiting. Actually, I don"t have machine to run <a href="http://btqueue.sourceforge.net/" target="_blank" >BTQueue</a> anymore. That"s why development goes very slow. Furthermore, I was switched to do so boring work about Java.</p><p>Fortunately, I have backed to <a href="http://www.python.org/" target="_blank" >Python</a> right now. I am looking for a machine to test BTQueue. The development should continue shortly.</p> <br /><br />--<br><font color="gray" size="2">Posted by Gie to <a href="http://btqueue.blogspot.com/2005/12/progress.html">btqueue</a> at 12/10/2005 06:57:43 PM</font></body></html> |
From: Gie <su...@hp...> - 2005-12-10 11:51:23
|
<html><head><base href="http://btqueue.blogspot.com"></head><body bgcolor="white" text="black"> I received a <a href="http://sourceforge.net/forum/forum.php?thread_id=1389647&forum_id=360659" target="_blank" >message</a> in <a href="http://sourceforge.net/forum/forum.php?forum_id=360659" target="_blank" >forum</a> that requests for help about proxy setting in <a href="http://btqueue.sourceforge.net/" target="_blank" >BTQueue</a>. Unfortunately, <a href="http://www.bittornado.com/" target="_blank" >BitTornado</a> doesn"t use urllib2, instead it uses httplib for directly connecting to tracker. I am investigating to move to <a href="http://www.bittorrent.com/" target="_blank" >BitTorrent</a> 4.2.1. <br /><br />--<br><font color="gray" size="2">Posted by Gie to <a href="http://btqueue.blogspot.com/2005/12/bittornado-doesnt-support-proxy.html">btqueue</a> at 12/10/2005 06:51:11 PM</font></body></html> |
From: Sugree P. <su...@hp...> - 2005-06-01 17:26:03
|
Vladimir Dzhivsanoff wrote: > I have used btqueue 0.0.18 on Freebsd 5.4. > It`s very well BT client software. > I lerning basic commands, but I have some questions: > > 1. How I can do ".torrent" file with btqueue ? > - by btmakemetafile.py ? > - by btqueue.py add_metadata ? > - by other BT client ? btmakemetafile.py or by other BT client. > > 2. What is "btqueue.py crawler" and how to use it ? I used it alot to find newly update torrents in specified web and download them automatically. Please read more information and example at http://btqueue.sourceforge.net/. > > 3. What is tracker.xml and interest.xml and how tu use it ? These files specify tracker information for crawler module as well as filter. > > 4. What is "btqueue.py query" and how to use it ? Actually, it is very similar to "btqueue.py list". > > 5. In global policy of my btqueue I found this: > >>>>gget > > ... bla bla bla ... > webservice_add: True > webservice_close: False > webservice_delete: True > webservice_gset: False > webservice_id: wsbt > webservice_ip: 127.0.0.1 > webservice_pause: True > webservice_port: 19412 > webservice_query: True > webservice_queue: True > webservice_resume: True > webservice_version: True > write_buffer_size: 40 > xmlrpc_id: xmlrpcbt > xmlrpc_ip: 127.0.0.1 > xmlrpc_port: 19413 > > - How to use webservice ? You can use webservice via php4abc http://php4abc.winkonz.com/ > - What is the xmlrpc_port ? It mainly uses for internal communication when you invoke "btqueue.py daemon" and "btqueue.py remote". Sugree Phatanapherom su...@hp... |
From: Vladimir D. <vo...@gm...> - 2005-06-01 09:06:53
|
I have used btqueue 0.0.18 on Freebsd 5.4. It`s very well BT client software. I lerning basic commands, but I have some questions: 1. How I can do ".torrent" file with btqueue ? - by btmakemetafile.py ? - by btqueue.py add_metadata ? - by other BT client ? 2. What is "btqueue.py crawler" and how to use it ? 3. What is tracker.xml and interest.xml and how tu use it ? 4. What is "btqueue.py query" and how to use it ? 5. In global policy of my btqueue I found this: >>> gget ... bla bla bla ... webservice_add: True webservice_close: False webservice_delete: True webservice_gset: False webservice_id: wsbt webservice_ip: 127.0.0.1 webservice_pause: True webservice_port: 19412 webservice_query: True webservice_queue: True webservice_resume: True webservice_version: True write_buffer_size: 40 xmlrpc_id: xmlrpcbt xmlrpc_ip: 127.0.0.1 xmlrpc_port: 19413 - How to use webservice ? - What is the xmlrpc_port ? |
From: Gie <su...@hp...> - 2005-05-11 01:22:19
|
<html><head><base href="http://btqueue.blogspot.com"></head><body bgcolor="white" text="black"> I apologize everyone waiting for the next version of BTQueue. I miss the plan to release it last two month ago oops. By the way, I will release it some day. Actually, I am finishing my thesis so this is a hard time in my life to write my own paper to publish in a journal. The development is slowly moving on but not freeze! <br /><br />--<br><font color="gray" size="2">Posted by Gie to <a href="http://btqueue.blogspot.com/2005/05/sorry-for-long-waiting.html">btqueue</a> at 5/11/2005 08:22:04 AM</font></body></html> |
From: Sugree P. <su...@hp...> - 2005-03-14 04:37:29
|
Actually, I never kill the daemon like that. What I do is to run command = kill in "btqueue remote". However, it should work properly but oops!. It = is my fault. You might ignore this error. It will only occur with "kill" = command. Thanks --=20 Sugree Phatanapherom su...@hp... ml...@ge... wrote: > Hi, running "btqueue kill" it usually sends me this error msg: >=20 > Traceback (most recent call last): > File "btqueue/btqueue.py", line 115, in ? > elif res and res.geterror(): > AttributeError: 'int' object has no attribute 'geterror' >=20 > However the daemon seems to shut down correctly. Do i use the right com= mand? >=20 > I'm trying to put btqueue in init section, but i have some problem beca= us i'm not a linux guru :P > start-stop-daemon -t --start --exec $BTQUEUE --chuid $BTUSER -- daemon= > where $BTQUEUE=3D/path/to/btqueue.py, always assume that btqueue is not= running and tries to start it. > someone can help me correct it? > i've also tried to use -n "btqueue.py" as a condition but it doesn't wo= rk. >=20 > Thanks! >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= =2E > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > _______________________________________________ > btqueue-users mailing list > btq...@li... > https://lists.sourceforge.net/lists/listinfo/btqueue-users >=20 |
From: <ml...@ge...> - 2005-03-11 13:57:07
|
Hi, running "btqueue kill" it usually sends me this error msg: Traceback (most recent call last): File "btqueue/btqueue.py", line 115, in ? elif res and res.geterror(): AttributeError: 'int' object has no attribute 'geterror' However the daemon seems to shut down correctly. Do i use the right comma= nd? I'm trying to put btqueue in init section, but i have some problem becaus= i'm not a linux guru :P start-stop-daemon -t --start --exec $BTQUEUE --chuid $BTUSER -- daemon where $BTQUEUE=3D/path/to/btqueue.py, always assume that btqueue is not r= unning and tries to start it. someone can help me correct it? i've also tried to use -n "btqueue.py" as a condition but it doesn't work= . Thanks! |
From: Gie <su...@hp...> - 2005-03-10 01:48:44
|
<html><head><base href="http://btqueue.blogspot.com"></head><body bgcolor="white" text="black"> I have tried to fix frozen problem in BTQueue since last two month but fail. It would be better to switch back to original BitTorrent by Bram. He has just released version 4.0.0. <br /><br />--<br><font color="gray" size="2">Posted by Gie to <a href="http://btqueue.blogspot.com/2005/03/plan-to-switch-back-to-original.html">btqueue</a> at 3/10/2005 08:48:22 AM</font></body></html> |
From: Sugree P. <su...@hp...> - 2005-02-24 06:33:55
|
Please make sure that all torrents do not access the same files. Sugree Phatanapherom su...@hp... PaDrO wrote: > ok I got that part figured out, I was missing bsddb > support....Everything went really smoth started 2 torrents manually > with the torrent file in the same directory. Then after a few hours > they both are paused and can't get them to resume.. I removed them > tryed to start new torrents but they seem to still be paused.. > > Any idea with this problem? > > PaDrO > > > On Thu, 24 Feb 2005 11:13:46 +0700, Sugree Phatanapherom > <su...@hp...> wrote: > >>What is your distribution? It seems missing bsddb support for python. >> >>Sugree Phatanapherom >>su...@hp... >> >>PaDrO wrote: >> >>>Can anyone give me some info on this problem? hope this works never >>>used a mailing group before >>> >>>PaDrO >>> >>> >>># btqueue.py daemon >>>Traceback (most recent call last): >>> File "/usr/local/bin/btqueue.py", line 46, in ? >>> from BitQueue import policy >>> File "/usr/local/lib/python2.3/site-packages/BitQueue/policy.py", >>>line 91, in ? >>> from ip2cc import inet_aton >>> File "/usr/local/lib/python2.3/site-packages/BitQueue/ip2cc.py", line 3, in ? >>> from bsddb import btopen >>> File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ? >>> import _bsddb >>>ImportError: No module named _bsddb >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start reading now. >>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>_______________________________________________ >>>btqueue-users mailing list >>>btq...@li... >>>https://lists.sourceforge.net/lists/listinfo/btqueue-users >>> >> > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > btqueue-users mailing list > btq...@li... > https://lists.sourceforge.net/lists/listinfo/btqueue-users > |
From: PaDrO <pad...@gm...> - 2005-02-24 05:23:38
|
ok I got that part figured out, I was missing bsddb support....Everything went really smoth started 2 torrents manually with the torrent file in the same directory. Then after a few hours they both are paused and can't get them to resume.. I removed them tryed to start new torrents but they seem to still be paused.. Any idea with this problem? PaDrO On Thu, 24 Feb 2005 11:13:46 +0700, Sugree Phatanapherom <su...@hp...> wrote: > What is your distribution? It seems missing bsddb support for python. > > Sugree Phatanapherom > su...@hp... > > PaDrO wrote: > > Can anyone give me some info on this problem? hope this works never > > used a mailing group before > > > > PaDrO > > > > > > # btqueue.py daemon > > Traceback (most recent call last): > > File "/usr/local/bin/btqueue.py", line 46, in ? > > from BitQueue import policy > > File "/usr/local/lib/python2.3/site-packages/BitQueue/policy.py", > > line 91, in ? > > from ip2cc import inet_aton > > File "/usr/local/lib/python2.3/site-packages/BitQueue/ip2cc.py", line 3, in ? > > from bsddb import btopen > > File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ? > > import _bsddb > > ImportError: No module named _bsddb > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > btqueue-users mailing list > > btq...@li... > > https://lists.sourceforge.net/lists/listinfo/btqueue-users > > > |
From: Sugree P. <su...@hp...> - 2005-02-24 04:15:03
|
What is your distribution? It seems missing bsddb support for python. Sugree Phatanapherom su...@hp... PaDrO wrote: > Can anyone give me some info on this problem? hope this works never > used a mailing group before > > PaDrO > > > # btqueue.py daemon > Traceback (most recent call last): > File "/usr/local/bin/btqueue.py", line 46, in ? > from BitQueue import policy > File "/usr/local/lib/python2.3/site-packages/BitQueue/policy.py", > line 91, in ? > from ip2cc import inet_aton > File "/usr/local/lib/python2.3/site-packages/BitQueue/ip2cc.py", line 3, in ? > from bsddb import btopen > File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ? > import _bsddb > ImportError: No module named _bsddb > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > btqueue-users mailing list > btq...@li... > https://lists.sourceforge.net/lists/listinfo/btqueue-users > |
From: PaDrO <pad...@gm...> - 2005-02-23 00:28:34
|
Can anyone give me some info on this problem? hope this works never used a mailing group before PaDrO # btqueue.py daemon Traceback (most recent call last): File "/usr/local/bin/btqueue.py", line 46, in ? from BitQueue import policy File "/usr/local/lib/python2.3/site-packages/BitQueue/policy.py", line 91, in ? from ip2cc import inet_aton File "/usr/local/lib/python2.3/site-packages/BitQueue/ip2cc.py", line 3, in ? from bsddb import btopen File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ? import _bsddb ImportError: No module named _bsddb |
From: Sugree P. <su...@hp...> - 2005-02-22 07:15:43
|
You don't need to specify filter tag in case of using RSSFilter. ------ <TrackerList> <Tracker publisher=3D"btefnet" filter=3D"RSSFilter"> <Url name=3D"catalog" url=3D"http://btefnet.net/backend.php" method=3D"ge= t"></Url> </Tracker> </TrackerList> ------ Sugree Phatanapherom su...@hp... Benjamin Taft wrote: > Hi all! >=20 > Thanks for a nice app Sugree Phatanapherom, a torrent app that runs as = a=20 > daemon and is text based is just what I've been looking for! I've got=20 > btqueue up and running and I think I figured out the basic functions an= d=20 > setup. I struggling with the auto-download part though. I've looked=20 > through the mailing-list archive, the project forums and the example=20 > files that came with btqueue but I don't really know what I'm doing yet= =20 > ;) I've never posted to a sourceforge mailinglist before, hope this=20 > message isn't to long... >=20 > any pointers would be of great help, best regards, >=20 > /Benjamin > --- >=20 > I'm trying to get the torrents from http://btefnet.net/backend.php >=20 > here's my current files: >=20 > tracker.xml > --- > <TrackerList>=20 >=20 > <Tracker publisher=3D"btefnet" filter=3D"RSSFilter"> > <Url name=3D"catalog" url=3D"http://btefnet.net/backend.php" method=3D"= get"> >=20 > <Filter name=3D"main"><![CDATA[<?xml version=3D"1.0" encoding=3D"ISO-88= 59-1"?> > <rss version=3D"2.0"> > <channel> > <title>BT-EFNET</title> > <link>http://www.btefnet.net/</link> > <description>Backend > for > btefnet.net</description> > <language>en-us</language> > <copyright>Copyright > 2005, #BT EFnet</copyright> > <ttl>60</ttl> <item> > <title>(?P<title>[^"]+)</title> >=20 > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> > <title>(?P<title>[^"]+)</title> >=20 > <pub(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> >=20 > </item> > <item> > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> >=20 > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> > <title>(?P<title>[^"]+)</title> >=20 > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> >=20 > </item> > <item> > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> >=20 > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> > <title>(?P<title>[^"]+)</title> >=20 > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> >=20 > </item> > <item> > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> >=20 > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> > <item> > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> >=20 > <link>(?P<download>[^"]+)</link> > </item> > <item> > <title>(?P<title>[^"]+)</title> > <pubDate>(?P<date>[^']+)</pubDate> > <link>(?P<download>[^"]+)</link> > </item> >=20 > </channel> > </rss>]]></Filter> > </Url> >=20 > </Tracker>=20 > </TrackerList> >=20 > --- > interest.xml > --- > <?xml version=3D"1.0" encoding=3D"iso-8859-1"?> > <InterestList> > <Interest attribute=3D"title" mode=3D"include">show</Interest> > </InterestList> > --- >=20 > the error I get when running btqueue.py crawler: > --- > File "/usr/local/bin/btqueue.py", line 83, in ? > app =3D Crawler(options.test_crawler) > File "/usr/local/lib/python2.3/site-packages/BitCrawler/crawler.py", = > line 52, in __init__ > tag=3D'InterestList') > File "/usr/local/lib/python2.3/site-packages/BitCrawler/crawler.py", = > line 17, in __init__ > self.obj =3D factory.from_file(self.file) > File "/usr/local/lib/python2.3/site-packages/BitCrawler/media.py",=20 > line 210, in from_file > return self.from_element(e) > File "/usr/local/lib/python2.3/site-packages/BitCrawler/media.py",=20 > line 224, in from_element > obj.append(factory.from_element(e)) > File "/usr/local/lib/python2.3/site-packages/BitCrawler/media.py",=20 > line 221, in from_element > obj =3D media_class(tag,attrs=3Delement.attrs,content=3Delement.con= tent) > File "/usr/local/lib/python2.3/site-packages/BitCrawler/media.py",=20 > line 331, in __init__ > self.cre =3D re.compile(self.content,re.I|re.S|re.M) > File "/usr/local/lib/python2.3/sre.py", line 179, in compile > return _compile(pattern, flags) > File "/usr/local/lib/python2.3/sre.py", line 229, in _compile > raise error, v # invalid expression > sre_constants.error: nothing to repeat > --- >=20 > Some references: > http://sourceforge.net/forum/forum.php?thread_id=3D1083519&forum_id=3D3= 60659 > http://sourceforge.net/forum/forum.php?thread_id=3D1148022&forum_id=3D3= 60659 > http://btqueue.sourceforge.net/ >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= =2E > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > _______________________________________________ > btqueue-users mailing list > btq...@li... > https://lists.sourceforge.net/lists/listinfo/btqueue-users >=20 |
From: Benjamin T. <ta...@ho...> - 2005-02-18 22:58:02
|
Hi all! Thanks for a nice app Sugree Phatanapherom, a torrent app that runs as=20= a daemon and is text based is just what I've been looking for! I've got=20= btqueue up and running and I think I figured out the basic functions=20 and setup. I struggling with the auto-download part though. I've looked=20= through the mailing-list archive, the project forums and the example=20 files that came with btqueue but I don't really know what I'm doing yet=20= ;) I've never posted to a sourceforge mailinglist before, hope this=20 message isn't to long... any pointers would be of great help, best regards, /Benjamin --- I'm trying to get the torrents from http://btefnet.net/backend.php here's my current files: tracker.xml --- <TrackerList>=A0 <Tracker publisher=3D"btefnet" filter=3D"RSSFilter"> <Url name=3D"catalog" url=3D"http://btefnet.net/backend.php" = method=3D"get"> <Filter name=3D"main"><![CDATA[<?xml version=3D"1.0" = encoding=3D"ISO-8859-1"?> <rss version=3D"2.0"> <channel> <title>BT-EFNET</title> <link>http://www.btefnet.net/</link> <description>Backend for btefnet.net</description> <language>en-us</language> <copyright>Copyright 2005, #BT EFnet</copyright> <ttl>60</ttl> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pub(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> <item> <title>(?P<title>[^"]+)</title> <pubDate>(?P<date>[^']+)</pubDate> <link>(?P<download>[^"]+)</link> </item> </channel> </rss>]]></Filter> </Url> </Tracker>=A0 </TrackerList> --- interest.xml --- <?xml version=3D"1.0" encoding=3D"iso-8859-1"?> <InterestList> <Interest attribute=3D"title" mode=3D"include">show</Interest> </InterestList> --- the error I get when running btqueue.py crawler: --- File "/usr/local/bin/btqueue.py", line 83, in ? app =3D Crawler(options.test_crawler) File "/usr/local/lib/python2.3/site-packages/BitCrawler/crawler.py",=20= line 52, in __init__ tag=3D'InterestList') File "/usr/local/lib/python2.3/site-packages/BitCrawler/crawler.py",=20= line 17, in __init__ self.obj =3D factory.from_file(self.file) File "/usr/local/lib/python2.3/site-packages/BitCrawler/media.py",=20 line 210, in from_file return self.from_element(e) File "/usr/local/lib/python2.3/site-packages/BitCrawler/media.py",=20 line 224, in from_element obj.append(factory.from_element(e)) File "/usr/local/lib/python2.3/site-packages/BitCrawler/media.py",=20 line 221, in from_element obj =3D = media_class(tag,attrs=3Delement.attrs,content=3Delement.content) File "/usr/local/lib/python2.3/site-packages/BitCrawler/media.py",=20 line 331, in __init__ self.cre =3D re.compile(self.content,re.I|re.S|re.M) File "/usr/local/lib/python2.3/sre.py", line 179, in compile return _compile(pattern, flags) File "/usr/local/lib/python2.3/sre.py", line 229, in _compile raise error, v # invalid expression sre_constants.error: nothing to repeat --- Some references: http://sourceforge.net/forum/forum.php?thread_id=3D1083519&forum_id=3D3606= 59 http://sourceforge.net/forum/forum.php?thread_id=3D1148022&forum_id=3D3606= 59 http://btqueue.sourceforge.net/= |
From: Sugree P. <su...@hp...> - 2005-02-10 04:22:53
|
Umm... I got the same situation in win32. Let me find another solution. Sugree Phatanapherom su...@hp... Doruk Fisek wrote: > Hi, > > Wed, 19 Jan 2005 20:22:26 -0800 (PST) tarihinde Gie > <su...@hp...> soyle yazdi: > > >>Finally, I have found the problem of BitTornado 0.3.9b. It will cancel >>requests that are not being responsed within snub time. After that it >>will choke itself. It is so hard to get unchoke from other peers at this >>point. >>I just commented this code and BTQueue backs to the fastest client right >>now. I will release it as 0.0.19 very soon. > > Oops I froze again :-( > > I tried using the cvs version (just checked out a few hours ago). > > Doruk > > -- > FISEK INSTITUTE - http://www.fisek.org > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > btqueue-users mailing list > btq...@li... > https://lists.sourceforge.net/lists/listinfo/btqueue-users > |