MohamedTaharHAMMI / BubblesOfTrust-BBTrust-

Other
20 stars 9 forks source link

Getting an Error while creating smart contract: QJsonValue(string, "Connection refused") #1

Open tanujsinghkushwah opened 5 years ago

tanujsinghkushwah commented 5 years ago

QJsonrpc not working properly while running ./Diaries.

Terminal: $ ./Diaries QJsonValue(string, "Connection refused") Error:Blockchain::Blockchain, getCoinbaseFromTheBlockChain call failed

mhadikazemian commented 5 years ago

Did you find any solution for this?

tanujsinghkushwah commented 5 years ago

Nope, not till now.

On Sat 26 Oct, 2019, 2:24 AM mhadikazemian, notifications@github.com wrote:

Did you find any solution for this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MohamedTaharHAMMI/BubblesOfTrust-BBTrust-/issues/1?email_source=notifications&email_token=AH3KDPPMLKDOTKEPSOFF56TQQNMKHA5CNFSM4H3ZT6P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECJRKRI#issuecomment-546510149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH3KDPMS3DCPBUSIX3L6DD3QQNMKHANCNFSM4H3ZT6PQ .

MohamedTaharHAMMI commented 5 years ago
mhadikazemian commented 4 years ago
  • Are you sure that you installed well "qjsonrpc: https://bitbucket.org/devonit/qjsonrpc" ?
  • Also, you have to check if the files paths are correct or not. For example in Blockchain.cpp :

    define CONTRACT_PATH "/home/mohamed/THESE/Journal/Implementation/BCTrustV2/contracts/BCTrustV2.sol" MUST be replaced by a correct file_path.

Thanks for your response.

When I click on the "Start the blockchain contract" button in the MainWindow I see "eth_coinbase" and "eth_compileSolidity" on the testrpc terminal window and I see "QJsonValue(undefined)" on the ./Diaries terminal window and the "MainWindow" disappears.

I appreciate it if you could tell me what I am doing wrong?

mhadikazemian commented 4 years ago

To be sure about files paths, I even changed everything (computer name, folders names, etc) to the exact things that you showed in the video.

PLEASE HELP!!! THIS IS VERY IMPORTANT TO ME...

tanujsinghkushwah commented 4 years ago

Give me some time. I have to set-up all the things again on my end as I was working on this project during my summer intern. I'll get back to you ASAP.

On Sat 2 Nov, 2019, 9:49 AM mhadikazemian, notifications@github.com wrote:

To be sure about files paths, I even changed everything (computer name, folders names, etc) to the exact things that you showed in the video.

PLEASE HELP!!! THIS IS VERY IMPORTANT TO ME...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MohamedTaharHAMMI/BubblesOfTrust-BBTrust-/issues/1?email_source=notifications&email_token=AH3KDPK4FPN6R3UA62ZI3TLQRT5U7A5CNFSM4H3ZT6P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC4TNUQ#issuecomment-549009106, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH3KDPNF46ZJ6O2JYNQ2CE3QRT5U7ANCNFSM4H3ZT6PQ .

mhadikazemian commented 4 years ago

Give me some time. I have to set-up all the things again on my end as I was working on this project during my summer intern. I'll get back to you ASAP. On Sat 2 Nov, 2019, 9:49 AM mhadikazemian, @.***> wrote: To be sure about files paths, I even changed everything (computer name, folders names, etc) to the exact things that you showed in the video. PLEASE HELP!!! THIS IS VERY IMPORTANT TO ME... — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#1?email_source=notifications&email_token=AH3KDPK4FPN6R3UA62ZI3TLQRT5U7A5CNFSM4H3ZT6P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC4TNUQ#issuecomment-549009106>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH3KDPNF46ZJ6O2JYNQ2CE3QRT5U7ANCNFSM4H3ZT6PQ .

Thank you.

MohamedTaharHAMMI commented 4 years ago

Hello mhadikazemian, It seems that you well installed the packages. The RPC communication and the BCTrust are correctly executed otherwise you can not get "eth_compile". Did you change the .sol file (this can happen when you add a space character) !!

mhadikazemian commented 4 years ago

Hello mhadikazemian, It seems that you well installed the packages. The RPC communication and the BCTrust are correctly executed otherwise you can not get "eth_compile". Did you change the .sol file (this can happen when you add a space character) !!

Thanks for your reply. No, as far as I know, I have not even changed a space.