varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.2k stars 146 forks source link

TypeError: gobject variety+Util+VarietyMetadata' doesn't support property path #193

Open Seeryn opened 5 years ago

Seeryn commented 5 years ago

It downloads 1 or 2 random wallpapers and then stops even though it's configured to download every 1 min. Currently only wallhaven is selected as a source, though it happens with other sources as well. Installed all listed dependencies and built git master. Tried with packaged version 0.7.2 from the solus repo same thing happens. Am i missing something? OS: Solus WM: i3 Variety version: git master Log: variety.log

Error in log: TypeError: gobject variety+Util+VarietyMetadata' doesn't support propertypath'

peterlevi commented 5 years ago

The error in the log needs investigating, but it is not related to the behavior you see. This line explains what you observe:

INFO: 2019-07-03 23:05:06,556: download_one() 'Minimal interval between Wallhaven downloads is 1800, skip this attempt'

Variety throttles Wallhaven and most of the other image sources, or with the number of users of Variety we'll bring down their servers. If you want to download pictures more often you need to enable more sources, of different types.

Seeryn commented 5 years ago

Thanks, that makes sense, let me know if i can provide any debug info or logs for the error. Btw i also tried to do a fresh install of Solus and still get the error.

avysk commented 1 year ago

I see the same gobject error on FreeBSD 13.1. The following-like fragment is being repeated multiple times:

ERROR: 2023-01-31 11:45:51,508: write_metadata() 'Could not write metadata directly in file, trying json metadata: /home/alexey/.config/variety/Downloaded/nasa_apod/Pelican_Almeida_2000.jpg.partial'
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/variety/Util.py", line 446, in write_metadata
    m = VarietyMetadata(filename)
  File "/usr/local/lib/python3.9/site-packages/variety/Util.py", line 173, in __init__
    super(VarietyMetadata, self).__init__(path=path)
TypeError: gobject `variety+Util+VarietyMetadata' doesn't support property `path'