Seeed-Studio / Wio_Link

Wio_Link 8266
http://seeed-studio.github.io/Wio_Link/
181 stars 64 forks source link

scan_drivers python script fails when start directory contains .git directory #31

Closed 9037568 closed 8 years ago

9037568 commented 8 years ago

When I run scan_drivers.py after cloning the repository, this error occurs:

=========
[]

ERR: can not find class file of X:\projects\electronics\wiolink\github\Wio_Link\grove_drivers\.git

The program should ignore directories such as this.

airdissy commented 8 years ago

Hi, Did you also clone the grove drivers directory, git submodule init git submodule update

I'm not export, but I refer to below pages: http://www.seeed.cc/project_detail.html?id=1273&utm_source=allwio&utm_medium=mailchimp&utm_campaign=Molly0628

9037568 commented 8 years ago

Yes, I cloned the drivers directory. But I did it separately using "git clone".

KillingJacky commented 8 years ago

@9037568 Yes, that's a bug. Thank you!

KillingJacky commented 8 years ago

Hotfixed, will close this :)