Open kealist opened 2 years ago
https://github.com/o19s/skipchunk/blob/master/skipchunk/utilities.py#L16 is the offending line
module_dir = os.path.dirname(os.path.abspath(__file__))
print(module_dir)
source_dir = module_dir[0:module_dir.rfind('/')]
print(source_dir)
#FIX
source_dir = os.path.join(os.path.dirname(module_dir), '')
print(source_dir)
results in:
c:\Users\kealist\code\git\scraped-data\src\
c:\Users\kealist\code\git\scraped-data\sr
c:\Users\kealist\code\git\scraped-data\
Wanted to touch base to see if there is any way to get a release with the fix in it as I would really like to try to use this lib.
Any way to get a new package with this?
Description
I started working through the solr example (I have it saved with the name
skipchunker.py
, but it is the solr example) on Windows but I'm getting some fun path issues. it looks like it's truncating the path name toskipchun
and generally doesn't support windows paths.An additional issue,
lxml
v 4.5.2 is not compatible with python 3.10 on windows--it will install on 3.8 though, so if it's possible to update that dependency, it would be awesomeWhat I Did