stanlog / xbt Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/xbt
Automatically exported from code.google.com/p/xbt
What steps will reproduce the problem?
1. auto_register = 0
2. insert into database new record with correct info_hash and flags=0
3. at this step all ok
4. update record with new info_hash and set flags=2
5. wait read/write
6. get bts_unregistered_torrent
7. but after xbt restart again all ok
latest svn revision, linux
Original issue reported on code.google.com by [email protected]
on 21 Nov 2011 at 12:19
OS: Ubuntu server 10.04 x32
r2251
/trunk/xbt/Client Command Line Interface# ./make.sh
In file included from stdafx.cpp:1:0:
stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from XBT Client Command Line Interface.cpp:1:0:
stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/alerts.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/bt_torrent.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/bt_tracker_account.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/bt_tracker_url.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/bvalue.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/stream_reader.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/stream_writer.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/tf_misc.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/xif_key.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/xif_key_r.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
In file included from ../misc/xif_value.cpp:1:0:
./stdafx.h:39:21: fatal error: bt_misc.h: no such file or directory
compilation terminated.
Original issue reported on code.google.com by [email protected]
on 20 Dec 2011 at 12:43
What steps will reproduce the problem?
1. Compile under Ubuntu server 10.04
./make.sh
server.cpp: In member function ‘Cserver::t_user*
Cserver::find_user_by_torrent_pass(const std::string&, const std::string&)’:
server.cpp:871: error: ‘find_ptr2’ was not declared in this scope
At revision 2151.
Linux 2.6.32-31-server #61-Ubuntu SMP Fri Apr 8 19:44:42 UTC 2011 x86_64
GNU/Linux
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
Original issue reported on code.google.com by [email protected]
on 12 May 2011 at 5:55
After Revision r2478
./make.sh
server.cpp: In function ‘void read_db_torrents_sql()’:
server.cpp:192:14: error: ‘class
boost::unordered::unordered_map<std::array<char, 20ul>, t_torrent>’ has no
member named ‘reserve’
server.cpp: In function ‘void read_db_users()’:
server.cpp:256:11: error: ‘class boost::unordered::unordered_map<int,
t_user>’ has no member named ‘reserve’
Original issue reported on code.google.com by [email protected]
on 9 Apr 2015 at 8:15
What steps will reproduce the problem?
1. Checkout the latest SVN (r2204)
2. Try to compile it...
What is the expected output?
A runnable Tracker
What was the actual outcome?
transaction.cpp: In member function ‘void
Ctransaction::send_scrape(data_ref)’:
transaction.cpp:130: error: ‘class data_ref’ has no member named
‘sub_range’
What version of the product are you using? On what operating system?
Latest version of xbt_tracker. Try to compile it on Debian Squeeze. >>> Linux
W016 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux <<<
Please provide any additional information below.
libboost is installed, mysql also...
Original issue reported on code.google.com by [email protected]
on 6 Oct 2011 at 2:30
Hey,
Seems like after last change to build.cpp it don't build.
server.cpp:189: error: expected initializer before Б─≤:Б─≥ token
server.cpp:194: error: could not convert
Б─≤m_torrents.boost::unordered_map<Key, T, Hash, Pred, Alloc>::erase [with
Key = std::array<char, 20ul>, T = t_torrent, Hash =
boost::hash<std::array<char, 20ul> >, Pred = std::equal_to<std::array<char,
20ul> >, Alloc = std::allocator<std::pair<const std::array<char, 20ul>,
t_torrent>
>](boost::unordered_detail::hash_const_iterator<std::allocator<std::pair<const
std::array<char, 20ul>, t_torrent> >,
boost::unordered_detail::ungrouped>(((const
boost::unordered_detail::hash_iterator<std::allocator<std::pair<const
std::array<char, 20ul>, t_torrent> >,
boost::unordered_detail::ungrouped>&)((const
boost::unordered_detail::hash_iterator<std::allocator<std::pair<const
std::array<char, 20ul>, t_torrent> >, boost::unordered_detail::ungrouped>*)(&
i)))))Б─≥ to Б─≤boolБ─≥
server.cpp:195: error: expected primary-expression before Б─≤}Б─≥
token
server.cpp:195: error: expected Б─≤)Б─≥ before Б─≤}Б─≥ token
server.cpp:195: error: expected primary-expression before Б─≤}Б─≥
token
server.cpp:195: error: expected Б─≤;Б─≥ before Б─≤}Б─≥ token
Original issue reported on code.google.com by [email protected]
on 8 Dec 2013 at 10:40
Ubuntu server 10.04
r2298
# ./make.sh
In file included from /usr/include/boost/functional/hash/hash.hpp:535,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:21,
from /usr/include/boost/unordered_map.hpp:16,
from /usr/include/boost/ptr_container/ptr_unordered_map.hpp:19,
from /usr/include/boost/ptr_container/ptr_container.hpp:25,
from stdafx.h:9,
from server.cpp:1:
/usr/include/boost/functional/hash/extensions.hpp: In member function ‘size_t
boost::hash<T>::operator()(const T&) const [with T = std::array<char, 32ul>]’:
/usr/include/boost/unordered/detail/unique.hpp:331: instantiated from
‘typename boost::unordered::detail::table<Types>::value_type&
boost::unordered::detail::table_impl<Types>::operator[](const typename
boost::unordered::detail::table<Types>::key_type&) [with Types =
boost::unordered::detail::map<std::allocator<std::pair<const std::array<char,
32ul>, Cserver::t_user*> >, std::array<char, 32ul>, Cserver::t_user*,
boost::hash<std::array<char, 32ul> >, std::equal_to<std::array<char, 32ul> >
>]’
/usr/include/boost/unordered/unordered_map.hpp:1192: instantiated from ‘T&
boost::unordered::unordered_map<K, T, H, P, A>::operator[](const K&) [with K =
std::array<char, 32ul>, T = Cserver::t_user*, H = boost::hash<std::array<char,
32ul> >, P = std::equal_to<std::array<char, 32ul> >, A =
std::allocator<std::pair<const std::array<char, 32ul>, Cserver::t_user*> >]’
server.cpp:650: instantiated from here
/usr/include/boost/functional/hash/extensions.hpp:176: error: no matching
function for call to ‘hash_value(const std::array<char, 32ul>&)’
/usr/include/boost/functional/hash/hash.hpp:144: note: candidates are: size_t
boost::hash_value(bool)
/usr/include/boost/functional/hash/hash.hpp:149: note: size_t
boost::hash_value(char)
/usr/include/boost/functional/hash/hash.hpp:154: note: size_t
boost::hash_value(unsigned char)
/usr/include/boost/functional/hash/hash.hpp:159: note: size_t
boost::hash_value(signed char)
/usr/include/boost/functional/hash/hash.hpp:164: note: size_t
boost::hash_value(short int)
/usr/include/boost/functional/hash/hash.hpp:169: note: size_t
boost::hash_value(short unsigned int)
/usr/include/boost/functional/hash/hash.hpp:174: note: size_t
boost::hash_value(int)
/usr/include/boost/functional/hash/hash.hpp:179: note: size_t
boost::hash_value(unsigned int)
/usr/include/boost/functional/hash/hash.hpp:184: note: size_t
boost::hash_value(long int)
/usr/include/boost/functional/hash/hash.hpp:189: note: size_t
boost::hash_value(long unsigned int)
/usr/include/boost/functional/hash/hash.hpp:195: note: size_t
boost::hash_value(wchar_t)
/usr/include/boost/functional/hash/hash.hpp:202: note: size_t
boost::hash_value(boost::long_long_type)
/usr/include/boost/functional/hash/hash.hpp:207: note: size_t
boost::hash_value(boost::ulong_long_type)
/usr/include/boost/functional/hash/hash.hpp:327: note: size_t
boost::hash_value(float)
/usr/include/boost/functional/hash/hash.hpp:332: note: size_t
boost::hash_value(double)
/usr/include/boost/functional/hash/hash.hpp:337: note: size_t
boost::hash_value(long double)
Original issue reported on code.google.com by [email protected]
on 30 Apr 2012 at 5:05
What steps will reproduce the problem?
1. Install dependencies:
sudo apt-get install cmake g++ libboost-date-time-dev libboost-dev
libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev
libboost-serialization-dev libmysqlclient15-dev make subversion zlib1g-dev
2. retrive latest SVN:
svn co http://xbt.googlecode.com/svn/trunk/xbt/misc xbt/misc
svn co http://xbt.googlecode.com/svn/trunk/xbt/Tracker xbt/Tracker
3. try to compile it
cd xbt/Tracker
./make.sh
What is the expected output? What do you see instead?
I expected the executable xbt_tracker to be generated. Instead, I get several
pages of errors, starting with
In file included from ../misc/xbt/bt_misc.h:3,
from ../misc/bt_misc.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:146: error: ‘class data_ref_base<const char*, const
void*>’ has no member named ‘pop_front’
[...]
And it goes on and on for several pages...
What version of the product are you using? On what operating system?
Latest version of xbt_tracker. Try to compile it on Debian GNU/Linux 6.0.7
(squeeze)
Result of "cat /etc/issue":
Linux servername 3.2.13-xxxx-std-ipv6-64 #1 SMP Wed Mar 28 11:20:17 UTC 2012
x86_64 GNU/Linux
Please provide any additional information below.
mysql-server is installed, as well as all dependencies... I am attaching the
error log of the compiler.
Original issue reported on code.google.com by [email protected]
on 5 May 2014 at 3:32
Attachments:
../misc/bt_misc.cpp: In function ‘std::string escape_string(const
std::string&)’:
../misc/bt_misc.cpp:20: error: expected initializer before ‘:’ token
../misc/bt_misc.cpp:377: error: expected primary-expression at end of input
../misc/bt_misc.cpp:377: error: expected ‘;’ at end of input
../misc/bt_misc.cpp:377: error: expected primary-expression at end of input
../misc/bt_misc.cpp:377: error: expected ‘)’ at end of input
../misc/bt_misc.cpp:377: error: expected statement at end of input
../misc/bt_misc.cpp:377: error: expected ‘}’ at end of input
server.cpp: In function ‘void read_db_torrents_sql()’:
server.cpp:189: error: expected initializer before ‘:’ token
server.cpp:194: error: could not convert ‘m_torrents.boost::unordered_map<K,
T, H, P, A>::erase [with K = std::array<char, 20ul>, T = t_torrent, H =
boost::hash<std::array<char, 20ul> >, P = std::equal_to<std::array<char, 20ul>
>, A = std::allocator<std::pair<const std::array<char, 20ul>, t_torrent>
>](boost::unordered_detail::hash_const_iterator<std::allocator<std::pair<const
std::array<char, 20ul>, t_torrent> >,
boost::unordered_detail::ungrouped>(((const
boost::unordered_detail::hash_iterator<std::allocator<std::pair<const
std::array<char, 20ul>, t_torrent> >,
boost::unordered_detail::ungrouped>&)((const
boost::unordered_detail::hash_iterator<std::allocator<std::pair<const
std::array<char, 20ul>, t_torrent> >, boost::unordered_detail::ungrouped>*)(&
i)))))’ to ‘bool’
server.cpp:195: error: expected primary-expression before ‘}’ token
server.cpp:195: error: expected ‘)’ before ‘}’ token
server.cpp:195: error: expected primary-expression before ‘}’ token
server.cpp:195: error: expected ‘;’ before ‘}’ token
server.cpp: In function ‘void read_db_users()’:
server.cpp:269: error: expected initializer before ‘:’ token
server.cpp:271: error: could not convert
‘m_users_torrent_passes.boost::unordered_map<K, T, H, P, A>::clear [with K =
std::array<char, 32ul>, T = t_user*, H = boost::hash<std::array<char, 32ul> >,
P = std::equal_to<std::array<char, 32ul> >, A = std::allocator<std::pair<const
std::array<char, 32ul>, t_user*> >]()’ to ‘bool’
server.cpp:272: error: expected primary-expression before ‘while’
server.cpp:272: error: expected ‘)’ before ‘while’
server.cpp: In function ‘void write_db_torrents()’:
server.cpp:322: error: expected initializer before ‘:’ token
server.cpp:1004: error: expected primary-expression at end of input
server.cpp:1004: error: expected ‘;’ at end of input
server.cpp:1004: error: expected primary-expression at end of input
server.cpp:1004: error: expected ‘)’ at end of input
server.cpp:1004: error: expected statement at end of input
server.cpp:1004: error: expected ‘}’ at end of input
server.cpp:1004: error: expected ‘}’ at end of input
server.cpp:1004: error: expected ‘catch’ at end of input
server.cpp:1004: error: expected ‘(’ at end of input
server.cpp:1004: error: expected type-specifier at end of input
server.cpp:1004: error: expected ‘)’ at end of input
server.cpp:1004: error: expected ‘{’ at end of input
server.cpp:1004: error: expected ‘}’ at end of input
Original issue reported on code.google.com by [email protected]
on 9 Jan 2014 at 9:15
Hello, I am trying to insert peers like I would into a mysql database.. but
since the mysql db used by xbt is used only for stats, that is not possible.
Is there any way to do that? Maybe to access some path like
tracker:port/announce/peerlist.. idk
Thanks Olaf :)
Original issue reported on code.google.com by [email protected]
on 31 Aug 2014 at 10:21
What steps will reproduce the problem?
When installing^
# ./make.sh
g++: ../misc/sql/sql_result.cpp: No such file or directory
What is the expected output? What do you see instead?
I was expecting to have a smooth compilation. Compiler says there is no file
sql_result.cpp. And there is no such file in your source code.
What version of the product are you using? On what operating system?
Current SVN checkout - 03 Oct 2011
Please provide any additional information below.
Ubuntu 10.04.1 LTS
2.6.18-194.26.1.el5.028stab079.2
Original issue reported on code.google.com by [email protected]
on 3 Oct 2011 at 5:25
r2408
Ubuntu 12.04 x86_64
In file included from connection.cpp:5:0:
server.h:19:28: sorry, unimplemented: non-static data member initializers
server.h:19:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘accept_errors’
server.h:20:27: sorry, unimplemented: non-static data member initializers
server.h:20:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘accepted_tcp’
server.h:21:29: sorry, unimplemented: non-static data member initializers
server.h:21:29: error: ISO C++ forbids in-class initialization of non-const
static member ‘announced_http’
server.h:22:28: sorry, unimplemented: non-static data member initializers
server.h:22:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘announced_udp’
server.h:23:27: sorry, unimplemented: non-static data member initializers
server.h:23:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘rejected_tcp’
server.h:24:27: sorry, unimplemented: non-static data member initializers
server.h:24:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_full’
server.h:25:27: sorry, unimplemented: non-static data member initializers
server.h:25:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_http’
server.h:26:28: sorry, unimplemented: non-static data member initializers
server.h:26:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_multi’
server.h:27:26: sorry, unimplemented: non-static data member initializers
server.h:27:26: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_udp’
server.h:28:23: sorry, unimplemented: non-static data member initializers
server.h:28:23: error: ISO C++ forbids in-class initialization of non-const
static member ‘slow_tcp’
server.h:29:31: error: ‘time_t time(time_t*)’ is not ‘constexpr’
server.h:29:31: sorry, unimplemented: non-static data member initializers
server.h:29:31: error: ISO C++ forbids in-class initialization of non-const
static member ‘start_time’
server.h:82:17: sorry, unimplemented: non-static data member initializers
server.h:82:17: error: ISO C++ forbids in-class initialization of non-const
static member ‘mtime’
server.h:97:18: sorry, unimplemented: non-static data member initializers
server.h:97:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘completed’
server.h:98:12: sorry, unimplemented: non-static data member initializers
server.h:98:12: error: ISO C++ forbids in-class initialization of non-const
static member ‘fid’
server.h:99:17: sorry, unimplemented: non-static data member initializers
server.h:99:17: error: ISO C++ forbids in-class initialization of non-const
static member ‘leechers’
server.h:100:16: sorry, unimplemented: non-static data member initializers
server.h:100:16: error: ISO C++ forbids in-class initialization of non-const
static member ‘seeders’
server.h:101:15: sorry, unimplemented: non-static data member initializers
server.h:101:15: error: ISO C++ forbids in-class initialization of non-const
static member ‘dirty’
server.h:106:19: sorry, unimplemented: non-static data member initializers
server.h:106:19: error: ISO C++ forbids in-class initialization of non-const
static member ‘can_leech’
server.h:109:18: sorry, unimplemented: non-static data member initializers
server.h:109:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘completes’
server.h:110:20: sorry, unimplemented: non-static data member initializers
server.h:110:20: error: ISO C++ forbids in-class initialization of non-const
static member ‘incompletes’
server.h:111:20: sorry, unimplemented: non-static data member initializers
server.h:111:20: error: ISO C++ forbids in-class initialization of non-const
static member ‘peers_limit’
server.h:112:29: sorry, unimplemented: non-static data member initializers
server.h:112:29: error: ISO C++ forbids in-class initialization of non-const
static member ‘torrent_pass_version’
server.h:113:23: sorry, unimplemented: non-static data member initializers
server.h:113:23: error: ISO C++ forbids in-class initialization of non-const
static member ‘torrents_limit’
server.h:114:18: sorry, unimplemented: non-static data member initializers
server.h:114:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘wait_time’
In file included from server.cpp:2:0:
server.h:19:28: sorry, unimplemented: non-static data member initializers
server.h:19:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘accept_errors’
server.h:20:27: sorry, unimplemented: non-static data member initializers
server.h:20:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘accepted_tcp’
server.h:21:29: sorry, unimplemented: non-static data member initializers
server.h:21:29: error: ISO C++ forbids in-class initialization of non-const
static member ‘announced_http’
server.h:22:28: sorry, unimplemented: non-static data member initializers
server.h:22:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘announced_udp’
server.h:23:27: sorry, unimplemented: non-static data member initializers
server.h:23:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘rejected_tcp’
server.h:24:27: sorry, unimplemented: non-static data member initializers
server.h:24:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_full’
server.h:25:27: sorry, unimplemented: non-static data member initializers
server.h:25:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_http’
server.h:26:28: sorry, unimplemented: non-static data member initializers
server.h:26:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_multi’
server.h:27:26: sorry, unimplemented: non-static data member initializers
server.h:27:26: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_udp’
server.h:28:23: sorry, unimplemented: non-static data member initializers
server.h:28:23: error: ISO C++ forbids in-class initialization of non-const
static member ‘slow_tcp’
server.h:29:31: error: ‘time_t time(time_t*)’ is not ‘constexpr’
server.h:29:31: sorry, unimplemented: non-static data member initializers
server.h:29:31: error: ISO C++ forbids in-class initialization of non-const
static member ‘start_time’
server.h:82:17: sorry, unimplemented: non-static data member initializers
server.h:82:17: error: ISO C++ forbids in-class initialization of non-const
static member ‘mtime’
server.h:97:18: sorry, unimplemented: non-static data member initializers
server.h:97:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘completed’
server.h:98:12: sorry, unimplemented: non-static data member initializers
server.h:98:12: error: ISO C++ forbids in-class initialization of non-const
static member ‘fid’
server.h:99:17: sorry, unimplemented: non-static data member initializers
server.h:99:17: error: ISO C++ forbids in-class initialization of non-const
static member ‘leechers’
server.h:100:16: sorry, unimplemented: non-static data member initializers
server.h:100:16: error: ISO C++ forbids in-class initialization of non-const
static member ‘seeders’
server.h:101:15: sorry, unimplemented: non-static data member initializers
server.h:101:15: error: ISO C++ forbids in-class initialization of non-const
static member ‘dirty’
server.h:106:19: sorry, unimplemented: non-static data member initializers
server.h:106:19: error: ISO C++ forbids in-class initialization of non-const
static member ‘can_leech’
server.h:109:18: sorry, unimplemented: non-static data member initializers
server.h:109:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘completes’
server.h:110:20: sorry, unimplemented: non-static data member initializers
server.h:110:20: error: ISO C++ forbids in-class initialization of non-const
static member ‘incompletes’
server.h:111:20: sorry, unimplemented: non-static data member initializers
server.h:111:20: error: ISO C++ forbids in-class initialization of non-const
static member ‘peers_limit’
server.h:112:29: sorry, unimplemented: non-static data member initializers
server.h:112:29: error: ISO C++ forbids in-class initialization of non-const
static member ‘torrent_pass_version’
server.h:113:23: sorry, unimplemented: non-static data member initializers
server.h:113:23: error: ISO C++ forbids in-class initialization of non-const
static member ‘torrents_limit’
server.h:114:18: sorry, unimplemented: non-static data member initializers
server.h:114:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘wait_time’
In file included from transaction.cpp:5:0:
server.h:19:28: sorry, unimplemented: non-static data member initializers
server.h:19:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘accept_errors’
server.h:20:27: sorry, unimplemented: non-static data member initializers
server.h:20:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘accepted_tcp’
server.h:21:29: sorry, unimplemented: non-static data member initializers
server.h:21:29: error: ISO C++ forbids in-class initialization of non-const
static member ‘announced_http’
server.h:22:28: sorry, unimplemented: non-static data member initializers
server.h:22:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘announced_udp’
server.h:23:27: sorry, unimplemented: non-static data member initializers
server.h:23:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘rejected_tcp’
server.h:24:27: sorry, unimplemented: non-static data member initializers
server.h:24:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_full’
server.h:25:27: sorry, unimplemented: non-static data member initializers
server.h:25:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_http’
server.h:26:28: sorry, unimplemented: non-static data member initializers
server.h:26:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_multi’
server.h:27:26: sorry, unimplemented: non-static data member initializers
server.h:27:26: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_udp’
server.h:28:23: sorry, unimplemented: non-static data member initializers
server.h:28:23: error: ISO C++ forbids in-class initialization of non-const
static member ‘slow_tcp’
server.h:29:31: error: ‘time_t time(time_t*)’ is not ‘constexpr’
server.h:29:31: sorry, unimplemented: non-static data member initializers
server.h:29:31: error: ISO C++ forbids in-class initialization of non-const
static member ‘start_time’
server.h:82:17: sorry, unimplemented: non-static data member initializers
server.h:82:17: error: ISO C++ forbids in-class initialization of non-const
static member ‘mtime’
server.h:97:18: sorry, unimplemented: non-static data member initializers
server.h:97:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘completed’
server.h:98:12: sorry, unimplemented: non-static data member initializers
server.h:98:12: error: ISO C++ forbids in-class initialization of non-const
static member ‘fid’
server.h:99:17: sorry, unimplemented: non-static data member initializers
server.h:99:17: error: ISO C++ forbids in-class initialization of non-const
static member ‘leechers’
server.h:100:16: sorry, unimplemented: non-static data member initializers
server.h:100:16: error: ISO C++ forbids in-class initialization of non-const
static member ‘seeders’
server.h:101:15: sorry, unimplemented: non-static data member initializers
server.h:101:15: error: ISO C++ forbids in-class initialization of non-const
static member ‘dirty’
server.h:106:19: sorry, unimplemented: non-static data member initializers
server.h:106:19: error: ISO C++ forbids in-class initialization of non-const
static member ‘can_leech’
server.h:109:18: sorry, unimplemented: non-static data member initializers
server.h:109:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘completes’
server.h:110:20: sorry, unimplemented: non-static data member initializers
server.h:110:20: error: ISO C++ forbids in-class initialization of non-const
static member ‘incompletes’
server.h:111:20: sorry, unimplemented: non-static data member initializers
server.h:111:20: error: ISO C++ forbids in-class initialization of non-const
static member ‘peers_limit’
server.h:112:29: sorry, unimplemented: non-static data member initializers
server.h:112:29: error: ISO C++ forbids in-class initialization of non-const
static member ‘torrent_pass_version’
server.h:113:23: sorry, unimplemented: non-static data member initializers
server.h:113:23: error: ISO C++ forbids in-class initialization of non-const
static member ‘torrents_limit’
server.h:114:18: sorry, unimplemented: non-static data member initializers
server.h:114:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘wait_time’
In file included from XBT Tracker.cpp:4:0:
server.h:19:28: sorry, unimplemented: non-static data member initializers
server.h:19:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘accept_errors’
server.h:20:27: sorry, unimplemented: non-static data member initializers
server.h:20:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘accepted_tcp’
server.h:21:29: sorry, unimplemented: non-static data member initializers
server.h:21:29: error: ISO C++ forbids in-class initialization of non-const
static member ‘announced_http’
server.h:22:28: sorry, unimplemented: non-static data member initializers
server.h:22:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘announced_udp’
server.h:23:27: sorry, unimplemented: non-static data member initializers
server.h:23:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘rejected_tcp’
server.h:24:27: sorry, unimplemented: non-static data member initializers
server.h:24:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_full’
server.h:25:27: sorry, unimplemented: non-static data member initializers
server.h:25:27: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_http’
server.h:26:28: sorry, unimplemented: non-static data member initializers
server.h:26:28: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_multi’
server.h:27:26: sorry, unimplemented: non-static data member initializers
server.h:27:26: error: ISO C++ forbids in-class initialization of non-const
static member ‘scraped_udp’
server.h:28:23: sorry, unimplemented: non-static data member initializers
server.h:28:23: error: ISO C++ forbids in-class initialization of non-const
static member ‘slow_tcp’
server.h:29:31: error: ‘time_t time(time_t*)’ is not ‘constexpr’
server.h:29:31: sorry, unimplemented: non-static data member initializers
server.h:29:31: error: ISO C++ forbids in-class initialization of non-const
static member ‘start_time’
server.h:82:17: sorry, unimplemented: non-static data member initializers
server.h:82:17: error: ISO C++ forbids in-class initialization of non-const
static member ‘mtime’
server.h:97:18: sorry, unimplemented: non-static data member initializers
server.h:97:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘completed’
server.h:98:12: sorry, unimplemented: non-static data member initializers
server.h:98:12: error: ISO C++ forbids in-class initialization of non-const
static member ‘fid’
server.h:99:17: sorry, unimplemented: non-static data member initializers
server.h:99:17: error: ISO C++ forbids in-class initialization of non-const
static member ‘leechers’
server.h:100:16: sorry, unimplemented: non-static data member initializers
server.h:100:16: error: ISO C++ forbids in-class initialization of non-const
static member ‘seeders’
server.h:101:15: sorry, unimplemented: non-static data member initializers
server.h:101:15: error: ISO C++ forbids in-class initialization of non-const
static member ‘dirty’
server.h:106:19: sorry, unimplemented: non-static data member initializers
server.h:106:19: error: ISO C++ forbids in-class initialization of non-const
static member ‘can_leech’
server.h:109:18: sorry, unimplemented: non-static data member initializers
server.h:109:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘completes’
server.h:110:20: sorry, unimplemented: non-static data member initializers
server.h:110:20: error: ISO C++ forbids in-class initialization of non-const
static member ‘incompletes’
server.h:111:20: sorry, unimplemented: non-static data member initializers
server.h:111:20: error: ISO C++ forbids in-class initialization of non-const
static member ‘peers_limit’
server.h:112:29: sorry, unimplemented: non-static data member initializers
server.h:112:29: error: ISO C++ forbids in-class initialization of non-const
static member ‘torrent_pass_version’
server.h:113:23: sorry, unimplemented: non-static data member initializers
server.h:113:23: error: ISO C++ forbids in-class initialization of non-const
static member ‘torrents_limit’
server.h:114:18: sorry, unimplemented: non-static data member initializers
server.h:114:18: error: ISO C++ forbids in-class initialization of non-const
static member ‘wait_time’
Original issue reported on code.google.com by [email protected]
on 17 Jan 2014 at 7:36
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Dec 2011 at 5:34
Hi,
Just trying to update to latest SVN and this is waht I am getting:
/tmp/ccE0lruZ.o: In function `xcc_z::gzip_out(const_memory_range_base<unsigned
char const*>)':
xcc_z.cpp:(.text+0x39): undefined reference to `gzdopen'
xcc_z.cpp:(.text+0x49): undefined reference to `gzwrite'
/tmp/ccE0lruZ.o: In function `xcc_z::gunzip(const_memory_range_base<unsigned
char const*>)':
xcc_z.cpp:(.text+0x183): undefined reference to `inflateInit2_'
xcc_z.cpp:(.text+0x1f2): undefined reference to `inflate'
xcc_z.cpp:(.text+0x1ff): undefined reference to `inflateEnd'
/tmp/ccE0lruZ.o: In function `xcc_z::gzip(const_memory_range_base<unsigned char
const*>)':
xcc_z.cpp:(.text+0x357): undefined reference to `deflateInit2_'
xcc_z.cpp:(.text+0x377): undefined reference to `deflate'
xcc_z.cpp:(.text+0x37f): undefined reference to `deflateEnd'
xcc_z.cpp:(.text+0x38f): undefined reference to `crc32'
xcc_z.cpp:(.text+0x39c): undefined reference to `crc32'
/tmp/ccE0lruZ.o: In function `xcc_z::gzip_out(const_memory_range_base<unsigned
char const*>)':
xcc_z.cpp:(.text+0x69): undefined reference to `gzflush'
collect2: ld returned 1 exit status
gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
This is latest CentOS (5.5 with all updates)
Original issue reported on code.google.com by [email protected]
on 22 Feb 2011 at 8:57
Please rewrite epool to
- libev or libevent (suppor win, linux, mac, bsd) event
http://libevent.org/
http://software.schmorp.de/pkg/libev.html
Original issue reported on code.google.com by [email protected]
on 22 Apr 2012 at 3:18
After conpilining xbt r2254
Not start.
Error: epoll_create failed
Original issue reported on code.google.com by [email protected]
on 1 Mar 2012 at 10:28
How about IPv6 support ?
Original issue reported on code.google.com by [email protected]
on 21 Nov 2012 at 6:47
On debian squeeze, using instructions
http://xbtt.sourceforge.net/client_backend/.
./make.sh
In file included from ../misc/bt_tracker_account.cpp:2:
../misc/bt_tracker_account.h:33: error: expected template-name before ‘<’
token
../misc/bt_tracker_account.h:33: error: expected ‘{’ before ‘<’ token
../misc/bt_tracker_account.h:33: error: expected unqualified-id before ‘<’
token
../misc/bt_tracker_account.cpp:29: error: invalid use of incomplete type
‘class Cbt_tracker_accounts’
../misc/bt_tracker_account.h:33: error: forward declaration of ‘class
Cbt_tracker_accounts’
../misc/bt_tracker_account.cpp:44: error: invalid use of incomplete type
‘class Cbt_tracker_accounts’
../misc/bt_tracker_account.h:33: error: forward declaration of ‘class
Cbt_tracker_accounts’
../misc/bt_tracker_account.cpp:54: error: invalid use of incomplete type
‘class Cbt_tracker_accounts’
../misc/bt_tracker_account.h:33: error: forward declaration of ‘class
Cbt_tracker_accounts’
In file included from ../misc/xif_key.h:6,
from ../misc/xif_key.cpp:2:
../misc/xif_value.h:46: error: ISO C++ forbids declaration of ‘byte’ with
no type
../misc/xif_value.h:46: error: expected ‘;’ before ‘*’ token
../misc/xif_value.h:51: error: expected ‘;’ before ‘int’
../misc/xif_value.h:97: error: ISO C++ forbids declaration of ‘byte’ with
no type
../misc/xif_value.h:97: error: expected ‘,’ or ‘...’ before ‘*’
token
../misc/xif_value.h:98: error: ISO C++ forbids declaration of ‘byte’ with
no type
../misc/xif_value.h:98: error: expected ‘,’ or ‘...’ before ‘*’
token
../misc/xif_value.h:99: error: ISO C++ forbids declaration of ‘byte’ with
no type
../misc/xif_value.h:99: error: expected ‘,’ or ‘...’ before ‘*’
token
../misc/xif_value.h:100: error: ‘byte’ has not been declared
../misc/xif_value.h:101: error: ISO C++ forbids declaration of ‘byte’ with
no type
../misc/xif_value.h:101: error: expected ‘,’ or ‘...’ before ‘*’
token
../misc/xif_value.h:103: error: ‘byte’ has not been declared
../misc/xif_value.h:109: error: ‘byte’ does not name a type
../misc/xif_value.h: In member function ‘std::string Cxif_value::get_string()
const’:
../misc/xif_value.h:81: error: ‘get_data’ was not declared in this scope
In file included from ../misc/xif_key.cpp:2:
../misc/xif_key.h: At global scope:
../misc/xif_key.h:239: error: ISO C++ forbids declaration of ‘byte’ with no
type
Original issue reported on code.google.com by [email protected]
on 26 Dec 2011 at 5:40
What steps will reproduce the problem?
1. Seed torrent with tracker set to udp
2. Torrent should not have any leechers
What is the expected output? What do you see instead?
Got response "Tracker reply has no peers". Response should contain empty peers
field, right?
What version of the product are you using? On what operating system?
r2162, debian 5.0
Not critical, but it would great to have it fixed.
Also, when using udp urls, no new entries added into files_users table.
Original issue reported on code.google.com by [email protected]
on 23 Aug 2011 at 10:24
Boost: 1.48.0
../misc/bvalue.cpp: In member function 'shared_data Cbvalue::read() const':
../misc/bvalue.cpp:308: error: 'BOOST_VERIFY' was not declared in this scope
In file included from ../misc/virtual_binary.cpp:1:
../misc/xbt/virtual_binary.h:3:33: error: boost/make_shared.hpp: No such file
or directory
../misc/virtual_binary.cpp: In member function 'void
Cvirtual_binary::assign(data_ref)':
../misc/virtual_binary.cpp:11: error: 'make_shared' is not a member of 'boost'
../misc/virtual_binary.cpp:11: error: expected primary-expression before '>'
token
In file included from connection.cpp:2:
connection.h:23: error: ISO C++ forbids declaration of 'array' with no type
connection.h:23: error: invalid use of '::'
connection.h:23: error: expected ';' before '<' token
In file included from connection.cpp:6:
server.h:78: error: ISO C++ forbids declaration of 'array' with no type
...тут много всего...
server.h: In member function 'const Cserver::t_torrent* Cserver::torrent(const
std::string&) const':
server.h:155: error: 'm_torrents' was not declared in this scope
If compile from:
svn co https://xbtt.svn.sourceforge.net/svnroot/xbtt/trunk/xbt/misc misc
svn co https://xbtt.svn.sourceforge.net/svnroot/xbtt/trunk/xbt/Tracker/ Tracker
everything happens as it should be
but if from:
svn co http://xbt.googlecode.com/svn/trunk/xbt/misc misc
svn co http://xbt.googlecode.com/svn/trunk/xbt/Tracker Tracker
getting the above error
Original issue reported on code.google.com by [email protected]
on 29 Dec 2011 at 6:45
svn co http://xbt.googlecode.com/svn /trunk/xbt/misc xbt/misc done
svn co http://xbt.googlecode.com/svn/trunk/xbt/Tracker xbt/Tracker done
cd xbt/Tracker done
**./make.sh** error
g++: error: ../misc/bt_misc.cpp: No such file or directory
g++: error: ../misc/database.cpp: No such file or directory
g++: error: ../misc/sha1.cpp: No such file or directory
g++: error: ../misc/socket.cpp: No such file or directory
g++: error: ../misc/sql_query.cpp: No such file or directory
g++: error: ../misc/xcc_z.cpp: No such file or directory
Original issue reported on code.google.com by [email protected]
on 4 Aug 2013 at 12:14
CentOS 5.6
xbt: r2269
./make.sh
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
solution:
yum update
yum remove gcc*
yum install gcc44*
ln -s /usr/bin/g++44 /usr/bin/g++
ln -s /usr/bin/gcc44 /usr/bin/gcc
Good luck :)
Original issue reported on code.google.com by [email protected]
on 22 Apr 2012 at 4:37
when I run xbt on FreeBSD I get the message:
setsockopt failed: 2
but the announcer is working properly
Is this problem an error? how to fix it?
compile am submitting additional changes in the make.sh:
DEL: g++ $@ -DEPOLL -DNDEBUG -I ../misc -I . -O3 -o xbt_tracker \
ADD: g++ $@ -DNDEBUG -I ../misc -I . -O3 -o xbt_tracker -I /usr/local/include \
Original issue reported on code.google.com by [email protected]
on 6 Mar 2012 at 12:55
Hi!
Again, the problem with freebsd
used to work instruction:
**************************************************
If anyone of you got interest compiling xbt on FreeBSD.
1. Change all references of 'atoll' to 'atoi'. Files involved:
./tracker_input.cpp, ../misc/xbt/data_ref.h, ../misc/bvalue.cpp
2. Add the following to the header of connection.cpp:
#include <sys/uio.h>
#include <sys/types.h>
#include <sys/socket.h>
3. Add the following to the header of server.cpp:
#include <sys/types.h>
#include <sys/socket.h>
4. Since my target FreeBSD machine has only version 8.2 you might need to
install a new version of gcc. I have installed gcc 4.8 from the ports
(/usr/ports/lang/gcc48). Contents of my ./make.sh:
g++48 $@ -DNDEBUG -O3 -I ../misc -I . -o xbt_tracker -I /usr/local/include
-std=c++0x \
../misc/bt_misc.cpp \
../misc/database.cpp \
../misc/sha1.cpp \
../misc/socket.cpp \
../misc/sql_query.cpp \
../misc/xcc_z.cpp \
config.cpp \
connection.cpp \
epoll.cpp \
server.cpp \
tracker_input.cpp \
transaction.cpp \
"XBT Tracker.cpp" \
`mysql_config --libs` -lz && strip xbt_tracker
The latest version of Boost library is also needed. You can install it from
ports. However it was simply downloaded from boost.org and placed in
/usr/local/include/boost in my case.
**************************************************
but now gives an error
# ./make.sh
In file included from connection.cpp:5:0:
stdafx.h:3:0: warning: "FD_SETSIZE" redefined [enabled by default]
#define FD_SETSIZE 1024
^
In file included from
/usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd9.0/4.8.1/include-fixed/sys/types
.h:287:0,
from connection.cpp:2:
/usr/include/sys/select.h:59:0: note: this is the location of the previous
definition
#define FD_SETSIZE 1024U
^
In file included from server.cpp:4:0:
stdafx.h:3:0: warning: "FD_SETSIZE" redefined [enabled by default]
#define FD_SETSIZE 1024
^
In file included from
/usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd9.0/4.8.1/include-fixed/sys/types
.h:287:0,
from server.cpp:1:
/usr/include/sys/select.h:59:0: note: this is the location of the previous
definition
#define FD_SETSIZE 1024U
^
# uname -a
FreeBSD name.test 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Nov 2 15:44:15 EET
2012 [email protected]:/usr/obj/usr/src/sys/CS amd64
Original issue reported on code.google.com by [email protected]
on 9 Jun 2013 at 7:54
How can I get xbt reread info_hesh torrent?
First, you need to clear the old data and then write the new
This procedure should be triggered if the flags=2
tried to make available to the analogy, but I can not understand where the error
File: server.cpp
void Cserver::read_db_torrents_sql()
{
<------>try
<------>{
<------><------>if (!m_config.m_auto_register)
<------><------>{
<------><------><------>Csql_result result = Csql_query(m_database, "select
info_hash, @fid, flags from @files where flags >= 1").execute();
<------><------><------>while (Csql_row row = result.fetch_row())
<------><------><------>{
<------><------><------><------>t_torrents::iterator i =
m_torrents.find(row[0].s());
<------><------><------><------>if (row[2].i() == 1)
<------><------><------><------>{
<------><------><------><------><------>if (i != m_torrents.end())
<------><------><------><------><------>{
<------><------><------><------><------><------>BOOST_FOREACH(t_peers::reference
j, i->second.peers)
<------><------><------><------><------><------>{
<------><------><------><------><------><------><------>if (t_user* user =
find_user_by_uid(j.second.uid))
<------><------><------><------><------><------><------><------>(j.second.left
? user->incompletes : user->completes)--;
<------><------><------><------><------><------>}
<------><------><------><------><------><------>m_torrents.erase(i);
<------><------><------><------><------>}
<------><------><------><------><------>Csql_query(m_database, "delete from
@files where @fid = ?")(row[1].i()).execute();
<------><------><------><------>}
<------><------><------><------>else if (row[2].i() == 2)
<------><------><------><------>{
<------><------><------><------><------>if (i != m_torrents.end())
<------><------><------><------><------>{
<------><------><------><------><------><------>BOOST_FOREACH(t_peers::reference
j, i->second.peers)
<------><------><------><------><------><------>{
<------><------><------><------><------><------><------>if (t_user* user =
find_user_by_uid(j.second.uid))
<------><------><------><------><------><------><------><------>(j.second.left
? user->incompletes : user->completes)--;
<------><------><------><------><------><------>}
<------><------><------><------><------><------>m_torrents.erase(i);
<------><------><------><------><------><------>if (row[0].size() != 20 ||
torrent(row[0].s()))
<------><------><------><------><------><------><------>continue;
<------><------><------><------><------><------>i->second.t_torrent& file =
m_torrents[row[0].s()];
<------><------><------><------><------><------>i->second.dirty = false;
<------><------><------><------><------><------>i->second.fid = row[1].i();
<------><------><------><------><------>}
<------><------><------><------><------>Csql_query(m_database, "update @files
set flags = 0 where @fid = ?")(row[1].i()).execute();
<------><------><------><------>}
<------><------><------>}
<------><------>}
Original issue reported on code.google.com by [email protected]
on 8 Apr 2012 at 10:08
What steps will reproduce the problem?
1.yum install boost-devel gcc-c++ mysql-devel subversion
2. chmod +x make.sh
3. ./make.sh
What is the expected output? What do you see instead?
Excepted output: Nothing: Means OK
I see:
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
What version of the product are you using? On what operating system?
Package boost-devel-1.41.0-17.el6_4.x86_64 already installed and latest version
Package gcc-c++-4.4.7-3.el6.x86_64 already installed and latest version
Package mysql-devel-5.1.69-1.el6_4.x86_64 is obsoleted by
MariaDB-devel-5.5.32-1.x86_64 which is already installed
Package subversion-1.6.11-9.el6_4.x86_64 already installed and latest version
CENTOS 6.4 Final x64
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2013 at 5:38
Hi,
I'm not sure if this is already supported, but given XBT tracker's poor
documentation, I was not able to find it. What I would really like is to have
is a white or blacklist provided to XBTT in the form of a text file with hashes
in it, just like opentracker supports. I'm asking for this because I don't want
to run a whole database server just to have such a feature available.... The
location to such a list could be provided in the config file of the tracker and
sending a HUP signal would tell it to reload the list so it can see new entries
were added or removed.
Would this be possible to implement?
Thanks
Original issue reported on code.google.com by [email protected]
on 10 Jul 2011 at 2:01
Working command line in make.sh:
g++ $@ -DNDEBUG -I ../misc -I . -O3 -o xbt_tracker -I /usr/local/include
-std=c++0x \
Tried 48(latest) and 44 versions of gcc, got this thing on gcc48:
# ./make.sh
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
When edited line to use gcc44, got that:
# ./make.sh
../misc/bvalue.cpp: In member function 'int Cbvalue::write(const char*&, const
char*)':
../misc/bvalue.cpp:166: error: 'atoll' was not declared in this scope
tracker_input.cpp: In member function 'void Ctracker_input::set(const
std::string&, const std::string&)':
tracker_input.cpp:28: error: 'atoll' was not declared in this scope
tracker_input.cpp:54: error: 'atoll' was not declared in this scope
tracker_input.cpp:68: error: 'atoll' was not declared in this scope
Original issue reported on code.google.com by [email protected]
on 24 Apr 2012 at 11:19
g++ error
clang++ done build
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: /usr/local/include: Permission denied
Original issue reported on code.google.com by [email protected]
on 22 Apr 2012 at 6:46
Hi,
I think I spotted a problem in void Cserver::write_db_torrents(). But first, my
setup:
I'm running a recent XBTT with a MySQL Database and auto_register enabled. I
also coded a web front-end to add torrents to the xbt_files table.
The problem is this: When a person uploads a torrent through the web interface
and starts seeding it for the first time before the tracker has re-read the
table, the tracker simply tries to insert the torrent again, without taking in
consideration that it might exist already. The query to add it again will fail
because of the duplicated info_hash key and also hinders the tracker to get a
fid for future updates. The result is, that the database entry for that torrent
won't updated at all unless the tracker is restarted.
Problematic line:
Csql_query(m_database, "insert into @files (info_hash, mtime, ctime) values (?,
unix_timestamp(), unix_timestamp())")(i.first).execute();
I guess an "on duplicate key update"-clause or doing a "SELECT fid WHERE
info_hash = info_hash" fist should help.
I hope, i didn't miss anything.
Greetings, Chris
Original issue reported on code.google.com by [email protected]
on 23 Jul 2011 at 10:26
Torrent-magnet url:
magnet:?xt=urn:btih:INFO_HASH&dn=file.torrent&tr=http%3A%2F%2Fsite.ru%3A2710%2Fa
nnounce
when I add this link to the client and start downloading, it displays in
statistics that I seeder, not leecher
It is possible to fix this?
OS: Ubuntu server 10.04 x64
svr tracker: r2248
Original issue reported on code.google.com by [email protected]
on 27 Nov 2011 at 12:29
Hi guys! I need some help at DHT and peer exchange. I have a public xbt
tracker. How can i forced allow the DHT and peer echange on xbt configs? After
torrent file downloads dont work the DHT & Peer echange... The private torrent
checkbox is not selected at torrent files making. I'm clueless. Please help!
Pics:
http://i.imgur.com/qGexjxt.png
http://i.imgur.com/i0UEgYs.png
Original issue reported on code.google.com by [email protected]
on 24 Aug 2014 at 10:17
functions to restrict access to the client to the host does not work?
MySQL request is made:
create table if not exists xbt_deny_from_clients
(
peer_id char(20) not null
);
create table if not exists xbt_deny_from_hosts
(
begin int unsigned not null,
end int unsigned not null
);
Data inserted to block, but does not block the user...
Original issue reported on code.google.com by [email protected]
on 22 Apr 2012 at 7:55
Hi... first i want to thank you for doing this kind of tracker, i/we will
really appreciate it!
my issue:
i have installed your XBT tracker successfully on WindowsXP
but when i try to put Auto_register = 1 it will register the torrent file but
info_hash filed contains the unknown and unreadable format
real info hash = '60ab2a125e54b50b07c9377e664b4a99d4a9dc20'
database info_hash when field is (VARCHAR) = `«*�^Tµ��É7~fKJ™Ô©Ü)
database info_hash when field is (BINARY) =
0ab2a125e54b50b07c9377e664b4a99d4a9dc200000000000000000000000000000000000000000
when field is BINARY it looks like okay but when i try to search the info hash
its not searching... :(
hope you help me in this issue
Thanks
-Thilina-
Original issue reported on code.google.com by [email protected]
on 13 Mar 2011 at 7:23
hi bro i had installed the vbtt with all the instrutions given by u but tha
tracker is saying dat No connection could be made because the target machine
actively refused it plz help me
Original issue reported on code.google.com by [email protected]
on 3 Jun 2011 at 3:16
CentOS 6.3 - 6.4 / possible other versions
r2397 - not compiled
r2396 - compiled normally
Original issue reported on code.google.com by [email protected]
on 10 Dec 2013 at 2:19
I need only allows admin users to upload, anonymous users are able to download,
I how to configure the XBT tracker? Thank you!
Original issue reported on code.google.com by [email protected]
on 23 Oct 2012 at 7:15
If:
anonymous_connect 0
anonymous_announce 0
anonymous_scrape 0
auto_register 0
And announce url: udp://site.ru:2710
or: udp://site.ru:2710/passkey
or: udp://site.ru:2710/passkey/announce
Then:
Connection filed!
XBT Tracker not support not-anonymous and udp?
OS: Ubuntu server 10.04 x64
Firewall - off
Original issue reported on code.google.com by [email protected]
on 27 Nov 2011 at 9:52
What steps will reproduce the problem?
1.Install g++ with the following guides
http://superuser.com/questions/381160/install-gcc-4-7-on-centos
2.Follow the guide to install and compile the xbt tracker
3.Error in compilation
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Centos 6.5
Please provide any additional information below.
/tmp/ccuoIDP9.s: Assembler messages:
/tmp/ccuoIDP9.s:852: Error: expecting string instruction after `rep'
/tmp/ccuoIDP9.s:1029: Error: expecting string instruction after `rep'
/tmp/ccuoIDP9.s:1402: Error: expecting string instruction after `rep'
/tmp/ccuoIDP9.s: Assembler messages:
/tmp/ccuoIDP9.s:18: Error: expecting string instruction after `rep'
/tmp/ccuoIDP9.s:137: Error: expecting string instruction after `rep'
Original issue reported on code.google.com by [email protected]
on 27 Jan 2014 at 10:34
Is it possible to turn my whitelist stored in the database to a blacklist
stored in the database?
Original issue reported on code.google.com by [email protected]
on 2 Nov 2011 at 8:35
Minor issue, in server.cpp, std::string srv_scrape().
With log_scrape = 1 only full scrapes are logged, m_scrape_log_buffer is
missing for the multi/single scrape condition.
Original issue reported on code.google.com by [email protected]
on 9 Jan 2014 at 3:21
r2332
# ./xbt_tracker --conf_file xbt_tracker.conf
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::append
Aborted
Original issue reported on code.google.com by [email protected]
on 7 May 2012 at 4:47
i was able to edit the torrents.php file to exclude certain forums from showing
a torrent
-------------------------
$exclude_forums = '0';
-------------------------
unfortunately, the torrent still shows within a certain member's profile under
the BitTorrent tab.
is there a way to hide the torrent from being shown in one's profile the same
way i can exclude in the torrents.php file?
using vBulletin3.8.1
Original issue reported on code.google.com by [email protected]
on 2 Aug 2011 at 5:45
What steps will reproduce the problem?
1.Its not updating with sql query bt_seeders=seeders as in xbt function
2.
3.
What is the expected output? What do you see instead?
it should update with seeds leechers and copleted value
What version of the product are you using? On what operating system?
as per olaf
Please provide any additional information below.
kindlt help me
Original issue reported on code.google.com by [email protected]
on 28 Oct 2012 at 6:21
After revision "r2440" when running the command ./make.sh, gives an error
=========
In file included from connection.cpp:11:0:
connection.hpp:20:23: fatal error: request.hpp: No such file or directory
compilation terminated.
In file included from server.hpp:19:0,
from main.cpp:16:
......
......
......
==========
How to fix? All revision up to "r2441" work.
Original issue reported on code.google.com by [email protected]
on 31 Oct 2014 at 2:03
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.