{"action":"created","issue":{"url":"https://api.github.com/repos/NSLS-II/Bug-Reports/issues/20","labels_url":"https://api.github.com/repos/NSLS-II/Bug-Reports/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/NSLS-II/Bug-Reports/issues/20/comments","events_url":"https://api.github.com/repos/NSLS-II/Bug-Reports/issues/20/events","html_url":"https://github.com/NSLS-II/Bug-Reports/issues/20","id":92112261,"number":20,"title":"problem to using accelerator-achiver at CHX","user":{"login":"afluerasu","id":5740619,"avatar_url":"https://avatars.githubusercontent.com/u/5740619?v=3","gravatar_id":"","url":"https://api.github.com/users/afluerasu","html_url":"https://github.com/afluerasu","followers_url":"https://api.github.com/users/afluerasu/followers","following_url":"https://api.github.com/users/afluerasu/following{/other_user}","gists_url":"https://api.github.com/users/afluerasu/gists{/gist_id}","starred_url":"https://api.github.com/users/afluerasu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afluerasu/subscriptions","organizations_url":"https://api.github.com/users/afluerasu/orgs","repos_url":"https://api.github.com/users/afluerasu/repos","events_url":"https://api.github.com/users/afluerasu/events{/privacy}","received_events_url":"https://api.github.com/users/afluerasu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-30T14:40:08Z","updated_at":"2015-11-06T01:02:58Z","closed_at":"2015-11-06T01:02:58Z","body":"In [928]: from channelarchiver import Archiver\r\n\r\n \r\nIn [929]: archiver_acc = Archiver('http://ca.cs.nsls2.local:8888/cgi-bin/ArchiveDataServer.cgi')\r\n\r\nIn [930]: archiver_acc.scan_archives()\r\n---------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n<ipython-input-930-2926f5f3f939> in <module>()\r\n----> 1 archiver_acc.scan_archives()\r\n\r\n/home/yuzhang/mc/envs/ophyd/lib/python2.7/site-packages/channelarchiver-0.0.4-py2.7.egg/channelarchiver/channelarchiver.pyc in scan_archives(self, channels)\r\n     63                         archive_details['end_sec'],\r\n     64                         archive_details['end_nano'],\r\n---> 65                         utils.utc)\r\n     66                 properties = ArchiveProperties(archive_key,\r\n     67                                                start_time,\r\n\r\n/home/yuzhang/mc/envs/ophyd/lib/python2.7/site-packages/channelarchiver-0.0.4-py2.7.egg/channelarchiver/utils.pyc in datetime_from_sec_and_nano(seconds, nanoseconds, tz)\r\n    136     # microsecond rounding behaviour in Python 3.\r\n    137     dt = datetime.datetime.fromtimestamp(seconds, utc)\r\n--> 138     dt = dt.replace(microsecond=int(round(1.e-3 * nanoseconds)))\r\n    139     return dt.astimezone(tz)\r\n    140 \r\n\r\nValueError: microsecond must be in 0..999999\r\n"},"comment":{"url":"https://api.github.com/repos/NSLS-II/Bug-Reports/issues/comments/154251204","html_url":"https://github.com/NSLS-II/Bug-Reports/issues/20#issuecomment-154251204","issue_url":"https://api.github.com/repos/NSLS-II/Bug-Reports/issues/20","id":154251204,"user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T01:02:57Z","updated_at":"2015-11-06T01:02:57Z","body":"@yugangzhang please ping if this is not fixed in your deployment."}}