{"action":"created","issue":{"url":"https://api.github.com/repos/magicbug/Cloudlog/issues/226","repository_url":"https://api.github.com/repos/magicbug/Cloudlog","labels_url":"https://api.github.com/repos/magicbug/Cloudlog/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/magicbug/Cloudlog/issues/226/comments","events_url":"https://api.github.com/repos/magicbug/Cloudlog/issues/226/events","html_url":"https://github.com/magicbug/Cloudlog/issues/226","id":386330987,"node_id":"MDU6SXNzdWUzODYzMzA5ODc=","number":226,"title":"ADIF upload error","user":{"login":"g7kse","id":13124178,"node_id":"MDQ6VXNlcjEzMTI0MTc4","avatar_url":"https://avatars1.githubusercontent.com/u/13124178?v=4","gravatar_id":"","url":"https://api.github.com/users/g7kse","html_url":"https://github.com/g7kse","followers_url":"https://api.github.com/users/g7kse/followers","following_url":"https://api.github.com/users/g7kse/following{/other_user}","gists_url":"https://api.github.com/users/g7kse/gists{/gist_id}","starred_url":"https://api.github.com/users/g7kse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g7kse/subscriptions","organizations_url":"https://api.github.com/users/g7kse/orgs","repos_url":"https://api.github.com/users/g7kse/repos","events_url":"https://api.github.com/users/g7kse/events{/privacy}","received_events_url":"https://api.github.com/users/g7kse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-30T20:03:33Z","updated_at":"2018-11-30T22:55:39Z","closed_at":null,"author_association":"NONE","body":"Windows 10\r\nFirefox 63.03 & Edge\r\nServer running as LAMP on RPI zero (i.e. not localhost)\r\n\r\nOn attempting to upload adi button is available. File can be selected \r\n\r\n![image](https://user-images.githubusercontent.com/13124178/49311769-f88ef880-f4d9-11e8-9a89-66f1c3b33066.png)\r\n\r\nFile is selected (as a download of clublog - with adi extension)\r\n\r\n![image](https://user-images.githubusercontent.com/13124178/49311805-1a887b00-f4da-11e8-940a-b0c561f282e4.png)\r\n\r\nIt looks like it is uploading but then returns error as below\r\n\r\n![image](https://user-images.githubusercontent.com/13124178/49311857-40158480-f4da-11e8-8434-543ddb56d426.png)\r\n\r\nChecked in 'Uploads' directory but it is empty. On one occasion it did give me a DXCC error briefly as below\r\n\r\n![image](https://user-images.githubusercontent.com/13124178/49311992-94206900-f4da-11e8-9c91-eea34d56156a.png)\r\n\r\nI'm not convinced it is a bug as I can manually add a qso but I did run into permissions in the early part of the DB installation but as I can enter a qso normally can you investigate. I assume that manaully uploading the adi to uploads without runnig a script will do nothing."},"comment":{"url":"https://api.github.com/repos/magicbug/Cloudlog/issues/comments/443364646","html_url":"https://github.com/magicbug/Cloudlog/issues/226#issuecomment-443364646","issue_url":"https://api.github.com/repos/magicbug/Cloudlog/issues/226","id":443364646,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzM2NDY0Ng==","user":{"login":"g0wfv","id":17301474,"node_id":"MDQ6VXNlcjE3MzAxNDc0","avatar_url":"https://avatars2.githubusercontent.com/u/17301474?v=4","gravatar_id":"","url":"https://api.github.com/users/g0wfv","html_url":"https://github.com/g0wfv","followers_url":"https://api.github.com/users/g0wfv/followers","following_url":"https://api.github.com/users/g0wfv/following{/other_user}","gists_url":"https://api.github.com/users/g0wfv/gists{/gist_id}","starred_url":"https://api.github.com/users/g0wfv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g0wfv/subscriptions","organizations_url":"https://api.github.com/users/g0wfv/orgs","repos_url":"https://api.github.com/users/g0wfv/repos","events_url":"https://api.github.com/users/g0wfv/events{/privacy}","received_events_url":"https://api.github.com/users/g0wfv/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T22:55:39Z","updated_at":"2018-11-30T22:55:39Z","author_association":"CONTRIBUTOR","body":"Confirmed!!  I was struggling to upload an ADIF file generated by eQSL - I originally imported from an ADIF from HRDlog.net.\r\n\r\nGuess what?  eQSL have comments in the header without a leading # - ADIF file manually edited, problem solved!\r\n\r\nIncidentally, the server was rejecting the file without the leading # characters regardless of file name or allowed_types setting.  I suspect the automatic mime type sense is being triggered by the file format if it has lines without a leading #.  More testing on this one required, however, I don't think there's much we can do about it except be aware that this is the cause of this problem; it seems to be a gotcha in whichever service generated the ADIF, not Cloudlog :-)"}}
{"actor":{"display_login":"g0wfv"}}