amiaopensource / amiaopensource/grabbags

Bag creation is failing on hidden files

未关闭
#65 3 条评论 0 个 reaction 已指派 1 人 已被 @iamdamosuzuki 认领 在 GitHub 查看
主要语言
Python
星标
12
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

If the app encounters hidden files it will error out with this message. This happens even if the `--no-system-files` flag is used.

```
Traceback (most recent call last):
File "/usr/local/bin/grabbags", line 33, in
sys.exit(load_entry_point('grabbags==0.0.2', 'console_scripts', 'grabbags')())
File "/usr/local/Cellar/grabbags/0.0.2/libexec/lib/python3.9/site-packages/grabbags/grabbags.py", line 372, in main
runner(args)
File "/usr/local/Cellar/grabbags/0.0.2/libexec/lib/python3.9/site-packages/grabbags/grabbags.py", line 295, in run
make_bag(bag_dir, args)
File "/usr/local/Cellar/grabbags/0.0.2/libexec/lib/python3.9/site-packages/grabbags/grabbags.py", line 259, in make_bag
grabbags.utils.remove_system_files(root=bag_dir.path)
File "/usr/local/Cellar/grabbags/0.0.2/libexec/lib/python3.9/site-packages/grabbags/utils.py", line 79, in remove_system_files
os.remove(full_path)
FileNotFoundError: [Errno 2] No such file or directory: '/Volumes/SymplyUltra/Testing/TBC Presentation1/20191203_SDI/._.DS_Store'
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。