Skip to content

Tried to build i2p.plugins.tor-manager 0.0.14  #1

@jut34irosp

Description

@jut34irosp

Tried to build i2p.plugins.tor-manager 0.0.14

What i got so far:

cloned go-I2P-jpackage, i2p.plugins.tor-manager
into ~/go/src/github.com/eyedeekay/

In go-I2P-jpackage
go generate
go build

Works no errors
Didn't do:
finally, add a "replace" directive which refers to the local checkout of go-I2P-jpackage to your go.mod file
because i didn't know what to do :)

In i2p.plugins.tor-manager
make build

and got the binary i2p.plugins.tor-manager-linux-amd64
no errors occured.

So far, so good.
executed...

./i2p.plugins.tor-manager-linux-amd64 -i2pbrowser
:47:57 /home/i2pbrowser/.i2p
:47:57 /home/i2pbrowser/i2p/i2prouter
:47:57 /home/i2pbrowser/Library/Application Support/i2p/clients.config
:47:57 Waiting for HTTP Proxy 10 remaining attempts
:48:01 Waiting for HTTP Proxy 9 remaining attempts
:48:05 Waiting for HTTP Proxy 8 remaining attempts
:48:09 Waiting for HTTP Proxy 7 remaining attempts
:48:13 Waiting for HTTP Proxy 6 remaining attempts
:48:17 Waiting for HTTP Proxy 5 remaining attempts
:48:21 Waiting for HTTP Proxy 4 remaining attempts
:48:25 Waiting for HTTP Proxy 3 remaining attempts
:48:29 Waiting for HTTP Proxy 2 remaining attempts
:48:33 Waiting for HTTP Proxy 1 remaining attempts
Using clearnet mirror :55:33 Password dialog canceled
:55:33 Checking if aus1.torproject.org is an I2P hostname
panic: interface conversion: interface {} is nil, not map[string]interface {}

goroutine 1 [running, locked to thread]:
i2pgit.org/idk/i2p.plugins.tor-manager/get.GetTorBrowserVersionFromUpdateURL()
/home/i2pbrowser/go/src/github.com/eyedeekay/i2p.plugins.tor-manager/get/torrent.go:236 +0x585
i2pgit.org/idk/i2p.plugins.tor-manager/get.TorrentDownloaded({0xc00044c113?, 0x12e44e9?}, {0xc00044c118, 0x7})
/home/i2pbrowser/go/src/github.com/eyedeekay/i2p.plugins.tor-manager/get/torrent.go:261 +0x65
main.init()
/home/i2pbrowser/go/src/github.com/eyedeekay/i2p.plugins.tor-manager/main.go:139 +0x83a

I think that is more than i got the last time. Irc the problem the last time was, that i got an empty tar, which should be in the executable.
But i thought it has now an integrated i2prouter implemented in go. The path /home/i2pbrowser/i2p/i2prouter does not exists.

I fired up the java i2prouter to see, if this could complement the execution process...
Gave it a minute to establish...
and tried again...

goroutine 1 [running, locked to thread]:
i2pgit.org/idk/i2p.plugins.tor-manager/get.GetTorBrowserVersionFromUpdateURL()
/home/i2pbrowser/go/src/github.com/eyedeekay/i2p.plugins.tor-manager/get/torrent.go:236 +0x585
i2pgit.org/idk/i2p.plugins.tor-manager/get.TorrentDownloaded({0xc000498508?, 0x5?}, {0xc000498550, 0x7})
/home/i2pbrowser/go/src/github.com/eyedeekay/i2p.plugins.tor-manager/get/torrent.go:261 +0x65
i2pgit.org/idk/i2p.plugins.tor-manager/get.Torrent({0xc000498508, 0x5}, {0xc000498550, 0x7})
/home/i2pbrowser/go/src/github.com/eyedeekay/i2p.plugins.tor-manager/get/torrent.go:321 +0x4c
main.Mirror()
/home/i2pbrowser/go/src/github.com/eyedeekay/i2p.plugins.tor-manager/main.go:212 +0x1b0
main.init()
/home/i2pbrowser/go/src/github.com/eyedeekay/i2p.plugins.tor-manager/main.go:131 +0x597

Mmm, not so much.
It tries to startup a torrent, i guess. Using option --p2p false does not work.
Maybe the torrent is not there. Don't know.

By the way... What is that in the startup options:
--chat Open a WebChat client
Does this work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions