Comments (7)
Don't use Python for a wrapper
The Python wrapper has the advantage of running on both Linux and macOS. The Linux version would work on both if you hadn't compiled the wrapper.
Obviously, you'd have to bundle PyYAML, too.
from nzbhydra2.
I expected most people to be able to run the binaries. As a python and Java developer I underestimated how many people would have problems with the binaries. I'll put the wrapper python script with removed PyYAML dependencies into a "OS-agnostic" package soon.
from nzbhydra2.
As far as binaries (and UNIX-like OSes) go, I don't think there's a meaningful difference between the compiled wrapper and a plain old Python script (with a python2
shebang and the executable bit set).
The PyYAML dependency apart (which is trivially bundled), the non-compiled script has the advantage of running with any Python 2 on any architecture or platform. I don't have a clue about how architecturally-independent JAR files are, but that script also runs on a RaspberryPi or other ARM machine.
macOS and most Linux distros have Python by default (though only Python 3 is installed by default on some).
The tricky bit, imo, is installing Java. It's a total pain on macOS because you have to install it manually from Oracle's awful website, and as long as Java is a requirement, Linux folks can just as easily run apt-get install java python2
as they can apt-get install java
.
from nzbhydra2.
We'll see. For now there are ways for most people to get it working one way or the other, that's a good start.
from nzbhydra2.
Indeed.
from nzbhydra2.
On the Pi at least the oracle JDK in the Repo is horribly outdated, I think it is installing Java8u65. So not suitable for Hydra.
Oracle's 32bit ARM hard float package is working for hydra on the pi for me: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
I was able to use the wrapper to get hydra running on my Pi2 & Pi3 with systemd and the python wrapper. I simply changed the "exec" line from /your/path/here/nzbhydra2 --nobrowser
to /your/path/here/nzbhydra2wrapper.py
from nzbhydra2.
To be realistic, won't do that in quite some time. Or ever.
from nzbhydra2.
Related Issues (20)
- [Binsearch] Unable to find main table in binsearch page. This happens sometimes ;-) (HAPPENS ALWAYS)
- RSS feed doesn't return any results? HOT 6
- Is there a way to add Prowlarr indexers to nzbhydra2? HOT 2
- Unsecured Dev Endpoints HOT 2
- 5.3.9 Generic fails to start, stuck in startup loop after update from 5.3.8 (MAC OS) HOT 2
- Can't run NZBHydra Windows, systray icon appears then disappears, service starts then stops HOT 47
- Windows v5.3.9 won't start HOT 1
- 5.3.9 python libc on debian failed to start HOT 2
- Core.exe CPU Usage HOT 2
- can't log into Hydra2 anymore HOT 5
- NZBindex API version HOT 1
- nzbhydra leaving behind GB's in local temp folder HOT 1
- Feature Request: Add IP to History tables HOT 5
- MAC OS - wrappers report as outdated HOT 5
- can't send to Sabnzb after updating to 5.3.11 HOT 4
- Update through WebUI Doesn't Work HOT 3
- Incorrect issue number in changelog HOT 1
- Nzbhydra2 no longer launches on Ubuntu 22.04 after 6.0 update HOT 2
- REQ don't choose the smallest posting as the one fronting concatenated posts HOT 2
- Enhancement Request to Search History Table HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nzbhydra2.