santiagotorres / bg_daemon Goto Github PK
View Code? Open in Web Editor NEWAn extensible python set of classes to update your background images.
License: GNU General Public License v2.0
An extensible python set of classes to update your background images.
License: GNU General Public License v2.0
See discussion in #1
It would be great ๐ if there was an option to run all the fetched images through Google's Deep Dream processing.
I tried changing the name of the subreddit to spaceporn
and the following exception showed up:
yoshikivazquezbaeza:~$ background_daemon.py
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/background_daemon.py", line 4, in <module>
__import__('pkg_resources').run_script('bg-daemon==0.0.1', 'background_daemon.py')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 517, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 1443, in run_script
exec(script_code, namespace, namespace)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bg_daemon-0.0.1-py2.7.egg/EGG-INFO/scripts/background_daemon.py", line 240, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bg_daemon-0.0.1-py2.7.egg/EGG-INFO/scripts/background_daemon.py", line 196, in poll
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bg_daemon-0.0.1-py2.7.egg/EGG-INFO/scripts/background_daemon.py", line 128, in update
File "build/bdist.macosx-10.6-intel/egg/bg_daemon/fetchers/imgurfetcher.py", line 131, in query
File "build/bdist.macosx-10.6-intel/egg/bg_daemon/fetchers/imgurfetcher.py", line 233, in _select_image
AttributeError: GalleryAlbum instance has no attribute 'width'
This may be a shot in the dark, but I think fetcher needs to verify that it is indeed looking at an image not an album.
This is the list of dependencies we had installed when everything worked:
imgurpython==1.1.5
mock==1.0.1
requests==2.6.0
virtualenv==12.1.1
This is our new list of dependencies:
imgurpython==1.1.6
mock==1.3.0
requests==2.7.0
virtualenv==13.1.2
I'm imagining mock isn't behaving as it should anymore.... I'll dig into this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.