Code Monkey home page Code Monkey logo

Comments (4)

whitslack avatar whitslack commented on August 14, 2024

At commit 2670279.

Perhaps this is a clue. I had an unhandled error (Issue #16), and after exiting and restarting lbrynet-console, I ran into this issue again.

> Unhandled Error
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 84, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 611, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/lib64/python2.7/site-packages/twisted/internet/udp.py", line 248, in doRead
    self.protocol.datagramReceived(data, addr)
  File "/usr/lib64/python2.7/site-packages/lbrynet/dht/protocol.py", line 114, in datagramReceived
    message = self._translator.fromPrimitive(msgPrimitive)
  File "/usr/lib64/python2.7/site-packages/lbrynet/dht/msgformat.py", line 46, in fromPrimitive
    msgType = msgPrimitive[self.headerType]
exceptions.TypeError: 'NoneType' object has no attribute '__getitem__'


> exit
Shutting down.
lbry@Crushinator ~ $ lbrynet-console 
Loading databases...
Databases loaded.
Loading the wallet...
Catching up to the blockchain...showing blocks left...
2695...
2267...
2268...
2268...
2268...
2268...
2268...
2268...
2269...
^C

from lbry-sdk.

jackrobison avatar jackrobison commented on August 14, 2024

Was this fixed by deleting blockchain_headers in the lbryum directory?

from lbry-sdk.

whitslack avatar whitslack commented on August 14, 2024

That did work last time. This time I just kept killing and restarting lbrynet-console to catch it up.

I just did it again:

lbry@Crushinator ~ $ lbrynet-console 
Loading databases...
Databases loaded.
Loading the wallet...
Catching up to the blockchain...showing blocks left...
2397...
1698...
1698...
1698...
^Clbry@Crushinator ~ $ lbrynet-console 
Loading databases...
Databases loaded.
Loading the wallet...
Catching up to the blockchain...showing blocks left...
1698...
978...
978...
978...
^Clbry@Crushinator ~ $ lbrynet-console 
Loading databases...
Databases loaded.
Loading the wallet...
Catching up to the blockchain...showing blocks left...
979...
259...
259...
259...
^Clbry@Crushinator ~ $ lbrynet-console 
Loading databases...
Databases loaded.
Loading the wallet...
Catching up to the blockchain...showing blocks left...
260...
All caught up. Wallet loaded.

You should have received 1000 LBC the first time you ran
this program. If you did not, let us know! But first give
them a moment to show up. The block time is currently 30                                                                            
seconds so they should show up within a couple of minutes.                                                                          

Welcome to lbrynet-console!                                                                                                         

Enter a command. Try 'get wonderfullife' or 'help' to see more options.
> 

from lbry-sdk.

lyoshenka avatar lyoshenka commented on August 14, 2024

closing because I believe its fixed. please reopen if this still happens in the latest version (0.3.5 or higher)

from lbry-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.