Re: Newbie & running into an error during setup
Ok. Thanks Mohammad. On Wed, Dec 7, 2016 at 9:47 PM, Mohammad Afanehwrote: > Todd, unfortunately I don't have the environment set up. However, I was > getting the same errors as before: > > Error: No testable packages found > > Error: Package @apache-mynewt-core/sys/config contains no unit tests > > - Mohammad > > On Wed, Dec 7, 2016 at 2:22 PM, todd mitton wrote: > > > Glad the native install is working for you. > > > > The updated docker container should have worked though. Could you paste > in > > the test failure if you still have it available? I'm curious why it > didn't > > work. > > > > Thanks, > > -Todd > > > > On Tue, Dec 6, 2016 at 7:31 PM, Mohammad Afaneh > wrote: > > > > > Even after that update, the unit tests were still not working. The > > > directory structure however, I was confused about - the folders I was > > > looking at in the documentation are in the "repos/apache-mynewt-core", > > not > > > the root folder (so I have all the folders). > > > > > > I ended up doing a native install instead of the docker method and > > > everything is working okay. > > > > > > Thanks for everyone's help. > > > > > > - Mohammad > > > > > > On Tue, Dec 6, 2016 at 6:00 PM, todd mitton wrote: > > > > > > > The docker container has been updated for version 1.0.0-b1. Run > > `docker > > > > pull mynewt/newt:latest` to get the updated version. Make sure `newt > > > > version` shows 1.0.0-b1. That version is working for me. > > > > > > > > Thanks, > > > > -Todd > > > > > > > > On Tue, Dec 6, 2016 at 12:13 PM, David G. Simmons > > > > wrote: > > > > > > > > > I'm looking into this, and here's what happens when I do what is > > > > described > > > > > in the docs (by copy/paste from the doc to my terminal on OS X > > Sierra) > > > > > > > > > > TL;DR: There is a major malfunction in running any of the tests: > > > > > In file included from aes.c:29:0: > > > > > /Users/dsimmons/test_newt/myproj/repos/apache-mynewt- > > > > > core/crypto/mbedtls/include/mbedtls/config.h:2522:10: error: > > #include > > > > > expects "FILENAME" or > > > > > #include MBEDTLS_USER_CONFIG_FILE > > > > > > > > > > Read on to see (if you're interested) how the docs differ from the > > > actual > > > > > output (tl;dr: They don't :-) ) > > > > > > > > > > dsimmons$ newt new myproj > > > > > Downloading project skeleton from apache/incubator-mynewt- > blinky... > > > > > Installing skeleton in myproj... > > > > > Project myproj successfully created. > > > > > DSimmons-Pro:test_newt dsimmons$ cd myproj/ > > > > > DSimmons-Pro:myproj dsimmons$ tree > > > > > . > > > > > ├── DISCLAIMER > > > > > ├── LICENSE > > > > > ├── NOTICE > > > > > ├── README.md > > > > > ├── apps > > > > > │ └── blinky > > > > > │ ├── pkg.yml > > > > > │ └── src > > > > > │ └── main.c > > > > > ├── project.yml > > > > > └── targets > > > > > ├── my_blinky_sim > > > > > │ ├── pkg.yml > > > > > │ └── target.yml > > > > > └── unittest > > > > > ├── pkg.yml > > > > > └── target.yml > > > > > > > > > > 6 directories, 11 files > > > > > dsimmons$ newt install -v > > > > > apache-mynewt-core > > > > > Downloading repository description for apache-mynewt-core... > > > > > success! > > > > > Downloading repository incubator-mynewt-core (branch: master; > commit: > > > > > mynewt_1_0_0_b1_tag) at https://github.com/apache/ > > > > > incubator-mynewt-core.git > > > > > Cloning into '/var/folders/_l/m5h3k18x0x3f6422p12_ > cpchgp/T/newt- > > > > > repo730366949'... > > > > > remote: Counting objects: 45144, done. > > > > > remote: Compressing objects: 100% (150/150), done. > > > > > remote: Total 45144 (delta 60), reused 0 (delta 0), pack-reused > 44981 > > > > > Receiving objects: 100% (45144/45144), 73.66 MiB | 19.08 MiB/s, > done. > > > > > Resolving deltas: 100% (26822/26822), done. > > > > > Checking connectivity... done. > > > > > apache-mynewt-core successfully installed version 0.9.9-none > > > > > DSimmons-Pro:myproj dsimmons$ tree -L 2 repos/apache-mynewt-core/ > > > > > repos/apache-mynewt-core/ > > > > > ├── CODING_STANDARDS.md > > > > > ├── DISCLAIMER > > > > > ├── LICENSE > > > > > ├── NOTICE > > > > > ├── README.md > > > > > ├── RELEASE_NOTES.md > > > > > ├── apps > > > > > │ ├── blecent > > > > > │ ├── blehci > > > > > │ ├── bleprph > > > > > │ ├── bleprph_oic > > > > > │ ├── bletest > > > > > │ ├── bletiny > > > > > │ ├── bleuart > > > > > │ ├── boot > > > > > │ ├── ffs2native > > > > > │ ├── ocf_sample > > > > > │ ├── slinky > > > > > │ ├── slinky_oic > > > > > │ ├── spitest > > > > > │ ├── splitty > > > > > │ ├── test > > > > > │ └── timtest > > > > > ├── boot > > > > > │ ├── boot_serial > > > > > │ ├── bootutil > > > > > │ └── split > > > > > ├── compiler > > > > > │ ├── arm-none-eabi-m0 > > > > > │ ├── arm-none-eabi-m4 > > > > > │ ├── gdbmacros
Re: Newbie & running into an error during setup
Even after that update, the unit tests were still not working. The directory structure however, I was confused about - the folders I was looking at in the documentation are in the "repos/apache-mynewt-core", not the root folder (so I have all the folders). I ended up doing a native install instead of the docker method and everything is working okay. Thanks for everyone's help. - Mohammad On Tue, Dec 6, 2016 at 6:00 PM, todd mittonwrote: > The docker container has been updated for version 1.0.0-b1. Run `docker > pull mynewt/newt:latest` to get the updated version. Make sure `newt > version` shows 1.0.0-b1. That version is working for me. > > Thanks, > -Todd > > On Tue, Dec 6, 2016 at 12:13 PM, David G. Simmons > wrote: > > > I'm looking into this, and here's what happens when I do what is > described > > in the docs (by copy/paste from the doc to my terminal on OS X Sierra) > > > > TL;DR: There is a major malfunction in running any of the tests: > > In file included from aes.c:29:0: > > /Users/dsimmons/test_newt/myproj/repos/apache-mynewt- > > core/crypto/mbedtls/include/mbedtls/config.h:2522:10: error: #include > > expects "FILENAME" or > > #include MBEDTLS_USER_CONFIG_FILE > > > > Read on to see (if you're interested) how the docs differ from the actual > > output (tl;dr: They don't :-) ) > > > > dsimmons$ newt new myproj > > Downloading project skeleton from apache/incubator-mynewt-blinky... > > Installing skeleton in myproj... > > Project myproj successfully created. > > DSimmons-Pro:test_newt dsimmons$ cd myproj/ > > DSimmons-Pro:myproj dsimmons$ tree > > . > > ├── DISCLAIMER > > ├── LICENSE > > ├── NOTICE > > ├── README.md > > ├── apps > > │ └── blinky > > │ ├── pkg.yml > > │ └── src > > │ └── main.c > > ├── project.yml > > └── targets > > ├── my_blinky_sim > > │ ├── pkg.yml > > │ └── target.yml > > └── unittest > > ├── pkg.yml > > └── target.yml > > > > 6 directories, 11 files > > dsimmons$ newt install -v > > apache-mynewt-core > > Downloading repository description for apache-mynewt-core... > > success! > > Downloading repository incubator-mynewt-core (branch: master; commit: > > mynewt_1_0_0_b1_tag) at https://github.com/apache/ > > incubator-mynewt-core.git > > Cloning into '/var/folders/_l/m5h3k18x0x3f6422p12_cpchgp/T/newt- > > repo730366949'... > > remote: Counting objects: 45144, done. > > remote: Compressing objects: 100% (150/150), done. > > remote: Total 45144 (delta 60), reused 0 (delta 0), pack-reused 44981 > > Receiving objects: 100% (45144/45144), 73.66 MiB | 19.08 MiB/s, done. > > Resolving deltas: 100% (26822/26822), done. > > Checking connectivity... done. > > apache-mynewt-core successfully installed version 0.9.9-none > > DSimmons-Pro:myproj dsimmons$ tree -L 2 repos/apache-mynewt-core/ > > repos/apache-mynewt-core/ > > ├── CODING_STANDARDS.md > > ├── DISCLAIMER > > ├── LICENSE > > ├── NOTICE > > ├── README.md > > ├── RELEASE_NOTES.md > > ├── apps > > │ ├── blecent > > │ ├── blehci > > │ ├── bleprph > > │ ├── bleprph_oic > > │ ├── bletest > > │ ├── bletiny > > │ ├── bleuart > > │ ├── boot > > │ ├── ffs2native > > │ ├── ocf_sample > > │ ├── slinky > > │ ├── slinky_oic > > │ ├── spitest > > │ ├── splitty > > │ ├── test > > │ └── timtest > > ├── boot > > │ ├── boot_serial > > │ ├── bootutil > > │ └── split > > ├── compiler > > │ ├── arm-none-eabi-m0 > > │ ├── arm-none-eabi-m4 > > │ ├── gdbmacros > > │ └── sim > > ├── crypto > > │ ├── mbedtls > > │ └── tinycrypt > > ├── docs > > │ └── doxygen.xml > > ├── encoding > > │ ├── base64 > > │ ├── cborattr > > │ ├── json > > │ └── tinycbor > > ├── fs > > │ ├── fcb > > │ ├── fs > > │ └── nffs > > ├── hw > > │ ├── bsp > > │ ├── cmsis-core > > │ ├── drivers > > │ ├── hal > > │ ├── mcu > > │ └── scripts > > ├── kernel > > │ └── os > > ├── libc > > │ └── baselibc > > ├── mgmt > > │ ├── imgmgr > > │ ├── mgmt > > │ ├── newtmgr > > │ └── oicmgr > > ├── net > > │ ├── ip > > │ ├── nimble > > │ ├── oic > > │ └── wifi > > ├── project.yml > > ├── repository.yml > > ├── sys > > │ ├── config > > │ ├── console > > │ ├── coredump > > │ ├── defs > > │ ├── flash_map > > │ ├── id > > │ ├── log > > │ ├── mfg > > │ ├── reboot > > │ ├── shell > > │ ├── stats > > │ └── sysinit > > ├── targets > > │ └── unittest > > ├── test > > │ ├── crash_test > > │ ├── flash_test > > │ ├── runtest > > │ ├── testreport > > │ └── testutil > > ├── time > > │ └── datetime > > └── util > > ├── cbmem > > ├── crc > > └── mem > > > > 87 directories, 9 files > > DSimmons-Pro:myproj dsimmons$ newt test @apache-mynewt-core/sys/config > > Testing package @apache-mynewt-core/sys/config/test-fcb > > Compiling bootutil_misc.c > > Compiling image_ec.c > > Compiling image_rsa.c > > Compiling image_validate.c > > Compiling loader.c > >
Re: Newbie & running into an error during setup
I'm looking into this, and here's what happens when I do what is described in the docs (by copy/paste from the doc to my terminal on OS X Sierra) TL;DR: There is a major malfunction in running any of the tests: In file included from aes.c:29:0: /Users/dsimmons/test_newt/myproj/repos/apache-mynewt-core/crypto/mbedtls/include/mbedtls/config.h:2522:10: error: #include expects "FILENAME" or #include MBEDTLS_USER_CONFIG_FILE Read on to see (if you're interested) how the docs differ from the actual output (tl;dr: They don't :-) ) dsimmons$ newt new myproj Downloading project skeleton from apache/incubator-mynewt-blinky... Installing skeleton in myproj... Project myproj successfully created. DSimmons-Pro:test_newt dsimmons$ cd myproj/ DSimmons-Pro:myproj dsimmons$ tree . ├── DISCLAIMER ├── LICENSE ├── NOTICE ├── README.md ├── apps │ └── blinky │ ├── pkg.yml │ └── src │ └── main.c ├── project.yml └── targets ├── my_blinky_sim │ ├── pkg.yml │ └── target.yml └── unittest ├── pkg.yml └── target.yml 6 directories, 11 files dsimmons$ newt install -v apache-mynewt-core Downloading repository description for apache-mynewt-core... success! Downloading repository incubator-mynewt-core (branch: master; commit: mynewt_1_0_0_b1_tag) at https://github.com/apache/incubator-mynewt-core.git Cloning into '/var/folders/_l/m5h3k18x0x3f6422p12_cpchgp/T/newt-repo730366949'... remote: Counting objects: 45144, done. remote: Compressing objects: 100% (150/150), done. remote: Total 45144 (delta 60), reused 0 (delta 0), pack-reused 44981 Receiving objects: 100% (45144/45144), 73.66 MiB | 19.08 MiB/s, done. Resolving deltas: 100% (26822/26822), done. Checking connectivity... done. apache-mynewt-core successfully installed version 0.9.9-none DSimmons-Pro:myproj dsimmons$ tree -L 2 repos/apache-mynewt-core/ repos/apache-mynewt-core/ ├── CODING_STANDARDS.md ├── DISCLAIMER ├── LICENSE ├── NOTICE ├── README.md ├── RELEASE_NOTES.md ├── apps │ ├── blecent │ ├── blehci │ ├── bleprph │ ├── bleprph_oic │ ├── bletest │ ├── bletiny │ ├── bleuart │ ├── boot │ ├── ffs2native │ ├── ocf_sample │ ├── slinky │ ├── slinky_oic │ ├── spitest │ ├── splitty │ ├── test │ └── timtest ├── boot │ ├── boot_serial │ ├── bootutil │ └── split ├── compiler │ ├── arm-none-eabi-m0 │ ├── arm-none-eabi-m4 │ ├── gdbmacros │ └── sim ├── crypto │ ├── mbedtls │ └── tinycrypt ├── docs │ └── doxygen.xml ├── encoding │ ├── base64 │ ├── cborattr │ ├── json │ └── tinycbor ├── fs │ ├── fcb │ ├── fs │ └── nffs ├── hw │ ├── bsp │ ├── cmsis-core │ ├── drivers │ ├── hal │ ├── mcu │ └── scripts ├── kernel │ └── os ├── libc │ └── baselibc ├── mgmt │ ├── imgmgr │ ├── mgmt │ ├── newtmgr │ └── oicmgr ├── net │ ├── ip │ ├── nimble │ ├── oic │ └── wifi ├── project.yml ├── repository.yml ├── sys │ ├── config │ ├── console │ ├── coredump │ ├── defs │ ├── flash_map │ ├── id │ ├── log │ ├── mfg │ ├── reboot │ ├── shell │ ├── stats │ └── sysinit ├── targets │ └── unittest ├── test │ ├── crash_test │ ├── flash_test │ ├── runtest │ ├── testreport │ └── testutil ├── time │ └── datetime └── util ├── cbmem ├── crc └── mem 87 directories, 9 files DSimmons-Pro:myproj dsimmons$ newt test @apache-mynewt-core/sys/config Testing package @apache-mynewt-core/sys/config/test-fcb Compiling bootutil_misc.c Compiling image_ec.c Compiling image_rsa.c Compiling image_validate.c Compiling loader.c Archiving bootutil.a In file included from aes.c:29:0: /Users/dsimmons/test_newt/myproj/repos/apache-mynewt-core/crypto/mbedtls/include/mbedtls/config.h:2522:10: error: #include expects "FILENAME" or #include MBEDTLS_USER_CONFIG_FILE ^ Testing package @apache-mynewt-core/sys/config/test-nffs Compiling bootutil_misc.c Compiling image_ec.c Compiling image_rsa.c Compiling image_validate.c Compiling loader.c Archiving bootutil.a In file included from aes.c:29:0: /Users/dsimmons/test_newt/myproj/repos/apache-mynewt-core/crypto/mbedtls/include/mbedtls/config.h:2522:10: error: #include expects "FILENAME" or #include MBEDTLS_USER_CONFIG_FILE ^ Error: Test failure(s): Passed tests: [] Failed tests: [sys/config/test-fcb sys/config/test-nffs] DSimmons-Pro:myproj dsimmons$ DSimmons-Pro:myproj dsimmons$ So it looks like the latest version of newt-core has a *slight* bug in it. :-) But other than that, everything seems to follow the docs 100% ... At least on my system. I'll test Ubuntu next. dg > On Dec 6, 2016, at 12:23 PM, Mohammad Afanehwrote: > > Todd, > > What threw me off is that the doc page: > https://mynewt.apache.org/latest/os/get_started/project_create/ says that I > should expect to see more folders (such as boot, crypto, compiler..etc). > Also, when running the "newt test all" or "newt test > @apache-mynewt-core/sys/config" it says there are no tests:
Re: Newbie & running into an error during setup
Todd, What threw me off is that the doc page: https://mynewt.apache.org/latest/os/get_started/project_create/ says that I should expect to see more folders (such as boot, crypto, compiler..etc). Also, when running the "newt test all" or "newt test @apache-mynewt-core/sys/config" it says there are no tests: Error: No testable packages found Error: Package @apache-mynewt-core/sys/config contains no unit tests Is there some additional step that I'm missing before getting to this point? Thanks. On Tue, Dec 6, 2016 at 11:42 AM, todd mittonwrote: > Hi Mohammad, > > I don't think there's a problem. You should only have the apps, repos, and > targets directly after a `newt new` and `newt install`. That's expected. > If you look in repos/apache-mynewt-core, you should see all the src for > Mynewt. > > The 'warning: unable to access '/root/.config/git/attributes': Permission > denied' message is just a harmless warning from git. You only see it with > the -v flag. It just means there's no /root/.config/git/attributes in the > container. > > -Todd > > On Tue, Dec 6, 2016 at 8:24 AM, marko kiiskila wrote: > > > I have a Linux setup running under VmWare, where I have a mynewt > > dev environment. This is quite possible. > > > > Docker is more of a convenience thing :) > > > > > On Dec 5, 2016, at 2:32 AM, Mohammad Afaneh wrote: > > > > > > Thanks, Fabio. > > > > > > Yes, I'm aware that I can install on OS X - I just like to keep things > > > isolated in a VM when trying out new projects and frameworks. > > > > > > I guess I'll resort to setting up on my native OS if I don't succeed in > > > getting it working. > > > > > > - Mohammad > > > > > > On Mon, Dec 5, 2016 at 5:05 AM, Fabio Utzig wrote: > > > > > >> On Sun, Dec 4, 2016, at 10:55 PM, Mohammad Afaneh wrote: > > >>> Thanks, Chris. > > >>> > > >>> I'm running: > > >>> - OS X 10.12.1 (macOS Sierra) > > >> > > >> Hi Mohammad, > > >> > > >> Not sure you are aware but you can build newt/mynewt on OS X too. I'm > > >> myself using Sierra for development. You just need to install some > > >> dependencies like go and gcc-arm-embedded. Easily done with homebrew: > > >> > > >> $ brew install go > > >> $ brew cask install gcc-arm-embedded > > >> > > >> Cheers, > > >> Fabio Utzig > > >> > > > > >
Re: Newbie & running into an error during setup
Hi Mohammad, I don't think there's a problem. You should only have the apps, repos, and targets directly after a `newt new` and `newt install`. That's expected. If you look in repos/apache-mynewt-core, you should see all the src for Mynewt. The 'warning: unable to access '/root/.config/git/attributes': Permission denied' message is just a harmless warning from git. You only see it with the -v flag. It just means there's no /root/.config/git/attributes in the container. -Todd On Tue, Dec 6, 2016 at 8:24 AM, marko kiiskilawrote: > I have a Linux setup running under VmWare, where I have a mynewt > dev environment. This is quite possible. > > Docker is more of a convenience thing :) > > > On Dec 5, 2016, at 2:32 AM, Mohammad Afaneh wrote: > > > > Thanks, Fabio. > > > > Yes, I'm aware that I can install on OS X - I just like to keep things > > isolated in a VM when trying out new projects and frameworks. > > > > I guess I'll resort to setting up on my native OS if I don't succeed in > > getting it working. > > > > - Mohammad > > > > On Mon, Dec 5, 2016 at 5:05 AM, Fabio Utzig wrote: > > > >> On Sun, Dec 4, 2016, at 10:55 PM, Mohammad Afaneh wrote: > >>> Thanks, Chris. > >>> > >>> I'm running: > >>> - OS X 10.12.1 (macOS Sierra) > >> > >> Hi Mohammad, > >> > >> Not sure you are aware but you can build newt/mynewt on OS X too. I'm > >> myself using Sierra for development. You just need to install some > >> dependencies like go and gcc-arm-embedded. Easily done with homebrew: > >> > >> $ brew install go > >> $ brew cask install gcc-arm-embedded > >> > >> Cheers, > >> Fabio Utzig > >> > >
Re: Newbie & running into an error during setup
I have a Linux setup running under VmWare, where I have a mynewt dev environment. This is quite possible. Docker is more of a convenience thing :) > On Dec 5, 2016, at 2:32 AM, Mohammad Afanehwrote: > > Thanks, Fabio. > > Yes, I'm aware that I can install on OS X - I just like to keep things > isolated in a VM when trying out new projects and frameworks. > > I guess I'll resort to setting up on my native OS if I don't succeed in > getting it working. > > - Mohammad > > On Mon, Dec 5, 2016 at 5:05 AM, Fabio Utzig wrote: > >> On Sun, Dec 4, 2016, at 10:55 PM, Mohammad Afaneh wrote: >>> Thanks, Chris. >>> >>> I'm running: >>> - OS X 10.12.1 (macOS Sierra) >> >> Hi Mohammad, >> >> Not sure you are aware but you can build newt/mynewt on OS X too. I'm >> myself using Sierra for development. You just need to install some >> dependencies like go and gcc-arm-embedded. Easily done with homebrew: >> >> $ brew install go >> $ brew cask install gcc-arm-embedded >> >> Cheers, >> Fabio Utzig >>
Re: Newbie & running into an error during setup
On Sun, Dec 4, 2016, at 10:55 PM, Mohammad Afaneh wrote: > Thanks, Chris. > > I'm running: > - OS X 10.12.1 (macOS Sierra) Hi Mohammad, Not sure you are aware but you can build newt/mynewt on OS X too. I'm myself using Sierra for development. You just need to install some dependencies like go and gcc-arm-embedded. Easily done with homebrew: $ brew install go $ brew cask install gcc-arm-embedded Cheers, Fabio Utzig
Re: Newbie & running into an error during setup
Thanks, Chris. I'm running: - OS X 10.12.1 (macOS Sierra) - VirtualBox Version 5.1.10 r112026 - I was not running as root. I also made sure to add my user to the Docker group. - Log: - mafaneh@mafaneh-VirtualBox:~/Projects$ newt new myproj Downloading project skeleton from apache/incubator-mynewt-blinky... Installing skeleton in myproj... Project myproj successfully created. mafaneh@mafaneh-VirtualBox:~/Projects$ cd myproj/ mafaneh@mafaneh-VirtualBox:~/Projects/myproj$ newt install -v apache-mynewt-core Downloading repository description for apache-mynewt-core...Cloning into '/tmp/newt-repo139990391'... success! Downloading repository incubator-mynewt-core (branch: master; commit: mynewt_1_0_0_b1_tag) at https://github.com/apache/incubator-mynewt-core.git warning: unable to access '/root/.config/git/attributes': Permission denied apache-mynewt-core successfully installed version 0.9.9-none I've been removing the myproj folder and starting again from the "newt new" command. Should I try going back further in the setup steps? Thanks. - Mohammad On Sun, Dec 4, 2016 at 7:05 PM, Christopher Collinswrote: > Hi Mohammed, > > My apologies - I intended to respond to you a few days ago. > Unfortunately, we weren't able to reproduce this issue, so I would like > to learn a bit more about your setup. > > I'm afraid I don't have the version numbers available at the moment, but > the setup we used is: > * Ubuntu VM running in VirtualBox > * Host OS = OS X > > Could you please provide the following information: > * OS X version > * VM software (e.g., VirtualBox, VMWare, etc.) > * Were you running as root? > * A bit more context in the console log (include the "newt new" > command). > > Thanks, > Chris > > On Sun, Dec 04, 2016 at 04:22:37PM -0500, Mohammad Afaneh wrote: > > Anyone out there who can help with this? I know it's probably some > stupid little mistake, but so far I can't figure it out. > > > > - Mohammad > > > > > On Dec 2, 2016, at 8:56 AM, Mohammad Afaneh wrote: > > > > > > Hi everyone, > > > > > > Newbie here, and looking forward to learning more about Mynewt! > > > > > > I'm going through installing and setting up Mynewt on Ubuntu 16.04 > (inside a VM on a macbook) using the Docker method. The issue I'm running > into is: > > > > > > newt install -v > > > apache-mynewt-core > > > Downloading repository description for apache-mynewt-core... success! > > > Downloading repository incubator-mynewt-core (branch: master; commit: > mynewt_1_0_0_b1_tag) at https://github.com/apache/ > incubator-mynewt-core.git > > > Cloning into '/tmp/newt-repo557799235'... > > > warning: unable to access '/root/.config/git/attributes': Permission > denied > > > apache-mynewt-core successfully installed version 0.9.9-none > > > > > > After this is done, I look at the folders in my project folder and > most of them are missing (only folders I have are: apps, repos and targets). > > > > > > I made sure to add myself to the docker group, but I'm guessing this > unrelated(?) I went through the steps again just to make sure I didn't miss > anything, but with no luck. > > > > > > Any help is appreciated. Thanks! > > > > > > - Mohammad >
Re: Newbie & running into an error during setup
Hi Mohammed, My apologies - I intended to respond to you a few days ago. Unfortunately, we weren't able to reproduce this issue, so I would like to learn a bit more about your setup. I'm afraid I don't have the version numbers available at the moment, but the setup we used is: * Ubuntu VM running in VirtualBox * Host OS = OS X Could you please provide the following information: * OS X version * VM software (e.g., VirtualBox, VMWare, etc.) * Were you running as root? * A bit more context in the console log (include the "newt new" command). Thanks, Chris On Sun, Dec 04, 2016 at 04:22:37PM -0500, Mohammad Afaneh wrote: > Anyone out there who can help with this? I know it's probably some stupid > little mistake, but so far I can't figure it out. > > - Mohammad > > > On Dec 2, 2016, at 8:56 AM, Mohammad Afanehwrote: > > > > Hi everyone, > > > > Newbie here, and looking forward to learning more about Mynewt! > > > > I'm going through installing and setting up Mynewt on Ubuntu 16.04 (inside > > a VM on a macbook) using the Docker method. The issue I'm running into is: > > > > newt install -v > > apache-mynewt-core > > Downloading repository description for apache-mynewt-core... success! > > Downloading repository incubator-mynewt-core (branch: master; commit: > > mynewt_1_0_0_b1_tag) at https://github.com/apache/incubator-mynewt-core.git > > Cloning into '/tmp/newt-repo557799235'... > > warning: unable to access '/root/.config/git/attributes': Permission denied > > apache-mynewt-core successfully installed version 0.9.9-none > > > > After this is done, I look at the folders in my project folder and most of > > them are missing (only folders I have are: apps, repos and targets). > > > > I made sure to add myself to the docker group, but I'm guessing this > > unrelated(?) I went through the steps again just to make sure I didn't miss > > anything, but with no luck. > > > > Any help is appreciated. Thanks! > > > > - Mohammad
Re: Newbie & running into an error during setup
Anyone out there who can help with this? I know it's probably some stupid little mistake, but so far I can't figure it out. - Mohammad > On Dec 2, 2016, at 8:56 AM, Mohammad Afanehwrote: > > Hi everyone, > > Newbie here, and looking forward to learning more about Mynewt! > > I'm going through installing and setting up Mynewt on Ubuntu 16.04 (inside a > VM on a macbook) using the Docker method. The issue I'm running into is: > > newt install -v > apache-mynewt-core > Downloading repository description for apache-mynewt-core... success! > Downloading repository incubator-mynewt-core (branch: master; commit: > mynewt_1_0_0_b1_tag) at https://github.com/apache/incubator-mynewt-core.git > Cloning into '/tmp/newt-repo557799235'... > warning: unable to access '/root/.config/git/attributes': Permission denied > apache-mynewt-core successfully installed version 0.9.9-none > > After this is done, I look at the folders in my project folder and most of > them are missing (only folders I have are: apps, repos and targets). > > I made sure to add myself to the docker group, but I'm guessing this > unrelated(?) I went through the steps again just to make sure I didn't miss > anything, but with no luck. > > Any help is appreciated. Thanks! > > - Mohammad