Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Error when play album #45

Open
dmaglio opened this issue Dec 1, 2017 · 10 comments
Open

Error when play album #45

dmaglio opened this issue Dec 1, 2017 · 10 comments
Labels

Comments

@dmaglio
Copy link

dmaglio commented Dec 1, 2017

File "/usr/bin/gpymusic", line 28, in <module> 
common.client.transition()
File "/usr/lib/python3.6/site-packages/gpymusic/client.py", line 57, in transition 
commands[command](arg)
File "/usr/lib/python3.6/site-packages/gpymusic/client.py", line 290, in play 
item.play()
File "/usr/lib/python3.6/site-packages/gpymusic/music_objects.py", line 237, in play 
MusicObject.play(self['songs'])
File "/usr/lib/python3.6/site-packages/gpymusic/music_objects.py", line 48, in play 
common.w.display()
File "/usr/lib/python3.6/site-packages/gpymusic/writer.py", line 287, in display 
crs.color_pair(3 if y % 2 == 0 else 4) if cl else 0)
_curses.error: addwstr() returned ERR

I have Play Music Full but when i try to play single album i have that error

@christopher-dG
Copy link
Owner

Hm, that's the writer trying to put stuff outside of your terminal window (a bug on my end). Can you try making your terminal window wider?

@dmaglio
Copy link
Author

dmaglio commented Dec 1, 2017

error.txt

@christopher-dG
Copy link
Owner

christopher-dG commented Dec 1, 2017

Hm, ok. I'll take a look when I have a chance.

@dmaglio
Copy link
Author

dmaglio commented Dec 1, 2017

sorry, that it's my output....

@christopher-dG
Copy link
Owner

From before or after trying with a wider terminal?

@dmaglio
Copy link
Author

dmaglio commented Dec 1, 2017

now i have another update... that error occure when in the album name there is a "-" or a dot. or i search "Dream Theater"....

@christopher-dG
Copy link
Owner

The contents of the album names don't (or at least, shouldn't) matter, it's just the length extending past the right edge of the terminal (and apparently not being truncated properly).

@dmaglio
Copy link
Author

dmaglio commented Dec 1, 2017

Ok. same issue if i extend my terminal between two screens (477x72)

@christopher-dG
Copy link
Owner

Hm, that really sucks. Can I get an album that this occurs on?

@dmaglio
Copy link
Author

dmaglio commented Dec 1, 2017

Jovanotti - Backup 1987-2012 or "s Dream Theater"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants