kanishka-linux / kawaii-player

Multimedia player, media library manager and portable media server with PC-To-PC casting feature.
GNU General Public License v3.0
617 stars 44 forks source link

$DESKTOP_SESSION not set resulting in "AttributeError: 'NoneType' object has no attribute 'lower'" #10

Closed daniel-Jones closed 7 years ago

daniel-Jones commented 7 years ago

$DESKTOP_SESSION isn't set within my environment, resulting in the error:

File "/usr/share/kawaii-player/stylesheet.py", line 13, in init desktop_session = desktop_session.lower() AttributeError: 'NoneType' object has no attribute 'lower'

Temporarily bypassed by removing the if/else line 11-15, replacing it with desktop_session = 'lxde' (create a default case if NoneType).

Distro: Arch wm: i3

kanishka-linux commented 7 years ago

thanks, fixed!

kanishka-linux commented 7 years ago

By the way is there any issue adding media, as mentioned in the e-mail? You just have to add library and update the collection.

daniel-Jones commented 7 years ago

haha nah I had figured it out shortly after opening the ticket, UI is just slightly confusing initially. Cheers.

kanishka-linux commented 7 years ago

ok great then. I hope you'll enjoy the program.