<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: repo init error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1481598#M192004</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183807"&gt;@shamiullah&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Facing issue while repo init regarding git config. Kindly help me to resolve.&lt;/P&gt;&lt;P&gt;ivi@Jenkins:~/AndroidEmulator$ cat ~/.gitconfig&lt;BR /&gt;[user]&lt;BR /&gt;email = shraddhabhattad15@gmail.com&lt;BR /&gt;name = shraddhabhattad15&lt;BR /&gt;ivi@Jenkins:~/AndroidEmulator$ python3 ~/bin/repo init -u &lt;A href="https://android.googlesource.com/platform/manifest" target="_blank"&gt;https://android.googlesource.com/platform/manifest&lt;/A&gt; -b android-10.0.0_r47&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/ivi/AndroidEmulator/.repo/repo/main.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;from git_config import RepoConfig&lt;BR /&gt;File "/home/ivi/AndroidEmulator/.repo/repo/git_config.py", line 774&lt;BR /&gt;self._Set(f'superproject.{key}', value)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 06:41:53 GMT</pubDate>
    <dc:creator>sbhattad</dc:creator>
    <dc:date>2022-06-29T06:41:53Z</dc:date>
    <item>
      <title>repo init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1358420#M181811</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12881"&gt;@all&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;when i running repo init command i am facing the following issues for android 10 source.&lt;/P&gt;&lt;P&gt;ERROR:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Start fetching the source for android build&lt;BR /&gt;Setting REL_PACKAGE_DIR to /home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0&lt;BR /&gt;Setting WORKSPACE to /home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0&lt;BR /&gt;Setting android_builddir to /home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build&lt;BR /&gt;Downloading Repo source from &lt;A href="https://gerrit.googlesource.com/git-repo" target="_blank"&gt;https://gerrit.googlesource.com/git-repo&lt;/A&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/main.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;from git_config import RepoConfig&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/git_config.py", line 774&lt;BR /&gt;self._Set(f'superproject.{key}', value)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;BR /&gt;---------------------------------------------------&lt;BR /&gt;-----Repo Init failure&lt;BR /&gt;---------------------------------------------------&lt;BR /&gt;./imx_android_setup-ALPHA1.sh: line 66: return: can only `return' from a function or sourced script&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/main.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;from git_config import RepoConfig&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/git_config.py", line 774&lt;BR /&gt;self._Set(f'superproject.{key}', value)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;BR /&gt;Try repo sync 1 time(s)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/main.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;from git_config import RepoConfig&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/git_config.py", line 774&lt;BR /&gt;self._Set(f'superproject.{key}', value)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;BR /&gt;Try repo sync 2 time(s)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/main.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;from git_config import RepoConfig&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/git_config.py", line 774&lt;BR /&gt;self._Set(f'superproject.{key}', value)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;BR /&gt;Try repo sync 3 time(s)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/main.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;from git_config import RepoConfig&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/git_config.py", line 774&lt;BR /&gt;self._Set(f'superproject.{key}', value)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/main.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;from git_config import RepoConfig&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/git_config.py", line 774&lt;BR /&gt;self._Set(f'superproject.{key}', value)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;BR /&gt;---------------------------------------------------&lt;BR /&gt;------Repo sync failure&lt;BR /&gt;---------------------------------------------------&lt;BR /&gt;./imx_android_setup-ALPHA1.sh: line 88: return: can only `return' from a function or sourced script&lt;BR /&gt;fatal: can't open patch '/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/device/fsl/imx8m/phyboard_polis/patch/0001-imx8mm_bl31_setup-allow-uart4-from-A53-processor.patch': No such file or directory&lt;BR /&gt;fatal: can't open patch '/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/device/fsl/imx8m/phyboard_polis/patch/0001-Parsing-the-devicetree-name.patch': No such file or directory&lt;BR /&gt;Android source is ready for the build&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Shamiullah&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 07:21:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1358420#M181811</guid>
      <dc:creator>shamiullah</dc:creator>
      <dc:date>2021-10-20T07:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: repo init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1359068#M181847</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183807"&gt;@shamiullah&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems your git doesn't have a correct config.Can you attach your all commands?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 01:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1359068#M181847</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-10-21T01:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: repo init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1359179#M181855</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788"&gt;@Zhiming_Liu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above issue got resolved by downlaoding gitconfig but i am facing other issue&lt;/P&gt;&lt;P&gt;Below are the logs:&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------------&lt;STRONG&gt;prasanth@phytec1:~/shammi/android10/imx-android-10.0.0_2.0.0/android_build$&lt;/STRONG&gt; repo init -u &lt;A href="https://stash.phytec.com/scm/asdk/platform-manifests.git" target="_blank"&gt;https://stash.phytec.com/scm/asdk/platform-manifests.git&lt;/A&gt; -b imx-android-10 -m ALPHA1.xml&lt;BR /&gt;&lt;STRONG&gt;prasanth@phytec1:~/shammi/android10/imx-android-10.0.0_2.0.0/android_build$&lt;/STRONG&gt; /usr/bin/repo init -u &lt;A href="https://stash.phytec.com/scm/asdk/platform-manifests.git" target="_blank"&gt;https://stash.phytec.com/scm/asdk/platform-manifests.git&lt;/A&gt; -b imx-android-10 -m ALPHA1.xml&lt;BR /&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/android_build/.repo/repo/main.py", line 79&lt;BR /&gt;file=sys.stderr)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;BR /&gt;&lt;STRONG&gt;prasanth@phytec1:~/shammi/android10/imx-android-10.0.0_2.0.0/android_build$&lt;/STRONG&gt; ~/bin/repo init -u &lt;A href="https://stash.phytec.com/scm/asdk/platform-manifests.git" target="_blank"&gt;https://stash.phytec.com/scm/asdk/platform-manifests.git&lt;/A&gt; -b imx-android-10 -m ALPHA1.xml&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;When i use repo binary downloaded by the curl commands i am getting any error but it is taking less time to execute the command as shown above&lt;/P&gt;&lt;P&gt;When i use repo binary from /usr/bin/ , i am facing the following issue as shown below&lt;/P&gt;&lt;P&gt;File "/home/prasanth/shammi/android10/imx-android-10.0.0_2.0.0/.repo/repo/main.py", line 79&lt;BR /&gt;file=sys.stderr)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I downloaded the repo by using the below commands&lt;/P&gt;&lt;P&gt;$ mkdir ~/bin&lt;BR /&gt;$ curl &lt;A href="https://storage.googleapis.com/git-repo-downloads/repo" target="_blank"&gt;https://storage.googleapis.com/git-repo-downloads/repo&lt;/A&gt; &amp;gt; ~/bin/repo&lt;BR /&gt;$ chmod a+x ~/bin/repo&lt;BR /&gt;$ export PATH=${PATH}:~/bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Shamiullah&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 05:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1359179#M181855</guid>
      <dc:creator>shamiullah</dc:creator>
      <dc:date>2021-10-21T05:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: repo init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1359745#M181923</link>
      <description>&lt;P&gt;Do you input correct xml?Your input xml name is (&lt;SPAN&gt;imx-android-10 -m ALPHA1.xml&lt;/SPAN&gt;), it contains spaces.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 01:28:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1359745#M181923</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-10-22T01:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: repo init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1362422#M182207</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183807"&gt;@shamiullah&lt;/a&gt; .&lt;BR /&gt;&lt;BR /&gt;I'm facing the same issue.&lt;BR /&gt;Can you please add details on "downlaoding gitconfig", I don't seem to understand what it is exactly and the way it helps.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 12:34:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1362422#M182207</guid>
      <dc:creator>IgorKorolyuk</dc:creator>
      <dc:date>2021-10-27T12:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: repo init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1481598#M192004</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183807"&gt;@shamiullah&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Facing issue while repo init regarding git config. Kindly help me to resolve.&lt;/P&gt;&lt;P&gt;ivi@Jenkins:~/AndroidEmulator$ cat ~/.gitconfig&lt;BR /&gt;[user]&lt;BR /&gt;email = shraddhabhattad15@gmail.com&lt;BR /&gt;name = shraddhabhattad15&lt;BR /&gt;ivi@Jenkins:~/AndroidEmulator$ python3 ~/bin/repo init -u &lt;A href="https://android.googlesource.com/platform/manifest" target="_blank"&gt;https://android.googlesource.com/platform/manifest&lt;/A&gt; -b android-10.0.0_r47&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/ivi/AndroidEmulator/.repo/repo/main.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;from git_config import RepoConfig&lt;BR /&gt;File "/home/ivi/AndroidEmulator/.repo/repo/git_config.py", line 774&lt;BR /&gt;self._Set(f'superproject.{key}', value)&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 06:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1481598#M192004</guid>
      <dc:creator>sbhattad</dc:creator>
      <dc:date>2022-06-29T06:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: repo init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1549560#M197272</link>
      <description>&lt;P&gt;Facing the same issue. Have resolved it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you still don't know how to solve the issue, maybe you can try this:&lt;/P&gt;&lt;P&gt;It is not related to git_config but to the version of python. Maybe you curl repo with python2 and thus the .repo in you Android folder is false. You can do this to fix it:&lt;/P&gt;&lt;P&gt;1, change your python version&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ sudo update-alternatives --config &lt;/SPAN&gt;&lt;SPAN&gt;python&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then enter number of python3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ python --version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if display python3***,is right&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2,remove your repo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ which repo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ sudo rm -rf /home/***/bin/repo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ curl &lt;A href="https://storage.googleapis.com/git-repo-downloads/repo" target="_blank" rel="noopener"&gt;https://storage.googleapis.com/git-repo-downloads/repo&lt;/A&gt; &amp;gt; ~/bin/repo&lt;BR /&gt;$ chmod a+x ~/bin/repo&lt;BR /&gt;$ export PATH=${PATH}:~/bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3,remove .repo in android folder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ sudo rm -rf&amp;nbsp; android_forder/.repo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3,At last,you can repo init successfully&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/repo-init-error/m-p/1549560#M197272</guid>
      <dc:creator>cuiliu</dc:creator>
      <dc:date>2022-11-07T09:31:00Z</dc:date>
    </item>
  </channel>
</rss>

