Hi,
I have a manual install using Release 76 “In Dubious Battle”.
To bulk provision a specific range of numbers, I used a modified version of the
bulk_create.py which does not use a csv file, and that worked fine.
I am now upgrading my IMS to the latest Release 89 “Vicomte de Bragelonne”.
My modified bulk creation script no longer works.
There seems to be problems with the bulk_create.py file in Release 89.
The first line (of bulk_create.py) specifies the python file location as
/usr/share/clearwater/crest/env/bin/python,
but actually it is in
/usr/share/clearwater/clearwater-prov-tools/env/bin/python.
I fixed that and now it fails on the line “from metaswitch.crest.tools.utils
import create_imssubscription_xml”.
The error output is:
------------------------------------------------------------------------------------------
Traceback (most recent call last):
File “./my_bulk_create.py”, line 65, in <module>
From metaswitch.crest.tools.utils import create_imssubscription_xml
ImportError: No module named crest.tools.utils
-------------------------------------------------------------------------------------------
Given that the python file is under
“/usr/share/clearwater/clearwater-prov-tools/”, but the metaswitch directory is
under “/usr/share/clearwater/crest/src/”,
does that mean there is a directory structure issue in homestead?
Or is it possible to fix my problem somehow?
I note that in Release 76 they were both under
“/usr/share/clearwater/homestead/”.
Regards
Peter.
Peter Skrzynski
Technical Lead
NEC New Zealand Limited
NEC House, Level 6, 40 Taranaki Street, PO Box 1936, Wellington 6011, New
Zealand
T: 043816257, M: 0274849530, F: +6443811110
[email protected]<mailto:[email protected]>
nz.nec.com<http://nz.nec.com>
[cid:[email protected]]
Please consider the environment before printing this email
Attention:
The information contained in this message and or attachments is intended only
for the person or entity to which it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination, copying
or other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material from
any system and destroy any copies. NEC has no liability for any act or omission
in reliance on the email or any attachment. Before opening this email or any
attachment(s), please check them for viruses. NEC is not responsible for any
viruses in this email or any attachment(s); any changes made to this email or
any attachment(s) after they are sent; or any effects this email or any
attachment(s) have on your network or computer system.
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org