Skip to content

unable to update librarian version do to generation failures #17672

Description

@codyoss

I assume this is related to a recent generator update: googleapis/librarian@a0930f4

The command I ran: ``

The Error I got:

librarian: generate library "google-cloud-datastore" (python): failed to run post processor: failed to run post-processor: /usr/bin/python3 -c 
from synthtool.languages import python_mono_repo
python_mono_repo.owlbot_main("/repo/packages/google-cloud-datastore")
: Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/python-packages/synthtool/languages/python_mono_repo.py", line 229, in owlbot_main
    synthtool.move([library], package_dir, excludes=["*.tar.gz"])
  File "/python-packages/synthtool/transforms.py", line 211, in move
    copied = copied or _copy_dir_to_existing_dir(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/python-packages/synthtool/transforms.py", line 147, in _copy_dir_to_existing_dir
    shutil.copy2(str(source_path), str(dest_path))
  File "/usr/lib/python3.11/shutil.py", line 436, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.11/shutil.py", line 258, in copyfile
    with open(dst, 'wb') as fdst:
         ^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/repo/packages/google-cloud-datastore/__pycache__/noxfile.cpython-311.pyc'
: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions