xxx@xxx:~$ skicka20150403 -verbose -debug -config=/home/xxx/.skicka.config-xxx ls /
2015/04/16 08:22:30 GetFileById: root
2015/04/16 08:22:30 Running query: trashed=false and '0AHGeSBTyPxUOUk9PVA' in parents
...
xxx@xxx:~$
But with new updated skicka with local metadata cache funcionality not:
xxx@xxx:~$ skicka -verbose -debug -config=/home/xxx/.skicka.config-xxx ls /
2015/04/16 08:22:36 Read max change id 20433361
2015/04/16 08:22:37 done updating from drive 2015-04-16 08:22:37.231529694 +0200 CEST
2015/04/16 08:22:43 Done reading file cache from disk @ 2015-04-16 08:22:43.38785249 +0200 CEST
2015/04/16 08:22:43 File cache has 1753575 items
2015/04/16 08:22:43 getFileById: root
panic: no parents, but path isn't "."?
goroutine 1 [running]:
runtime.panic(0x68c5c0, 0xc25d35ebf0)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
main.main()
goroutine 4 [chan receive]:
main.func·003()
created by main.main
goroutine 5 [sleep]:
time.Sleep(0x7735940)
/usr/lib/go/src/pkg/runtime/time.goc:31 +0x31
github.com/google/skicka/gdrive.func·003()
goroutine 8 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394
goroutine 9 [IO wait]:
net.runtime_pollWait(0x7f501f844d28, 0x72, 0x0)
/usr/lib/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2100644c0, 0x72, 0x7f501f843110, 0xb)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2100644c0, 0xb, 0x7f501f843110)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210064460, 0xc222c62000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210000a48, 0xc222c62000, 0x1000, 0x1000, 0x71eaa0, ...)
/usr/lib/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc210073b40, 0x7f501f844e58, 0xc210000a48, 0x5, 0xc210000a48, ...)
/usr/lib/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc210053a00, 0x17, 0x0, 0x8)
/usr/lib/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc210053a00, 0xc223137000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc223134240)
/usr/lib/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc223134240, 0x1, 0x0, 0x0, 0x0, ...)
/usr/lib/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc210059600)
/usr/lib/go/src/pkg/net/http/transport.go:687 +0xb7
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:528 +0x607
goroutine 10 [select]:
net/http.(*persistConn).writeLoop(0xc210059600)
/usr/lib/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:529 +0x61e
xxx@xxx:~$
BTW. first metadata cache update took about 4 hours (1753575 items).