Comments (5)
Can you share more information about your directory structure and where your config.ini
file is located as well as the contents of config.ini
(removing any sensitive information)?
from elodie.
I figured it out, I didn't install elodie in my home directory and I didn't define the environment variable ELODIE_APPLICATION_DIRECTORY
. The config.ini
is detected now, however I still have a problem with the Google Photos plugin. When I run /.elodie.py batch --debug
the output is Called batch() for GooglePhotos
but my browser does not open and there is also no API call in the Google cloud console. While creating the OAuth client ID in the Google Cloud Console, there wasn't an other for the application type so I chose Desktop app, not sure if this is an issue?
This is the content of my config.ini:
[Directory]
location=%city, %state
month=%m
year=%Y
full_path=%year/%month
[Plugins]
plugins=GooglePhotos
[PluginGooglePhotos]
secrets_file=/full/path/to/my/home/src/elodie/client_secret.json
auth_file=/full/path/to/my/home/src/elodie/credentials/auth_file.json
from elodie.
Now the debug output when running ./elodie.py batch --debug
is:
{"GooglePhotos": "Could not initialize session"}
{"GooglePhotos": "/path/to/image failed to upload."}
Called batch() for GooglePhotos
from elodie.
You may need to add some log messages in https://github.com/jmathai/elodie/blob/master/elodie/plugins/googlephotos/googlephotos.py.
The message Could not initialize session
is from the google photos library which would seem to indicate that it's somewhere in set_session()
.
from elodie.
I figured it out! I hadn't properly defined the location of the secret file... Everything works perfectly now. Thanks for the hints and kudos for the good work!
from elodie.
Related Issues (20)
- api key generation fails HOT 3
- keywords based dynamic albums HOT 1
- imghdr going away
- Crash on text file NOT containing us-ascii or utf-8 in first line
- feature: able to create symlinks instead of copying
- Calculate checksum of image without EXIF-data
- Unknown Location - invalid AppKey HOT 14
- Support a time offset in addition to absolute time
- ISO 8601 datetime without capitalising the rest of the filename? HOT 1
- Dockerfile no longer resolves to a valid url for Exiftool download
- Dockerfile no longer works with debian:jessie as the base
- Unexpected int returned instead of string from metadata[part] in filesystem.py HOT 1
- Will there be an official Elodie docker image published on the cloud (ie not the Dockerfile) ?
- Elodie not recognizing videos with the .mkv file extension HOT 2
- Feature request: support for NRW and RAF files HOT 1
- Hard to tell what the problem is when there's errors importing files HOT 7
- Need to add a test: adding a file which is already in destination
- CircleCI URL for exiftool returns 404
- Use local database for geolocation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elodie.