Open tomcornall opened 8 years ago
Does the api call '/api/v2/identity/s3' return a null value for theme
? Isn't there always suppose to be a theme that is being actively edited? If so, I would edit that api response to return a non 200 if there is no theme.
@ChrisZieba
Yes a null value is returned. I agree it shouldn't respond with 200 - should check the theme
before making the connection.
There is an active theme, just not an editing theme. Both the API and lemonsync
are at fault:
40x
)The call to /api/v2/identity/s3
in Connector
shouldn't event return the theme and bucket - it;s used to return a signed url I think. That should be a separate call. Those endpoints might even exist in the API.
We haven't changed it, it's however it was when you left ;-)
Yes Bruce, I'm aware. I was simply giving some constructive feedback for the design :)
I'm a new user of LemonSync and am getting this TypeError. My store seems to have a theme activated and marked as editing. As far as I remember, I've never edited the theme name, which is La Boutique
(API code laboutique
). I've just exported it, and the name in theme.yaml
matches the online theme name.
My lemonsync.cfg
:
[api]
api_host = https://ald.lemonstand.com
api_key = ...
api_access = ...
[dir]
watch_dir = /media/Storage/Work/Work/Advanced Lighting Direct/Website/Theme
file_patterns = [ "*" ]
ignore_patterns = [ "*.tmp", "*.TMP", "*/.git*", "*.DS_STORE" ]
[store]
store_host = ald.lemonstand.com
I'm running the Linux version. Python 2.7.6.
Does anyone know how I can get LemonSync working? Thanks.
edit_theme
edit_theme
shows up in database Fill in edit_theme
with default value (zest currently) during store creation
Another instance of this: https://app.intercom.io/a/apps/7236196445273cea007287c0c90a2f0d598567cc/inbox/conversation/2048930276
NOTE: Simple fix by clicking Make currently editing
in store dashboard in the meantime
Editing theme name missing causes exception message, like:
Issues:
To Do:
Check value Emit error if check fails (before connection) Figure out how to set the value
See: https://github.com/lemonstand/lemonsync/blob/master/lemonsync/Utils.py#L57