vapoursynth / vsrepo

A simple package repository for VapourSynth
MIT License
113 stars 29 forks source link

(Portable)NameError: name 'pluginparent' is not defined #204

Closed rr4e closed 7 months ago

rr4e commented 1 year ago

python vsrepo.py available

E:\cut_media_tools\vs_tools\VapourSynth64-Portable-R61>python vsrepo.py available Traceback (most recent call last): File "E:\cut_media_tools\vs_tools\VapourSynth64-Portable-R61\vsrepo.py", line 177, in package_json_path = os.path.join(file_dirname, 'vspackages3.json') if args.portable else os.path.join(*pluginparent, 'vsrepo', 'vspackages3.json') NameError: name 'pluginparent' is not defined

QQ截图20230330134849

theChaosCoder commented 1 year ago

Please download the latest vsrepo version and check again. I believe this was fixed already. At least I can not reproduce it.

https://github.com/vapoursynth/vsrepo/archive/refs/heads/master.zip

rr4e commented 1 year ago

yes , Portable need write -p

theChaosCoder commented 1 year ago

I tried both with and without -p, both works for me. The code looks also correct on first glance.

theChaosCoder commented 7 months ago

Should all be fixed