These are chat archives for allegro/ralph

10th
Jul 2018
vicentiumitris
@vicentiumitris
Jul 10 2018 08:41
Hi Guys, I am using Ralph3 and I am trying to import Racks from an exported xls from that section and I am getting error with ManyToManyField
vicentiumitris
@vicentiumitris
Jul 10 2018 11:02
image.png
Erik Smedinga
@ErikSmedinga
Jul 10 2018 11:11
If you get a ManyToManyField error then you're trying to import accessoiries. You have to delete all accessoiries fields from the Excel sheet. I have not found a way to import accessoiries yet, except by writing directly to the database.
vicentiumitris
@vicentiumitris
Jul 10 2018 11:18
Hi Erik. the thing is the accessories are empty. I just tried to import some and importing accessories works well. I have the problem importing racks.
Erik Smedinga
@ErikSmedinga
Jul 10 2018 11:29
remove the columns accessoiries altogether. Had the same issue this morning.
vicentiumitris
@vicentiumitris
Jul 10 2018 11:45
Hi Erik. Thanks a lot. Working now. here you have the excel I am importing for accessories that is working. Maybe you can see something diff.
image.png
✪ vi4m Marcin Kliks
@vi4m
Jul 10 2018 13:05
@ErikSmedinga let me ask you - how many assets are stored in your Ralph instance?
Erik Smedinga
@ErikSmedinga
Jul 10 2018 13:16
At the moment we have 826 data center assets.