Comments (4)
Hi,
I have just pulled and compiled a fresh copy of RTBkit and all tests are
passing. Please make sure that you do a submodule update. If that still
fails could you please post the exact command you are using?
Thanks,
Sunil
On Sat, Jun 22, 2013 at 9:27 AM, murtazavf [email protected] wrote:
Hi,
After pulling the latest files from RTB repository, rtbkit compilation got
failed on mock_exchange.cc/rtbkit/testing/mock_exchange.cc:86:1: error: ‘Stream’ in ‘struct
RTBKIT::MockExchange’ does not name a type
./rtbkit/testing/mock_exchange.cc:103:1: error: ‘Stream’ in ‘struct
RTBKIT::MockExchange’ does not name a type
./rtbkit/testing/mock_exchange.cc:112:15: error:
‘RTBKIT::MockExchange::Stream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void RTBKIT::connect()’:
./rtbkit/testing/mock_exchange.cc:115:8: error: ‘fd’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc:117:5: error: ‘fd’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc:121:33: error: ‘addr’ was not declared
in this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:132:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void
RTBKIT::sendBidRequest(const RTBKIT::BidRequest&)’:
./rtbkit/testing/mock_exchange.cc:151:24: error: ‘fd’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:166:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘std::pair > >
RTBKIT::parseResponse(const string&)’:
./rtbkit/testing/mock_exchange.cc:197:13: error: ‘struct RTBKIT::Bid’ has
no member named ‘adSpotId’
./rtbkit/testing/mock_exchange.cc:198:13: error: ‘struct RTBKIT::Bid’ has
no member named ‘maxPrice’
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:208:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘std::pair > >
RTBKIT::recvBid()’:
./rtbkit/testing/mock_exchange.cc:213:20: error: ‘fd’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:228:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘RTBKIT::BidRequest
RTBKIT::makeBidRequest()’:
./rtbkit/testing/mock_exchange.cc:247:31: error: ‘id’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc:247:47: error: ‘key’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc:247:47: note: suggested alternative:
./rtbkit/adgear-api/motrixi/../redislib/redisclient.h:185:10: note:
‘redis::key’
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:261:15: error:
‘RTBKIT::MockExchange::WinStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void RTBKIT::sendWin(const
RTBKIT::BidRequest&, const RTBKIT::Bid&, const RTBKIT::Amount&)’:
./rtbkit/testing/mock_exchange.cc:267:26: error: ‘const struct
RTBKIT::Bid’ has no member named ‘adSpotId’
./rtbkit/testing/mock_exchange.cc:272:30: error: ‘const struct
RTBKIT::Bid’ has no member named ‘bidTimestamp’
./rtbkit/testing/mock_exchange.cc:299:24: error: ‘fd’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc:309:11: error: ‘fd’ was not declared in
this scope
make: ***
[build/x86_64/obj/rtbkit/testing/mock_exchange.a3bd9b6bde15e94ebf5399d38a2148ca.lo]
Error 1Kindly tell me the solution of the issue.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/55
.
from rtbkit.
Hi,
Thank you. After having removed old mock_exchange.cc file and uploading a
new one solved the issue and stack was compiled successfully. Now another
issue has come and that is before updating when i was used to run demo
stack, mock exchange successfully showed win response but this time, demo
stack was run without any issue and the same with mock-exchange but there
is no win message even i entered budget by using the following commands:
"curl http://localhost:9985/v1/accounts
To add budget, simply do a POST request like so:
curl http://localhost:9985/v1/accounts/hello/budget -d '{ "USD/1M":
123456789000 }'
"
In addition to that when i pressed CTRL+C for exiting, during the course of
exiting each module, i saw this message:
*rtbPostAuctionService:
mtl.ip-10-253-58-253.postAuction ERR 2013-06-24 12:58:52 WinLoss pipe:
ERROR, CampaignEvent pipe: ERROR
can you please tell me the reason and the issue which is causing the above*
problem?
*Regards
*
*Murtaza
*
*
*
On Sun, Jun 23, 2013 at 10:30 PM, sunilrottoo [email protected]:
Hi,
I have just pulled and compiled a fresh copy of RTBkit and all tests are
passing. Please make sure that you do a submodule update. If that still
fails could you please post the exact command you are using?Thanks,
Sunil
On Sat, Jun 22, 2013 at 9:27 AM, murtazavf [email protected]
wrote:Hi,
After pulling the latest files from RTB repository, rtbkit compilation
got
failed on mock_exchange.cc/rtbkit/testing/mock_exchange.cc:86:1: error: ‘Stream’ in ‘struct
RTBKIT::MockExchange’ does not name a type
./rtbkit/testing/mock_exchange.cc:103:1: error: ‘Stream’ in ‘struct
RTBKIT::MockExchange’ does not name a type
./rtbkit/testing/mock_exchange.cc:112:15: error:
‘RTBKIT::MockExchange::Stream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void RTBKIT::connect()’:
./rtbkit/testing/mock_exchange.cc:115:8: error: ‘fd’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc:117:5: error: ‘fd’ was not declared in
this scope
./rtbkit/testing/mock_exchange.cc:121:33: error: ‘addr’ was not declared
in this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:132:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void
RTBKIT::sendBidRequest(const RTBKIT::BidRequest&)’:
./rtbkit/testing/mock_exchange.cc:151:24: error: ‘fd’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:166:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘std::pair > >
RTBKIT::parseResponse(const string&)’:
./rtbkit/testing/mock_exchange.cc:197:13: error: ‘struct RTBKIT::Bid’
has
no member named ‘adSpotId’
./rtbkit/testing/mock_exchange.cc:198:13: error: ‘struct RTBKIT::Bid’
has
no member named ‘maxPrice’
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:208:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘std::pair > >
RTBKIT::recvBid()’:
./rtbkit/testing/mock_exchange.cc:213:20: error: ‘fd’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:228:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘RTBKIT::BidRequest
RTBKIT::makeBidRequest()’:
./rtbkit/testing/mock_exchange.cc:247:31: error: ‘id’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc:247:47: error: ‘key’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc:247:47: note: suggested alternative:
./rtbkit/adgear-api/motrixi/../redislib/redisclient.h:185:10: note:
‘redis::key’
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:261:15: error:
‘RTBKIT::MockExchange::WinStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void
RTBKIT::sendWin(const
RTBKIT::BidRequest&, const RTBKIT::Bid&, const RTBKIT::Amount&)’:
./rtbkit/testing/mock_exchange.cc:267:26: error: ‘const struct
RTBKIT::Bid’ has no member named ‘adSpotId’
./rtbkit/testing/mock_exchange.cc:272:30: error: ‘const struct
RTBKIT::Bid’ has no member named ‘bidTimestamp’
./rtbkit/testing/mock_exchange.cc:299:24: error: ‘fd’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc:309:11: error: ‘fd’ was not declared
in
this scope
make: ***[build/x86_64/obj/rtbkit/testing/mock_exchange.a3bd9b6bde15e94ebf5399d38a2148ca.lo]
Error 1
Kindly tell me the solution of the issue.
—
Reply to this email directly or view it on GitHub<
https://github.com/rtbkit/rtbkit/issues/55>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-19877597
.
from rtbkit.
In addition to previous comment, another message is being displayed:
sent error response 400 "campaign/strategy slug has invalid ASCII code
-/45: mtl.ip-10-253-58-253.router.slaveBanker"
On Mon, Jun 24, 2013 at 6:05 PM, Murtaza Kazmi <
[email protected]> wrote:
Hi,
Thank you. After having removed old mock_exchange.cc file and uploading a
new one solved the issue and stack was compiled successfully. Now another
issue has come and that is before updating when i was used to run demo
stack, mock exchange successfully showed win response but this time, demo
stack was run without any issue and the same with mock-exchange but there
is no win message even i entered budget by using the following commands:"curl http://localhost:9985/v1/accounts
To add budget, simply do a POST request like so:
curl http://localhost:9985/v1/accounts/hello/budget -d '{ "USD/1M": 123456789000 }'
"
In addition to that when i pressed CTRL+C for exiting, during the course
of exiting each module, i saw this message:*rtbPostAuctionService:
mtl.ip-10-253-58-253.postAuction ERR 2013-06-24 12:58:52 WinLoss
pipe: ERROR, CampaignEvent pipe: ERROR
can you please tell me the reason and the issue which is causing the above
- problem?
*Regards
*
*Murtaza
*
*
*On Sun, Jun 23, 2013 at 10:30 PM, sunilrottoo [email protected]:
Hi,
I have just pulled and compiled a fresh copy of RTBkit and all tests are
passing. Please make sure that you do a submodule update. If that still
fails could you please post the exact command you are using?Thanks,
Sunil
On Sat, Jun 22, 2013 at 9:27 AM, murtazavf [email protected]
wrote:Hi,
After pulling the latest files from RTB repository, rtbkit compilation
got
failed on mock_exchange.cc/rtbkit/testing/mock_exchange.cc:86:1: error: ‘Stream’ in ‘struct
RTBKIT::MockExchange’ does not name a type
./rtbkit/testing/mock_exchange.cc:103:1: error: ‘Stream’ in ‘struct
RTBKIT::MockExchange’ does not name a type
./rtbkit/testing/mock_exchange.cc:112:15: error:
‘RTBKIT::MockExchange::Stream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void
RTBKIT::connect()’:
./rtbkit/testing/mock_exchange.cc:115:8: error: ‘fd’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc:117:5: error: ‘fd’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc:121:33: error: ‘addr’ was not
declared
in this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:132:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void
RTBKIT::sendBidRequest(const RTBKIT::BidRequest&)’:
./rtbkit/testing/mock_exchange.cc:151:24: error: ‘fd’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:166:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘std::pair > >
RTBKIT::parseResponse(const string&)’:
./rtbkit/testing/mock_exchange.cc:197:13: error: ‘struct RTBKIT::Bid’
has
no member named ‘adSpotId’
./rtbkit/testing/mock_exchange.cc:198:13: error: ‘struct RTBKIT::Bid’
has
no member named ‘maxPrice’
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:208:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘std::pair > >
RTBKIT::recvBid()’:
./rtbkit/testing/mock_exchange.cc:213:20: error: ‘fd’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:228:15: error:
‘RTBKIT::MockExchange::BidStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘RTBKIT::BidRequest
RTBKIT::makeBidRequest()’:
./rtbkit/testing/mock_exchange.cc:247:31: error: ‘id’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc:247:47: error: ‘key’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc:247:47: note: suggested alternative:
./rtbkit/adgear-api/motrixi/../redislib/redisclient.h:185:10: note:
‘redis::key’
./rtbkit/testing/mock_exchange.cc: At global scope:
./rtbkit/testing/mock_exchange.cc:261:15: error:
‘RTBKIT::MockExchange::WinStream’ has not been declared
./rtbkit/testing/mock_exchange.cc: In function ‘void
RTBKIT::sendWin(const
RTBKIT::BidRequest&, const RTBKIT::Bid&, const RTBKIT::Amount&)’:
./rtbkit/testing/mock_exchange.cc:267:26: error: ‘const struct
RTBKIT::Bid’ has no member named ‘adSpotId’
./rtbkit/testing/mock_exchange.cc:272:30: error: ‘const struct
RTBKIT::Bid’ has no member named ‘bidTimestamp’
./rtbkit/testing/mock_exchange.cc:299:24: error: ‘fd’ was not declared
in
this scope
./rtbkit/testing/mock_exchange.cc:309:11: error: ‘fd’ was not declared
in
this scope
make: ***[build/x86_64/obj/rtbkit/testing/mock_exchange.a3bd9b6bde15e94ebf5399d38a2148ca.lo]
Error 1
Kindly tell me the solution of the issue.
—
Reply to this email directly or view it on GitHub<
https://github.com/rtbkit/rtbkit/issues/55>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-19877597
.
from rtbkit.
Hi,
The issue regarding Compilation has resolved. And Slug issue went away after applying a fix given By Mr. Adnan Khan by changing account_key.cc line 25:
from
" if (c != '_' && c != '.' && !isalnum(c)) "
to
" if (c != '-' && c != '_' && c != '.' && !isalnum(c)) "
Regards
Murtaza
from rtbkit.
Related Issues (20)
- Question on installing on ubuntu 14
- Error compiling on ubuntu 14 HOT 15
- which is stable version ? HOT 3
- Error on Protobuf ubuntu 14 HOT 3
- Issues running http bidder HOT 3
- Post Auction service crashes when agent configuration payload is wrong
- No bid price for go plugin to httpinterface HOT 3
- Proposal to make three pull requests HOT 2
- Trouble with zookeeper HOT 1
- error 3) Building RTBkit. file not found HOT 4
- ubuntu 14. zookeeper/zookeeper.h: No such file or directory HOT 4
- Problem with test suite - variadic_hash_test
- how to setup filters in augmentor
- rtbkit static linking.
- error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
- Vague installation Instructions HOT 1
- Makefile installation has gone stale
- Can i run this demo stack on local (sufficient disk space available) say windows 8 or 10 ? HOT 6
- Is Exchange connector available for triton Digital's audio ad exchange, a2x
- Possible exposed AWS Key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtbkit.