trolster / urcli

CLI tool for the Udacity Reviews API
MIT License
100 stars 23 forks source link

reports are truncated #103

Closed giladgressel closed 7 years ago

giladgressel commented 7 years ago

I run urcli certs and I get the start of the report, but it doesn't show the whole thing. see my attached screen.

It shows me 2 projects, but in reality I have 8(ish) that I'm certified for.

Also I get similar behavior for urcli revenue , part of the report shows up -- but not all of it. Sometimes I can get around that one by resizing my window and making it really big.

How can the urcli team reproduce the problem?

I'm not sure you can...

supporting information:

gabraganca commented 7 years ago

Hi, @giladgressel. Thanks for reporting. Let me try to understand it. How many projects should be showing on the certs table? I want to know if this is an issue of how the table is made or with something else.

Also, could you update to the last version and test it?

giladgressel commented 7 years ago

sure I'll update, hang on, will update this in a few minutes

Ok, now I've got urcli -v 4.0.13

same results though

So it should a table with 8 projects -- sorry that wasn't clear. I'm certified for 8 I think.

gabraganca commented 7 years ago

Could you check if the file .urcli/config.json in your home directory contains just these two projects or if it has all of them?

giladgressel commented 7 years ago

it's got all of them

9 total

trolster commented 7 years ago

Looks like it might be an issue with the terminal. You could try installing iTerm2 to check if that fixes the problem: https://www.iterm2.com/.

giladgressel commented 7 years ago

sigh, unfortunately it's not a terminal problem. iterm2 has the exact same behavior 😞 . Also worth noting, same terminal shows urcli certs perfectly when I run it from my ec2 instance. So it's probably related to my local system setup somehow

trolster commented 7 years ago

Yeah, I'm stumped. Could you try upgrading node? Looks like you are on 6.0.0. That might be the issue. You should probably upgrade to version 8, but at least version v6.11.2.

giladgressel commented 7 years ago

HEY!
brew upgrade node got me to version 8 and it's fixed! nice WOW it even fixed my esc key problem from way back when.!

trolster commented 7 years ago

Awesome! Glad to hear it.