{"action":"opened","issue":{"url":"https://api.github.com/repos/leo-editor/leo-editor/issues/812","repository_url":"https://api.github.com/repos/leo-editor/leo-editor","labels_url":"https://api.github.com/repos/leo-editor/leo-editor/issues/812/labels{/name}","comments_url":"https://api.github.com/repos/leo-editor/leo-editor/issues/812/comments","events_url":"https://api.github.com/repos/leo-editor/leo-editor/issues/812/events","html_url":"https://github.com/leo-editor/leo-editor/issues/812","id":305442965,"number":812,"title":"g.glob_glob may have broken bookmarks on Windows","user":{"login":"edreamleo","id":592928,"avatar_url":"https://avatars0.githubusercontent.com/u/592928?v=4","gravatar_id":"","url":"https://api.github.com/users/edreamleo","html_url":"https://github.com/edreamleo","followers_url":"https://api.github.com/users/edreamleo/followers","following_url":"https://api.github.com/users/edreamleo/following{/other_user}","gists_url":"https://api.github.com/users/edreamleo/gists{/gist_id}","starred_url":"https://api.github.com/users/edreamleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edreamleo/subscriptions","organizations_url":"https://api.github.com/users/edreamleo/orgs","repos_url":"https://api.github.com/users/edreamleo/repos","events_url":"https://api.github.com/users/edreamleo/events{/privacy}","received_events_url":"https://api.github.com/users/edreamleo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tbnorth","id":158108,"avatar_url":"https://avatars2.githubusercontent.com/u/158108?v=4","gravatar_id":"","url":"https://api.github.com/users/tbnorth","html_url":"https://github.com/tbnorth","followers_url":"https://api.github.com/users/tbnorth/followers","following_url":"https://api.github.com/users/tbnorth/following{/other_user}","gists_url":"https://api.github.com/users/tbnorth/gists{/gist_id}","starred_url":"https://api.github.com/users/tbnorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbnorth/subscriptions","organizations_url":"https://api.github.com/users/tbnorth/orgs","repos_url":"https://api.github.com/users/tbnorth/repos","events_url":"https://api.github.com/users/tbnorth/events{/privacy}","received_events_url":"https://api.github.com/users/tbnorth/received_events","type":"User","site_admin":false},"assignees":[{"login":"tbnorth","id":158108,"avatar_url":"https://avatars2.githubusercontent.com/u/158108?v=4","gravatar_id":"","url":"https://api.github.com/users/tbnorth","html_url":"https://github.com/tbnorth","followers_url":"https://api.github.com/users/tbnorth/followers","following_url":"https://api.github.com/users/tbnorth/following{/other_user}","gists_url":"https://api.github.com/users/tbnorth/gists{/gist_id}","starred_url":"https://api.github.com/users/tbnorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbnorth/subscriptions","organizations_url":"https://api.github.com/users/tbnorth/orgs","repos_url":"https://api.github.com/users/tbnorth/repos","events_url":"https://api.github.com/users/tbnorth/events{/privacy}","received_events_url":"https://api.github.com/users/tbnorth/received_events","type":"User","site_admin":false},{"login":"edreamleo","id":592928,"avatar_url":"https://avatars0.githubusercontent.com/u/592928?v=4","gravatar_id":"","url":"https://api.github.com/users/edreamleo","html_url":"https://github.com/edreamleo","followers_url":"https://api.github.com/users/edreamleo/followers","following_url":"https://api.github.com/users/edreamleo/following{/other_user}","gists_url":"https://api.github.com/users/edreamleo/gists{/gist_id}","starred_url":"https://api.github.com/users/edreamleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edreamleo/subscriptions","organizations_url":"https://api.github.com/users/edreamleo/orgs","repos_url":"https://api.github.com/users/edreamleo/repos","events_url":"https://api.github.com/users/edreamleo/events{/privacy}","received_events_url":"https://api.github.com/users/edreamleo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-15T07:33:59Z","updated_at":"2018-03-15T07:33:59Z","closed_at":null,"author_association":"OWNER","body":"Rev 8ab89ca6f5a1 replaces glob.glob by g.glob_glob throughout Leo's core.  It may have broken the bookmarks plugin and ruined existing bookmarks.\r\n\r\nThere are no calls to glob.glob or g.glob_glob in bookmarks.py, but BookMarkDisplayProvider.ns_provide does call g.recursiveUNLFind.  It's *possible* that ns_provide might have to translate backslashes to slashes, but that does not seem reasonable.  It may be more likely that back slashes should be preserved in Leo's core url/unl handling.  I'll investigate.\r\n\r\nLewis Neal reports this:\r\nQQQ\r\nAfter a recent commit 8ab89ca6f5a1, my bookmarks failed to display.\r\nI right-clicked over a pane divider and selected Load Layout > bookmarks_name\r\n\r\nLeo then crashed with a dialog box [python has stopped working]\r\n\r\nTraceback (most recent call last):\r\n  File \"N:\\git\\leo-editor\\leo\\plugins\\nested_splitter.py\", line 350, in cb\r\n    splitter.context_cb(id_, index)\r\n  File \"N:\\git\\leo-editor\\leo\\plugins\\nested_splitter.py\", line 650, in context_cb\r\n    provided = provider.ns_do_context(id_, self, index)\r\n  File \"N:\\git\\leo-editor\\leo\\plugins\\free_layout.py\", line 311, in ns_do_context\r\n    self.get_top_splitter().load_layout(layout)\r\n  File \"N:\\git\\leo-editor\\leo\\plugins\\nested_splitter.py\", line 1071, in load_layout\r\n    new.load_layout(i, level + 1)\r\n  File \"N:\\git\\leo-editor\\leo\\plugins\\nested_splitter.py\", line 1073, in load_layout\r\n    provided = self.get_provided(i)\r\n  File \"N:\\git\\leo-editor\\leo\\plugins\\nested_splitter.py\", line 1125, in get_provided\r\n    provided = provider.ns_provide(id_)\r\n  File \"N:\\git\\leo-editor\\leo\\plugins\\bookmarks.py\", line 1212, in ns_provide\r\n    ok, depth, other_p = g.recursiveUNLFind(UNL.split('-->'), other_c)\r\n  File \"N:\\git\\leo-editor\\leo\\core\\leoGlobals.py\", line 3813, in recursiveUNLFind\r\n    target = unlList[depth]\r\nIndexError: list index out of range\r\n[end]\r\n\r\nLeo Log Window\r\nLeo 5.8 devel, build 20180307231313, Wed Mar 7 23:13:13 PST 2018\r\nGit repo info: branch = devel, commit = a7ad18cbb012\r\nPython 3.6.4, PyQt version 5.10.1\r\nWindows 10 AMD64 (build 10.0.16299) SP0\r\nisPython3: True\r\nQQQ\r\n"}}
{"actor":{"display_login":"edreamleo"}}