[Bf-committers] Error after Updates to developer/git/svn/buildbot

Sergey Sharybin sergey.vfx at gmail.com
Sat Feb 2 19:58:20 CET 2019


Ah, indeed need to be non-anonymous to see the issue.

Tried to quickly poke the code to convert the octal values to a proper
Python3 notation, and then also needed to tweak exception handling syntax..
But that just opens a bigger rabbit hole to hell: more and more areas of
Gitosis seems to be incompatible with Python3.

Python2 seems to be unavailable on that host anymore. Restoring it probably
is easier/faster.

P.S. I am also not quite sure why we are still on Gitosis and not on
Gitolite. The former is no longer maintained, the latter one is what Linux
distors are providing. So can not expect Gitosis to be ported to Python3.

On Sat, Feb 2, 2019 at 7:09 PM Bastien Montagne <montagne29 at wanadoo.fr>
wrote:

> Can confirm same issue here as well (debian64 testing).
>
> On 02/02/2019 18:36, Ray Molenkamp wrote:
> > Same issue here,
> >
> > anonymous usage seems to work
> >
> > git clone git://git.blender.org/blender.git
> >
> > works, however authenticated users
> >
> > git clone git at git.blender.org:blender.git
> >
> > fail with the error mentioned earlier
> >
> > --Ray
> >
> >
> > On 2/2/2019 10:30 AM, Howard Trickey wrote:
> >> Happens for me too. git pull from origin/master of blender repository
> >>
> >>
> >> On Sat, Feb 2, 2019 at 12:14 PM Sergey Sharybin <sergey.vfx at gmail.com>
> >> wrote:
> >>
> >>> Hi,
> >>>
> >>>> util.mkdir(p, 0750)
> >>> AFAIK, this should be 0o750 for Python3. The code seems to be from
> >>> gitsosis, which we use from an upstream.
> >>>
> >>> What is more weird is that for me `git pull` works fine. Does this
> still
> >>> happen for you? Which exact repo causes the issue?
> >>>
> >>> On Sat, Feb 2, 2019 at 5:15 PM blendergit <blendergit at gmail.com>
> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> Not sure if you have completed the update, but today when I try to run
> >>>> “git pull”, I get this:
> >>>>
> >>>> $ git pull
> >>>> Traceback (most recent call last):
> >>>>    File "/usr/local/bin/gitosis-serve", line 11, in <module>
> >>>>      load_entry_point('gitosis==0.2', 'console_scripts',
> >>> 'gitosis-serve')()
> >>>>    File
> >>> "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py",
> >>>> line                                       487, in load_entry_point
> >>>>      return get_distribution(dist).load_entry_point(group, name)
> >>>>    File
> >>> "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py",
> >>>> line                                       2728, in load_entry_point
> >>>>      return ep.load()
> >>>>    File
> >>> "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py",
> >>>> line                                       2346, in load
> >>>>      return self.resolve()
> >>>>    File
> >>> "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py",
> >>>> line                                       2352, in resolve
> >>>>      module = __import__(self.module_name, fromlist=['__name__'],
> level=0)
> >>>>    File "/usr/local/lib/python3.6/site-packages/gitosis/serve.py",
> line
> >>> 142
> >>>>      util.mkdir(p, 0750)
> >>>>                       ^
> >>>> SyntaxError: invalid token
> >>>> fatal: Could not read from remote repository.
> >>>>
> >>>> Please make sure you have the correct access rights
> >>>> and the repository exists.
> >>>>
> >>>> I’m running on Windows 10.
> >>>>
> >>>> Regards,
> >>>> Antonio Vázquez
> >>>>
> >>>> De: Dan McGrath
> >>>> Enviado: sábado, 2 de febrero de 2019 12:45
> >>>> Para: bf-blender developers
> >>>> Asunto: [Bf-committers] Updates to developer/git/svn/buildbot
> >>>>
> >>>> Hi,
> >>>>
> >>>> Just a heads up that today I upgraded the following sites to the
> latest
> >>>> 2019Q1 ports in FreeBSD:
> >>>>
> >>>>    - developer.blender.org
> >>>>    - git.blender.org
> >>>>    - svn.blender.org
> >>>>    - builder.blender.org
> >>>>
> >>>> As well, the Phabricator (developer.b.o) PHP was upgraded from PHP
> 5.6 to
> >>>> 7.2. Overall the site seems nice and zippy when doing cached pages,
> but
> >>>> otherwise, keep an eye out for horrible stuff!
> >>>>
> >>>> Also, if it's good, nice! But if it breaks, it wasn't me that touched
> >>>> anything, and is all Sergey Sharybin's fault! ><
> >>>>
> >>>> At some point the host will go down for a FreeBSD upgrade from 11 to
> 12.
> >>>> Probably on Monday or so, I will let you know here.
> >>>>
> >>>>
> >>>> Cheers,
> >>>>
> >>>> Dan
> >>>> _______________________________________________
> >>>> Bf-committers mailing list
> >>>> Bf-committers at blender.org
> >>>> https://lists.blender.org/mailman/listinfo/bf-committers
> >>>>
> >>>> _______________________________________________
> >>>> Bf-committers mailing list
> >>>> Bf-committers at blender.org
> >>>> https://lists.blender.org/mailman/listinfo/bf-committers
> >>>>
> >>> --
> >>> With best regards, Sergey Sharybin
> >>> _______________________________________________
> >>> Bf-committers mailing list
> >>> Bf-committers at blender.org
> >>> https://lists.blender.org/mailman/listinfo/bf-committers
> >>>
> >> _______________________________________________
> >> Bf-committers mailing list
> >> Bf-committers at blender.org
> >> https://lists.blender.org/mailman/listinfo/bf-committers
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > https://lists.blender.org/mailman/listinfo/bf-committers
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>


-- 
With best regards, Sergey Sharybin


More information about the Bf-committers mailing list