[ / / / / / / / / / / / / / ] [ dir / aus / b2 / choroy / dempart / fast / o / tingles / vril ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.
Name
Email
Subject
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 5 per post.


New user? Start here ---> http://hydrusnetwork.github.io/hydrus/

Experienced user with a bit of cash who wants to help out? ---> Patreon

Current to-do list has: 1,626 items

The program is now on Python 3! Check v335 release post if you need to update from before then!

Current big job: None--check the pinned poll thread


YouTube embed. Click thumbnail to play.

011487  No.6876

windows

zip: https://github.com/hydrusnetwork/hydrus/releases/download/v276/Hydrus.Network.276.-.Windows.-.Extract.only.zip

exe: https://github.com/hydrusnetwork/hydrus/releases/download/v276/Hydrus.Network.276.-.Windows.-.Installer.exe

os x

app: https://github.com/hydrusnetwork/hydrus/releases/download/v276/Hydrus.Network.276.-.OS.X.-.App.dmg

tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v276/Hydrus.Network.276.-.OS.X.-.Extract.only.tar.gz

linux

tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v276/Hydrus.Network.276.-.Linux.-.Executable.tar.gz

source

tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v276.tar.gz

Despite some setbacks, I had a great week. There are more neat improvements to the thread watcher, new archive import support, and some 'page of pages' stuff as well.

thread watchers now describe themselves

Thread watchers are now aware of their thread subject, if one exists. They put this on their management panel on the left, and they will also name their page tabs the same way! If you do not want the page rename to happen, you can turn it off under options->downloading.

Threads are also a bit more aware of Dead/404 status. They die and revive in a more ui-graceful way, remember it more cleanly through session reloads, and will prefix their page tab names as [404] or [DEAD] as appropriate!

I have also tweaked some timing calculations to check less frequently on threads that were busy but have since dropped off completely.

Now there are handles for pages to rename themselves, I expect to add more support for this stuff in future.

basic archive import support

The client now recognises .zip, .rar, and .7z files. It will import them as single files and give them default 'archive' thumbnails. It doesn't parse any internal structure metadata like number of files or anything, but if you would like to have a place to store and tag some archives, hydrus can now do it!

I still expect, sometime in the future, to add in-client media support for cbz and possibly cbr files. At this point, hydrus will be extended to better understand and present the internal contents of archives and generally be able to deal with single files that have multiple pages.

more page right-click options

'Page of pages' pages now have a few more right-click menu entries. You can refresh all the pages beneath a page of pages and also create page of pages on the clicked page or all pages to the right.

full list

- the new thread watcher object will no longer produce check periods shorter than the time since the latest file. this effectively throttles checking on threads that were posting very fast but have since suddenly stopped completely

- thread watchers now parse their thread subject and place this in the left management panel

- thread watchers now name their pages based on the thread subject, if one exists

- an option to permit or deny thread watchers renaming their pages is now under options->downloading

- dead and 404 threads now disable their checker pause button–to attempt to revive, hit 'check now'

- thread watchers now preface their page name with [DEAD] or [404] when appropriate

- misc thread watcher code improvements

- added basic import support for zip, rar, and 7z files. they get no useful metadata (yet) and have a default 'archive' thumbnail

- the client will now by default detect and not import decompression bombs before they blat your computer. an option to allow them nonetheless is under options->media

- the server will now not parse or accept decompression bomb uploads in POST requests

- added a 'refresh all pages' entry to page of pages's right-click menu

- added 'send this page down to a new page of pages' to page right-click menu

- added 'send all pages to the right to a new page of pages' to page right-click menu

- fixed a page of pages drag and drop issue when dropping the last page of a notebook onto the same notebook tab

- fixed some index calculation problems when DnDing page tabs to the right on the same notebook

- sending a refresh event to a 'show selection in a new page' page (which has no search predicates and so cannot 'refresh' its search) will now trigger a sort event (like importers got last week)

- thumbnails at the bottom of the current view but are at least 90% in view will no longer scroll into view when selected

- click events will no longer scroll thumbnails that are semi-out of view into view

- improved how all 'wait until the client ain't so busy' checks work. importers that have a whole slew of 'already in db' to catch up on should now not clog the gui so much

- similarly, under ideal conditions where nothing is busy, importers will iterate over their files more quickly

- the network engine now has a 'verification' loop that doesn't do anything yet, and a stub domain engine is generated to be consulted in this

- wrote some verification code, extended popup messages to support yes/no questions

- polished some domain engine code

- fixed an issue where file repositories were not recording deleted files in certain cases

- all file repositories will be reset on update

- the date entries on the review bandwidth bar chart now have leading zeroes on 0-9 months to ensure the sort correctly (this month's 2017-10 entry was sorting before 2017-8, wew!)

- the migrate database dialog now shows approximate total thumbnail size

- gave the migrate database help a quick pass

- gave the 'help my db is broke.txt' file a quick pass

next week

I was tired all this week and then ultimately fell pretty sick. I'm about 4/10 now. I will now get back to sleep, and I am not sure when I will catch up on messages and so on. I do expect to be back up to speed by Saturday, so I would like to just keep pushing next week. It would be nice to have User-Agent substitution support and working sankaku.

e48c3f  No.6877

While importing files I get the following for each file:

Traceback (most recent call last):
File "/home/user/Downloads/hydrus-276/include/ClientImporting.py", line 4440, in _WorkOnFiles
( status, hash ) = HG.client_controller.client_files_manager.ImportFile( file_import_job )
File "/home/user/Downloads/hydrus-276/include/ClientCaches.py", line 982, in ImportFile
file_import_job.GenerateInfo()
File "/home/user/Downloads/hydrus-276/include/ClientImporting.py", line 375, in GenerateInfo
if HydrusImageHandling.IsDecompressionBomb( self._temp_path ):
File "/home/user/Downloads/hydrus-276/include/HydrusImageHandling.py", line 250, in IsDecompressionBomb
warnings.simplefilter( 'error', PILImage.DecompressionBombWarning )
AttributeError: 'module' object has no attribute 'DecompressionBombWarning'

Same error prevented hydrus from starting, workaround is to comment out line 18 in HydrusImageHandling.py.


20622d  No.6878

>>6876

>The client now recognises .zip, .rar, and .7z files.

Does this mean I can go ahead and import zipped ugoiras?

>the client will now by default detect and not import decompression bombs before they blast your computer. an option to allow them nonetheless is under options->media

Thank you Dev, I was the one with this issue.


786aee  No.6879

File: ff9488ff060f3a1⋯.png (41.72 KB, 362x362, 1:1, d0b.png)

Thanks for the update dev! with the new on 90% do not scroll up thing is there a setting to make that threshold lower?

Get wel soon and stay comfy!!


c181ba  No.6880

Surgery + inability to really do much beside lay down kind + prep for the surgery kind of kept me from making a comment last update so i'll just copy paste what I was writing here, also modifying it a bit as things changed.

~~~~~~

Ok with the new thread watcher, I think the timeings are a bit tight for default.

Easy enough to manually change,

The at last check dialogue is a bit… off, instead of reporting its last check it reports for me 'found 225 files in the last 56 days'…

fuck me the thread is 56 days old, kind of why I would love to see threadwatch able to handle more then 1 thread at a time. give there are quite a few boards I would like to have threads watched in but only have so many resources for watchers before the program borks.

I can't really put it through its paces till /b/ has some threads I want to save, and because of how it looks at files, i'm not really able to test it on other boards so if this isn't how it works disregard it. the recheck time can't double. go up in increments sure, but if it doubles there will be a point where it hits 12 minutes, doubles to 24 someone posts an image right after the 12 minute mark but tread life on a board is only 16-20 minutes, so the file is lost. I like the idea of it, but would also like to see user inputted parameters on a per board basis, as boards like /b/ are kind of special cases where I would realistically want to limit the longest check counter to 7-10 minutes but other boards like hr/ic/3 I would like longer check times.

with that said, there has been an… annoyance that has been creeping up on my a lot recently. in a thread watcher/download page, the first thing scroll is tied too is the sort by option. Personally, when I am in a thread watcher/ download tab, I would like to have it sort by when it tried to import. The closest thing to that is time imported, but several threads have 100 images downloaded 70~ already in db. So is there a way to add a sort by time discovered? as in sort according to when the program tried to import it from said links?

~~~~

Ok thats what I had gotten up to last time before all of the prep work and I need to get X done before I go in happened.

For this release, it appears that either the way thread watcher work or the new thread watcher change the title system has broken previous thread watchers so they no longer know if a thread has 404'ed, I am looking into this to see if it's a recurring problem or just one with older thread watchers from when the switch happened/this came up.

With parsing subjects, this is great, at least till you run into threads that don't use subjects, possibly whole boards that don't use subjects.

So having an option to fall back on [Site][board] for a thread watcher would be helpful this way you would get a tab name that says "4chan - High resolution"

I should also mention with this I can see a point where enough shit gets put on the tab names that it becomes a problem for sorting more so then helpful, so an option to have "Watcher" at the end of the tabs name by default would be helpful.

With the new change to thread watchers being able to change, if there was a way to change the texts color to get attention, like green for a new file or red for 404 to get your attention that would be fantastic.

on a side note I ran into a thread on /b/ the thread checker wants to check again in 1 hour 30 minutes where the oldest thread is as of right now 40~ minutes old with a post.

This program should be able to see what board/page its on, a user definable clap on check times would solve this issue if it was able to be implemented per board.

The issue is also solvable if you are able to check the last thread on pages 10-15's last post and see how long the oldest post lasts and make a custom clamp and let math decided the ramp up form that though I have no fucking clue if that's possible at all, as it stands i'm likely going to change it from 24 hours down to 1 hour per check with a year long wait to see if images post as default and then per thread on fast boards put them down to 3-10 minutes in between checks.

Now just because I went through importing things recently I had a thought… Do I need import folders to be checked?

I mean yes, having the import folder there and set up is nice/important, but do I need it to be checked when im not useing it?

A toggle on import folders to active or inactive would be nice

the use case for me is I download single images that I import once a day, but I also have an import folder for dumping an entire artist archive at once which I want to be checked asap when i'm doing imports like that, but aside from then do I really need the import option always checking?


c181ba  No.6881

Body was too long so here is part 2 to >>6880

and with

>>6859

Thanks for looking into it, honestly so long as its not selecting images that are effectively off page i'm ok with nearly any solution you can come up with. The best way I can think of is how acdsee handles it. I can make a video of it sometime later.

------

Just as a side note, seeing as i keep hitting the 145+ mark due to thread watchers alone, I would love to see a multi thread watcher tab. I am sure I have said it before, but everything needed is there with download page of images to do it, all you need is a recheck timer and instead of discarding threads, it keeps them in program and puts it in a queue after import.

This has 2 benefits.

1) the ability to use a pseudo thread watcher on currently unsupported sites

2) the consolidation of thread watchers to one area so tabs are kept to a minimum.

with a few disadvantages

1) a large amount of images, an entire board of images if you like the content of said board could leave a single tab with 37000 images if every thread reached cap and cap was 250 images, but this is a worst case scenerio

2) far less fine control, unless you went in getting the thread watcher to stop when just 1 thread 404'ed would be an issue.

This wouldn't end my use of thread watchers, as there are threads I want to specifically pay attention to, or said board has so few threads on it a mass thread watcher is pointless/overkill.

let me put a specific here. there are currently 50 threads on /hr/ on 4chan I would like all the images from and that's just one board, the newest post on the oldest thread is 7 days old, so that would mean that I would have to keep 50 thread watchers open and going for at least 7 days on a board where I beleive they kept a thread going for nearly 2 years at one point.

Contrast that with something like /b/ where there are 8 threads I would like to pay attention too and the half life almost guarantees the threads will be dead within a 3 hour period of time, or even hr again where 45 of the threads I just want the images, don't care to much about paying attention to the threads on their own as threads, but I do care about 5 of them being thing I want to pay attention to as they come in.

I honestly think a 'little' work would make this a very useful feature... I say little because I have no fucking clue how much work goes on behind it.

Personally, I would have this

- threads stay in the system and re import on X time frame

- threads get a tab like "detailed file imports" so you can see when they 404 or the like and remove them that way if not a system to soft take them out of the import rotation

and that's about it for basic functionality anything more advanced while appreciated would not be necessary.


c181ba  No.6882

Ok, just got through a few /b/ threads

For some reason, a thread that hits a literal 404 page isn't coming back as dead/404 but another thread that only hit image and bump caps but is still on the /e/ board is coming back as dead

The most I get out of it is thread paused, the old thread watcher, would at least have a 'how many more checks do you want to make and because I had it set to 60000~ something and check hourly, when a thread would 404, it would at least change the number to 0 and when I hit recheck it would tell me thread 404

I have a few to many tabs open right now to go into the options, will see if something is enabled or disabled once I can get into it.


d83f40  No.6883

Hey dev, been away for some months, just now updated and opened Hydrus again, thanks for all your hard work! Really love the pages of pages and drag-and-drop support, and the thread status monitoring will really come in handy.


011487  No.6884

File: 26689dd05853636⋯.jpg (195.67 KB, 1920x1080, 16:9, 26689dd0585363631a4d26382b….jpg)

>>6877

Hey, I am sorry to hear this problem. I will write a more graceful error, but if you have the time, please open a new terminal somewhere and type:

pip list

Is PIL or Pillow in that list? What version if so? I have Pillow 4.2.1.

Then type 'python' to bring up the python interpreter and go:

import PIL
from PIL import Image
dir( Image )
exit()

And take a screenshot of that dir result and post it here, please.

>>6878

The archive support is just straight importing of archive files as single objects that hydrus does not look into. Some users wanted to store and tag their zip files and so on, and now this can be done. Just try and import a random small zip to see what is now supported.

Clever stuff like Ugoira will need a bit more time and will probably have to be put off to the next 'big thing to work on next' poll, which will be up when I am done with the current downloader overhaul.

>>6879

Yeah, i will add this option in the next week or so!

I ate pop tarts and played vidya in bed and now feel 6/10.


0d3088  No.6887

>>6884

Thanks for the assistance. The problem was that I had an ancient version of Pillow installed in ~/.local. I deleted it and everything works fine now.

Here's the output anyway:

>>> dir(Image)
['ADAPTIVE', 'AFFINE', 'ANTIALIAS', 'BICUBIC', 'BILINEAR', 'BOX', 'CONTAINER', 'CUBIC', 'DECODERS', 'DEFAULT_STRATEGY', 'DecompressionBombWarning', 'ENCODERS', 'EXTENSION', 'EXTENT', 'FASTOCTREE', 'FILTERED', 'FIXED', 'FLIP_LEFT_RIGHT', 'FLIP_TOP_BOTTOM', 'FLOYDSTEINBERG', 'HAMMING', 'HAS_CFFI', 'HUFFMAN_ONLY', 'ID', 'Image', 'ImageMode', 'ImagePointHandler', 'ImageTransformHandler', 'LANCZOS', 'LIBIMAGEQUANT', 'LINEAR', 'MAXCOVERAGE', 'MAX_IMAGE_PIXELS', 'MEDIANCUT', 'MESH', 'MIME', 'MODES', 'NEAREST', 'NONE', 'NORMAL', 'OPEN', 'ORDERED', 'PERSPECTIVE', 'PILLOW_VERSION', 'QUAD', 'RASTERIZE', 'RLE', 'ROTATE_180', 'ROTATE_270', 'ROTATE_90', 'SAVE', 'SAVE_ALL', 'SEQUENCE', 'TRANSPOSE', 'USE_CFFI_ACCESS', 'VERSION', 'WEB', '_E', '_ENDIAN', '_MAPMODES', '_MODEINFO', '_MODE_CONV', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_check_size', '_conv_type_shape', '_decompression_bomb_check', '_fromarray_typemap', '_getdecoder', '_getencoder', '_getscaleoffset', '_imaging_not_installed', '_initialized', '_plugins', '_show', '_showxv', '_wedge', 'alpha_composite', 'blend', 'builtins', 'cffi', 'coerce_e', 'collections', 'composite', 'core', 'deferred_error', 'effect_mandelbrot', 'effect_noise', 'eval', 'fromarray', 'frombuffer', 'frombytes', 'fromqimage', 'fromqpixmap', 'fromstring', 'getmodebandnames', 'getmodebands', 'getmodebase', 'getmodetype', 'i8', 'init', 'io', 'isImageType', 'isPath', 'isStringType', 'linear_gradient', 'logger', 'logging', 'math', 'merge', 'new', 'numbers', 'open', 'os', 'preinit', 'radial_gradient', 'register_decoder', 'register_encoder', 'register_extension', 'register_mime', 'register_open', 'register_save', 'register_save_all', 'registered_extensions', 'struct', 'sys', 'warnings']


d83f40  No.6893

>No more bandwidth to download files, so stopping for now

I'm sorry, what?


5e4b9b  No.6894

AUR guy here. Going on holiday and I don't have a copy of Arch to hand. I might be able to just update the git hash but I can't guarantee it will work (that said, recently nothing has gone wrong). Is that acceptable?


b11961  No.6895

File: 304eacd6d5e318a⋯.jpg (500.49 KB, 1440x1600, 9:10, 304eacd6d5e318a6f7f6fa8513….jpg)

>The client now recognises .zip, .rar, and .7z files. It will import them as single files and give them default 'archive' thumbnails. It doesn't parse any internal structure metadata like number of files or anything, but if you would like to have a place to store and tag some archives, hydrus can now do it!

Fucking nice, I was hoping for something like this. Good job, dev.


011487  No.6900

File: 31ad6c6ee621617⋯.jpg (234.34 KB, 600x1008, 25:42, 31ad6c6ee621617df5239a6188….jpg)

>>6881

>>6880

>>6882

Thank you for these comments. I hope your surgery went well!

The new thread watchers are supposed to re-figure out that they are 404. Previously, they actually never remembered this information.

I like the idea of having the board as a fallback. I also figured maybe the first 20 characters of the comment or something.

Unfortunately, there is no way to change text colour for individual tabs as far as I can tell. I would have to write my own 'Notebook' control. I believe I can assign icons to tabs, which I expect to do some work on in the larger download overhaul (putting site favicons on tabs, for instance), so maybe we can do something with that.

Accommodating different board speeds has been difficult. I don't want to write complicated per-board settings if I can avoid it, but I will if I need to. If you often hit fast boards, I recommend lowering the default files per check of 8 down to 1. This should lower your check times significantly on quick boards.

I will see about adding ways to manually trigger import folders and turning off regular checking.

I think multiple threads per thread watcher page and separating different downloads on downloader pages is a must for the downloader overhaul. The main problem I need to solve right now is the ui layout:

- How to tightly and thinly lay out multiple threads or download query queues on the left 'management' panel? A simple list seems good, but what info should be shown while also keeping it thin?

- How to present multiple sets of thumbs on the thumbgrid on the right? For downloaders, they are all meshed together and it has always been a mess. I would like to maybe have subtabs inside the thumbnail window, but this presents its own complexities and might just be a pain to navigate.

All the basic building blocks of code are in place to do what you are thinking about, I just need to arrange it well and write a bit of extra 'containing' code to hold and attend to several things at once.

I will look into the 404s as well. I don't actually hit the main thread page, I hit the API, and I haven't been getting reliable 404 behaviour.

>>6883

Great!

>>6887

Great, I am glad this got sorted. I have written a stub fix in any case. Thank you for the report.

>>6893

With my new bandwidth engine, by default, subscriptions will only download 256MB of files every day. The idea is they now will do a little bit every day rather than getting 2,000 files in one go, blatting your other bandwidth rules and your inbox, before you realise it wasn't actually getting what you wanted anyway.

If you would like to raise or completely remove this limit, please go services->review bandwidth usage->edit default bandwidth rules->subscription default. All subs that don't have specific rules set up will inherit these.

>>6894

Whatever is convenient for you is acceptable. I appreciate your work and don't have any expectations. If you are confident you can figure out a solution without a ton on work, please do, but otherwise take your vacation and sort it out when you are back. There are no gigantic updates happening in the coming weeks that people cannot wait a few more days for.

>>6895

Great!


c181ba  No.6902

File: b062125c628c223⋯.jpg (197.49 KB, 1831x1170, 1831:1170, I cant be asked to do bett….jpg)

>>6900

With icons on tabs, green circle is its going as usual, yellow is something is up check, red is shits dead.

Sure the old way never remembered it 404'ed however the old way would tell me a thread 404ed when I hit recheck, and it also went from 60000~ checks to 0, so there were indicators. I ran into a brand new problem with the thread watcher, they pause for no reason at all, some of the threads doubled and the settings I have the threads under should not allow them to pause but they still paused… not sure what the hell is up with that. Just went through around 50 tabs, at least 10 of which were paused when they shouldn't have been, and of all the pages that 404'ed 200 images ended up downloading, so it missed quite a lot. there are bugs in the thread watcher that need to be ironed out.

as for per board speed, honestly, if you are able to set something up like default settings, and then let users set for their needs, that would be how I do it, but I don't know if this is easy to implement, however the issue I am coming across where tabs just pause… here

stop checking 1 file - 360 days

never check faster than 3 minutes

never check slower than 1 day

for some reason with those settings it paused quite a few threads, and the ramp up time allowed either a few images to fall through the cracks, or the pause just stopped images from being gathered… hard to tell which is which

Ok, now this is just an idea, but for a multi page thread watcher, do you need to have the tab window display anything? I was mocking something up awhile back but got incredibly pissed off at photoshop and stopped when it refused to do something It always use to I could bring that up and try again… fuck it explaining what i'm thinking is hard.

basicly, why would you display any of the thumbnails?

you have a url list from the tabs, and the program remembers what images are there and when it got them, so why not let the tab just sit there, gather images till it kicks off, and when you want to see what it had, click a button and it loads them in, which Personally I would like a sorting method where it sorts by order of url import, partially because when I dump something into thread watcher, the order in which the images are posted is sometimes important, or in the case of something like the baby fur shit tails comic that gets dumped, I want to be able to easily delete the images and not have to wade through a 250 image thread finding them. ill see about a mock up a bit later tonight. it will be shit but it should give an idea…

Ok mocked shit up and its fuckin craptastic, but it should give you an idea.

the 3 buttons on the left side are back, new tab, view images I believe, I started this mock up a long time ago and forget what all of them are. you click on a tab you want to open up on the right and the middle and right button will show 'open in new tab' and 'view thread' which will open the images inside the current tab, and it will act like a thread watcher when inside, but with those 3 buttons still there, this time 'back' and 'open in new tab'

add in some some shit to manage the check time and its set to go.

if that's impossible, you have that url space on the page of images downloader where if I say wanted to dump 50 urls into it it would display them, have it show them there, when you click on a thread in it you have the option to view tab in new thread, and to the right does not display any images unless you ok it to.

when you click a button to expand the thread viewer like the file import status window is, this is where it would display if a thread 404'd, if a thread is dead, or if something else is up it would keep the ui fairly clean while giving detail when/if you want it

now that I think of it, is it possible to have some quick settings for thread timers?

it would be nice to be able to set the default to pages that last more than 4 hours, and then set each have a quick button to press that would change the timing to 'oh shit this could die in 10 minutes', and also one for 'yea this thread will be here for months, fuck it check weekly'

id also like to be able to tweak the multiplier for its slow ramp up to checking longer and longer and its decline when it sees something, it seems a bit aggressive and conservative at the same time.




[Return][Go to top][Catalog][Nerve Center][Cancer][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / aus / b2 / choroy / dempart / fast / o / tingles / vril ]