gpymusic icon indicating copy to clipboard operation
gpymusic copied to clipboard

Error when play album

Open dmaglio opened this issue 7 years ago • 10 comments

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

dmaglio avatar Dec 01 '17 11:12 dmaglio

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?

christopher-dG avatar Dec 01 '17 11:12 christopher-dG

error.txt

dmaglio avatar Dec 01 '17 11:12 dmaglio

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

christopher-dG avatar Dec 01 '17 11:12 christopher-dG

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

dmaglio avatar Dec 01 '17 11:12 dmaglio

From before or after trying with a wider terminal?

christopher-dG avatar Dec 01 '17 11:12 christopher-dG

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

dmaglio avatar Dec 01 '17 11:12 dmaglio

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).

christopher-dG avatar Dec 01 '17 12:12 christopher-dG

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

dmaglio avatar Dec 01 '17 12:12 dmaglio

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

christopher-dG avatar Dec 01 '17 12:12 christopher-dG

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

dmaglio avatar Dec 01 '17 12:12 dmaglio