Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Windows: Access Denied Error in loose.py while removing #37

Closed
Labels
@stuertz

Description

Hi, while using gitdb from within conda_smithy on windows i do get the follwoing traceback.

Seems to me that the file handle was not closed before removing the file, which is not an issue on other platforms but on windows :-(

[Traceback (most recent call last):
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\Scripts\conda-smithy-script.py", line 5, in <module>
 sys.exit(conda_smithy.cli.main())
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\conda_smithy\cli.py", line 271, in main
 args.subcommand_func(args)
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\conda_smithy\cli.py", line 182, in __call__
 configure_feedstock.main(args.feedstock_directory)
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\conda_smithy\configure_feedstock.py", line 703, in main
 copy_feedstock_content(forge_dir)
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\conda_smithy\configure_feedstock.py", line 589, in copy_feedstock_content
 'README'
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\conda_smithy\configure_feedstock.py", line 580, in copytree
 copy_file(s, d)
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\conda_smithy\feedstock_io.py", line 87, in copy_file
 repo.index.add([dst])
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\git\index\base.py", line 750, in add
 entries_added.extend(self._entries_for_paths(paths, path_rewriter, fprogress, entries))
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\git\util.py", line 75, in wrapper
 return func(self, *args, **kwargs)
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\git\index\util.py", line 91, in set_git_working_dir
 return func(self, *args, **kwargs)
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\git\index\base.py", line 636, in _entries_for_paths
 entries_added.append(self._store_path(filepath, fprogress))
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\git\index\base.py", line 605, in _store_path
 istream = self.repo.odb.store(IStream(Blob.type, st.st_size, stream))
 File "C:\Users\js\AppData\Local\Continuum\Miniconda2\lib\site-packages\gitdb\db\loose.py", line 233, in store
 remove(obj_path)
WindowsError: [Error 5] Zugriff verweigert: u'C:\\work\\conda\\conda-feedstocks\\parse_type-feedstock\\.git\\objects\28円\8029円dca17ee2d73d8415761cbc1da2c449ef94'](url)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /