I have a problem when I use the WAPT.install('package') function.
I encountered an error during its execution:
Code: Select all
2022-06-29 23:37:48,592 CRITICAL Error downloading package from http repository, please update... error : 'NoneType' object has no attribute 'split'
2022-06-29 23:37:48,595 CRITICAL Error downloading some files : [(u'https://monserveur/wapt/monpaquet.wapt', "'NoneType' object has no attribute 'split'")]
2022-06-29 23:37:48,598 CRITICAL Packagexxxxxx [x64_fr_PROD] not installed due to errors : TypeError: coercing to Unicode: need string or buffer, NoneType foundI also have to use the WAPT.remove('package') function which doesn't cause any problems (of course, we're not downloading anything :) ).
The goal is to call the package in question rather than running the install and uninstall commands in the package being created.
One further question: how would you pass a "wapt-get install my_package" command within a script? It doesn't work via run(r'')
If you need any further information, please don't hesitate to ask.
We're using Wapt 2.2 Enterprise.
Thank you all,
Alban
