[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Dima Pasechnik


On Sunday, August 21, 2016 at 5:23:28 PM UTC+1, Volker Braun wrote:
>
> This should be fixed now
>
> Thanks much, Volker!
I installed usual ubuntu updates from standard debs, but as you pointed out 
to me there was a manual change
in a config file that got overwritten... :-(
We need to find a way to prevent these things in the future.

Dima
 

>
> On Sunday, August 21, 2016 at 12:15:05 AM UTC+2, Emmanuel Charpentier 
> wrote:
>>
>> I am finding myself unable to fetch the positively reviewed ticket 
>> TRAC#21135 :
>>
>> charpent@asus16-ec:/usr/local/sage-7$ git trac checkout 21135
>> Loading ticket #21135...
>> Checking out Trac #21135 remote branch public/21135 -> local branch 
>> t/21135/public/21135...
>> Traceback (most recent call last):
>>   File "/usr/local/bin/git-trac", line 18, in 
>> cmdline.launch()
>>   File "/home/charpent/Dev/git-trac-command/git_trac/cmdline.py", line 
>> 215, in launch
>> app.checkout(args.ticket_or_branch, args.branch_name)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 116, 
>> in checkout
>> self._checkout_ticket(int(ticket_or_branch), branch_name)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 144, 
>> in _checkout_ticket
>> self.repo.checkout_new_branch(ticket.branch, branch)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/git_repository.py", 
>> line 136, in checkout_new_branch
>> self.git.fetch('trac', remote)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
>> line 341, in meth
>> return self.execute(git_cmd, *args, **kwds)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
>> line 328, in execute
>> popen_stderr=subprocess.PIPE)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
>> line 263, in _run
>> raise GitError(result)
>> git_trac.git_error.GitError: git returned with non-zero exit code (128) 
>> when executing "git fetch trac public/21135"
>> STDERR: fatal: Couldn't find remote ref public/21135
>>
>> I do not understand this error. This never happened to me before.
>>
>> Ideas ?
>>
>> --
>> Emmanuel Charpentier
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread leif
Volker Braun wrote:
> This should be fixed now

Yep, the refs are back (also with git://).


-leif

> On Sunday, August 21, 2016 at 12:15:05 AM UTC+2, Emmanuel Charpentier wrote:
> 
> I am finding myself unable to fetch the positively reviewed ticket
> TRAC#21135 :
> 
> charpent@asus16-ec:/usr/local/sage-7$ git trac checkout 21135
> Loading ticket #21135...
> Checking out Trac #21135 remote branch public/21135 -> local branch
> t/21135/public/21135...
> Traceback (most recent call last):
> ...
>   File
> "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py",
> line 263, in _run
> raise GitError(result)
> git_trac.git_error.GitError: git returned with non-zero exit code
> (128) when executing "git fetch trac public/21135"
> STDERR: fatal: Couldn't find remote ref public/21135


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Volker Braun
This should be fixed now


On Sunday, August 21, 2016 at 12:15:05 AM UTC+2, Emmanuel Charpentier wrote:
>
> I am finding myself unable to fetch the positively reviewed ticket 
> TRAC#21135 :
>
> charpent@asus16-ec:/usr/local/sage-7$ git trac checkout 21135
> Loading ticket #21135...
> Checking out Trac #21135 remote branch public/21135 -> local branch 
> t/21135/public/21135...
> Traceback (most recent call last):
>   File "/usr/local/bin/git-trac", line 18, in 
> cmdline.launch()
>   File "/home/charpent/Dev/git-trac-command/git_trac/cmdline.py", line 
> 215, in launch
> app.checkout(args.ticket_or_branch, args.branch_name)
>   File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 116, in 
> checkout
> self._checkout_ticket(int(ticket_or_branch), branch_name)
>   File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 144, in 
> _checkout_ticket
> self.repo.checkout_new_branch(ticket.branch, branch)
>   File "/home/charpent/Dev/git-trac-command/git_trac/git_repository.py", 
> line 136, in checkout_new_branch
> self.git.fetch('trac', remote)
>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
> line 341, in meth
> return self.execute(git_cmd, *args, **kwds)
>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
> line 328, in execute
> popen_stderr=subprocess.PIPE)
>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
> line 263, in _run
> raise GitError(result)
> git_trac.git_error.GitError: git returned with non-zero exit code (128) 
> when executing "git fetch trac public/21135"
> STDERR: fatal: Couldn't find remote ref public/21135
>
> I do not understand this error. This never happened to me before.
>
> Ideas ?
>
> --
> Emmanuel Charpentier
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread leif
Travis Scrimshaw wrote:
> I can both confirm the problem and Leif's workaround works (although it
> required deleting the previous fingerprint key in the known_hosts).

The weird thing is that

git ls-remote git://trac.sagemath.org/sage.git

doesn't give any error, it just gives no refs at all.

So presumably rather some misconfiguration of git-daemon caused by an
update...


-leif


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Travis Scrimshaw
I can both confirm the problem and Leif's workaround works (although it 
required deleting the previous fingerprint key in the known_hosts).

Best,
Travis

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Please stop your patchbot

2016-08-21 Thread Ralf Stephan
Patchbots were started despite the git protocol problem unresolved.
People can work around on trac by changing to git@ remote but
in the patchbot is still the wrong method so YOUR patchbot is spamming
the database with ApplyFailed. Stop it please.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread leif
Dima Pasechnik wrote:
> in syslog on trac I see something I cannot make sense of: here is a
> connection from Ghent (Jeroen't machine, according to IP), although
> there are more from other places:
> 
> ug 21 07:39:25 trac git-daemon[27274]: Connection from
> 157.193.230.60:46723Aug 21 07:39:25 trac git-daemon[27274]: Extended
> attributes (24 bytes) exist 

Re: [sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Johan S . H . Rosenkilde
I confirm the problem, even with develop:

$ git fetch trac develop
fatal: Couldn't find remote ref develop

Best,
Johan

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Dima Pasechnik
in syslog on trac I see something I cannot make sense of: here is a 
connection from Ghent (Jeroen't machine, according to IP), although there 
are more from other places:

ug 21 07:39:25 trac git-daemon[27274]: Connection from 
157.193.230.60:46723Aug 21 07:39:25 trac git-daemon[27274]: Extended 
attributes (24 bytes) exist 

[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Emmanuel Charpentier
Le dimanche 21 août 2016 01:33:57 UTC+2, leif a écrit :
>
> Emmanuel Charpentier wrote:

 
[ Snip...]

>
>
> No.  Works for me: 
>
> $ git fetch -v trac public/21135 && echo OK 
> remote: Counting objects: 2875, done. 
> remote: Compressing objects: 100% (1133/1133), done. 
> Receiving objects: 100% (2088/2088), 366.72 KiB, done. 
> remote: Total 2088 (delta 1770), reused 1219 (delta 943) 
> Resolving deltas: 100% (1770/1770), completed with 409 local objects. 
> From trac.sagemath.org:sage 
>  * branchpublic/21135 -> FETCH_HEAD 
> OK 
>
>
> And you can see the remote ref is there: 
>
> https://git.sagemath.org/sage.git/log/?h=public/21135


I can see it. but :

charpent@asus16-ec:/usr/local/sage-7$ git fetch -v trac public/21135
Looking up trac.sagemath.org ... done.
Connecting to trac.sagemath.org (port 9418) ... 104.197.143.230 done.
fatal: Couldn't find remote ref public/21135

I'm still borked (as of 06:59 UTC...). 

>
>
>
> Did you perhaps bork your remote 'trac'? 
>

What could have happened ? And (more importantly, how can I unbork ?

--
Emmanuel Charpentier

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.