<stellar-slack> <zhima2006> the error is "<Expression success="false" filename="..\..\src\history\HistoryTests.cpp" line="648">"
<stellar-slack> <zhima2006> what's the running path for stellar-core
<stellar-slack> <zhima2006> my windows path is "C:\stellar-core-master\Builds\VisualStudio2015\x64\Debug "
<stellar-slack> <zhima2006> HistoryTest.cpp is located in "C:\stellar-core-master\src\history\HistoryTests.cpp"
<stellar-slack> <jed> I doubt it is a path issue. let me look
<stellar-slack> <jed> zhima2006 I think it is probably an issue with postgres. Do you have it installed there?
<stellar-slack> <zhima2006> yes
<stellar-slack> <sacarlson> on Linux Ubuntu
<stellar-slack> <sacarlson> I think it might want a config file
<stellar-slack> <jed> doesn't need a .cfg file
<stellar-slack> <monsieurnicolas> @zhima2006: try to run this test stellar-core --test "postgres smoketest"
<stellar-slack> <sacarlson> so I guess that normal
<stellar-slack> <sacarlson> not your smoke test just me looking in the test log
<stellar-slack> <monsieurnicolas> yeah if you go the manual route, you need to create a bunch of test databases (I think in the readme we say 8). On Linux you should just use selftest-pg
<stellar-slack> <monsieurnicolas> and 8) is really 8 )
<stellar-slack> <sacarlson> well it works fine with this error so go with it
<stellar-slack> <monsieurnicolas> this is from negative tests, they don't matter
<stellar-slack> <zhima2006> ..\..\src\ledger\LedgerTests.cpp(43): FAILED: due to unexpected exception with message: Cannot establish connection to the database. fe_sendauth: no password supplied
<stellar-slack> <zhima2006> running result for "stellar-core --test "single ledger entry insert SQL""
<stellar-slack> <sacarlson> I think at some point when I used pg I setup with no password
<stellar-slack> <sacarlson> but now I'm using sqlite
<stellar-slack> <zhima2006> how to switch to sqlite?
<stellar-slack> <sacarlson> when run with config file you setup a line to use sqlite. I've never ran these tests
<stellar-slack> <sacarlson> but if your going to be running horizon you will probly need postgress
<stellar-slack> <sacarlson> DATABASE="sqlite3://stellar.db"
<stellar-slack> <zhima2006> even I put stellar-core.cfg there, with Database to sqlite, it looks it still try to connect to postgress
<stellar-slack> <jed> Yeah the .cfg is not used for tests
<stellar-slack> <zhima2006> so what's the next? I guess most people use Ubuntu instead of Windows, so they don't have those issue?
<stellar-slack> <jed> I'm sure it is working fine you just have issues with your postgres install
<stellar-slack> <zhima2006> when install postgres, do I need set password?
<stellar-slack> <sacarlson> that would probly be normal to setup a password yes
<stellar-slack> <zhima2006> if there is a password and when run the test, there is no way to input password, how come it can connect to postgres?
<stellar-slack> <sacarlson> how do you know it connects to postgres?
<stellar-slack> <sacarlson> skip the tests just see if it runs and syncs. might try first in sqlite3 mode if that works setup pg
<stellar-slack> <zhima2006> as I run "stellar-core --test "single ledger entry insert SQL"
<stellar-slack> <sacarlson> in looking at the tests it looks like test defaults to sqlite mode
<stellar-slack> <sacarlson> sqlite doesn't use passwords
<stellar-slack> <zhima2006> 2015-12-10T17:49:12.814 test [Database INFO ] Connecting to: postgresql://dbna me=test0
<stellar-slack> <zhima2006> it shows in the log
<stellar-slack> <sacarlson> ok in that case I guess the test expects a pg with no password or it has a hardcoded one
<stellar-slack> <zhima2006> how come in you case it connect to sqlite?
<stellar-slack> <zhima2006> where is the config?
<stellar-slack> <sacarlson> I didn't run your "single ledger entry inser SQL"
<stellar-slack> <sacarlson> the config is any place you put it. you point to it on the command line
<stellar-slack> <sacarlson> these are the config files and stripts I use to start up stellar-core https://github.com/sacarlson/stellar_utility/tree/master/stellar-db-testnet
<stellar-slack> <sacarlson> in testnet mode using sqlite
<stellar-slack> <sacarlson> you would need to modify the command line to suit windows file path structure
<stellar-slack> <zhima2006> thanks, I will re-install postgres
<stellar-slack> <sacarlson> what exactly do you plan to do in windows that would require postgres?
<stellar-slack> <zhima2006> it's the requirement in install-windows.txt
<stellar-slack> <zhima2006> Download and install PostgreSQL 9.4.1 from http://www.postgresql.org/download/windows/
<stellar-slack> <sacarlson> IC
<stellar-slack> <zhima2006> on Windows I can install one of MinGW or cygwin, right?
<stellar-slack> <sacarlson> I think I would try vertualbox with linux Ubuntu or Lubuntu if your just expermenting as most of the docs are written to support linux on the server side. But it's also good someone is trying it on windows as you are one of the few
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #stellar-dev
<stellar-slack> <zhima2006> <Exception filename="..\..\src\history\HistoryTests.cpp" line="648"> Cannot establish connection to the database. fe_sendauth: no password supplied /Exception
<stellar-slack> <zhima2006> anyone know where can I set password for postgres during test?
<stellar-slack> <sacarlson> how about just skip test and try run it
<stellar-slack> <sacarlson> with configs
<stellar-slack> <sacarlson> stellar-core -conf c:/path_to_config/config.cfg -newdb
<stellar-slack> <zhima2006> do I need run travis-build.sh before testing, it looks it's for linux
de_henne has joined #stellar-dev
<stellar-slack> <sacarlson> never used it
<stellar-slack> <sacarlson> I can't find many of my notes on postgress as I've used it very little on stellar
<stellar-slack> <sacarlson> a few notes from when I setup horizon https://github.com/sacarlson/stellar_utility/blob/master/docs/preinstall_stellar_horizon.txt
<stellar-slack> <sacarlson> that required pg
<stellar-slack> <zhima2006> thanks, I will try it
<stellar-slack> <zhima2006> I believe it solved as it has passed one.
<stellar-slack> <zhima2006> there is a flag --USE_POSTGRES
<stellar-slack> <zhima2006> remove that one then it switch to sqlite
<stellar-slack> <sacarlson> remove it from what?
<stellar-slack> <sacarlson> it's not in my config file
<stellar-slack> <zhima2006> remove preprocessor definition ---USE_POSTGRES
<stellar-slack> <sacarlson> maybe at compile time?
<stellar-slack> <zhima2006> it's in stellar-core.vcxproj,
<stellar-slack> <zhima2006> still got failed on 2, previous it 6 failed
<stellar-slack> <zhima2006> ..\..\src\overlay\FloodTests.cpp(322): FAILED: {Unknown expression after the reported line} due to unexpected exception with message: Simulation timed out
<stellar-slack> <jed> zhima2006: what are you trying to do?
<stellar-slack> <zhima2006> I run the test "stellar-core --test"
<stellar-slack> <jed> no I mean after that
<stellar-slack> <jed> what are you wanting to do with stellar-core?
<stellar-slack> <zhima2006> I want to use it to build wallets
<stellar-slack> <zhima2006> so it can transfer money
<stellar-slack> <jed> a local wallet or a webbased one?
<stellar-slack> <zhima2006> webbased
<stellar-slack> <jed> so you don't really need to run stellar-core for that. You cna just connect to our instance of horizon
<stellar-slack> <jed> once the wallet is running you can switch to your own stellar-core.
<stellar-slack> <zhima2006> I need make sure stellar-core is stable enough
<stellar-slack> <zhima2006> what's local wallet mean?
<stellar-slack> <jed> ok well the stellar-core you have built works. You should connect it to the testnet.
<stellar-slack> <jed> local as in not web based but just some binary on your machine
<stellar-slack> <zhima2006> any idea why flooding test failed?
<stellar-slack> <jed> probably just timed out
<stellar-slack> <zhima2006> I will trace the code tomorrow, thanks
<stellar-slack> <jed> that test will probably pass in the release build
<stellar-slack> <jed> debug build is significantly slower on windows
bit2017 has joined #stellar-dev
koolhead17 has joined #stellar-dev
koolhead17 has joined #stellar-dev
koolhead17 has quit [Remote host closed the connection]
bit2017 has quit [Ping timeout: 272 seconds]
stellar-slack has quit [Ping timeout: 250 seconds]
stellar-slack has joined #stellar-dev
koolhead17 has joined #stellar-dev
koolhead17 has quit [Changing host]
koolhead17 has joined #stellar-dev
koolhead17 has quit [Remote host closed the connection]
koolhead17 has joined #stellar-dev
<stellar-slack> <lab> is pr #946 fixing issue #931? @monsieurnicolas
stellar-slack1 has joined #stellar-dev
stellar-slack has quit [Ping timeout: 240 seconds]
koolhead17 has quit [Remote host closed the connection]
pixelbeat has joined #stellar-dev
<stellar-slack1> <monsieurnicolas> @lab no the changes are more related to how we process messages (in which order to be exact) when we join the network. Maybe https://github.com/stellar/stellar-core/pull/951 will at least make it easier to understand though
koolhead17 has joined #stellar-dev
koolhead17 has joined #stellar-dev
koolhead17 has quit [Changing host]
<stellar-slack1> <richiela> does anyone know how other exchanges are handling deposits?
<stellar-slack1> <richiela> is there an ID field or something that others are using instead of the memo field?
<stellar-slack1> <jed> everyone is using memo afaik. what is wrong with the memo field?
<stellar-slack1> <richiela> nothing.. we have a ticket from someone depositing to polo that said we need to use id or something
<stellar-slack1> <bartek> there are different types of memo: MEMO_ID (number), MEMO_TEXT (string), MEMO_HASH (32 bytes)
<stellar-slack1> <bartek> (and MEMO_RETURN for designed for returns)
<stellar-slack1> <bartek> check this article: https://www.stellar.org/developers/learn/concepts/transactions.html
<stellar-slack1> <richiela> let me get this specific ticket
<stellar-slack1> <richiela> maybe their support is just wonky.. sec
<stellar-slack1> <richiela> oh man.. nm i see
<stellar-slack1> <richiela> Your deposit was sent with a text memo instead of a numeric memo (or, Memo.text instead of Memo.id). Please be sure to use the Memo.id type when sending STR deposits. I have inserted your deposit manually into your account.
<stellar-slack1> <richiela> we're using diff memo types ;(
<stellar-slack1> <bartek> so this person was withdrawing from bittrex to poloniex directly?
<stellar-slack1> <richiela> yes.
<stellar-slack1> <richiela> we can't withdraw to each other right now
<stellar-slack1> <richiela> they only support ID inbound and outbound
<stellar-slack1> <richiela> and we send out as memo.text
<stellar-slack1> <richiela> and our tags are alphanumeric
koolhead17 has quit [Remote host closed the connection]
pixelbeat has quit [Ping timeout: 256 seconds]
de_henne has quit [Ping timeout: 246 seconds]
de_henne has joined #stellar-dev
pixelbeat has joined #stellar-dev
pixelbeat has quit [Ping timeout: 240 seconds]