{"action":"created","issue":{"url":"https://api.github.com/repos/wwivbbs/wwiv/issues/955","repository_url":"https://api.github.com/repos/wwivbbs/wwiv","labels_url":"https://api.github.com/repos/wwivbbs/wwiv/issues/955/labels{/name}","comments_url":"https://api.github.com/repos/wwivbbs/wwiv/issues/955/comments","events_url":"https://api.github.com/repos/wwivbbs/wwiv/issues/955/events","html_url":"https://github.com/wwivbbs/wwiv/issues/955","id":197749456,"number":955,"title":"auto sub add failing on Raspberry Pi","user":{"login":"granitepenguin","id":913430,"avatar_url":"https://avatars.githubusercontent.com/u/913430?v=3","gravatar_id":"","url":"https://api.github.com/users/granitepenguin","html_url":"https://github.com/granitepenguin","followers_url":"https://api.github.com/users/granitepenguin/followers","following_url":"https://api.github.com/users/granitepenguin/following{/other_user}","gists_url":"https://api.github.com/users/granitepenguin/gists{/gist_id}","starred_url":"https://api.github.com/users/granitepenguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/granitepenguin/subscriptions","organizations_url":"https://api.github.com/users/granitepenguin/orgs","repos_url":"https://api.github.com/users/granitepenguin/repos","events_url":"https://api.github.com/users/granitepenguin/events{/privacy}","received_events_url":"https://api.github.com/users/granitepenguin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-27T19:48:50Z","updated_at":"2016-12-27T19:56:58Z","closed_at":null,"body":"Platform: RPi3 raspbian\r\ncommit 7309d23f18fef0a780e1667a98d37cd92a4a3867\r\n\r\nWhen adding a new sub and setting the auto add, when network1 runs, it's not processing properly and generating an error\r\n\r\n```\r\n2016-12-26 23:11:16,455 INFO  network1 starting at Mon Dec 26 23:11:16 2016\r\n2016-12-26 23:11:16,455 INFO  command line: .0\r\n2016-12-26 23:11:16,456 INFO  NETWORK1 for network: WWIVnet\r\n2016-12-26 23:11:16,456 INFO  Processing: nets/wwivnet/p1-0.net\r\n2016-12-26 23:11:16,456 INFO  Writing type 16/0 message to packet: s90.net\r\n2016-12-26 23:11:16,456 ERROR Error while writing packet: nets/wwivnet/s90.net\r\n2016-12-26 23:11:16,456 ERROR Mismatched text and p.nh.length.  text =7 nh.length = 8\r\n2016-12-26 23:11:16,457 INFO  error handing packet: type: 16\r\n2016-12-26 23:11:16,457 INFO  Deleting: nets/wwivnet/p1-0.net\r\n2016-12-26 23:11:16,457 INFO  network1 exiting at Mon Dec 26 23:11:16 2016\r\n```\r\n\r\nThere are a couple issues here.\r\n1. the fact it is erring out in the first place\r\n2. the ungraceful handling of the request\r\n\r\nIf it has an error handling the packet, it should not destroy the evidence.  The only reason I have the packet available is because I copied off the intermediary p1.001 file before allowing the system to process it.\r\n\r\nI think this is happening only on the Raspberry Pi, but I'll need to try to add a new sub on a \"normal\" linux system to see if it's having a similar issue.\r\n\r\n[p1.001.txt](https://github.com/wwivbbs/wwiv/files/674591/p1.001.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/wwivbbs/wwiv/issues/comments/269374932","html_url":"https://github.com/wwivbbs/wwiv/issues/955#issuecomment-269374932","issue_url":"https://api.github.com/repos/wwivbbs/wwiv/issues/955","id":269374932,"user":{"login":"granitepenguin","id":913430,"avatar_url":"https://avatars.githubusercontent.com/u/913430?v=3","gravatar_id":"","url":"https://api.github.com/users/granitepenguin","html_url":"https://github.com/granitepenguin","followers_url":"https://api.github.com/users/granitepenguin/followers","following_url":"https://api.github.com/users/granitepenguin/following{/other_user}","gists_url":"https://api.github.com/users/granitepenguin/gists{/gist_id}","starred_url":"https://api.github.com/users/granitepenguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/granitepenguin/subscriptions","organizations_url":"https://api.github.com/users/granitepenguin/orgs","repos_url":"https://api.github.com/users/granitepenguin/repos","events_url":"https://api.github.com/users/granitepenguin/events{/privacy}","received_events_url":"https://api.github.com/users/granitepenguin/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T19:56:58Z","updated_at":"2016-12-27T19:56:58Z","body":"just added a sub on my main linux board, that seemed to work fine  no errors creating the s1.net packet\r\n\r\n```\r\n2016-12-27 13:51:58,600 INFO  network1 version 5.2.0.2421 (Dec 26 2016, 17:43:10)\r\n2016-12-27 13:51:58,600 INFO  network1 starting at Tue Dec 27 13:51:58 2016\r\n2016-12-27 13:51:58,600 INFO  command line: .0\r\n2016-12-27 13:51:58,601 INFO  NETWORK1 for network: WWIVnet\r\n2016-12-27 13:51:58,601 INFO  Processing: nets/wwivnet/p1-0.net\r\n2016-12-27 13:51:58,601 INFO  Writing type 16/0 message to packet: s1.net\r\n2016-12-27 13:51:58,602 INFO  Deleting: nets/wwivnet/p1-0.net\r\n2016-12-27 13:51:58,602 INFO  network1 exiting at Tue Dec 27 13:51:58 2016\r\n```\r\n\r\nSo it seems to be isolated to the RPi.  Now there is one slight twist to this (that shouldn't matter)... The RPi (node @91) is set up to talk to node @90 and route everything through it, rather than talk to @1 directly.  Just a data point in case it makes a difference."}}
{"actor":{"display_login":"granitepenguin"}}