Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML backup with 0 messagges when signal-back is built with dep ensure #58

Open
nonno-cicala opened this issue Jun 27, 2019 · 1 comment

Comments

@nonno-cicala
Copy link

  • Operating system: Gentoo GNU/Linux
  • Build version: commit 7b9bc21

This is an issue I have depending on how I build signal-back.

If I build signal-back with:

dep ensure
go build .

CSV format and extract both work fine, while XML format outputs only this:

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<?xml-stylesheet type="text/xsl" href="sms.xsl" ?>
<smses count="0"></smses>

signal-back -v ... outputs only a bunch of "MMS export not yet supported"

If I build signal-back with:

go get github.com/xeals/signal-back

it works fine with XML too.

Thank you for this very useful program 😃

@nonno-cicala nonno-cicala changed the title XML backup with 0 messagges when signal-back is built from source with dep ensure XML backup with 0 messagges when signal-back is built with dep ensure Jun 27, 2019
@wehkah
Copy link

wehkah commented Jul 5, 2020

I am just facing the same problem when I use a prebuild binary: a zero sized out put file. I am not familiar with github and its building command, but I managed to install go and go-dep on my system, which is KDE Neon. But when I start the shown command, I get these errors:

:~$ go get github.com/xeals/signal-back

# github.com/xeals/signal-back/cmd
download/src/github.com/xeals/signal-back/cmd/check.go:19:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/check.go:23:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/extract.go:23:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/format.go:28:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/format.go:33:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/format.go:38:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/util.go:38:16: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/util.go:42:16: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/util.go:46:14: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
download/src/github.com/xeals/signal-back/cmd/util.go:106:42: undefined: cli.ExitError
download/src/github.com/xeals/signal-back/cmd/format.go:38:17: too many errors

Could you please give me a hand with this one? I really need to re-import all of my sms back into the standard sms app, but Signal is not making this easy for their users. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants