Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetched in submodule path 'libs/aliyun/iotkit-embedded', but it did not contain e6bd.. #268

Open
joshuacox opened this issue Nov 26, 2018 · 6 comments

Comments

@joshuacox
Copy link

joshuacox commented Nov 26, 2018

git submodule update --init                                                                                                          !7500
error: Server does not allow request for unadvertised object e6bd3556039538ac504c005f0c31dbdd0e906658
Fetched in submodule path 'libs/aliyun/iotkit-embedded', but it did not contain e6bd3556039538ac504c005f0c31dbdd0e906658. Direct fetching of that commit failed.

1. SDK version(SDK 版本)

{
git log -n1
commit 2d493e4
Author: Neucrack [email protected]
Date: Thu Nov 8 16:52:28 2018 +0800

optimize mqtt demo

}


2. In what kind of operation problems appear, and how to reproduce the problem ?(什么样的操作步骤问题会出现,是否是稳定复现,如何复现问题?)

{
git clone https://github.com/Ai-Thinker-Open/GPRS_C_SDK.git --recursive

git submodule update --init

also fails with the same error as above
}


full text from clone:

git clone https://github.com/Ai-Thinker-Open/GPRS_C_SDK.git --recursive                                                              !7497
Cloning into 'GPRS_C_SDK'...
remote: Enumerating objects: 21, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 4030 (delta 7), reused 17 (delta 6), pack-reused 4009
Receiving objects: 100% (4030/4030), 30.09 MiB | 243.00 KiB/s, done.
Resolving deltas: 100% (1917/1917), done.
Submodule 'libs/aliyun/iotkit-embedded' (https://github.com/aliyun/iotkit-embedded.git) registered for path 'libs/aliyun/iotkit-embedded'
Submodule 'libs/gps/minmea/src' (https://github.com/kosma/minmea.git) registered for path 'libs/gps/minmea/src'
Submodule 'libs/lvgl/src' (https://github.com/littlevgl/lvgl.git) registered for path 'libs/lvgl/src'
Submodule 'platform/csdk' (https://github.com/Ai-Thinker-Open/GPRS-C-SDK-LIB.git) registered for path 'platform/csdk'
Cloning into '/tiamat/git/GPRS_C_SDK/libs/aliyun/iotkit-embedded'...
remote: Enumerating objects: 23458, done.        
remote: Total 23458 (delta 0), reused 0 (delta 0), pack-reused 23458        
Receiving objects: 100% (23458/23458), 72.06 MiB | 260.00 KiB/s, done.
Resolving deltas: 100% (7783/7783), done.
Cloning into '/tiamat/git/GPRS_C_SDK/libs/gps/minmea/src'...
remote: Enumerating objects: 4, done.        
remote: Counting objects: 100% (4/4), done.        
remote: Compressing objects: 100% (4/4), done.        
remote: Total 524 (delta 0), reused 1 (delta 0), pack-reused 520        
Receiving objects: 100% (524/524), 198.56 KiB | 325.00 KiB/s, done.
Resolving deltas: 100% (332/332), done.
Cloning into '/tiamat/git/GPRS_C_SDK/libs/lvgl/src'...
remote: Enumerating objects: 41, done.        
remote: Counting objects: 100% (41/41), done.        
remote: Compressing objects: 100% (30/30), done.        
remote: Total 11332 (delta 15), reused 24 (delta 11), pack-reused 11291        
Receiving objects: 100% (11332/11332), 9.83 MiB | 274.00 KiB/s, done.
Resolving deltas: 100% (9000/9000), done.
Cloning into '/tiamat/git/GPRS_C_SDK/platform/csdk'...
remote: Enumerating objects: 320, done.        
remote: Total 320 (delta 0), reused 0 (delta 0), pack-reused 320        
Receiving objects: 100% (320/320), 160.43 MiB | 311.00 KiB/s, done.
Resolving deltas: 100% (142/142), done.
error: Server does not allow request for unadvertised object e6bd3556039538ac504c005f0c31dbdd0e906658
Fetched in submodule path 'libs/aliyun/iotkit-embedded', but it did not contain e6bd3556039538ac504c005f0c31dbdd0e906658. Direct fetching of that commit failed.

@lsaavedr
Copy link

try with this pull request: #266

@joshuacox
Copy link
Author

merge #266 to master!

$ hub pr checkout 266
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
Unpacking objects: 100% (4/4), done.
From github.com:Ai-Thinker-Open/GPRS_C_SDK
 * [new ref]         refs/pull/266/head -> lsaavedr-update_iotkit-embedded
M	libs/aliyun/iotkit-embedded
M	libs/gps/minmea/src
M	libs/lvgl/src
M	platform/csdk
Switched to branch 'lsaavedr-update_iotkit-embedded'
[  8:31AM ]  [ thoth@thoth-GS70-stealth:~/git/GPRS_C_SDK(lsaavedr-update_iotkit-embedded✗)(ruby-2.2.4) ]
 $ git submodule update --init
Submodule path 'libs/aliyun/iotkit-embedded': checked out '26fe75c8788e7e265596164632bc052838dcd38c'
Submodule path 'libs/gps/minmea/src': checked out 'cd27e72970cd50b46e9c95c1c0076a49c1ceaf33'
Submodule path 'libs/lvgl/src': checked out '59464fa41beff11780219b1b2eaae0d855d8d8ec'

@joshuacox
Copy link
Author

this has not moved to master and remains an issue

@joshuacox joshuacox reopened this Dec 17, 2018
@petrynchyn
Copy link

I have problem: git clone https://github.com/Ai-Thinker-Open/GPRS_C_SDK.git --recursive

...
error: no such remote ref e6bd3556039538ac504c005f0c31dbdd0e906658
Fetched in submodule path 'libs/aliyun/iotkit-embedded', but it did not contain e6bd3556039538ac504c005f0c31dbdd0e906658. Direct fetching of that commit failed.

@mattheys
Copy link

mattheys commented Oct 8, 2019

For anyone not familiar with git enough to checkout a pull request try these steps if this hasn't been merged.

ONLY DO THIS IF YOU GET THE SAME ERROR AS OP

git clone https://github.com/Ai-Thinker-Open/GPRS_C_SDK.git --recursive
cd GPRS_C_SDK
git fetch origin pull/266/head:fixbranch
git checkout fixbranch
git submodule update --init

Fingers crossed that should checkout the submodules for you and give you a complete sdk.

@joshuacox
Copy link
Author

Github has also written a wrapper for git that makes this a bit easier:

https://hub.github.com/

so the above becomes

hub pr checkout 266

That being said, you should understand what is going on in the manual method before relying on that shortcut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants