{"action":"created","issue":{"url":"https://api.github.com/repos/CellProfiler/python-bioformats/issues/25","labels_url":"https://api.github.com/repos/CellProfiler/python-bioformats/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/CellProfiler/python-bioformats/issues/25/comments","events_url":"https://api.github.com/repos/CellProfiler/python-bioformats/issues/25/events","html_url":"https://github.com/CellProfiler/python-bioformats/issues/25","id":74602035,"number":25,"title":"AttributeError: 'ImageReader' object has no attribute 'rdr'","user":{"login":"tangji0318","id":12229603,"avatar_url":"https://avatars.githubusercontent.com/u/12229603?v=3","gravatar_id":"","url":"https://api.github.com/users/tangji0318","html_url":"https://github.com/tangji0318","followers_url":"https://api.github.com/users/tangji0318/followers","following_url":"https://api.github.com/users/tangji0318/following{/other_user}","gists_url":"https://api.github.com/users/tangji0318/gists{/gist_id}","starred_url":"https://api.github.com/users/tangji0318/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangji0318/subscriptions","organizations_url":"https://api.github.com/users/tangji0318/orgs","repos_url":"https://api.github.com/users/tangji0318/repos","events_url":"https://api.github.com/users/tangji0318/events{/privacy}","received_events_url":"https://api.github.com/users/tangji0318/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-09T06:28:36Z","updated_at":"2015-05-13T08:32:29Z","closed_at":null,"body":"Dear Mr. Kamentsky,\r\nI encountered an error when running my python with bioformats:\r\n\r\njmd = jv.JWrapper(rdr.rdr.getMetadataStore())\r\nAttributeError: 'ImageReader' object has no attribute 'rdr'\r\n\r\nI could find ImageReader class in formatreader.py under the folder \\site-packages\\bioformats, but no attribute 'rdr' there.\r\nIf I ran it in command line, I got error as follows:\r\n\r\nFile \"C:\\Program Files\\Anaconda\\Lib\\site-packages\\javabridge\\wrappers.py\", line 81, in __getattr__\r\nraise AttributeError()\r\n\r\nIf I run test macro as follows:\r\n\r\nimport os\r\nimport javabridge as jv\r\npaths = jv.JClassWrapper('java.lang.System').getProperty('java.class.path').split(\";\")\r\nfor path in paths:\r\n    print \"%s: %s\" %(\"exists\" if os.path.isfile(path) else \"missing\", path)\r\n\r\nI can get:\r\n\r\nexists: C:\\Program Files\\Anaconda\\lib\\site-packages\\javabridge\\jars\\rhino-1.7R4.jar\r\nexists: C:\\Program Files\\Anaconda\\lib\\site-packages\\javabridge\\jars\\runnablequeue.jar\r\nexists: C:\\Program Files\\Anaconda\\lib\\site-packages\\javabridge\\jars\\cpython.jar\r\nexists: C:\\Users\\zcjitang\\Documents\\Software\\Bioformats\\bioformats_package_5.1.1.jar\r\n\r\nThen I do not know what's wrong with it. Could you help? Thank you very much.\r\nI had installed the latest PyWin32, Bioformats, Javabridge, vLFD, Numpy and matplotlib based on my requirements from http://www.lfd.uci.edu/~gohlke/pythonlibs/.\r\n"},"comment":{"url":"https://api.github.com/repos/CellProfiler/python-bioformats/issues/comments/101572914","html_url":"https://github.com/CellProfiler/python-bioformats/issues/25#issuecomment-101572914","issue_url":"https://api.github.com/repos/CellProfiler/python-bioformats/issues/25","id":101572914,"user":{"login":"tangji0318","id":12229603,"avatar_url":"https://avatars.githubusercontent.com/u/12229603?v=3","gravatar_id":"","url":"https://api.github.com/users/tangji0318","html_url":"https://github.com/tangji0318","followers_url":"https://api.github.com/users/tangji0318/followers","following_url":"https://api.github.com/users/tangji0318/following{/other_user}","gists_url":"https://api.github.com/users/tangji0318/gists{/gist_id}","starred_url":"https://api.github.com/users/tangji0318/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangji0318/subscriptions","organizations_url":"https://api.github.com/users/tangji0318/orgs","repos_url":"https://api.github.com/users/tangji0318/repos","events_url":"https://api.github.com/users/tangji0318/events{/privacy}","received_events_url":"https://api.github.com/users/tangji0318/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T08:32:29Z","updated_at":"2015-05-13T08:32:29Z","body":"Dear Mr. Kamentsky,\r\nThanks for your detailed reply. I cannot use that UI to load my .czi file (.png file is OK). Then I upgrade my python-bioformats in the Anaconda command line:\r\n\r\npip install --upgrade python-bioformats\r\n\r\nHowever, it still fails . I intended to upload my .czi file, but it fails with error \"we don't support that file type\". Is it possible that my latest bioformats is 1.0.4, not your 1.0.4-3-g84a1835? If so, how could I get that version?\r\nThanks.\r\n\r\nJi\r\nMay 13, 2015\r\n\r\n"}}