{"action":"created","issue":{"url":"https://api.github.com/repos/Statoil/dlisio/issues/22","repository_url":"https://api.github.com/repos/Statoil/dlisio","labels_url":"https://api.github.com/repos/Statoil/dlisio/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Statoil/dlisio/issues/22/comments","events_url":"https://api.github.com/repos/Statoil/dlisio/issues/22/events","html_url":"https://github.com/Statoil/dlisio/issues/22","id":389281942,"node_id":"MDU6SXNzdWUzODkyODE5NDI=","number":22,"title":"'utf-8' codec can't decode byte 0xb0 in position 2: invalid start byte","user":{"login":"mandeeps708","id":7791329,"node_id":"MDQ6VXNlcjc3OTEzMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/7791329?v=4","gravatar_id":"","url":"https://api.github.com/users/mandeeps708","html_url":"https://github.com/mandeeps708","followers_url":"https://api.github.com/users/mandeeps708/followers","following_url":"https://api.github.com/users/mandeeps708/following{/other_user}","gists_url":"https://api.github.com/users/mandeeps708/gists{/gist_id}","starred_url":"https://api.github.com/users/mandeeps708/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandeeps708/subscriptions","organizations_url":"https://api.github.com/users/mandeeps708/orgs","repos_url":"https://api.github.com/users/mandeeps708/repos","events_url":"https://api.github.com/users/mandeeps708/events{/privacy}","received_events_url":"https://api.github.com/users/mandeeps708/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-10T12:36:49Z","updated_at":"2018-12-14T15:47:02Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI was using this library to read the dlis files. I iterate over the records one by one and extract the headers as:\r\n\r\n```python\r\n    dl = dlisio.load(dlis_file_name)\r\n    ...\r\n    record = dl.fp.eflr(dl.bookmarks[i])\r\n```\r\n\r\nAs we know, there can be multiple PARAMETER headers in a dlis file. So the first occurrence of parameter header is throwing this exception:\r\n\r\n```python\r\n'utf-8' codec can't decode byte 0xb0 in position 2: invalid start byte\r\n```\r\n\r\nother occurrences of parameters have been extracted fine.\r\n\r\nThe error is in the line:\r\n```python\r\n    record = dl.fp.eflr(dl.bookmarks[i])\r\n```\r\n\r\nwhere `i` is the loop variable that I used to refer to the records one by one.\r\n\r\nI checked a few other dlis files and similar happens there also. Please point me if I am doing something wrong and let me know if you need me to provide any more information by debugging or anything else.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/Statoil/dlisio/issues/comments/447364265","html_url":"https://github.com/Statoil/dlisio/issues/22#issuecomment-447364265","issue_url":"https://api.github.com/repos/Statoil/dlisio/issues/22","id":447364265,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzM2NDI2NQ==","user":{"login":"mandeeps708","id":7791329,"node_id":"MDQ6VXNlcjc3OTEzMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/7791329?v=4","gravatar_id":"","url":"https://api.github.com/users/mandeeps708","html_url":"https://github.com/mandeeps708","followers_url":"https://api.github.com/users/mandeeps708/followers","following_url":"https://api.github.com/users/mandeeps708/following{/other_user}","gists_url":"https://api.github.com/users/mandeeps708/gists{/gist_id}","starred_url":"https://api.github.com/users/mandeeps708/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandeeps708/subscriptions","organizations_url":"https://api.github.com/users/mandeeps708/orgs","repos_url":"https://api.github.com/users/mandeeps708/repos","events_url":"https://api.github.com/users/mandeeps708/events{/privacy}","received_events_url":"https://api.github.com/users/mandeeps708/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T15:47:02Z","updated_at":"2018-12-14T15:47:02Z","author_association":"NONE","body":"Hi @jokva \r\n\r\nSorry, the environment I was looking into, was having an older version of dlisio.\r\n\r\nNow I updated dlisio and now I can see the new additions like `explicits`.\r\n\r\nHere is the `dl.explicits` output of the dlis file I sent earlier:\r\n\r\nhttps://gist.github.com/mandeeps708/c6c7c0d9934062d5dfe7f4158880c4f3\r\n\r\nBut I couldn't seem to find the data. Am I missing something?\r\n\r\nThanks."}}
{"actor":{"display_login":"mandeeps708"}}