mhsabbagh / green-recorder

A simple screen recorder for Linux desktop. Supports Wayland & Xorg
GNU General Public License v3.0
616 stars 118 forks source link

Arch, i3, wont start - folderchooser.set_uri(...) TypeError #21

Closed DoTheEvo closed 7 years ago

DoTheEvo commented 7 years ago
Traceback (most recent call last):
  File "/usr/bin/green-recorder", line 202, in <module>
    folderchooser.set_uri("file://" + VideosFolder)
TypeError: cannot concatenate 'str' and 'NoneType' objects

archlinux, installed from AUR i3wm at version 4.12 first attempt run through rofi launcher, then tried run in terminal to see whats the issue.

gort818 commented 7 years ago

Try running it with python2

DoTheEvo commented 7 years ago

like this?

nope

VideosFolder = GLib.get_user_special_dir(GLib.USER_DIRECTORY_VIDEOS) is the problem I hardcoded there some random folder on my system and it works now, I guess i3 and gi / GLib are not working as well as they could

gort818 commented 7 years ago

Hmmm. Can you confirm you have GLib installed? Maybe they don't place nice together, I will look into this.

gort818 commented 7 years ago

Just tested on arch with i3, no issues on my end.

mhsabbagh commented 7 years ago

I am gonna assume this is from the user's side then.

Thank you all.