Pages:
Author

Topic: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff - page 12. (Read 220986 times)

newbie
Activity: 1
Merit: 0
I'm loading Abe with the bitcoin blockchain into Abe using postgres, but it quits at the same point every time with an error.

I've tried running Abe with "--rescan" and it quits at the same point. I also ran "bitcoind -reindex" to reindex my copy of the blockchain, but Abe still quits at the same block.

Short of dropping the database and starting over, does anyone have any other suggestions?

The error message is:
Quote
InternalError: right sibling's left-link doesn't match: block 54203 links to 247894 instead of expected 123135 in index "tx_tx_hash_key"

The full error output is:
Code:
$ python -m Abe.abe --config .abe/abe.conf --commit-bytes 100000 --no-serve
no chain_id
catch_up_rpc: abort
Opened /home/user/.bitcoin/blocks/blk00055.dat
Exception at 49123557
Failed to catch up {'blkfile_offset': 49065373, 'blkfile_number': 100055, 'chain_id': None, 'loader': None, 'dirname': '/home/user/.bitcoin', 'id': Decimal('1')}
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2518, in catch_up
    store.catch_up_dir(dircfg)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2778, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2910, in import_blkdat
    store.import_block(b, chain = chain)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 1054, in import_block
    tx['tx_id'] = store.import_tx(tx, pos == 0, chain)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 1785, in import_tx
    store.intin(tx['lockTime']), tx['size']))
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 250, in sql
    store._sql.sql(stmt, params)
  File "/usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py", line 457, in sql
    sql._execute(cached, params)
  File "/usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py", line 438, in _execute
    sql.cursor().execute(stmt, params)
InternalError: right sibling's left-link doesn't match: block 54203 links to 247894 instead of expected 123135 in index "tx_tx_hash_key"
sr. member
Activity: 322
Merit: 250
Credits CRD 1st Decentralized Exchange coin
+1 have the same issue.

Hi, every once in a while my abe gets stuck on a http request and to unstuck it I have to attach to screen and control+c it, any idea how to get around this ?
sr. member
Activity: 322
Merit: 250
Hi, every once in a while my abe gets stuck on a http request and to unstuck it I have to attach to screen and control+c it, any idea how to get around this ?
donator
Activity: 2772
Merit: 1019
donator
Activity: 543
Merit: 500
Is there any support for collecting data about "entities" planned? I.e. knowing which addresses belong - possibly - to the same person/company.
sr. member
Activity: 504
Merit: 250
I'm trying to set a new block explorer... Abe reads the blockchain fine and loaded the database without a itch.

I get an error when I try to access the block details page.  Any other page loads fine. I use FastCGI

here's the error (last call)

Code:
is_stake_block undefined, is_stake_chain = True, b = {'chain_candidates': [{'chain': , 'in_longest': Decimal('1')}], 'chain_satoshi_seconds': 2517292340726300000000L, 'chain_satoshis': 3342705000000000, 'chain_work': 13618916087790469, 'fees': 57000, 'generated': 5000000000, 'hash': '00000000001930548377e3e15c927d8d79278cb8ba53b1d015468609e3085b13', 'hashMerkleRoot': '36f8065b8c6c95b37c426fbf95bb0bcf98dc04817de8257ffd624d8311cb2603', 'hashPrev': '000000000141a8721757560bb837c6d7be9aa85cf5333bfeaff2602c9d9a1d7a', 'height': Decimal('12441'), ...}
: 'is_proof_of_stake'
      args = ('is_proof_of_stake',)
      message = 'is_proof_of_stake'


Never saw this message before, what does it mean?

Thanks

EDIT: from what I understand, Abe test for the block to see if it's proof-of-stake...

EDIT: I used an older version of abe.py and the error went away. Still any clues on why I get this error would be appreciated Smiley

I made a VeriCoin block explorer (http://blocks.vericoin.info) which is a NovaCoin deriv. and am getting the same error as you. Could you pastebin your abe.py file? Thanks!

I see you got it fixed... did you find the bug or just used an older abe.py file?

I ended up removing some code that was getting called to be displayed on the pages. I forget which honestly, but I can push my version to git and compare.
newbie
Activity: 28
Merit: 0
hey! OPEC Coin needs Abe block explorer to be more transparent!

We are announcing bounty of 20,000 OPC for setting up Abe block explorer (we can provide you with VPS if needed)

PM me if interested!

Thanks!
newbie
Activity: 3
Merit: 0
Whatever address I'm providing to check balance, it is saying "Address not seen on the network.", though blockchain.info is perfectly showing its balance.

Now in demo are block to 2013-09-06 13:40:54 .

If you want try http://bitcoin-abe.info/address/1PWC7PNHL1SgvZaN7xEtygenKjWobWsCuf it is Bitcoin-Abe donate address.
Soon in demo will be all blocks from bitcoin, litecoin and namecoin.

Thk & B'rgds
Coinwall
legendary
Activity: 2394
Merit: 1216
The revolution will be digital
Public demo -> http://bitcoin-abe.info

Thk & B'rgds
Coinwall

Whatever address I'm providing to check balance, it is saying "Address not seen on the network.", though blockchain.info is perfectly showing its balance.
newbie
Activity: 3
Merit: 0
Public demo -> http://bitcoin-abe.info

Thk & B'rgds
Coinwall
legendary
Activity: 2394
Merit: 1216
The revolution will be digital
Quote

I can see the Demonstration site is down. Does the Source code on Github still work ? Can I run it on a semi-dedicated shared hosting where I get 30 GB disk space, 350 GB BW per month and can have 250 000 MySQL queries per hour ?
sr. member
Activity: 504
Merit: 254
I have a question, The new Abe database schema added a bunch of binary columns to tx, block and key hashes.  What kind of performance increase does that give us?
sr. member
Activity: 504
Merit: 254
sr. member
Activity: 504
Merit: 254
I'm trying to set a new block explorer... Abe reads the blockchain fine and loaded the database without a itch.

I get an error when I try to access the block details page.  Any other page loads fine. I use FastCGI

here's the error (last call)

Code:
is_stake_block undefined, is_stake_chain = True, b = {'chain_candidates': [{'chain': , 'in_longest': Decimal('1')}], 'chain_satoshi_seconds': 2517292340726300000000L, 'chain_satoshis': 3342705000000000, 'chain_work': 13618916087790469, 'fees': 57000, 'generated': 5000000000, 'hash': '00000000001930548377e3e15c927d8d79278cb8ba53b1d015468609e3085b13', 'hashMerkleRoot': '36f8065b8c6c95b37c426fbf95bb0bcf98dc04817de8257ffd624d8311cb2603', 'hashPrev': '000000000141a8721757560bb837c6d7be9aa85cf5333bfeaff2602c9d9a1d7a', 'height': Decimal('12441'), ...}
: 'is_proof_of_stake'
      args = ('is_proof_of_stake',)
      message = 'is_proof_of_stake'


Never saw this message before, what does it mean?

Thanks

EDIT: from what I understand, Abe test for the block to see if it's proof-of-stake...

EDIT: I used an older version of abe.py and the error went away. Still any clues on why I get this error would be appreciated Smiley

I made a VeriCoin block explorer (http://blocks.vericoin.info) which is a NovaCoin deriv. and am getting the same error as you. Could you pastebin your abe.py file? Thanks!

I see you got it fixed... did you find the bug or just used an older abe.py file?
sr. member
Activity: 504
Merit: 254
full member
Activity: 168
Merit: 100
Hi everyone, Are you facing any instability in your block explorer installation with the new design at https://github.com/bitcoin-abe/bitcoin-abe/tree/geekz-patch-1 ?

I had pushed/published the new design for ABE , you can view it at https://github.com/bitcoin-abe/bitcoin-abe/tree/geekz-patch-1 . But I myself have not been able to get stable performance using it.
Currently i am using digitalocean instance with 2GB RAM for site at http://ancblockchain.com and the site is not stable.  
This can also because of hosting provider.  Can anyone please suggest me a good hosting provider?

Please help me friends.
I would be able to push/publish more new features in Abe Explorer, for the benefit of community. But i need to get it working properly.   Huh Huh

Hi geekz,

I am Dev of Magicoin, and we have a dedicated server available. I think you did a very good & nice block explorer. Magicoin's explorer benefits very much from your work too. For this, I will be happy to provid a host for you either for test purpose or for long-term hosting. PM for discussion if you are interested.
newbie
Activity: 3
Merit: 0
Hello,

I have three issue's with ABE.
And I will Pay 0.25 btc for solve each.

First:
Code:
Opened /home/adbeloader/.feathercoin/blocks/blk00000.dat
Exception at 8
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 100000, 'chain_id': 22, 'loader': None, 'conf': u'feathercoin.conf', 'dirname': u'/home/adbeloader/.feathercoin', 'id': 72L}
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2507, in catch_up
store.catch_up_dir(dircfg)
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2773, in catch_up_dir
store.import_blkdat(dircfg, ds, blkfile['name'])
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2894, in import_blkdat
if not store.offer_existing_block(hash, chain.id):
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2389, in offer_existing_block
store.offer_block_to_chains(b, frozenset([chain_id]))
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2271, in offer_block_to_chains
b['top'] = store.adopt_orphans(b, 0, chain_ids, chain_ids)
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 1291, in adopt_orphans
stack.pop()()
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 1296, in doit
store._adopt_orphans_1(stack)
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 1407, in _adopt_orphans_1
store._populate_block_txin(int(next_id))
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 1240, in _populate_block_txin
(block_id, txin_id, oblock_id))
File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 249, in sql
store._sql.sql(stmt, params)
File "/usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py", line 458, in sql
sql._execute(cached, params)
File "/usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py", line 439, in _execute
sql.cursor().execute(stmt, params)
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1062, "Duplicate entry '1617197-10493495' for key 'PRIMARY'")

My config:

datadir += [{
"dirname": "/home/adbeloader/.feathercoin",
"chain": "FeatherCoin",
"code3": "FTC",
"loader" : "blkfile",
"conf": "feathercoin.conf" }]

Second:

Code:
Exception at 2605896434586747018
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 29, 'loader': None, 'conf': u'blackcoin.conf', 'dirname': u'/home/adbeloader/.blackcoin', 'id': 114L}
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2507, in catch_up
    store.catch_up_dir(dircfg)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2773, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2895, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "/usr/local/lib/python2.7/dist-packages/Abe/Chain.py", line 93, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "/usr/local/lib/python2.7/dist-packages/Abe/Chain.py", line 86, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "/usr/local/lib/python2.7/dist-packages/Abe/deserialize.py", line 90, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "/usr/local/lib/python2.7/dist-packages/Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "/usr/local/lib/python2.7/dist-packages/Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('  File "/usr/local/lib/python2.7/dist-packages/Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

Config
#17 ## BlackCoin
datadir += [{
        "dirname": "/home/adbeloader/.blackcoin",
        "chain": "Blackcoin",
        "conf": "blackcoin.conf" }]

Third:
Code:
Opened /home/adbeloader/.hawaiicoin/blocks/blk00000.dat
incomplete block of length 1016530668 chain 16

#17 ## BlackCoin
datadir += [{
        "dirname": "/home/adbeloader/.hawaiicoin",
        "chain": "Hawaiicoin",
        "conf": "hawaiicoin.conf" }]

Thk & B'rgds
Coinwall
full member
Activity: 189
Merit: 100
जगत् िमत
Finally , found the issue.
I had created sitemaps for the site , so that google can crawl the site.
But google started sending multiple requests per second to the site. And the site was not able to handle it.
Finally fixed it by requesting google to reduce crawl rate also increased maxconnection in apache configurations.  So, things are looking more stable now.  

Hurrey!  Smiley Smiley
newbie
Activity: 28
Merit: 0
Hello!

OPEC Coin needs a blockexplorer from launch (countdown)

Here's OPEC Coin thread https://bitcointalksearch.org/topic/c-q-o-annopc-opec-coin-pos-stage-2-per-month-tipbot-here-633593

We've got a 2500 OPC bounty for setting up blockexplorer!

Please PM me if interested to reserve this bounty!

Thanks!
full member
Activity: 189
Merit: 100
जगत् िमत
Important change to be done to display correct address value in transaction pages , for new eXplorer theme design of Abe:

Visit this link to see the change https://github.com/geekz/bitcoin-abe/commit/f2cce3e6ff020b2655195e73e7a72824bf42bf50

In line number 744 , inside the function row_to_transaction function, you have the following.
Code:
                  body += hash_to_address_link(chain.address_version,row['binaddr'], '../')

Change the above mentioned line to

Code:
                body += abe.format_addresses(row, '../', chain)
Pages:
Jump to: