GerryFerdinandus / bittorrent-tracker-editor

Software for add or remove tracker from torrent files.
MIT License
509 stars 65 forks source link

Linux version failed to download the trackers list. Ubuntu 20.04 #39

Open GerryFerdinandus opened 4 years ago

GerryFerdinandus commented 4 years ago

What steps will reproduce the problem?

Via menu item select to download tracker list

What is the expected output? What do you see instead?

New trackers must append to the tracker list. But now, no trackers is downloaded or append to the list. Workaround: Via web browser tracker list copy and paste into the add tracker input screen.

What version of the product are you using. (Please use the latest version of bittorrent-tracker-editor and your torrent client)

Latest present beta version 1.33.0. beta6

On what operating system?

Ubuntu 20.04

Please provide any additional information below.

The problem is that on linux there are different openssl version that are not API compatible. It works is Ubuntu 18.04 but failed in 20.04 Tracker editor internal build in library use openssl version 1.0.0, this is not always present in Linux.

Possible solution is to supply this Linux library via https://appimage.org

Windows version does not have this issue. The openSSL DLL is already present in the download zip file.

macOs version does not have this issue.

GerryFerdinandus commented 4 years ago

The issue is now fix by using snap. All the dependancy are included in one big download file. bittorrent-tracker-editor can be downloaded from here: https://snapcraft.io/bittorrent-tracker-editor

Architecture supported: Amd64 (Linux 64bit laptop etc) i386 (Linux 32bit laptop etc) arm64 (raspberry pi 3+ with 64bit OS) armhf (armV7) (raspberry pi 2+ with 32bit OS)

The issue is still open because not all linux distribution support 'snap' software.

GerryFerdinandus commented 3 years ago

Just release a new zip file: trackereditor_linux_amd64_fix_issue_39.zip This is created in Ubuntu 20.04 with FPC 3.3.1 developer branch build from source. May not be bug free.

Present FPC compiler 2.2 + library does not support the newer openssl 1.1 Must use the developer branch FPC source code version 3.3.1 to get openssl 1.1 support

Compatibility issue with snap. Latest snap runtime does not work. Must use the older version core18 which include openssl 1.0 https://github.com/GerryFerdinandus/bittorrent-tracker-editor/blob/89307eedcb0825a0063b789e95a1a5a30181b23a/snap/snapcraft.yaml#L3

GerryFerdinandus commented 1 year ago

The current FPC development source code supports OpenSSL 3. But the release version does not. This issue is resolved by updating the current outdated list with new values.

Present FPC 3.2.2 does not have support for OpenSSL 3 in Linux. Need to added in the DLLVersions list variable.


  DLLVersions: array[1..19] of string = ('', '.1.1', '.11', '.10', '.1.0.6', '.1.0.5', '.1.0.4', '.1.0.3',
                                        '.1.0.2', '.1.0.1','.1.0.0','.0.9.8',
                                        '.0.9.7', '.0.9.6', '.0.9.5', '.0.9.4',
                                        '.0.9.3', '.0.9.2', '.0.9.1');

Also release a new Linux amd64 zip file with this improvement to support OpenSSL version 3