Comments (10)
Thank you.
from nzbhydra2.
Those java options are extracted from the python obfuscation
The wrapper script works on macOS (after you install PyYAML).
Until then things like restart won't work
It works with the wrapper script.
from nzbhydra2.
I'll remove the PyYAML dependency soon (it's just used to read one single entry).
In the long term I hope to replace the python based wrapper with a leaner custom written, but that will have to wait until the base program runs fine.
from nzbhydra2.
install/maintain two languages and an add-on package
Python is part of macOS, so requiring Python isn't really an issue.
my first choice of JRE (SE 9)
Fortunately, I have a much older version installed from the last time a program I wanted to run was unfortunately written in Java 😜
I'm not 100% sure about this, but I think if you install the JDK instead of the JRE, you get a /usr/bin/java
command, which saves faffing around trying to figure out where your JRE is installed.
In any case, I have a /usr/bin/java
. I can't remember exactly why, but I certainly didn't put it there myself.
from nzbhydra2.
leaner custom written
The Python wrapper runs in about 0.1s. Given that the app proper takes 200x longer to start up, I'd say there's little to be gained by optimising the wrapper.
from nzbhydra2.
It's more about the file size and memory usage.
from nzbhydra2.
PyYAML dependency is gone.
from nzbhydra2.
The new wrapper works (with the stock version of python) if I specify a value for xmx, but if I don't the parameter list looks like it has an embedded cr after 128 and before "M" and java complains. I've stared at the code and don't see it.
Other than that everything looks good.
from nzbhydra2.
Except that nzbhydra1 does not run with the shipping version of python (2.7.10)
We're talking about NZBHydra 2, and I'm running it right now with the system 2.7.10.
Yes, it does, which is why my first suggestion
But your recommendation was the minimal JRE…
Thank you for playing
If you're going to be rude, at least try to be correct as well…
from nzbhydra2.
@Alrescha-git Thanks for the contribution :-)
from nzbhydra2.
Related Issues (20)
- Bitdefender Security flagging exe in latest Windows version - NZBHydra2.exe is infected with Trojan.GenericKD.70500498 HOT 11
- Custom mapping: reorder/multiple lines/save Examples for each pattern/enable button HOT 5
- Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [140] milliseconds. HOT 4
- Handling non-ascii charset for `Save torrent to black hole or send magnet link` HOT 3
- API and download Hits won't be cleared in 5.3.5 HOT 11
- upgrades from 5.1.10 fails HOT 8
- Hash passwords in the config file when authentication is enabled. HOT 1
- Error while getting latest version: Cannot assign requested address: no further information HOT 9
- Option to apply Load Limiting to RSS searches only HOT 2
- period substitution with spaces not consistent HOT 3
- Allow certain Tasks to be disabled or configured HOT 2
- Error filtering download history by date
- Make slow queries more pleasant within the UI HOT 9
- History disapearing, only one very old history line remains HOT 7
- Restoring into docker hangs HOT 4
- High disk I/O usage HOT 2
- Desperately need help installing on MAC HOT 2
- [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
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.