{"action":"created","issue":{"url":"https://api.github.com/repos/indico/indico/issues/2068","labels_url":"https://api.github.com/repos/indico/indico/issues/2068/labels{/name}","comments_url":"https://api.github.com/repos/indico/indico/issues/2068/comments","events_url":"https://api.github.com/repos/indico/indico/issues/2068/events","html_url":"https://github.com/indico/indico/issues/2068","id":107202266,"number":2068,"title":"Error while creating a conference: invalid literal for int() with base 10: 'default'","user":{"login":"fockeRR","id":2690769,"avatar_url":"https://avatars.githubusercontent.com/u/2690769?v=3","gravatar_id":"","url":"https://api.github.com/users/fockeRR","html_url":"https://github.com/fockeRR","followers_url":"https://api.github.com/users/fockeRR/followers","following_url":"https://api.github.com/users/fockeRR/following{/other_user}","gists_url":"https://api.github.com/users/fockeRR/gists{/gist_id}","starred_url":"https://api.github.com/users/fockeRR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fockeRR/subscriptions","organizations_url":"https://api.github.com/users/fockeRR/orgs","repos_url":"https://api.github.com/users/fockeRR/repos","events_url":"https://api.github.com/users/fockeRR/events{/privacy}","received_events_url":"https://api.github.com/users/fockeRR/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/indico/indico/labels/bug","name":"bug","color":"7700aa"}],"state":"open","locked":false,"assignee":{"login":"ThiefMaster","id":179599,"avatar_url":"https://avatars.githubusercontent.com/u/179599?v=3","gravatar_id":"","url":"https://api.github.com/users/ThiefMaster","html_url":"https://github.com/ThiefMaster","followers_url":"https://api.github.com/users/ThiefMaster/followers","following_url":"https://api.github.com/users/ThiefMaster/following{/other_user}","gists_url":"https://api.github.com/users/ThiefMaster/gists{/gist_id}","starred_url":"https://api.github.com/users/ThiefMaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThiefMaster/subscriptions","organizations_url":"https://api.github.com/users/ThiefMaster/orgs","repos_url":"https://api.github.com/users/ThiefMaster/repos","events_url":"https://api.github.com/users/ThiefMaster/events{/privacy}","received_events_url":"https://api.github.com/users/ThiefMaster/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-18T13:26:20Z","updated_at":"2015-09-21T08:18:31Z","closed_at":null,"body":"Hi,\r\nI'm using Indico 1.9.5 downloaded from github. I successfully installed, configured the Indico instance on my server. When I'm trying to add a first conference in a category I get such error:\r\n\r\n```\r\n--------------------------------------------\r\nERROR DETAILS\r\n\r\nException type:\t<type 'exceptions.ValueError'>\r\nException message:\t**invalid literal for int() with base 10: 'default'**\r\nTraceback:\t\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/webinterface/rh/base.py\", line 667, in process\r\n    profile_name, res = self._process_retry(params, i, profile, forced_conflicts)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/webinterface/rh/base.py\", line 612, in _process_retry\r\n    return self._process_retry_do(profile)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/webinterface/rh/base.py\", line 605, in _process_retry_do\r\n    res = self._process()\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/webinterface/rh/categoryDisplay.py\", line 184, in _process\r\n    c = self._createEvent( self._params )\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/webinterface/rh/categoryDisplay.py\", line 218, in _createEvent\r\n    c = self._target.newConference( self._getUser() )\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/conference.py\", line 993, in newConference\r\n    conf = Conference(creator)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/conference.py\", line 1974, in __init__\r\n    self.__badgeTemplateManager = BadgeTemplateManager(self)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/badge.py\", line 42, in __init__\r\n    self._PDFOptions = BadgePDFOptions(conf)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/badge.py\", line 486, in __init__\r\n    defaultConferencePDFOptions = CategoryManager().getDefaultConference().getBadgeTemplateManager().getPDFOptions()\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/conference.py\", line 424, in getDefaultConference\r\n    return HelperMaKaCInfo.getMaKaCInfoInstance().setDefaultConference(DefaultConference())\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/conference.py\", line 4293, in __init__\r\n    Conference.__init__(self, admin.as_avatar, \"default\")\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/conference.py\", line 1959, in __init__\r\n    self._registrationForm = registration.RegistrationForm(self)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 114, in __init__\r\n    self.personalData = PersonalDataForm(self)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 2793, in __init__\r\n    field = GeneralField(self, fieldInfo)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 2398, in __init__\r\n    self.setValues(data, True)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 2417, in setValues\r\n    self._input.setValues(data[\"inputValues\"])\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 1760, in setValues\r\n    self.createItem(itemValues, i)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 1860, in createItem\r\n    item.setValues(itemValues)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 1573, in setValues\r\n    self.setCaption(data[\"caption\"])\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 1594, in setCaption\r\n    self.updateRegistrantSelection(cap)\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/registration.py\", line 1697, in updateRegistrantSelection\r\n    for reg in regform.getConference().getRegistrantsList():\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/conference.py\", line 4055, in getRegistrantsList\r\n    rl = self.getRegistrants().values()\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/conference.py\", line 4030, in getRegistrants\r\n    self.notifyModification()\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/MaKaC/conference.py\", line 2443, in notifyModification\r\n    signals.event.data_changed.send(self, attr=None, old=None, new=None)\r\n\r\n  File \"build/bdist.linux-x86_64/egg/blinker/base.py\", line 267, in send\r\n    for receiver in self.receivers_for(sender)]\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/indico-1.9.5-py2.7.egg/indico/modules/events/reminders/__init__.py\", line 40, in _event_data_changed\r\n    query = EventReminder.find(EventReminder.event_id == int(event.id),\r\n```\r\n--------------------------------------------\r\nRegards,\r\nMichal\r\n"},"comment":{"url":"https://api.github.com/repos/indico/indico/issues/comments/141905058","html_url":"https://github.com/indico/indico/issues/2068#issuecomment-141905058","issue_url":"https://api.github.com/repos/indico/indico/issues/2068","id":141905058,"user":{"login":"ThiefMaster","id":179599,"avatar_url":"https://avatars.githubusercontent.com/u/179599?v=3","gravatar_id":"","url":"https://api.github.com/users/ThiefMaster","html_url":"https://github.com/ThiefMaster","followers_url":"https://api.github.com/users/ThiefMaster/followers","following_url":"https://api.github.com/users/ThiefMaster/following{/other_user}","gists_url":"https://api.github.com/users/ThiefMaster/gists{/gist_id}","starred_url":"https://api.github.com/users/ThiefMaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThiefMaster/subscriptions","organizations_url":"https://api.github.com/users/ThiefMaster/orgs","repos_url":"https://api.github.com/users/ThiefMaster/repos","events_url":"https://api.github.com/users/ThiefMaster/events{/privacy}","received_events_url":"https://api.github.com/users/ThiefMaster/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T08:18:31Z","updated_at":"2015-09-21T08:18:31Z","body":"Adding this method to the `DefaultConference` class solves the problem:\r\n\r\n```\r\ndef notifyModification(self, *args, **kwargs):\r\n    pass\r\n```\r\n\r\nAnd eventually (somewhere on the way to 2.0) the whole `DefaultConference` class will completely go away."}}