{"action":"created","issue":{"url":"https://api.github.com/repos/BenKaehler/q2-feature-classifier/issues/19","repository_url":"https://api.github.com/repos/BenKaehler/q2-feature-classifier","labels_url":"https://api.github.com/repos/BenKaehler/q2-feature-classifier/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/BenKaehler/q2-feature-classifier/issues/19/comments","events_url":"https://api.github.com/repos/BenKaehler/q2-feature-classifier/issues/19/events","html_url":"https://github.com/BenKaehler/q2-feature-classifier/issues/19","id":178165254,"number":19,"title":"OverflowError when trying to train a classifier","user":{"login":"gregcaporaso","id":192372,"avatar_url":"https://avatars.githubusercontent.com/u/192372?v=3","gravatar_id":"","url":"https://api.github.com/users/gregcaporaso","html_url":"https://github.com/gregcaporaso","followers_url":"https://api.github.com/users/gregcaporaso/followers","following_url":"https://api.github.com/users/gregcaporaso/following{/other_user}","gists_url":"https://api.github.com/users/gregcaporaso/gists{/gist_id}","starred_url":"https://api.github.com/users/gregcaporaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregcaporaso/subscriptions","organizations_url":"https://api.github.com/users/gregcaporaso/orgs","repos_url":"https://api.github.com/users/gregcaporaso/repos","events_url":"https://api.github.com/users/gregcaporaso/events{/privacy}","received_events_url":"https://api.github.com/users/gregcaporaso/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-20T20:00:34Z","updated_at":"2016-09-21T21:15:15Z","closed_at":"2016-09-21T21:15:15Z","body":"Ran into this today. @ebolyen suggests that using ``dill`` rather than ``pickle`` might allow us to get around this. \r\n\r\n```\r\n$ qiime feature-classifier fit-classifier-naive-bayes --i-reference-reads gg-13-8-99-sequences.qza --i-reference-taxonomy gg-13-8-99-taxonomy.qza --o-classifier gg-13-8-99-classifier.qza\r\nTraceback (most recent call last):\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/bin/qiime\", line 11, in <module>\r\n    load_entry_point('q2cli==0.0.3', 'console_scripts', 'qiime')()\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/click/core.py\", line 696, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/click/core.py\", line 1060, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/click/core.py\", line 1060, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/click/core.py\", line 889, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/click/core.py\", line 534, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/q2cli/commands.py\", line 154, in __call__\r\n    results = self.action(**arguments)\r\n  File \"<decorator-gen-133>\", line 2, in fit_classifier_naive_bayes\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/qiime/core/callable.py\", line 238, in callable_wrapper\r\n    output_types, provenance)\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/qiime/core/callable.py\", line 362, in _callable_executor_\r\n    semantic_type, output_view, view_type, provenance)\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/qiime/sdk/result.py\", line 213, in _from_view\r\n    result = transformation(view)\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/qiime/core/transform.py\", line 58, in transformation\r\n    new_view = transformer(view)\r\n  File \"/home/gregcaporaso/.conda/envs/qiime2-dev/lib/python3.5/site-packages/q2_feature_classifier/_taxonomic_classifier.py\", line 88, in _2\r\n    bytes_out = pickle.dumps(data['pipeline'])\r\nOverflowError: cannot serialize a bytes object larger than 4 GiB\r\n```"},"comment":{"url":"https://api.github.com/repos/BenKaehler/q2-feature-classifier/issues/comments/248745230","html_url":"https://github.com/BenKaehler/q2-feature-classifier/issues/19#issuecomment-248745230","issue_url":"https://api.github.com/repos/BenKaehler/q2-feature-classifier/issues/19","id":248745230,"user":{"login":"BenKaehler","id":5283007,"avatar_url":"https://avatars.githubusercontent.com/u/5283007?v=3","gravatar_id":"","url":"https://api.github.com/users/BenKaehler","html_url":"https://github.com/BenKaehler","followers_url":"https://api.github.com/users/BenKaehler/followers","following_url":"https://api.github.com/users/BenKaehler/following{/other_user}","gists_url":"https://api.github.com/users/BenKaehler/gists{/gist_id}","starred_url":"https://api.github.com/users/BenKaehler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenKaehler/subscriptions","organizations_url":"https://api.github.com/users/BenKaehler/orgs","repos_url":"https://api.github.com/users/BenKaehler/repos","events_url":"https://api.github.com/users/BenKaehler/events{/privacy}","received_events_url":"https://api.github.com/users/BenKaehler/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T21:15:15Z","updated_at":"2016-09-21T21:15:15Z","body":"Hurrah!"}}
{"actor":{"display_login":"BenKaehler"}}