This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/safing/portbase/config" | |
) | |
// Config | |
// - simple, fast and easy configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time="2018-03-31T02:33:38.863806041+02:00" level=error msg="fatal task error" error="task: non-zero exit (1)" module="node/agent/taskmanager" node.id=9b86viugse9yh6v2zxemg1cqq service.id=x3ap89sl25payazto5pqe1gtu task.id=w25v4hvjgo4bd844qxgqimmk7 | |
fatal error: concurrent map iteration and map write | |
goroutine 71835668 [running]: | |
runtime.throw(0x561fd25ae7bf, 0x26) | |
/usr/lib/go/src/runtime/panic.go:596 +0x97 fp=0xc4272e7110 sp=0xc4272e70f0 | |
runtime.mapiternext(0xc4272e7480) | |
/usr/lib/go/src/runtime/hashmap.go:737 +0x7f0 fp=0xc4272e71c0 sp=0xc4272e7110 | |
runtime.mapiterinit(0x561fd2bb2140, 0xc44003ba10, 0xc4272e7480) | |
/usr/lib/go/src/runtime/hashmap.go:727 +0x2b5 fp=0xc4272e7218 sp=0xc4272e71c0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# usage: | |
# | |
# print single record: | |
# ./investigate-django-dump.py [file] print 1 | |
# | |
# extract chosen records by [app_label].[model] prefix: | |
# ./investigate-django-dump.py [file] extract contenttypes. | |
# ./investigate-django-dump.py [file] extract auth. |