Comments (6)
Is this using an already-existing set of credentials created while running it in python 3?
from fern.
No, it happens with a freshly deleted ~/.fern directory
from fern.
from fern.
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".
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.
from fern.
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.
from fern.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fern.