Glob-related error appeared on 0.3.3
See original GitHub issue0.3.2 was working fine until I upgraded to 0.3.3 and then the following error started to happen. I don’t know why and where is the problem but going back to 0.3.2 fixes the problem.
File "/home/sagemaker-user/Kroft/my_avm/avm/avm.py", line 1063, in load
available=[f for f in list(resolved_path.glob(filename)) if '.dvc' not in str(f)]
File "/home/sagemaker-user/.local/lib/python3.9/site-packages/s3path.py", line 706, in glob
yield from super().glob(pattern)
File "/home/sagemaker-user/.pyenv/versions/3.9.9/lib/python3.9/pathlib.py", line 1177, in glob
for p in selector.select_from(self):
File "/home/sagemaker-user/.pyenv/versions/3.9.9/lib/python3.9/pathlib.py", line 523, in select_from
if not is_dir(parent_path):
File "/home/sagemaker-user/.local/lib/python3.9/site-packages/s3path.py", line 678, in is_dir
return self._accessor.is_dir(self)
File "/home/sagemaker-user/.local/lib/python3.9/site-packages/s3path.py", line 169, in is_dir
resource, _ = self.configuration_map.get_configuration(path)
File "/home/sagemaker-user/.local/lib/python3.9/site-packages/s3path.py", line 90, in get_configuration
if resources is None and path in self.resources:
TypeError: argument of type 'NoneType' is not iterable
filename
variable contains something like random • * • *.pkl*
. And I don’t think this is relevant information but this code is a static method of a class and it was running twice, in 2 parallel threads, where first thread succeeded and second failed with above error.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:13 (11 by maintainers)
Top Results From Across the Web
s390 rawhide report: 20141213 changes - Fedora Mailing-Lists
Fri Nov 14 2014 Ralph Bean <rbean at redhat.com> - 0.3.3-1 - Latest upstream ... concept has been revised and renamed to messaging...
Read more >Permissions - CVE - Search Results
A vulnerability has been identified in Simcenter STAR-CCM+ (All versions). The affected application improperly assigns file permissions to installation folders.
Read more >node_modules/mocha/CHANGELOG.md ...
5.0.2 / 2018-03-05. This release fixes a class of tests which report as false positives. Certain tests will now break, though they would...
Read more >Untitled
Fixes bug #1410193 - Disabled iptables plugin on aarch64 for now. ... for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Update to 0.3.3 upstream ...
Read more >mocha: Versions - Openbase
#4702: Error rethrow from cwd-relative path while loading .mocharc.js ... #4175: Having been deprecated with a warning since v7.0.0, mocha.opts is no longer ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh, that’s great! I’ll test it later. But having it published, maybe it is time to close this bug.
Update: Unrelated. This issue was related to this workaround
After updating and running my project in our CI, I am seemingly randomly getting
I did not observe this while testing the change locally and I am not sure if if is not connected to another change when migrating to Python 3.10 and updating packages, but want to drop this message here so if anyone else encounters it, he can +1. After all, it looks like some other non-deterministic thing.