You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Aditi Hilbert (JIRA)" <ji...@apache.org> on 2016/06/16 20:12:05 UTC

[jira] [Commented] (MYNEWT-321) newt should check existence of repository.yml before trying to parse it

    [ https://issues.apache.org/jira/browse/MYNEWT-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334591#comment-15334591 ] 

Aditi Hilbert commented on MYNEWT-321:
--------------------------------------

Install log from a user spews out a barrage of go messages which can be traced to the issue of missing repository.yml:

mynewt_arduino_zero
Downloading repository description for mynewt_arduino_zero... success!
mynewt_sodaq_autonomo
Downloading repository description for mynewt_sodaq_autonomo... success!
panic: interface conversion: interface is int, not int64

goroutine 1 [running]:
panic(0x8f7ac0, 0xc820308680)
	/usr/local/go/src/runtime/panic.go:481 +0x3e6
mynewt.apache.org/newt/newt/vendor/mynewt.apache.org/newt/yaml.stringValue(0x81e180, 0xc820201640, 0x0, 0x0)
	/home/kees/src/mynewt/dev/go/src/mynewt.apache.org/newt/newt/vendor/mynewt.apache.org/newt/yaml/decode.go:113 +0x17c
mynewt.apache.org/newt/newt/vendor/mynewt.apache.org/newt/yaml.decodeMappingStart(0xc820292d80, 0xc8201dedc0, 0xc8202bae80, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/kees/src/mynewt/dev/go/src/mynewt.apache.org/newt/newt/vendor/mynewt.apache.org/newt/yaml/decode.go:214 +0x138
<snip> 



> newt should check existence of repository.yml before trying to parse it
> -----------------------------------------------------------------------
>
>                 Key: MYNEWT-321
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-321
>             Project: Mynewt
>          Issue Type: Bug
>          Components: Newt
>            Reporter: Marko Kiiskila
>            Assignee: Sterling Hughes
>
> If remote repository is missing repository.yml, error message from 'newt install' does not point user to right direction.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)