csirtgadgets / massive-octo-spice

DEPRECATED - USE v3 (bearded-avenger)
https://github.com/csirtgadgets/bearded-avenger-deploymentkit/wiki
GNU Lesser General Public License v3.0
227 stars 62 forks source link

migration issue #475

Closed villain closed 7 years ago

villain commented 7 years ago

when trying to run the v1 migration script:

cif@ubuntu:/massive-octo-spice/v1migration$ perl -I../src/lib -Ilib bin/migrate-data.pl -h Can't use string ("1") as an ARRAY ref while "strict refs" in use at /usr/local/share/perl/5.18.2/Google/ProtocolBuffers.pm line 308. Compilation failed in require at bin/migrate-data.pl line 18. BEGIN failed--compilation aborted at bin/migrate-data.pl line 18. cif@ubuntu:/massive-octo-spice/v1migration$

wesyoung commented 7 years ago

(note; i never really got this to work ... well. we just ended up starting from scratch with new data in v2)

it looks like there might be a bug in 0.12, try 0.11:

sudo cpanm install http://www.cpan.org/authors/id/S/SA/SAXJAZMAN/protobuf/Google-ProtocolBuffers-0.11.tar.gz