[ / / / / / / / / ] [ b / n / boards ] [ operate / meta ] [ ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

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


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

YouTube embed. Click thumbnail to play.

 No.720

win32

zip: https://github.com/hydrusnetwork/hydrus/releases/download/v157/Hydrus.Network.157.-.Win32.-.Extract.only.zip

exe: https://github.com/hydrusnetwork/hydrus/releases/download/v157/Hydrus.Network.157.-.Win32.-.Installer.exe

os x

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

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

linux

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

source

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

I had a good week. Although I had some IRL stuff going on, I still had some time to work on hydrus. I have fixed the dialog bug and created a new control for 'like/dislike' ratings.

dialog ok bug

At the end of last week, I rushed out a fix to a bug in Linux with my custom Listbook control, which is the list/page 'notebook' that occurs on many dialogs (like manage subscriptions, with the names listed on the left and the data panel changing on the right). Unfortunately, my fix introduced a terrible bug where any pages that had not been viewed (i.e., their name was clicked on) would throw an error on the dialog OK. You probably saw this yourself.

My development/testing environment does not have many pages in, for instance, the subscription dialog, so I happened in my testing of the Linux fix to not hit OK without seeing all the pages, so I never encountered it until my release post was already published.

I am sorry for the incovenience this bug has caused. I decided not to do a hotfix, but perhaps I should have. In any case, the bug is fixed now, and I've added a test to make sure a similar problem does not happen again.

like/dislike control

I have prototyped a control for easy one-click setting of like/dislike ratings. I have ditched the 'wordy' checkboxes for a single coloured circle in the top-right corner of the media viewer. The manage ratings dialog is also converted. I have also added a hover window for these, so you can now set like/dislike ratings without having to open the dialog.

Left click means 'like', right click means 'dislike', and repeating a click on something already liked/disliked will return the ratings to 'no rating'.

This is early code, and I have not converted everything over yet. The manage services dialog still lists the options to set the like and dislike 'words', and there are no options yet for colours–green is like, red is dislike, and white is no rating, with black borders for all. I will add options for colours soon, perhaps including different shapes as well. For now, if you get confused which rating is which, they should produce tooltips.

Since this is so new, I would appreciate feedback. If you find them too small to click on, for instance.

I plan to convert numerical ratings over similarly, essentially having several circles/stars/whatever in a row that will fill up sequentially, just like any normal '3 out of 5 star' rating.

full list

- fixed a bug in listbook page initialisation and retrieval that was affecting many dialogs on OK

- some general dialog OK code cleanup

- fixed a media-navigation bug in managetags dialog

- fixed a serious OK bug in imageboards dialog

- created a new 'periodic' object to manage future subscriptions timing improvements

- started subscription YAML->JSON conversion

- stopped compressing json in the client db so it is human readable and thus easily editable

- subscriptions are no longer renamable, as this code was super buggy and could delete other subs

- tidied up the database menu

- a bit of misc cleanup

- in many cases where it was once pseudorandom, services are now reported in alphabetical order

- prototyped 'like' ratings control

- added new like ratings control to the background bmp of the media viewer

- added new like ratings control to the manage ratings dialog

- added new like ratings control to a new hover window in the top-right

- added basic additional icon support to new hover window

- fixed some misc new alignment bugs related to new ratings stuff

- like ratings controls on the hover window have tooltips

- fixed up some icon/rating display logic in the background bmp of the media viewer

- updated ratings dialog error handling

next week

I am not sure what to do. I think adding some colour like rating options and looking at a custom numerical rating control as I talked about above is a good start. I'm also half way through the YAML->JSON conversion for subscriptions, which is looking great so far and should also improve how normal gallery downloads work.

 No.723

In the "manage boorus" menu, if I remove a booru, if I remove a booru it seems to delete the panel displaying the booru's information entirely.This makes it impossible to view or remove others in the list, and I get "The C++ part of the +Panel object has been deleted, attribute access no longer allowed".

Additionally, any changes I make to a booru's settings don't seem to be saved. This seems to be a problem with the manage imageboards menu, as well.

I don't know if this is true of earlier versions, I'll try reverting to 155


 No.724

Hey mate,

decent software you've got there. However, I would like to make use of it outside of the usual application - I would like to dump my entire collection of various screenshots as currently order seems to be severely lacking in my files. However, is there an easy way to transfer the tag list between the machines? Ie. once I have a database of say, 1000 images properly tagged and want to see their tags on another machine (while working 100% offline for this purpose) - is it as simple as exporting the tag database and importing it on another pc?

I'd also like to know whether hydrus allows to pull tags from existing files - I've got a collection of ~1200 files I would like to import that are tagged on windows 7, but I wasn't able to figure it out (or whether it's even possible).

Cheers and thanks for the good work!


 No.725

>>724

Yes it is that simple. The databases will just merge together when you import it.

>pull tags

Are you talking about the file attribute tags built into Windows Explorer? I'd imagine it wouldn't be impossible for Hydrus to read them, but I don't think it currently can.

You could use a program like Rename Master to add fields to the filenames containing the tags, then import those fields as namespaces with a regex in Hydrus when you import the file.

If a file is already imported, you can import it again with filename tag regex and it will just add tags to the file that's already in Hydrus.


 No.726

Hi, might be in the wrong spot here but I'm trying out Hydrus for the first time on this build, but I'm running into a bit of a problem. I'm running the Windows build and when I go to launch via client.exe, the cursor spins for about a minute and the program never loads. Any idea what I could be doing wrong here?


 No.729

File: 1431898971604.jpg (389.11 KB, 1280x960, 4:3, e59a396228877b5f1797bed8d3….jpg)

>>723

This is a continuance of my Listbook problems. I am sorry, the code here is a real mess. I will try to fix these new problems and cross my fingers that nothing new appears.

>>724

You can export tags just like you can files. It is a little advanced for a new user, but once you are comfortable, have a look under review services->your tag service->perform a service-wide operation->export to hydrus tag archive. You can move that .db file anywhere and import it under the same dialog on a different client.

If you want to synchronise the same tags over multiple clients for a long time, you can even run your own private tag service to do it automatically. This is even more advanced, but keep it in the back of your mind.

Hydrus can't parse Win7 tags, which I assume are NTFS tags or something, but I think >>725 has the right idea. Use a program that specialises in accessing the specific format you want to harvest from and convert to something common that hydrus can understand, like comma separated in filenames (like ferrari,beach,flower.jpg). This sort of thing can be easily converted to tags under 'add tags before importing' under the normal import dialog. If you have programming experience with Python, you can also create your own Tag Archives.

If you don't have any experience with regexes, or you just are not sure about any of this, please just say so here or via my email, and I or someone else can walk you through how everything works.

>>726

I am sorry you are having this problem. If you don't mind answering:

What version of Windows are you using? 32 or 64 bit?

Inside your hydrus install directory, is there a file named 'crash.log'? Is anything interesting in it?

Inside your install_dir/logs, is there a client.log? Is anything interesting in it?

If you open task manager (usually Ctrl+Shift+Escape on Windows) and try to run the client, do you see it appear in the list of processes? Does it quickly disappear, or stay for a long time?

Do you have any paranoid anti-virus software? If you temporarily disable it, does Hydrus work then?

If you run hydrus from the command prompt (Shift+right click on your install_dir, then select 'open command window here', then type 'client', and hit enter), what happens? Does it say anything?

Thank you!


 No.733

>>729

Win 7 64bit. Nothing in /logs, but there's crash.log here http://pastebin.com/5hBpfcMF

It seems to be complaining that some DLL can't be found. Could it be something with my system's Python?

Running from command prompt does nothing and I see it for not even a second in my task list now. Antivirus disabled and nothing changed.

Under Linux though it works perfectly fine.


 No.737

File: 1432084029790.png (14.7 KB, 213x1246, 213:1246, something_like_this.png)

>>733

Thank you for this. It looks like you are missing an OpenCV dll.

Please go to your installation directory and make a list or take a screenshot of all the 'opencv' dlls. My example here has many old dlls from previous versions–yours should be a much shorter list, hopefully only with version 2411 dlls. I suspect you are missing opencv_ffmpeg2411.dll, as this has been a problem in the past, but it might be something else.


 No.741

File: 1432112090100.jpg (94.31 KB, 930x680, 93:68, fucking finally.jpg)

>>725

>>729

Thank you for your replies, guys. The bit about exporting the tags is great - I've been looking for something like that but hasn't dug deep enough it seems - it's exactly what I've been looking for. I've thought that the tags will be in the client.db file that was created on a database backup but wasn't sure - but what I was really after was the tag DB, so while not necessarily having all the files in Hydrus at once I would still be able to tag some files, delete them from the client and dump them onto some external HDD and be able to get the file tags automatically set up once it's imported - seems like it will work exactly like that.

About the tags - yeah, I found some application to dump the tags from W7 to a text file. All of them are shit and the only usable one is exifTools and even formatting it's output into a proper .csv file will be a mess, but I think I should be able to do it on my own with a few free evenings and a few beers. The question is - what then? Suppose I have a nicely formatted .csv file, like

filename,tag1,tag2,tag3

abc,california,riverside,sunny

bcd,car,ferrari,rain

cde,california,outside,sunny

Now - how do I go from such a file to importing the tags from it? Didn't see anything related when importing files, and 'file>import metadata' doesn't tell me much. I found something semi-related in '/hydrus/help/advanced.html importing and adding tags at the same time' about regex and namespaces, but it seems to be able to add tags based on filename - which I suppose I could -somehow- use to just rename the files from a .csv list and then add as tags with ' ' being a separator between tags. But since I know what regexes are and not necessarily use them, it's not really self-explanatory to me.

I assume that in that picture the tags for all got added manually are the creator: and series: . Then under 'quick namespaces' (whatever do 'namespaces' mean - didn't find even one clear definition) you put a tag that will be added to a given picture under 'namespace', and a regex expression that will be appended to what you wrote in the namespace. Then there is a 'regexes' window that is probably where some magic happens so the appropriate regex is appended to the namespace… somehow. And there is also the bit below which I haven't the slightest idea what is it for.

==

Okay, fucked around with it a bit more - it seems that I can simply create a tag that will be added in 'quick namespaces>namespace' and add the pattern to match in 'quick namespaces>regex'. I've thought that the 'regexes' that is to the right of 'quick namespaces' would be more helpful, but it seems to just add whatever I write to #namespace to every file, no matter what I add in the field above the 'regex shortcuts' button. Only thing I can change is is the base and step, and neither is useful to me.

So, yeah - since the tags I have are limited to maybe 30 different words, it could work if I were to add it to 'quick namespaces' manually and change all the filenames to the existing tags.

Assuming you didn't fall asleep reading all that, this is what I've found so far. Correct me if I'm wrong or if I'm missing a simpler way to do it:

- use something like exifTools to scrape the tags from the metadata

- convert the resulting files to a .csv file containing the tags

- rename all files to the tags I've created, preferably adding some id number to the name so that no name conflicts arise when the tags are the same

- import all the files at once, and use 'quick namespaces' to match the tags that I want to add with regex

I've not tested it yet, but it seems solid - the tags added have a :prefix though, but it doesn't bother me too much. What do you guys think?

It's not too robust - I still have no idea how to add a number of tags at once if I have a list of words in a title and I want to add all of them with the separator being an arbitrary character or a string, but since the tags I have are known it should be good enough.

(as a side-note, writing it was a full blown research - I've spent at least 1.5h googling for all of it. Fun times.)


 No.743

File: 1432185289987.png (28.29 KB, 509x295, 509:295, 5jjfDbG.png)

>>737

Here you go. Dunno if the image works as I've never used the site before.https://i.imgur.com/5jjfDbG.png


 No.751

File: 1432499922418.jpg (143.15 KB, 790x800, 79:80, 0294baa8fb989129112b660ad5….jpg)

>>743

It looks like you are missing opencv_features2d2411.dll. It is in the .zip release, and should be in the installer, so I am not sure why you would not have it. Please download this:

https://github.com/hydrusnetwork/hydrus/releases/download/v157/Hydrus.Network.157.-.Win32.-.Extract.only.zip

and try to copy opencv_features2d2411.dll from it into your install directory. I am guessing that your anti-virus will pop up with a false positive or something similar. If it copies ok, then try running the client and let me know how you get on!


 No.752

File: 1432501653180.png (33.66 KB, 935x430, 187:86, like_this.png)

>>741

I think you are on the right track. At the moment, hydrus only parses from filename, so if you can mass-convert your tags to comma separated filenames, you will be able to suck up the tags in one quick step.

Namespaces are a way of categorising tags in hydrus. You can say page:13 or chapter:7 or series:batman, and hydrus will parse and colour that differently to other tags. If you are familiar with how boorus colour tags, it is a bit like that. The 'quick namespaces' panel is for quickly converting a bunch of files like:

blame!_v2_c12_p122.jpg

into a nice list like:

series:blame!

volume:2

chapter:12

page:122

Since your tags look to be just normal tags, you want the box in the middle, which does not prepend anything. To get arbitrary tags, regexes allow you to say something like 'select all the normal characters and stop when you hit a comma'. In my attached image, you will see I have added:

[\w\s]*(?=,)

(?<=,)[\w\s]*

Which basically says that for a comma either at the beginning of the string or at the end. I am not an expert at regexes, but these simple rules seem to parse the filename into what we want. Since you'll be adding a unique id, the rules may get a little more complicated, but that's the sort of thing you want. You can leave the .jpg off the end as well, if that makes things simpler–hydrus doesn't need it to figure out what a file is.

I don't really like how ugly and complicated regexes are, but they do these parsing jobs very well. Here is a good introduction:

http://www.aivosto.com/vbtips/regex.html

I can help you figure out exactly what rules you want once you have a final filename standard figured out.

Are you renaming your files automatically, with a piece of software or a script? If you aren't, please don't do every file by hand! I can knock you up a quick python script if needed to do it automatically.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / ] [ b / n / boards ] [ operate / meta ] [ ]