{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/8172","repository_url":"https://api.github.com/repos/arduino/Arduino","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/8172/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/8172/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/8172/events","html_url":"https://github.com/arduino/Arduino/issues/8172","id":377571278,"node_id":"MDU6SXNzdWUzNzc1NzEyNzg=","number":8172,"title":"\"Please select a port before upload\" breaks port-less devices","user":{"login":"matthijskooijman","id":194491,"node_id":"MDQ6VXNlcjE5NDQ5MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/194491?v=4","gravatar_id":"","url":"https://api.github.com/users/matthijskooijman","html_url":"https://github.com/matthijskooijman","followers_url":"https://api.github.com/users/matthijskooijman/followers","following_url":"https://api.github.com/users/matthijskooijman/following{/other_user}","gists_url":"https://api.github.com/users/matthijskooijman/gists{/gist_id}","starred_url":"https://api.github.com/users/matthijskooijman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthijskooijman/subscriptions","organizations_url":"https://api.github.com/users/matthijskooijman/orgs","repos_url":"https://api.github.com/users/matthijskooijman/repos","events_url":"https://api.github.com/users/matthijskooijman/events{/privacy}","received_events_url":"https://api.github.com/users/matthijskooijman/received_events","type":"User","site_admin":false},"labels":[{"id":140688767,"node_id":"MDU6TGFiZWwxNDA2ODg3Njc=","url":"https://api.github.com/repos/arduino/Arduino/labels/Component:%20Uploading","name":"Component: Uploading","color":"009800","default":false},{"id":21933929,"node_id":"MDU6TGFiZWwyMTkzMzkyOQ==","url":"https://api.github.com/repos/arduino/Arduino/labels/Type:%20Bug","name":"Type: Bug","color":"0052cc","default":false},{"id":128703617,"node_id":"MDU6TGFiZWwxMjg3MDM2MTc=","url":"https://api.github.com/repos/arduino/Arduino/labels/Type:%20Duplicate","name":"Type: Duplicate","color":"f7c6c7","default":false},{"id":134334841,"node_id":"MDU6TGFiZWwxMzQzMzQ4NDE=","url":"https://api.github.com/repos/arduino/Arduino/labels/Type:%20Regression","name":"Type: Regression","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-05T20:34:22Z","updated_at":"2018-11-06T00:28:48Z","closed_at":"2018-11-05T20:40:24Z","author_association":"COLLABORATOR","body":"It seems that the new \"Please select a port before upload\"-message that was added in #7958 breaks uploads to port-less devices, such as the digispark boards. These devices use a custom uploader tool that uses a custom USB protocol through libusb rather than a serial port.\r\n\r\nOn a new install, there would be no need to select a serial port with these boards. However, the newly added message is still shown, and uploading is prevented. On a system without serial ports, where a port has never been selected before, this completely prevents users from uploading their sketches.\r\n\r\nNote that I haven't confirmed this problem myself, this report is based on a report from a user in #arduino a few days ago. However, from how I understand the code works, I expect this issue exists as described.\r\n\r\nTo fix this, I guess the IDE should become aware of whether a board needs a serial port to upload. One easy way would be to see if the upload recipe uses the serial port name (the [digispark core does not](https://github.com/digistump/DigistumpArduino/blob/master/digistump-avr/platform.txt#L79), though that feels a little bit fragile.\r\n\r\n@PaulStoffregen "},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/436087022","html_url":"https://github.com/arduino/Arduino/issues/8172#issuecomment-436087022","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/8172","id":436087022,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjA4NzAyMg==","user":{"login":"per1234","id":8572152,"node_id":"MDQ6VXNlcjg1NzIxNTI=","avatar_url":"https://avatars1.githubusercontent.com/u/8572152?v=4","gravatar_id":"","url":"https://api.github.com/users/per1234","html_url":"https://github.com/per1234","followers_url":"https://api.github.com/users/per1234/followers","following_url":"https://api.github.com/users/per1234/following{/other_user}","gists_url":"https://api.github.com/users/per1234/gists{/gist_id}","starred_url":"https://api.github.com/users/per1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/per1234/subscriptions","organizations_url":"https://api.github.com/users/per1234/orgs","repos_url":"https://api.github.com/users/per1234/repos","events_url":"https://api.github.com/users/per1234/events{/privacy}","received_events_url":"https://api.github.com/users/per1234/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T00:28:48Z","updated_at":"2018-11-06T00:28:48Z","author_association":"COLLABORATOR","body":"AFAIK, the \"Start 1.8.8\" commit has no significance. They usually do the version bump immediately after each release but sometimes that gets forgotten. That's a problem because then the hourly build displays a confusing version number in the title bar and **About** dialog (e.g. `Arduino IDE 1.8.7 Hourly Build 2018/10/24 04:33` instead of the expected `Arduino IDE 1.8.8 Hourly Build 2018/10/24 04:33`). I noticed the bump hadn't happened after the 1.8.7 release and so I submitted that PR. I have no insider knowledge about release schedules but I don't think that PR being merged is any indication since it's a simple, obvious change that there's no reason to wait on.\r\n\r\nThanks for all your contributions to the Arduino project PaulStoffregen. I think that your \"Please select a port before upload\" is a very valuable feature that will help a lot of beginners. I'm looking forward to a time when the posts about `avrdude: ser_open(): can't open device \"\\\\.\\COM1\": The system cannot find the file specified.` no longer pop up on the forum several times a week."}}
{"actor":{"display_login":"per1234"}}