{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/comments/29143308","id":29143308,"diff_hunk":"@@ -0,0 +1,763 @@\n+import datetime\n+import errno\n+import gettext\n+import itertools\n+import json\n+import locale\n+import os\n+import queue\n+import subprocess\n+import sys\n+import threading\n+\n+import psutil\n+\n+import wx\n+import wx.adv\n+\n+import openslides\n+\n+from openslides.utils.main import (\n+    detect_openslides_type,\n+    get_default_user_data_path,\n+    PortableDirNotWritable,\n+)\n+\n+\n+# NOTE: djangos translation module can't be used here since it requires\n+#       a defined settings module\n+_translations = gettext.NullTranslations()\n+_ = lambda text: _translations.gettext(text)\n+ngettext = lambda msg1, msg2, n: _translations.ngettext(msg1, msg2, n)","path":"openslides_gui/gui.py","position":31,"original_position":31,"commit_id":"c784a7eb0e9a4e0784b67a983a1b81272e8b7e50","original_commit_id":"c784a7eb0e9a4e0784b67a983a1b81272e8b7e50","user":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"body":"Proposal: Use:\r\n```python\r\n_ = _translations.gettext\r\nngettext = _translations.ngettext\r\n```\r\nMarkdown supported ","created_at":"2015-04-27T12:58:03Z","updated_at":"2015-04-27T12:58:03Z","html_url":"https://github.com/OpenSlides/openslides-gui/pull/1#discussion_r29143308","pull_request_url":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/comments/29143308"},"html":{"href":"https://github.com/OpenSlides/openslides-gui/pull/1#discussion_r29143308"},"pull_request":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/1","id":30731148,"html_url":"https://github.com/OpenSlides/openslides-gui/pull/1","diff_url":"https://github.com/OpenSlides/openslides-gui/pull/1.diff","patch_url":"https://github.com/OpenSlides/openslides-gui/pull/1.patch","issue_url":"https://api.github.com/repos/OpenSlides/openslides-gui/issues/1","number":1,"state":"open","locked":false,"title":"Split openslides gui from main repositorie","user":{"login":"andkit","id":1395811,"avatar_url":"https://avatars.githubusercontent.com/u/1395811?v=3","gravatar_id":"","url":"https://api.github.com/users/andkit","html_url":"https://github.com/andkit","followers_url":"https://api.github.com/users/andkit/followers","following_url":"https://api.github.com/users/andkit/following{/other_user}","gists_url":"https://api.github.com/users/andkit/gists{/gist_id}","starred_url":"https://api.github.com/users/andkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andkit/subscriptions","organizations_url":"https://api.github.com/users/andkit/orgs","repos_url":"https://api.github.com/users/andkit/repos","events_url":"https://api.github.com/users/andkit/events{/privacy}","received_events_url":"https://api.github.com/users/andkit/received_events","type":"User","site_admin":false},"body":"As discussed with/ wanted by @emanuelschuetze this a pull request with the changes to split out the gui from the main openslides repository. It's still somewhat WIP, but it's a start so the repo want look so empty ;)","created_at":"2015-03-09T01:27:25Z","updated_at":"2015-04-27T12:58:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cc33142626cc0eb009d541c62211a073bda8b2c","assignee":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/1/commits","review_comments_url":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/1/comments","review_comment_url":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSlides/openslides-gui/issues/1/comments","statuses_url":"https://api.github.com/repos/OpenSlides/openslides-gui/statuses/c784a7eb0e9a4e0784b67a983a1b81272e8b7e50","head":{"label":"andkit:master","ref":"master","sha":"c784a7eb0e9a4e0784b67a983a1b81272e8b7e50","user":{"login":"andkit","id":1395811,"avatar_url":"https://avatars.githubusercontent.com/u/1395811?v=3","gravatar_id":"","url":"https://api.github.com/users/andkit","html_url":"https://github.com/andkit","followers_url":"https://api.github.com/users/andkit/followers","following_url":"https://api.github.com/users/andkit/following{/other_user}","gists_url":"https://api.github.com/users/andkit/gists{/gist_id}","starred_url":"https://api.github.com/users/andkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andkit/subscriptions","organizations_url":"https://api.github.com/users/andkit/orgs","repos_url":"https://api.github.com/users/andkit/repos","events_url":"https://api.github.com/users/andkit/events{/privacy}","received_events_url":"https://api.github.com/users/andkit/received_events","type":"User","site_admin":false},"repo":{"id":30847193,"name":"openslides-gui","full_name":"andkit/openslides-gui","owner":{"login":"andkit","id":1395811,"avatar_url":"https://avatars.githubusercontent.com/u/1395811?v=3","gravatar_id":"","url":"https://api.github.com/users/andkit","html_url":"https://github.com/andkit","followers_url":"https://api.github.com/users/andkit/followers","following_url":"https://api.github.com/users/andkit/following{/other_user}","gists_url":"https://api.github.com/users/andkit/gists{/gist_id}","starred_url":"https://api.github.com/users/andkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andkit/subscriptions","organizations_url":"https://api.github.com/users/andkit/orgs","repos_url":"https://api.github.com/users/andkit/repos","events_url":"https://api.github.com/users/andkit/events{/privacy}","received_events_url":"https://api.github.com/users/andkit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andkit/openslides-gui","description":"GUI frontend for OpenSlides","fork":true,"url":"https://api.github.com/repos/andkit/openslides-gui","forks_url":"https://api.github.com/repos/andkit/openslides-gui/forks","keys_url":"https://api.github.com/repos/andkit/openslides-gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andkit/openslides-gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andkit/openslides-gui/teams","hooks_url":"https://api.github.com/repos/andkit/openslides-gui/hooks","issue_events_url":"https://api.github.com/repos/andkit/openslides-gui/issues/events{/number}","events_url":"https://api.github.com/repos/andkit/openslides-gui/events","assignees_url":"https://api.github.com/repos/andkit/openslides-gui/assignees{/user}","branches_url":"https://api.github.com/repos/andkit/openslides-gui/branches{/branch}","tags_url":"https://api.github.com/repos/andkit/openslides-gui/tags","blobs_url":"https://api.github.com/repos/andkit/openslides-gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andkit/openslides-gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andkit/openslides-gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/andkit/openslides-gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andkit/openslides-gui/statuses/{sha}","languages_url":"https://api.github.com/repos/andkit/openslides-gui/languages","stargazers_url":"https://api.github.com/repos/andkit/openslides-gui/stargazers","contributors_url":"https://api.github.com/repos/andkit/openslides-gui/contributors","subscribers_url":"https://api.github.com/repos/andkit/openslides-gui/subscribers","subscription_url":"https://api.github.com/repos/andkit/openslides-gui/subscription","commits_url":"https://api.github.com/repos/andkit/openslides-gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/andkit/openslides-gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/andkit/openslides-gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/andkit/openslides-gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/andkit/openslides-gui/contents/{+path}","compare_url":"https://api.github.com/repos/andkit/openslides-gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andkit/openslides-gui/merges","archive_url":"https://api.github.com/repos/andkit/openslides-gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andkit/openslides-gui/downloads","issues_url":"https://api.github.com/repos/andkit/openslides-gui/issues{/number}","pulls_url":"https://api.github.com/repos/andkit/openslides-gui/pulls{/number}","milestones_url":"https://api.github.com/repos/andkit/openslides-gui/milestones{/number}","notifications_url":"https://api.github.com/repos/andkit/openslides-gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andkit/openslides-gui/labels{/name}","releases_url":"https://api.github.com/repos/andkit/openslides-gui/releases{/id}","created_at":"2015-02-16T00:03:48Z","updated_at":"2015-04-23T22:36:51Z","pushed_at":"2015-04-23T22:36:50Z","git_url":"git://github.com/andkit/openslides-gui.git","ssh_url":"git@github.com:andkit/openslides-gui.git","clone_url":"https://github.com/andkit/openslides-gui.git","svn_url":"https://github.com/andkit/openslides-gui","homepage":null,"size":108,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenSlides:master","ref":"master","sha":"ddb475c3ca8ddf6db6c333d1649100627bd2c76a","user":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"repo":{"id":29735676,"name":"openslides-gui","full_name":"OpenSlides/openslides-gui","owner":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSlides/openslides-gui","description":"GUI frontend for OpenSlides","fork":false,"url":"https://api.github.com/repos/OpenSlides/openslides-gui","forks_url":"https://api.github.com/repos/OpenSlides/openslides-gui/forks","keys_url":"https://api.github.com/repos/OpenSlides/openslides-gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSlides/openslides-gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSlides/openslides-gui/teams","hooks_url":"https://api.github.com/repos/OpenSlides/openslides-gui/hooks","issue_events_url":"https://api.github.com/repos/OpenSlides/openslides-gui/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSlides/openslides-gui/events","assignees_url":"https://api.github.com/repos/OpenSlides/openslides-gui/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSlides/openslides-gui/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSlides/openslides-gui/tags","blobs_url":"https://api.github.com/repos/OpenSlides/openslides-gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSlides/openslides-gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSlides/openslides-gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSlides/openslides-gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSlides/openslides-gui/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSlides/openslides-gui/languages","stargazers_url":"https://api.github.com/repos/OpenSlides/openslides-gui/stargazers","contributors_url":"https://api.github.com/repos/OpenSlides/openslides-gui/contributors","subscribers_url":"https://api.github.com/repos/OpenSlides/openslides-gui/subscribers","subscription_url":"https://api.github.com/repos/OpenSlides/openslides-gui/subscription","commits_url":"https://api.github.com/repos/OpenSlides/openslides-gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSlides/openslides-gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSlides/openslides-gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSlides/openslides-gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSlides/openslides-gui/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSlides/openslides-gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSlides/openslides-gui/merges","archive_url":"https://api.github.com/repos/OpenSlides/openslides-gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSlides/openslides-gui/downloads","issues_url":"https://api.github.com/repos/OpenSlides/openslides-gui/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSlides/openslides-gui/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSlides/openslides-gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSlides/openslides-gui/labels{/name}","releases_url":"https://api.github.com/repos/OpenSlides/openslides-gui/releases{/id}","created_at":"2015-01-23T14:22:52Z","updated_at":"2015-01-23T14:22:52Z","pushed_at":"2015-04-23T22:36:50Z","git_url":"git://github.com/OpenSlides/openslides-gui.git","ssh_url":"git@github.com:OpenSlides/openslides-gui.git","clone_url":"https://github.com/OpenSlides/openslides-gui.git","svn_url":"https://github.com/OpenSlides/openslides-gui","homepage":null,"size":203,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/1"},"html":{"href":"https://github.com/OpenSlides/openslides-gui/pull/1"},"issue":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/issues/1"},"comments":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSlides/openslides-gui/statuses/c784a7eb0e9a4e0784b67a983a1b81272e8b7e50"}}}}