{"action":"created","issue":{"url":"https://api.github.com/repos/hyperopt/hyperopt/issues/234","repository_url":"https://api.github.com/repos/hyperopt/hyperopt","labels_url":"https://api.github.com/repos/hyperopt/hyperopt/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/hyperopt/hyperopt/issues/234/comments","events_url":"https://api.github.com/repos/hyperopt/hyperopt/issues/234/events","html_url":"https://github.com/hyperopt/hyperopt/issues/234","id":98557290,"number":234,"title":"AttributeError when calling fmin with trials.","user":{"login":"jpopham91","id":11764867,"avatar_url":"https://avatars.githubusercontent.com/u/11764867?v=3","gravatar_id":"","url":"https://api.github.com/users/jpopham91","html_url":"https://github.com/jpopham91","followers_url":"https://api.github.com/users/jpopham91/followers","following_url":"https://api.github.com/users/jpopham91/following{/other_user}","gists_url":"https://api.github.com/users/jpopham91/gists{/gist_id}","starred_url":"https://api.github.com/users/jpopham91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpopham91/subscriptions","organizations_url":"https://api.github.com/users/jpopham91/orgs","repos_url":"https://api.github.com/users/jpopham91/repos","events_url":"https://api.github.com/users/jpopham91/events{/privacy}","received_events_url":"https://api.github.com/users/jpopham91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-01T19:32:41Z","updated_at":"2016-02-18T13:58:31Z","closed_at":null,"body":"I get the following error when calling fmin.  It only occurs when I specify a trials object, otherwise it runs just fine.  I'm on ubuntu 14.04 using python 3.4.\r\n\r\n```python\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-14-1eb552add6c6> in <module>()\r\n----> 1 optimize(trials)\r\n\r\n<ipython-input-11-de171de4b3a2> in optimize(trials)\r\n     14 \r\n     15     best = fmin(boost, space, tpe.suggest, max_evals = 5,\r\n---> 16                 trials=trials)\r\n     17     return best\r\n\r\n/opt/anaconda/lib/python3.4/site-packages/hyperopt/fmin.py in fmin(fn, space, algo, max_evals, trials, rstate, allow_trials_fmin, pass_expr_memo_ctrl, catch_eval_exceptions, verbose, return_argmin)\r\n    304             verbose=verbose,\r\n    305             catch_eval_exceptions=catch_eval_exceptions,\r\n--> 306             return_argmin=return_argmin,\r\n    307             )\r\n    308 \r\n\r\n/opt/anaconda/lib/python3.4/site-packages/hyperopt/base.py in fmin(self, fn, space, algo, max_evals, rstate, verbose, pass_expr_memo_ctrl, catch_eval_exceptions, return_argmin)\r\n    623         #    but for now it's still sitting in another file.\r\n    624         from . import fmin as fmin_module\r\n--> 625         return fmin_module.fmin(\r\n    626             fn, space, algo, max_evals,\r\n    627             trials=self,\r\n\r\nAttributeError: 'function' object has no attribute 'fmin'\r\n```"},"comment":{"url":"https://api.github.com/repos/hyperopt/hyperopt/issues/comments/185734214","html_url":"https://github.com/hyperopt/hyperopt/issues/234#issuecomment-185734214","issue_url":"https://api.github.com/repos/hyperopt/hyperopt/issues/234","id":185734214,"user":{"login":"antoniomo","id":285759,"avatar_url":"https://avatars.githubusercontent.com/u/285759?v=3","gravatar_id":"","url":"https://api.github.com/users/antoniomo","html_url":"https://github.com/antoniomo","followers_url":"https://api.github.com/users/antoniomo/followers","following_url":"https://api.github.com/users/antoniomo/following{/other_user}","gists_url":"https://api.github.com/users/antoniomo/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniomo/subscriptions","organizations_url":"https://api.github.com/users/antoniomo/orgs","repos_url":"https://api.github.com/users/antoniomo/repos","events_url":"https://api.github.com/users/antoniomo/events{/privacy}","received_events_url":"https://api.github.com/users/antoniomo/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T13:58:31Z","updated_at":"2016-02-18T13:58:31Z","body":"Still unfixed in the master branch :S"}}