[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Issue upon comitting changes
From:       Vít Pelčák <vit () pelcak ! org>
Date:       2020-06-29 9:03:06
Message-ID: CACq8bh76f4MVc6im9zFLHcer1X9pvc82swT1fFPFaSQJ=snWiw () mail ! gmail ! com
[Download RAW message or body]

I ran those scripts in more verbose mode.

I got this:

kde/branches/stable/l10n-kf5> ./scripts/update_xml  cs
+ LANG=C
+ LC_ALL=C
+ LC_MESSAGES=C
+ . scripts/find_meinproc
++ . scripts/get_paths
+++ KDE_PROJECTS_API_URL=https://projects.kde.org/api/v1
+++ I18N_BRANCH=stableKF5
++ find_meinproc
++ MEINPROC_COMMAND=
++ for i in "meinproc5"
+++ which meinproc5
++ j=/usr/bin/meinproc5
++ MEINPROC_COMMAND='/usr/bin/meinproc5 --check --stdout'
++ test -x /usr/bin/meinproc5
++ break
++ echo /usr/bin/meinproc5 --check --stdout
+ MEINPROC_COMMAND='/usr/bin/meinproc5 --check --stdout'
+ test -z '/usr/bin/meinproc5 --check --stdout'
+ test 1 -eq 0
+ test cs = --help
+ delete=1
+ test cs = --nodelete
+ commit=0
+ test cs = --commit
+ update=1
+ test cs = --noupdate
+ subdir=cs
+ selection=
+ test -z ''
+ selection='*'
+ test 1 -eq 1
+ bash ./scripts/populate_documentation.sh
+ '[' '!' -d scripts ']'
++ dirname ./scripts/populate_documentation.sh
+ dir=./scripts
+ . ./scripts/get_paths
++ KDE_PROJECTS_API_URL=https://projects.kde.org/api/v1
++ I18N_BRANCH=stableKF5
+ check_kde_projects_requirements
+ local 'programs_required=curl jq'
+ for program_checked in ${programs_required}
+ curl --help
+ '[' 0 -ne 0 ']'
+ for program_checked in ${programs_required}
+ jq --help
+ '[' 0 -ne 0 ']'
+ mkdir -p documentation
+ cd documentation
+ onlyonemodule=
+ sawentry=0
+ lastupdate=0
+ silentflag=
+ test '' = --silent
+ '[' -n '' ']'
+ read line
+ '[' -z '# The syntax of the file is easy' ']'
+ [[ # The syntax of the file is easy = \#* ]]
+ continue
+ read line
+ '[' -z '# A module needs to have a line declaring the module' ']'
+ [[ # A module needs to have a line declaring the module = \#* ]]
+ continue
+ read line
+ '[' -z '# Syntax:' ']'
+ [[ # Syntax: = \#* ]]
+ continue
+ read line
+ '[' -z '#      module modulename' ']'
+ [[ #      module modulename = \#* ]]
+ continue
+ read line
+ '[' -z '# After that there can be any entry lines' ']'
+ [[ # After that there can be any entry lines = \#* ]]
+ continue
+ read line
+ '[' -z '# entry lines point to a directory with single doc for that
module' ']'
+ [[ # entry lines point to a directory with single doc for that module = \#* ]]
+ continue
+ read line
+ '[' -z '# Syntax:' ']'
+ [[ # Syntax: = \#* ]]
+ continue
+ read line
+ '[' -z '#      entry dir_name scm_path' ']'
+ [[ #      entry dir_name scm_path = \#* ]]
+ continue
+ read line
+ '[' -z '# Where' ']'
+ [[ # Where = \#* ]]
+ continue
+ read line
+ '[' -z '#      scm_path is' ']'
+ [[ #      scm_path is = \#* ]]
+ continue
+ read line
+ '[' -z '#        a kde git repo identifier followed by path_to_folder' ']'
+ [[ #        a kde git repo identifier followed by path_to_folder = \#* ]]
+ continue
+ read line
+ '[' -z '#      dir_name is name of the entry e.g. konversation' ']'
+ [[ #      dir_name is name of the entry e.g. konversation = \#* ]]
+ continue
+ read line
+ '[' -z '' ']'
+ continue
+ read line
+ '[' -z '# workspace' ']'
+ [[ # workspace = \#* ]]
+ continue
+ read line
+ '[' -z 'entry kcontrol plasma-desktop doc/kcontrol' ']'
+ [[ entry kcontrol plasma-desktop doc/kcontrol = \#* ]]
+ IFS=' '
+ read -ra tokens
+ ntokens=4
+ '[' 4 -lt 2 ']'
+ '[' entry = entry ']'
+ '[' 4 -lt 3 ']'
+ '[' 4 -gt 4 ']'
+ doc_dir=
+ '[' 4 -eq 4 ']'
+ doc_dir=doc/kcontrol
+ entry_dir=kcontrol
+ module_name=plasma-desktop
+ '[' -n '' ']'
++ get_branch plasma-desktop
++ case "$1" in
++ echo Plasma/5.19
+ module_branch=Plasma/5.19
+ '[' Plasma/5.19 = get_branch_none ']'
+ '[' -z '' ']'
+ echo 'Updating plasma-desktop/kcontrol documentation (Plasma/5.19)'
Updating plasma-desktop/kcontrol documentation (Plasma/5.19)
+ savepwd='/home/vpelcak/!files/preklad/kde/branches/stable/l10n-kf5/documentation'
+ mkdir -p plasma-desktop
+ cd plasma-desktop
+ oldmd5=
+ '[' -d kcontrol ']'
+ '[' -z '' ']'
++ mktemp
+ oldmd5=/tmp/tmp.xQAW5r714H
+ cd kcontrol
+ hashdeep -rl .
+ rm -rf kcontrol
+ mkdir -p kcontrol
+ cd kcontrol
++ get_url plasma-desktop
++ check_kde_projects_requirements
++ local 'programs_required=curl jq'
++ for program_checked in ${programs_required}
++ curl --help
++ '[' 0 -ne 0 ']'
++ for program_checked in ${programs_required}
++ jq --help
++ '[' 0 -ne 0 ']'
+++ curl --retry 5 -s https://projects.kde.org/api/v1/identifier/plasma-desktop
+++ jq -r .repo
++ local repo_full_path=plasma/plasma-desktop
++ res=0
++ '[' 0 -eq 0 ']'
++ '[' -n plasma/plasma-desktop ']'
++ echo kde:plasma/plasma-desktop.git
+ repo_url=kde:plasma/plasma-desktop.git
+ repo_branchpath=Plasma/5.19:doc/kcontrol
+ git_download kde:plasma/plasma-desktop.git Plasma/5.19:doc/kcontrol
'' /tmp/tmp.xQAW5r714H
+ '[' -z '' ']'
+ oldmd5=/tmp/tmp.xQAW5r714H
++ mktemp
+ newmd5=/tmp/tmp.wJkKYxJAFj
+ timeout 1h git archive --remote=kde:plasma/plasma-desktop.git
Plasma/5.19:doc/kcontrol
+ tar -x
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
+ res=2
+ '[' 2 -ne 0 ']'
+ echo 'Failed to download kde:plasma/plasma-desktop.git
Plasma/5.19:doc/kcontrol'
Failed to download kde:plasma/plasma-desktop.git Plasma/5.19:doc/kcontrol
+ '[' -z '' ']'
+ hashdeep -rl .
+ '[' -n /tmp/tmp.xQAW5r714H ']'
++ diff -ub /tmp/tmp.xQAW5r714H /tmp/tmp.wJkKYxJAFj
++ grep '^[+-]'
++ grep -v '^+++'
++ grep -v '^---'
++ cut -d ' ' -f 3
++ uniq
+ differences=
+ '[' -z '' ']'
+ echo 'No differences'
No differences
+ rm -f /tmp/tmp.xQAW5r714H /tmp/tmp.wJkKYxJAFj
+ return 2
+ lastupdate=2
+ cd '/home/vpelcak/!files/preklad/kde/branches/stable/l10n-kf5/documentation'
+ sawentry=1
+ '[' x2 '!=' x0 ']'
+ echo 'There was an error updating the sources'
There was an error updating the sources
+ exit 1
+ '[' 1 -eq 0 ']'
+ exit 1

po 29. 6. 2020 v 8:40 odesílatel Vít Pelčák <vit@pelcak.org> napsal:
> 
> It seems it is the same issue as in the thread "kde-i18n-doc Digest,
> Vol 207, Issue 14"
> 
> See:
> wantoyo@tumbleweed:~/KDEREPO/trunk/l10n-kf5> ./scripts/update_xml id
> Updating kconfigwidgets/preparetips5 documentation (master)
> (23) Failed writing body
> fatal: bad config line 7 in file /home/wantoyo/.gitconfig
> tar: This does not look like a tar archive
> tar: Exiting with failure status due to previous errors
> Failed to download ERROR: url
> There was an error updating the sources
> 
> Trying to debug.
> 
> 
> po 29. 6. 2020 v 8:25 odesílatel Vít Pelčák <vit@pelcak.org> napsal:
> 
> > 
> > Hello.
> > 
> > Dne pá 26. 6. 2020 23:18 uživatel Albert Astals Cid <aacid@kde.org> napsal:
> > > 
> > > El divendres, 26 de juny de 2020, a les 12:05:57 CEST, Vít Pelčák va \
> > > escriure:
> > > > Hello Albert.
> > > > 
> > > > Thank you for the suggestion.
> > > 
> > > Do you still get the same error?
> > 
> > 
> > After I made the change I got:
> > 
> > fatal: operation not supported by protocol
> > tar: This does not look like a tar archive
> > tar: Exiting with failure status due to previous errors
> > Failed to download kde:frameworks/kconfigwidgets.git master:docs/preparetips5
> > No differences
> > There was an error updating the sources
> > 
> > > 
> > > Can you please paste which exactly command you're invoking (you didn't do that \
> > > before) and the error you get?
> > 
> > 
> > Hmm.
> > 
> > When I ran svn ci ... manually, it worked. So it seems like an issue in scripting \
> > on my side. Sorry guys for the noise. My bad.
> > 
> > > 
> > > Cheers,
> > > Albert
> > > 
> > > > 
> > > > I have in config this:
> > > > 
> > > > > cat .gitconfig
> > > > [user]
> > > > name = Vit Pelcak
> > > > email = vpelcak@xxxxx
> > > > [push]
> > > > default = simple
> > > > 
> > > > [core]
> > > > pager = less
> > > > 
> > > > [color]
> > > > status = auto
> > > > diff = auto
> > > > branch = auto
> > > > ui = auto
> > > > log = auto
> > > > 
> > > > [diff]
> > > > algorithm = histogram
> > > > 
> > > > [alias]
> > > > bi = bisect
> > > > br = branch
> > > > cd = diff --cached
> > > > ci = commit
> > > > co = checkout
> > > > cp = cherry-pick
> > > > di = diff
> > > > ff = merge --ff-only
> > > > reb = rebase
> > > > st = status -s
> > > > 
> > > > [merge]
> > > > summary = true
> > > > 
> > > > [push]
> > > > default = current
> > > > 
> > > > [rerere]
> > > > enabled = true
> > > > 
> > > > [url "ssh://git@invent.kde.org/"]
> > > > insteadOf = kde:
> > > > [url "ssh://git@invent.kde.org/"]
> > > > pushInsteadOf = kde:
> > > > 
> > > > And I still end up with the same problem.
> > > > Anything else I should change?
> > > > 
> > > > st 24. 6. 2020 v 0:03 odesílatel Albert Astals Cid <aacid@kde.org> napsal:
> > > > > 
> > > > > El dimarts, 23 de juny de 2020, a les 8:34:49 CEST, Vít Pelčák va \
> > > > > escriure:
> > > > > > Hello.
> > > > > > 
> > > > > > Upon running pology scatter:
> > > > > > 
> > > > > > posummit: [warning] Some branch catalogs have no associated summit
> > > > > > catalog (expected summit path given):
> > > > > > .. /home/vpelcak/!files/preklad/kde/branches/stable/l10n-kf5/cs/docmessages/plasma-workspace/kcontrol_screenlocker.po
> > > > > >                 
> > > > > > --> cs/summit/docmessages/plasma-workspace/kcontrol_screenlocker.po
> > > > > > .. /home/vpelcak/!files/preklad/kde/trunk/l10n-kf5/cs/docmessages/amor/amor.po
> > > > > >                 
> > > > > > --> cs/summit/docmessages/amor/amor.po
> > > > > > .. /home/vpelcak/!files/preklad/kde/trunk/l10n-kf5/cs/docmessages/plasma-workspace/kcontrol_screenlocker.po
> > > > > >                 
> > > > > > --> cs/summit/docmessages/plasma-workspace/kcontrol_screenlocker.po
> > > > > > Updating kconfigwidgets/preparetips5 documentation (master)
> > > > > > ssh: Could not resolve hostname kde: Name or service not known
> > > > > 
> > > > > You seem to have hit the documentation path here, it needs this to be in \
> > > > > your $HOME/.gitconfig 
> > > > > [url "ssh://git@invent.kde.org/"]
> > > > > insteadOf = kde:
> > > > > [url "ssh://git@invent.kde.org/"]
> > > > > pushInsteadOf = kde:
> > > > > 
> > > > > Make sure that you remove any previous kde: definition you may have
> > > > > 
> > > > > Cheers,
> > > > > Albert
> > > > > 
> > > > > 
> > > > > > fatal: the remote end hung up unexpectedly
> > > > > > tar: This does not look like a tar archive
> > > > > > tar: Exiting with failure status due to previous errors
> > > > > > Failed to download kde:frameworks/kconfigwidgets.git \
> > > > > > master:docs/preparetips5 No differences
> > > > > > There was an error updating the sources
> > > > > > 
> > > > > > 
> > > > > > Any clue what's the problem? I can commit summit updates just fine.
> > > > > > 
> > > > > > Thank you very much.
> > > > > > Vit
> > > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > 
> > > 
> > > 
> > > 
> > > 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic