From roger at firedrake.org Thu Jul 27 07:51:27 2017 From: roger at firedrake.org (Roger Bell_West) Date: Thu, 27 Jul 2017 15:51:27 +0100 Subject: [Calypso] Commands failing with git identity error message Message-ID: <20170727145127.jqdg7shxw5tkx4hb@firedrake.org> Since the latest Thunderbird update in Debian, I'm seeing errors like this every time I try to alter anything. I've set the git config variables globally, and locally in the relevant calendar repo, but this seems to make no difference. Any suggestions? rm 'cal-Plwsx1.ics' ['git', '-c', 'advice.implicitIdentity=false', 'commit', '-m', 'Remove old file\n\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4.2.1'] *** Please tell me who you are. Run git config --global user.email "you at example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for ) not allowed Failed to remove /home/infobot/.config/calypso/calendars/private/roger-private/cal-Plwsx1.ics Traceback (most recent call last): File "/home/infobot/calypso/calypso/webdav.py", line 354, in destroy_file self.git_rm(item.path, context=context) File "/home/infobot/calypso/calypso/webdav.py", line 309, in git_rm self.git_commit("Remove old file", context=context) File "/home/infobot/calypso/calypso/webdav.py", line 299, in git_commit subprocess.check_call(args, cwd=self.path, env=env) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['git', '-c', 'advice.implicitIdentity=false', 'commit', '-m', 'Remove old file\n\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4.2.1']' returned non-zero exit status 128 10.0.155.246 - - [27/Jul/2017 15:47:04] "DELETE /private/roger-private/738d8552-ed2e-454d-a7f3-eb6ea2524de9.ics HTTP/1.1" 204 - From agx at sigxcpu.org Fri Jul 28 00:21:43 2017 From: agx at sigxcpu.org (Guido =?iso-8859-1?Q?G=FCnther?=) Date: Fri, 28 Jul 2017 09:21:43 +0200 Subject: [Calypso] Commands failing with git identity error message In-Reply-To: <20170727145127.jqdg7shxw5tkx4hb@firedrake.org> References: <20170727145127.jqdg7shxw5tkx4hb@firedrake.org> Message-ID: <20170728072143.xqu5bck7lnhwmabc@bogon.m.sigxcpu.org> Hi, On Thu, Jul 27, 2017 at 03:51:27PM +0100, Roger Bell_West wrote: > Since the latest Thunderbird update in Debian, I'm seeing errors like > this every time I try to alter anything. I've set the git config > variables globally, and locally in the relevant calendar repo, but > this seems to make no difference. Any suggestions? > > rm 'cal-Plwsx1.ics' > ['git', '-c', 'advice.implicitIdentity=false', 'commit', '-m', 'Remove old file\n\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4.2.1'] > > *** Please tell me who you are. > > Run > > git config --global user.email "you at example.com" > git config --global user.name "Your Name" > > to set your account's default identity. > Omit --global to set the identity only in this repository. Are you sure you set it for the right user in the repo? git would pick it up then? Which user is this running under? What do the above variables point at? Cheers, -- Guido > > fatal: empty ident name (for ) not allowed > Failed to remove /home/infobot/.config/calypso/calendars/private/roger-private/cal-Plwsx1.ics > Traceback (most recent call last): > File "/home/infobot/calypso/calypso/webdav.py", line 354, in destroy_file > self.git_rm(item.path, context=context) > File "/home/infobot/calypso/calypso/webdav.py", line 309, in git_rm > self.git_commit("Remove old file", context=context) > File "/home/infobot/calypso/calypso/webdav.py", line 299, in git_commit > subprocess.check_call(args, cwd=self.path, env=env) > File "/usr/lib/python2.7/subprocess.py", line 540, in check_call > raise CalledProcessError(retcode, cmd) > CalledProcessError: Command '['git', '-c', 'advice.implicitIdentity=false', 'commit', '-m', 'Remove old file\n\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4.2.1']' returned non-zero exit status 128 > 10.0.155.246 - - [27/Jul/2017 15:47:04] "DELETE /private/roger-private/738d8552-ed2e-454d-a7f3-eb6ea2524de9.ics HTTP/1.1" 204 - > > > _______________________________________________ > Calypso mailing list > Calypso at keithp.com > http://keithp.com/mailman/listinfo/calypso From roger at firedrake.org Fri Jul 28 01:13:58 2017 From: roger at firedrake.org (Roger Bell_West) Date: Fri, 28 Jul 2017 09:13:58 +0100 Subject: [Calypso] Commands failing with git identity error message In-Reply-To: <20170728072143.xqu5bck7lnhwmabc@bogon.m.sigxcpu.org> References: <20170727145127.jqdg7shxw5tkx4hb@firedrake.org> <20170728072143.xqu5bck7lnhwmabc@bogon.m.sigxcpu.org> Message-ID: <20170728081358.z23tilvefuknnnbn@firedrake.org> On Fri, Jul 28, 2017 at 09:21:43AM +0200, Guido Günther wrote: >Are you sure you set it for the right user in the repo? git would pick >it up then? Which user is this running under? What do the above >variables point at? This is all running as the user infobot on the machine dayspring. infobot at dayspring:~$ git config -l user.email=infobot at dayspring.homenet.firedrake.org user.name=Firedrake Infobot Is there somewhere else that the git invoked by calypso might be looking for this information? R From agx at sigxcpu.org Fri Jul 28 01:25:00 2017 From: agx at sigxcpu.org (Guido =?iso-8859-1?Q?G=FCnther?=) Date: Fri, 28 Jul 2017 10:25:00 +0200 Subject: [Calypso] Commands failing with git identity error message In-Reply-To: <20170728081358.z23tilvefuknnnbn@firedrake.org> References: <20170727145127.jqdg7shxw5tkx4hb@firedrake.org> <20170728072143.xqu5bck7lnhwmabc@bogon.m.sigxcpu.org> <20170728081358.z23tilvefuknnnbn@firedrake.org> Message-ID: <20170728082500.wt6nifpbwugl7lyj@bogon.m.sigxcpu.org> Hi, On Fri, Jul 28, 2017 at 09:13:58AM +0100, Roger Bell_West wrote: > On Fri, Jul 28, 2017 at 09:21:43AM +0200, Guido Günther wrote: > >Are you sure you set it for the right user in the repo? git would pick > >it up then? Which user is this running under? What do the above > >variables point at? > > This is all running as the user infobot on the machine dayspring. > > infobot at dayspring:~$ git config -l > user.email=infobot at dayspring.homenet.firedrake.org > user.name=Firedrake Infobot > > Is there somewhere else that the git invoked by calypso might be > looking for this information? Not that I know of. Can you run calypso with --debug and post some more output (or send it to me in private mail if you don't want this on a mailing list)? Cheers -- Guido From roger at firedrake.org Fri Jul 28 01:51:35 2017 From: roger at firedrake.org (Roger Bell_West) Date: Fri, 28 Jul 2017 09:51:35 +0100 Subject: [Calypso] Commands failing with git identity error message In-Reply-To: <20170728082500.wt6nifpbwugl7lyj@bogon.m.sigxcpu.org> References: <20170727145127.jqdg7shxw5tkx4hb@firedrake.org> <20170728072143.xqu5bck7lnhwmabc@bogon.m.sigxcpu.org> <20170728081358.z23tilvefuknnnbn@firedrake.org> <20170728082500.wt6nifpbwugl7lyj@bogon.m.sigxcpu.org> Message-ID: <20170728085135.b7dyik2afucphpyp@firedrake.org> On Fri, Jul 28, 2017 at 10:25:00AM +0200, Guido Günther wrote: >Not that I know of. Can you run calypso with --debug and post some more >output (or send it to me in private mail if you don't want this on a >mailing list)? OK, here's a run with debug, starting just before the point where I tried to delete an item: 10.0.155.246 - - [28/Jul/2017 09:40:37] "REPORT /private/roger-public/ HTTP/1.1" 207 - Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in collection: /private/roger-public Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in collection: /private/roger-public owner private user roger Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in name: 19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in collection: /private/roger-public Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in collection: /private/roger-public Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in name: 19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics Remove object 19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics Remove 19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics rm 'cal-g6yKvD.ics' ['git', '-c', 'advice.implicitIdentity=false', 'commit', '-m', 'Remove old file\n\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4.2.1'] *** Please tell me who you are. Run git config --global user.email "you at example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for ) not allowed Failed to remove /home/infobot/.config/calypso/calendars/private/roger-public/cal-g6yKvD.ics Traceback (most recent call last): File "/home/infobot/calypso/calypso/webdav.py", line 354, in destroy_file self.git_rm(item.path, context=context) File "/home/infobot/calypso/calypso/webdav.py", line 309, in git_rm self.git_commit("Remove old file", context=context) File "/home/infobot/calypso/calypso/webdav.py", line 299, in git_commit subprocess.check_call(args, cwd=self.path, env=env) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['git', '-c', 'advice.implicitIdentity=false', 'commit', '-m', 'Remove old file\n\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4.2.1']' returned non-zero exit status 128 10.0.155.246 - - [28/Jul/2017 09:40:57] "DELETE /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics HTTP/1.1" 204 - (This doesn't generate an error in the client, but there are uncommited changes in the git repo.) However, I've just noticed that I've been running an old version from the keithp repo, and the Debian/jessie version 1.4 doesn't suffer from this problem. It does still have lots of SSL timeouts across a LAN, but I think I can blame Thunderbird for that; the other programs I use to talk to Calypso don't have that problem. From agx at sigxcpu.org Fri Jul 28 01:54:01 2017 From: agx at sigxcpu.org (Guido =?iso-8859-1?Q?G=FCnther?=) Date: Fri, 28 Jul 2017 10:54:01 +0200 Subject: [Calypso] Commands failing with git identity error message In-Reply-To: <20170728085135.b7dyik2afucphpyp@firedrake.org> References: <20170727145127.jqdg7shxw5tkx4hb@firedrake.org> <20170728072143.xqu5bck7lnhwmabc@bogon.m.sigxcpu.org> <20170728081358.z23tilvefuknnnbn@firedrake.org> <20170728082500.wt6nifpbwugl7lyj@bogon.m.sigxcpu.org> <20170728085135.b7dyik2afucphpyp@firedrake.org> Message-ID: <20170728085401.x4qca77osdmxyrbt@bogon.m.sigxcpu.org> Hi, On Fri, Jul 28, 2017 at 09:51:35AM +0100, Roger Bell_West wrote: > On Fri, Jul 28, 2017 at 10:25:00AM +0200, Guido Günther wrote: > >Not that I know of. Can you run calypso with --debug and post some more > >output (or send it to me in private mail if you don't want this on a > >mailing list)? > > OK, here's a run with debug, starting just before the point where I > tried to delete an item: > > 10.0.155.246 - - [28/Jul/2017 09:40:37] "REPORT /private/roger-public/ HTTP/1.1" 207 - > Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in collection: /private/roger-public > Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in collection: /private/roger-public > owner private user roger > Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in name: 19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics > Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in collection: /private/roger-public > Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in collection: /private/roger-public > Path /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics results in name: 19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics > Remove object 19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics > Remove 19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics > rm 'cal-g6yKvD.ics' > ['git', '-c', 'advice.implicitIdentity=false', 'commit', '-m', 'Remove old file\n\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4.2.1'] > > *** Please tell me who you are. > > Run > > git config --global user.email "you at example.com" > git config --global user.name "Your Name" > > to set your account's default identity. > Omit --global to set the identity only in this repository. > > fatal: empty ident name (for ) not allowed > Failed to remove /home/infobot/.config/calypso/calendars/private/roger-public/cal-g6yKvD.ics > Traceback (most recent call last): > File "/home/infobot/calypso/calypso/webdav.py", line 354, in destroy_file > self.git_rm(item.path, context=context) > File "/home/infobot/calypso/calypso/webdav.py", line 309, in git_rm > self.git_commit("Remove old file", context=context) > File "/home/infobot/calypso/calypso/webdav.py", line 299, in git_commit > subprocess.check_call(args, cwd=self.path, env=env) > File "/usr/lib/python2.7/subprocess.py", line 540, in check_call > raise CalledProcessError(retcode, cmd) > CalledProcessError: Command '['git', '-c', 'advice.implicitIdentity=false', 'commit', '-m', 'Remove old file\n\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4.2.1']' returned non-zero exit status 128 > 10.0.155.246 - - [28/Jul/2017 09:40:57] "DELETE /private/roger-public/19fa1218-37c2-493c-ae8b-54ac93e84cf5.ics HTTP/1.1" 204 - > > (This doesn't generate an error in the client, but there are > uncommited changes in the git repo.) > > However, I've just noticed that I've been running an old version from > the keithp repo, and the Debian/jessie version 1.4 doesn't suffer from > this problem. It does still have lots of SSL timeouts across a LAN, > but I think I can blame Thunderbird for that; the other programs I use > to talk to Calypso don't have that problem. I was about to ask for the used version. Glad it works now. -- Guido