{"action":"created","issue":{"url":"https://api.github.com/repos/jjhelmus/arm_archive/issues/1","labels_url":"https://api.github.com/repos/jjhelmus/arm_archive/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jjhelmus/arm_archive/issues/1/comments","events_url":"https://api.github.com/repos/jjhelmus/arm_archive/issues/1/events","html_url":"https://github.com/jjhelmus/arm_archive/issues/1","id":90818188,"number":1,"title":"Unable to order data","user":{"login":"wblumberg","id":7607087,"avatar_url":"https://avatars.githubusercontent.com/u/7607087?v=3","gravatar_id":"","url":"https://api.github.com/users/wblumberg","html_url":"https://github.com/wblumberg","followers_url":"https://api.github.com/users/wblumberg/followers","following_url":"https://api.github.com/users/wblumberg/following{/other_user}","gists_url":"https://api.github.com/users/wblumberg/gists{/gist_id}","starred_url":"https://api.github.com/users/wblumberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wblumberg/subscriptions","organizations_url":"https://api.github.com/users/wblumberg/orgs","repos_url":"https://api.github.com/users/wblumberg/repos","events_url":"https://api.github.com/users/wblumberg/events{/privacy}","received_events_url":"https://api.github.com/users/wblumberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-25T00:56:54Z","updated_at":"2015-06-25T15:45:29Z","closed_at":null,"body":"Hi,\r\n\r\nI've recently been playing with this program…it's really great and has significantly improved my ability to look up which files are available on the ARM archive.  Unfortunately, I'm encountering some difficulty with ordering data.  Am I using this correctly? (I've included some output from my debugging).\r\n\r\nThanks,\r\n\r\nGreg\r\n\r\nseabiscuit:arm_archive greg.blumberg$ apu order wblumberg -d sgpmplC1.a1 19990501 19990530\r\nargs.dates: ['sgpmplC1.a1', '19990501', '19990530']\r\nargs.file: None\r\n[u'sgpmplC1.a1.19990501.000011.cdf' u'sgpmplC1.a1.19990502.000006.cdf'\r\n u'sgpmplC1.a1.19990503.000000.cdf' u'sgpmplC1.a1.19990504.000024.cdf'\r\n u'sgpmplC1.a1.19990505.000028.cdf' u'sgpmplC1.a1.19990506.200005.cdf'\r\n u'sgpmplC1.a1.19990513.090805.cdf' u'sgpmplC1.a1.19990514.000029.cdf'\r\n u'sgpmplC1.a1.19990515.000026.cdf' u'sgpmplC1.a1.19990516.000015.cdf'\r\n u'sgpmplC1.a1.19990517.000011.cdf' u'sgpmplC1.a1.19990518.000003.cdf'\r\n u'sgpmplC1.a1.19990519.000002.cdf' u'sgpmplC1.a1.19990520.000021.cdf'\r\n u'sgpmplC1.a1.19990521.000002.cdf' u'sgpmplC1.a1.19990522.000019.cdf'\r\n u'sgpmplC1.a1.19990523.000007.cdf' u'sgpmplC1.a1.19990524.000006.cdf'\r\n u'sgpmplC1.a1.19990525.000025.cdf' u'sgpmplC1.a1.19990526.000013.cdf'\r\n u'sgpmplC1.a1.19990527.000008.cdf' u'sgpmplC1.a1.19990528.000020.cdf'\r\n u'sgpmplC1.a1.19990529.000007.cdf'] wblumberg\r\nresponse: None\r\nTraceback (most recent call last):\r\n  File \"/Users/greg.blumberg/arm_archive/arm_archive.py\", line 456, in <module>\r\n    main()\r\n  File \"/Users/greg.blumberg/arm_archive/arm_archive.py\", line 406, in main\r\n    status, flag = order_files(args.user, files)\r\n  File \"/Users/greg.blumberg/arm_archive/arm_archive.py\", line 139, in order_files\r\n    match = pattern.search(response)\r\nTypeError: expected string or buffer"},"comment":{"url":"https://api.github.com/repos/jjhelmus/arm_archive/issues/comments/115299459","html_url":"https://github.com/jjhelmus/arm_archive/issues/1#issuecomment-115299459","issue_url":"https://api.github.com/repos/jjhelmus/arm_archive/issues/1","id":115299459,"user":{"login":"wblumberg","id":7607087,"avatar_url":"https://avatars.githubusercontent.com/u/7607087?v=3","gravatar_id":"","url":"https://api.github.com/users/wblumberg","html_url":"https://github.com/wblumberg","followers_url":"https://api.github.com/users/wblumberg/followers","following_url":"https://api.github.com/users/wblumberg/following{/other_user}","gists_url":"https://api.github.com/users/wblumberg/gists{/gist_id}","starred_url":"https://api.github.com/users/wblumberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wblumberg/subscriptions","organizations_url":"https://api.github.com/users/wblumberg/orgs","repos_url":"https://api.github.com/users/wblumberg/repos","events_url":"https://api.github.com/users/wblumberg/events{/privacy}","received_events_url":"https://api.github.com/users/wblumberg/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T15:45:29Z","updated_at":"2015-06-25T15:45:29Z","body":"Oh!  I think I see the issue.  I did some modifications with the code in order to sort the listing of the files that I could order.  I used Numpy to do that, and it seems that importing it as np did something (I don't know what), but when I removed all numpy-related things in the code, the ordering works."}}