SynologyOpenSource / pkgscripts-ng

Synology DSM6.0 package toolkit framework
162 stars 56 forks source link

./EnvDeploy -l fails #23

Open peteraba opened 4 years ago

peteraba commented 4 years ago

./EnvDeploy -l

Traceback (most recent call last):
File "./EnvDeploy", line 335, in <module>
main(sys.argv[1:])
File "./EnvDeploy", line 313, in main
platforms = get_platforms(dsm_ver, build_num, args.platforms)
File "./EnvDeploy", line 277, in get_platforms
all_platforms = get_all_platforms(dsm_ver, build_num)
File "./EnvDeploy", line 256, in get_all_platforms
pattern = 'AvailablePlatform_%s_%s' % (dsm_ver.split('.')[0], dsm_ver.split('.')[1])
IndexError: list index out of range
jason1122g commented 3 years ago

can you still reproduce it ?

xmstspider commented 2 years ago

You need to use the following format: ./EnvDeploy -v 7.0 -l The EnvDeploy without arguments should show a help instead of typical Python error...