You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error when calling an olog script with "-a" parameter.
Traceback (most recent call last):
File "./olog", line 151, in <module>
olog()
File "./olog", line 125, in olog
attachments = [Attachment(open(a)) for a in args.attach.split(',')]
AttributeError: 'list' object has no attribute 'split'
Also if you want to upload multiple attachments with the same name you get the following error:
Traceback (most recent call last):
File "./olog", line 151, in <module>
olog()
File "./olog", line 148, in olog
client.log(log_entry)
File "/usr/local/lib/python2.7/dist-packages/pyOlog/OlogClient.py", line 82, in log
resp.raise_for_status()
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 825, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict
Python 2.7.9
requests 2.4.3
urllib3 1.9.1
The text was updated successfully, but these errors were encountered:
Hi.
There is an error when calling an olog script with "-a" parameter.
By removing ".split(',')" in
https://github.com/Olog/pyOlog/blob/master/scripts/olog#L125
uploading attachments works.
Also if you want to upload multiple attachments with the same name you get the following error:
Python 2.7.9
requests 2.4.3
urllib3 1.9.1
The text was updated successfully, but these errors were encountered: