{"action":"created","issue":{"url":"https://api.github.com/repos/pychess/pychess/issues/599","labels_url":"https://api.github.com/repos/pychess/pychess/issues/599/labels{/name}","comments_url":"https://api.github.com/repos/pychess/pychess/issues/599/comments","events_url":"https://api.github.com/repos/pychess/pychess/issues/599/events","html_url":"https://github.com/pychess/pychess/issues/599","id":56471983,"number":599,"title":"pychess saving empty PGN file after editing","user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pychess/pychess/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-04T02:38:35Z","updated_at":"2015-02-04T02:38:44Z","closed_at":null,"body":"Original [issue 599](https://code.google.com/p/pychess/issues/detail?id=599) reported by [cqbkaju](https://code.google.com/u/109969498147979196868/) 2010-10-20\n\n**What steps will reproduce the problem?**\n1. Open PGN file, human vs human\n2. edit the position\n3. hit \"save\" or \"save as\"\n\n**What is the expected output? What do you see instead?**\nexpect new or updated pgn file\ninstead it erases the existing file\n\n\n**Does it happen every time?**\nyes\n\n\n**What version of the product are you using?**\nstaunton .10 beta 4\n\n**Did you use an installed version of PyChess or did you run in from a**\n**tarball/svn?**\ninstalled RPM\n\n**Please provide any additional information below.**\n\n\n**Please attach the latest pychess logfile. It's in a hidden folder, under**\nyour homedirectory, named \".local/share/pychess/\""},"comment":{"url":"https://api.github.com/repos/pychess/pychess/issues/comments/72780024","html_url":"https://github.com/pychess/pychess/issues/599#issuecomment-72780024","issue_url":"https://api.github.com/repos/pychess/pychess/issues/599","id":72780024,"user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T02:38:44Z","updated_at":"2015-02-04T02:38:44Z","body":"Original [comment 5.](https://code.google.com/p/pychess/issues/detail?id=599#c5) posted by [igor2x](https://code.google.com/u/116691631290437288902/) 2010-10-21\n\nI have also tried to test this issue. I did the following (on Ubuntu 10.10):\n1. Updated PyChess source code to beta4 executing: hg update -r beta4\n2. Run PyChess: PYTHONPATH=lib/ ./pychess\n3. Game | Load Game\n4. Pointed to one pgn file I have downloaded from internet.\n5. Set both players to \"Human Being\" and clicked on \"Stard Game\".\n6. Then board is shown with figures, but right after that I get the following error in terminal (tested several time with the same result):\n\nI got the following errors:\n=======\n** Message: pygobject\\_register\\_sinkfunc is deprecated (GstObject)\n/home/igor/App/pychess/lib/pychess/System/uistuff.py:438: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated\n  self.glade = gtk.glade.XML(addDataPrefix(\"glade/%s\" % filename))\n/home/igor/App/pychess/lib/pychess/widgets/ionest.py:209: GtkWarning: Attempting to read the recently used resources file at `/home/igor/.recently-used.xbel', but the parser failed: Error reading file '/home/igor/.recently-used.xbel': Invalid argument.\n  (gtk.STOCK\\_CANCEL, gtk.RESPONSE\\_CANCEL, gtk.STOCK\\_OPEN, gtk.RESPONSE\\_ACCEPT))\n21:45:59 Default Warning: Chatpanel loaded with two local players\nThe program 'pychess' received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was 'BadRequest (invalid request code or no such operation)'.\n  (Details: serial 20036 error\\_code 1 request\\_code 0 minor\\_code 0)\n  (Note to programmers: normally, X errors are reported asynchronously;\n   that is, you will receive the error a while after causing it.\n   To debug your program, run it with the --sync command line\n   option to change this behavior. You can then get a meaningful\n   backtrace from your debugger if you break on the gdk\\_x\\_error() function.)\n====\n\n\n7. I have updated PyChess to the latest tip revision with command: hg update -r tip\n8. I have repeated all steps from 1 to 6 and PyChess is working fine without any problem at all. I can't reproduce the cqbkaju problem in tip revision.\n\n\nIt looks (at least on my computer) that beta4 does not behave very nice on Ubuntu 10.10. Maybe it is really time to create new beta."}}