Giter VIP home page Giter VIP logo

Comments (6)

enkiv2 avatar enkiv2 commented on July 30, 2024

Is this using an already-existing set of credentials created while running it in python 3?

from fern.

jfmcbrayer avatar jfmcbrayer commented on July 30, 2024

No, it happens with a freshly deleted ~/.fern directory

from fern.

enkiv2 avatar enkiv2 commented on July 30, 2024

from fern.

gustafe avatar gustafe commented on July 30, 2024

I get this error too, but with slightly different line numbers.

I tried using fern in an 80x24 window, and it failed on startup. After trying on a larger window, I was able to set up my credentials, but I get this error on both the large screen and the small. This leads me to suspect that the window size has some limits that aren't being respected when the window is the "wrong size".

image

My stacktrace:

$fern
Traceback (most recent call last):
  File "/usr/bin/fern", line 718, in main
    mainloop()
  File "/usr/bin/fern", line 673, in mainloop
    drawPanelContents(tl[tlIdx:], hlIdx)
  File "/usr/bin/fern", line 323, in drawPanelContents
    drawPanels(fillInDomain(mastodon.account_verify_credentials()["acct"]), ROWS, COLS, selectedIdx)
  File "/usr/bin/fern", line 274, in drawPanels
    drawLogo(leftPanelCols+(int(COLS-leftPanelCols)/2), int(ROWS/2))
  File "/usr/bin/fern", line 165, in drawLogo
    scr.addstr(int(i+yoffset), int(xoffset), line, curses.color_pair(menunum))
error: addstr() returned ERR
Traceback (most recent call last):
  File "/usr/bin/fern", line 726, in <module>
    main()
  File "/usr/bin/fern", line 723, in main
    raise e
error: addstr() returned ERR

from fern.

enkiv2 avatar enkiv2 commented on July 30, 2024

from fern.

enkiv2 avatar enkiv2 commented on July 30, 2024

Alright, I've fixed the handful of cases where a larger terminal size is assumed. I've tested on 80x24 but it will still fail on some smaller terminal sizes.

359e71b

from fern.

Related Issues (6)

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.