-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exec format error: glee #2
Comments
Which OS are you running this on? Is it Mac OS by any chance? |
yeah, Mac OS 12.6.3 |
Got it; we are working on Mac OS support; should be out soon. Meanwhile, you can still clone the repo and run I will update this thread once the Mac release is ready. |
I executed
|
OK, Thanks! |
Place We are working on a Ghost-only image upload solution (already underway). That too will be released soon. |
Does |
Yes, config file must be placed at home directory. If you don't have a config, it will prompt to create it for you, so don't worry about it. Just get the python dependencies ( |
Thanks! |
I am not able to reproduce the issue locally., so it is related to your poetry setup. Try these suggestions at poetry issues. Also, you can open the toml and try installing the dependencies globally with pip as well. |
Thanks, I ran it successfully. |
I don' t know how to troubleshoot, can u provide some help? > python glee.py sample_post.md
Traceback (most recent call last):
File "/Users/kevin/Library/Caches/pypoetry/virtualenvs/glee-fXMZp2bW-py3.11/lib/python3.11/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevin/1-GR个人/16-XMDM项目代码/162-CKXM参考项目/glee/glee.py", line 197, in <module>
post_to_ghost(post.metadata, post.content)
File "/Users/kevin/1-GR个人/16-XMDM项目代码/162-CKXM参考项目/glee/glee.py", line 181, in post_to_ghost
return make_request(token, body, meta["slug"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevin/1-GR个人/16-XMDM项目代码/162-CKXM参考项目/glee/glee.py", line 103, in make_request
print(r.json())
^^^^^^^^
File "/Users/kevin/Library/Caches/pypoetry/virtualenvs/glee-fXMZp2bW-py3.11/lib/python3.11/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0) # refer https://github.com/HexmosTech/glee#configuration for configuration details
[ghost-configuration]
ADMIN_API_KEY = "64xxx:xxxfd"
GHOST_VERSION = "v5"
GHOST_URL = "http://localhost:2368"
[aws-s3-configuration] # refer: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html
ACCESS_KEY_ID = "" # eg: UZNN442KVSB7AQTOIAW2 refer: https://objectivefs.com/howto/how-to-get-amazon-s3-keys
SECRET_ACCESS_KEY = "" # eg: 2gP5NeQ2KLkcKLkcPyRqhmzY3WSK2I+GmI/T4qQ255 refer:https://objectivefs.com/howto/how-to-get-amazon-s3-keys
BUCKET = "" # eg: sample-fefwdedea
S3_BASE_URL = "" # eg: https://sample-fefwdedea.s3.ap-south-1.amazonaws.com/ refer: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html |
Hi, @Kevin-free right now |
Also, you can see the error message from ghost with the following:
Presently, the returned value seems like it is not a JSON. |
Hi @Kevin-free, In the latest version of glee, the Additionally, we are addressing the |
Hi @Kevin-free We have resolved the wget -O - https://raw.githubusercontent.com/HexmosTech/glee/main/install.sh | bash Please check and report to us if you face any issues with Thank you! |
How to troubleshoot?
The text was updated successfully, but these errors were encountered: