262b3a No.5115 [Last50 Posts]
Gonna start another thread because >>173 is becoming too big for most people.
In the tag manager, whenever multiple tags are selected for multiple files with different tags, if you press the del key, the program will still ask you if you want to delete them all or put them all in the selected files. This does not make sense, if I'm pressing the del key it's obvious that I want them gone.
____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5119
When downloading a deviantart gallery, hydrus throws out an exception if it fails too many files. This is a pain in the ass if the files are legit, but cannot be scraped, such as
http://white-angel-ariah.deviantart.com/art/Princess-of-the-Silk-Road-144206154
http://white-angel-ariah.deviantart.com/art/Lullaby-for-Lost-Souls-145623846
http://white-angel-ariah.deviantart.com/art/Song-of-Temadon-145912023
These count as failed images for hydrus, but they're just text. It makes no sense for it to fail them and count them towards the max fails. It should just skip them.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5127
>>5115
Thanks–I'll fix this to be a delete_only action.
>>5119
Thank you for this report. I will catch these errors better and return 'uninteresting mime' instead of the 'failed' or whatever they currently give.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5129
>>5127
Also apparently "wide" and "tall" are switched in the sorting order. Sorting by "Least wide" for example gives me wrong results. Pic related, and pics attached.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5131
Not sure if this is something that i should email the dev about, but.
DataMissing
Tag error in database
Traceback (most recent call last):
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.HydrusDB", line 467, in _ProcessJob
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientDB", line 10139, in _Write
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientDB", line 3437, in _ExportToTagArchive
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientDB", line 5794, in _GetTags
DataMissing: Tag error in database
I've been trying to save all my tags in .db form every so often, because the last time hydrus borked up for me all the files were still there, and having a 40MB backup is easier then having a 450GB one. Recently updated to the recentest hydrus, 244a, and this happened alongside the backup failing. Possibly might be related to an earlier issue where hydrus panicked over something called a Zero-length Tag which i left well alone and didn't try to go back to fix.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5134
Hi. Not shure if it's bug or not, but if you select same directory for file storage in options then Hydrus starts deleting files.
For example, by default Hydrus has path like this "C:\HYDRUS~1\db\client_files". But if you add same directory like this "C:\Hydrus Network\db\client_files" and press "rebalance file storage" then Hydrus start deleting files.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5155
pixiv not working on Linux, SSL error
http://pastebin.com/v5CLh4aL
workaround:
set PYTHONHTTPSVERIFY=0 env. var.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5161
>>5129
Thank you for this report. I will make sure to fix this as soon as I am back to normal work.
>>5131
Thank you for this report. I will make sure to cope with this error better once I am back to normal work.
>>5134
Someone else mentioned this to me just this past week. This is a serious bug that I did not intend. I will make sure to fix it as soon as I can. Please avoid adding synonymous names to that dialog until this is fixed.
>>5155
Thank you for this report. I will look into this when I am back to normal work. Do you have any other SSL issues with your computer? Would you prefer if I added a 'don't verify ssl certificates ever' option?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5174
>>5161
Hey dev, there's a race condition in case you try to manually import files from a folder that you set as monitoring. If the program decides to import from the folder while you're already importing those files manually, you get
IOError
[Errno 2] No such file or directory: u'/home/ayylmao/hydrus/general/optimized_2017.02.18.36.071674895.png'
Traceback (most recent call last):
File "/home/ayylmao/hydrus/include/HydrusPaths.py", line 447, in MirrorFile
shutil.copy2( source, dest )
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/home/ayylmao/hydrus/import/optimized_2017.02.18.36.071674895.png'
It's probably wise to make the program suspend folder monitoring for as long as the manual import screen is active, kinda like how subscriptions don't work if the subscription folder is open.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5178
>>5174
>/home/ayylmao/hydrus/general
>/home/ayylmao/hydrus/import
These are the same directory btw, I just derped while trying to hide my username.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5183
This is a weird little bug. I'm on linux btw.
>pick a page full of files
>right click -> select -> pick a category that does not have the first file of the page included in it
>press enter
>the first file of the page is selected instead of the first file of the selection
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5204
>>5178
>>5178
>>5183
Thank you for these reports.
A lot of this stuff is asynchronous, so I'll clean up recovery from missing import files in general, no matter the context.
I'll look into the selection issue as well. I expect I missed setting up the 'hidden' focus properly on that kind of selection event.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5226
Getting a weird issue with the windows manager i3 where the dropdown box that normally occurs when you make a new Files tab doesn't show up, as well as suggestions based my current typed answer don't show up below. I can still type tags in and get results, though the only system tag that works is "system:" which results in "system:everything", which is hardly useful
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5232
I accidentally added an empty namespaced tag to a file in the tag manager window, it was "page:". Now I get this error whenever I try to open that file's tag manager window again, and the window doesn't come up.
DBException
SizeException: Received a zero-length tag!
File "include\ClientGUIMenus.py", line 106, in <lambda>
l_callable = lambda event: callable( *args, **kwargs )
File "include\ClientGUIMedia.py", line 865, in _ManageTags
panel = ClientGUIScrolledPanelsManagement.ManageTagsPanel( dlg, self._file_service_key, self._selected_media )
File "include\ClientGUIScrolledPanelsManagement.py", line 2827, in __init__
page = self._Panel( self._tag_repositories, self._file_service_key, service.GetServiceKey(), self._current_media, self._immediate_commit, canvas_key = self._canvas_key )
File "include\ClientGUIScrolledPanelsManagement.py", line 3069, in __init__
self._suggested_tags = ClientGUITagSuggestions.SuggestedTagsPanel( self, self._tag_service_key, self._media, self.AddTags, canvas_key = self._canvas_key )
File "include\ClientGUITagSuggestions.py", line 434, in __init__
related_tags = RelatedTagsPanel( panel_parent, service_key, media, activate_callable, canvas_key = self._canvas_key )
File "include\ClientGUITagSuggestions.py", line 207, in __init__
self._QuickSuggestedRelatedTags()
File "include\ClientGUITagSuggestions.py", line 238, in _QuickSuggestedRelatedTags
self._FetchRelatedTags( max_time_to_take )
File "include\ClientGUITagSuggestions.py", line 227, in _FetchRelatedTags
predicates = HydrusGlobals.client_controller.Read( 'related_tags', self._service_key, hash, search_tags, max_results, max_time_to_take )
File "include\HydrusController.py", line 260, in Read
def Read( self, action, *args, **kwargs ): return self._Read( action, *args, **kwargs )
File "include\HydrusController.py", line 93, in _Read
result = self._db.Read( action, HC.HIGH_PRIORITY, *args, **kwargs )
File "include\HydrusDB.py", line 696, in Read
return job.GetResult()
File "include\HydrusData.py", line 1998, in GetResult
raise e
Database Traceback (most recent call last):
File "include\HydrusDB.py", line 466, in _ProcessJob
if job_type in ( 'read', 'read_write' ): result = self._Read( action, *args, **kwargs )
File "include\ClientDB.py", line 7453, in _Read
elif action == 'related_tags': result = self._GetRelatedTags( *args, **kwargs )
File "include\ClientDB.py", line 5376, in _GetRelatedTags
tag_ids = [ self._GetTagId( tag ) for tag in search_tags ]
File "include\ClientDB.py", line 5833, in _GetTagId
HydrusTags.CheckTagNotEmpty( tag )
File "include\HydrusTags.py", line 146, in CheckTagNotEmpty
raise HydrusExceptions.SizeException( 'Received a zero-length tag!' )
SizeException: Received a zero-length tag!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5249
2017/03/02 09:35:55: Traceback (most recent call last):
File "include\ClientController.py", line 1110, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 525, in InitModel
HydrusController.HydrusController.InitModel( self )
File "include\HydrusController.py", line 203, in InitModel
self._db = self._InitDB()
File "include\ClientController.py", line 64, in _InitDB
return ClientDB.DB( self, self._db_dir, 'client', no_wal = self._no_wal )
File "include\ClientDB.py", line 161, in init
HydrusDB.HydrusDB.init( self, controller, db_dir, db_name, no_wal = no_wal )
File "include\HydrusDB.py", line 244, in init
raise e
Exception: Updating the client db to version 244 caused this error:
Traceback (most recent call last):
File "include\HydrusDB.py", line 223, in init
self._UpdateDB( version )
File "include\ClientDB.py", line 8965, in _UpdateDB
self._c.executemany( 'INSERT INTO tag_sibling_petitions ( service_id, bad_tag_id, good_tag_id, status, reason_id ) VALUES ( ?, ?, ?, ?, ? );', new_inserts )
IntegrityError: UNIQUE constraint failed: tag_sibling_petitions.service_id, tag_sibling_petitions.bad_tag_id, tag_sibling_petitions.status
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5250
Following this, the program crash.
I can restore to 243 and work.
For context, I have at least 143k uncommitted tag, due to some unvetted filename.
I'm not smart enough to understand what these line of code mean either, sorry.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5254
Adding a space in between tags and namespaces appears to be borked.
244a used to be able to handle this properly and 245 doesn't.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5256
>>5254
Read the changelog for 245.
>- leading and trailing spaces are now removed from both the namespace and subtag components of namespaced tags, meaning 'title: blah' will be collapsed to 'title:blah'. tag repositories will clean their existing tags on update
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5257
>>5254
Also >that title bar font
Jesus fucking christ dude.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5258
>>5257
Hey, i like Caslon. It's the Monkey Island font and it brings back happy childhood memories.
Also, this update is breaking my workflow. I import a large amount of tags from the public repository wholesale, and have difficulty telling which tags are mine and which tags are copied from other sources. At least add an option to disable or enable leading and trailing spaces as needed somewhere discrete.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5263
>>5258
Quick update. If you had a tag with a leading space in hydrus 244a (And presumably earlier, but i haven't checked), updated to hydrus 245, and tried to remove or delete your old tag from a file, Hydrus will remove it from your tag editing window but not from the database. A quick refresh of the page confirms that all of the tags that have leading spaces aren't removed at all.
Since over half of my tags have leading spaces that i can't touch, get rid of, or change in any way, Hydrus is unusable for me right now.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5269
>>5226
Under options->gui, what's your always embed autocomplete dropdown results window set to? It should default to True on Linux, but perhaps it has flipped to False or Linux detection failed somehow.
The default behaviour for the dropdown, on Windows, is to be a floating window that only appears when the text box is selected. It looks like that's what you have there–but displaying the floating frame is obviously buggy on Linux.
>>5232
I apologise for this. I have made such tags invalid. I updated the server db's tags, fixing them where possible or wrapping them in 'hydrus invalid tag:"'', but did not do the client. I will be updating the clientside bad tags for v246, so I hope this bad tag will be similarly changed on Wednesday. Please let me know if it still breaks at that point.
Did you add this tag in v245 or a previous version?
>>5249
>>5250
Thank you for this report. I apologise for the inconvenience. I am not sure why this is happening–I presume you have pended or petitioned the same tag sibling more than once or with different reasons and my code did not clean it up correctly inside the db. I think I have fixed it in the v246 release. Please let me know if you still get problems at that point.
>>5254
>>5256
>>5258
>>5263
I apologise for this. It is the same problem as >>5232 . Now I have made such tags invalid to enter, you can't fix them manually. I will collapse all these tags clientside in v246. When I can do it simply, I will collapse a 'namespace: subtag' tag to 'namespace:subtag'. When I cannot do that for complexity reasons, it will be replaced with 'hydrus invalid tag:"namespace: subtag"', which is a valid tag in the new system.
If I have time, I will also add a gui option to automatically render all namespaced tags with this leading space (even though internally, the subtag with have its leading spaces removed). If i don't, it'll be in for v247.
As you are a user who wants this leading space, please keep me updated on how it works for you in future versions. If you end up with a million 'hydrus invalid tag's and it is way too much to fix manually, then let me know and I'll see if I can knock up a script to fix them or something.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5273
>>5269
>Did you add this tag in v245 or a previous version?
It was v244. I tried it again on v245 and same thing happens. Now I've got two images that won't let me edit tags :P
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5274
>>5269
Thanks boss, you're the boss.
I'll see how 246 fare then.
I tried some stuff in the meanwhile. I created a back up, discarded all the commit and then successfully updated to 245 confirming the commits really where the problem.
I restored, downgraded to 243 and now am in the process of checking the parents, sibling and petitioned tag.
Perhaps it is a file whose tag I petitionned but ended up deleting?
No dice thus far.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5289
>>5269
>>5254
>>5256
>>5258
>>5263
Following up on all of these, just made the switch from 245 to 246, so this will be first impressions only.
First off, i prepared for the switch. I've mentioned before my reasons for adding leading spaces to certain tags was because i like to both save files from 8chan with their original filenames and sync with the public tag repo, and i like having a easy, at a glance way of telling weather or not any tag was created by me or by some anon on a webm thread being clever.
With that in mind, before i made the switch, i moved across every single file that has only tags with leading spaces into my archive folder, and anything that doesn't, i kept in my inbox. Took me a while to do, actually. With 245, it was hit or miss weather or not tags with a leading space would autocomplete or not, so i had do to a lot of clever tricks by using - searching to narrow down everything that works before moving it all across.
With that done, and with all 80,000 untainted files moved across, i made the switch. I can say without fear of exageration that literally every single file in my database now has an "invalid tag:" subtag on it, because two of the ones that didn't carry across was "medium: image" and "medium: video", which between the two comprised every file on my database. But Autocomplete now works like it used to, I can save my tags to external DBs again, even submit them all back to the public tag repo when i thought i couldn't since v244, and my dog came back to life.
Good job, Hydrus dev.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5292
>>5289
>>5289
>was "medium: image" and "medium: video"
So it was you who created these…
Why, pray tell, when we can sort by mime already?
Those could work but only as encompassing tag type if we had tag group. (as in: 'Franchise:tag' silently searchable for every 'anime:tag', 'visual novel:tag', 'video game:tag' or 'series:tag' we add, because they are part of the franchise tag group.)
I'm may "read" judgemental but I am legitimately curious.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5297
>>5292
It's part of my workflow. When i import files, i always import a filename, then manually go through the imports and manually edit out anything with a wierd name, or one of Codemonkey's hexadecimals that don't actually mean anything. Then, and only then, do i add medium tags. I don't really care about the tag itself, because like you said, we have mime searches. But it helps me keep track of imported files, gives me a second chance to look through all of them, remove stuff that i don't like, add some tags that could fit on an individual basis. The medium: image tag itself doesn't matter. It's just a sign that this image has value to me and shouldn't be deleted.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5298
Oh, and i forgot another thing i do; Anything that's a gif has to go through a pretty stringent set of requirements to stay a gif. If it doesn't move, it would work better as a jpg. If it's huge, it works better as a webm without sound. Since i'm always adding gif tags to everything, it's easy to check offhandedly if they meet my requirements or not.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5320
If you try to delete many files from the trash immediately, like hundreds, you get an error about too many somethings to unpack.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5333
Reminder that if you have a weird tagging thing you do that's going to be a headache for people n the repo you can always just tag it in local tag db instead. In fact that's what you should probably always do, and then submit tags to repo only if you're sure they're really useful.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5334
>>5320
Thank you for this report. This is fixed in tomorrow's release. Let me know if it still gives you any trouble.
>>5274
I think this might have ulimately been a typo. I've fixed it properly for tomorrow's release, if you still have this problem.
>>5289
I apologise for the lingering mess. I had hoped to clean and convert these tags more successfully.
I'll be rolling out service reset in the next couple of weeks, and I suspect resetting the PTR may clear some of this stuff out as it actually no longer exists serverside. Local tags are still a pain, although they are easier to manually fix, either by mass replacing or using some local siblings.
Again, if any of this stuff proves overwhelming to fix, let me know and I'll see if I can make a tool to do it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5336
Hydrus refuses to start on linux. Running under a terminal spits out this.
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientController", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientCaches", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientDefaults", line 2, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientData", line 4, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientFiles", line 7, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.HydrusFileHandling", line 15, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.HydrusVideoHandling", line 7, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/numpy", line 180, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/numpy.add_newdocs", line 13, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/numpy.lib", line 18, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/numpy.lib.polynomial", line 20, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/numpy.linalg", line 51, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/numpy.linalg.linalg", line 29, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 420, in load_module
ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23' not found (required by /home/patxi/Downloads/hydrus network/libquadmath.so.0)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5337
>>5336
Do you have glibc installed?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5362
>>5336
Looks like your running hydrus_dev's binary release of hydrus for linux, you're better off installing a package for your distro or running from source especially if you're not using Ubuntu. Looks like what you have is a version mismatch of some shared object's dependencies which would be sort of expected if you aren't using the same distro+version combo of Linux as hydrus_dev.
If you're using Arch there's a package on the AUR:
https://aur.archlinux.org/packages/hydrus/
I really ought to share my packages for Debian and ebuilds for Gentoo at some point, just haven't gotten the time.
Running from source is a bit more difficult especially if you're not familar with python but there is a manual page for it:
https://hydrusnetwork.github.io/hydrus/help/running_from_source.html
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5371
>>5362
It turns out this guy got it right. Linux Mint 17.3 ships with GlibC 2.19, where Hydrus requires 2.23. And updating it is a massive pain, so i just made the switch to 18. Which is annoying, cause SystemD and muh /tech/ cred. Issue resolved, i guess.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5372
>>5371
Serves you right for
1) using linux but not with a rolling release distro
2) not updating as soon as possible
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5401
ZeroDivisionError
float division by zero
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientGUICanvas", line 862, in EventPaint
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientGUICanvas", line 771, in _Redraw
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientGUICanvas", line 686, in _GetXFromFrameIndex
Hydrus is trying to divide by zero.
Please stop doing that, Hydrus, lest you succeed.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5402
Got this
2017/03/28 15:56:02: C:\HYDRUS~1\PIL\Image.py:2244: DecompressionBombWarning: Image size (161475000 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
from trying to import the full size png of https://yande.re/post/show/340865
Would be nice if Hydrus could just throw and error and give up instead of taking up all ram and locking up the system.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5403
>>5401
Thank you for this report. I have fixed this for tomorrow's release–if you can remember, did this animation/flash file have only 1 frame, by any chance?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5405
This is maybe not technically a bug as much as a ux concern, but "delete on successful import" apparently means import everything and THEN delete the successes. Turned into a bit of a nasty surprise when I imported a 250GB folder from the same drive and had to rush to move other things off that drive temporarily to give free space for it to finish.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5416
Dragging an image from the client to Discord does not seem to work.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5421
>>5416
That's a discord bug, not hydrus'.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5453
>>5405
Thank you very much for this report. This was not intended, and I apologise for the inconvenience.
Import folders will now clean up their paths every 100 files.
>>5416
>>5421
Yeah, we don't know why this happens. It affects some other programs trying to drag onto discord as well. My current suspicion is it is a security/permissions issue, where discord doesn't trust DnD events from some class of other applications.
For now, please DnD the file onto an interstitial explorer window, or your desktop, and then drag it onto discord.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5497
>>5453
The importer is very slow, and behaves strange when asking it to "import tags from nearby .txt file", and that file is actually an image file.
Also related feature request: Either allow {hash}.txt as tag file for a {hash}.{extension} file, or add a reminder that "paths include the file extensions", to the explanation of the feature.
Either of the above would have saved me hours today.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5519
I don't know if it's really important but when I start hydrus it always says in terminal:
(client:$PID): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion 'GDK_IS_WINDOW (window)' failed
where $PID is the PID.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5536
>>5497
Thank you for this report. I apologise for the inconvenience. I have improved the non-text-file detection and reporting, and I have added a new help button to better explain how the .txt stuff works.
>>5519
I am not totally sure about this stuff. I do not print it, and it happens at a lower level than I generally have control over. I am guessing I am instantiating a window in a way that GDK ultimately doesn't like, but it could also be a problem with the larger gui library, wx. There are not-dissimilar reports on the OS X console (mostly complaining about fonts), while Windows is much quieter (but maybe they are just being swallowed).
I'd like to fix this stuff, but I don't quite have the dev setup or experience with Linux to quickly and precisely track it all down. If another Anon knows how to track it down to a specific call, I'm very happy to rearrange whatever it is that I am doing wrong. I don't know if by critical they mean "this is a big deal causing a memory leak" or "something was -1 when I would have preferred 17".
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5538
>>5536
Thank you for your answer. I don't know if it is any help but a quick search gave this page: https://bugzilla.mozilla.org/show_bug.cgi?id=539138
I don't know anything about this stuff but it might help? Also the error doesn't show up in any log in /db.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5553
The danbooru downloader doesn't work right for me, when I try to download an image that has a larger original image I want the larger original image but I get the smaller image. Is there any way to get around this?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5562
>>5553
Yeah it's been like that for a while now. You'll have to wait for the downloading engine, which will come after the dev finishes the duplicate filter.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
262b3a No.5597
I was letting hydrus(253) update and it threw a traceback when an update failed to import:
DBException
DataMissing: Service file hash map error in database
Traceback (most recent call last):
File "/home/username/git/hydrus/include/ClientServices.py", line 1282, in SyncProcessUpdates
( did_some_work, did_everything ) = HydrusGlobals.client_controller.WriteSynchronous( 'process_repository', self._service_key, only_when_idle, stop_time )
File "/home/username/git/hydrus/include/HydrusController.py", line 386, in WriteSynchronous
return self._Write( action, HC.LOW_PRIORITY, True, *args, **kwargs )
File "/home/username/git/hydrus/include/HydrusController.py", line 117, in _Write
result = self._db.Write( action, priority, synchronous, *args, **kwargs )
File "/home/username/git/hydrus/include/HydrusDB.py", line 824, in Write
if synchronous: return job.GetResult()
File "/home/username/git/hydrus/include/HydrusData.py", line 1662, in GetResult
raise e
DBException: DataMissing: Service file hash map error in database
Database Traceback (most recent call last):
File "/home/username/git/hydrus/include/HydrusDB.py", line 517, in _ProcessJob
elif job_type in ( 'write' ): result = self._Write( action, *args, **kwargs )
File "/home/username/git/hydrus/include/ClientDB.py", line 9396, in _Write
elif action == 'process_repository': result = self._ProcessRepositoryUpdates( *args, **kwargs )
File "/home/username/git/hydrus/include/ClientDB.py", line 7211, in _ProcessRepositoryUpdates
did_whole_update = self._ProcessRepositoryContentUpdate( job_key, service_id, content_update )
File "/home/username/git/hydrus/include/ClientDB.py", line 6222, in _ProcessRepositoryContentUpdate
hash_ids = self._CacheRepositoryNormaliseServiceHashIds( service_id, service_hash_ids )
File "/home/username/git/hydrus/include/ClientDB.py", line 677, in _CacheRepositoryNormaliseServiceHashIds
raise HydrusExceptions.DataMissing( 'Service file hash map error in database' )
DataMissing: Service file hash map error in database
Database Traceback (most recent call last):
File "/home/username/git/hydrus/include/HydrusDB.py", line 517, in _ProcessJob
elif job_type in ( 'write' ): result = self._Write( action, *args, **kwargs )
File "/home/username/git/hydrus/include/ClientDB.py", line 9396, in _Write
elif action == 'process_repository': result = self._ProcessRepositoryUpdates( *args, **kwargs )
File "/home/username/git/hydrus/include/ClientDB.py", line 7211, in _ProcessRepositoryUpdates
did_whole_update = self._ProcessRepositoryContentUpdate( job_key, service_id, content_update )
File "/home/username/git/hydrus/include/ClientDB.py", line 6222, in _ProcessRepositoryContentUpdate
hash_ids = self._CacheRepositoryNormaliseServiceHashIds( service_id, service_hash_ids )
File "/home/username/git/hydrus/include/ClientDB.py", line 677, in _CacheRepositoryNormaliseServiceHashIds
raise HydrusExceptions.DataMissing( 'Service file hash map error in database' )
DataMissing: Service file hash map error in database
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5609
So the ptr sync hasn't been showing when it's running. So then I try to do something and it freezes up. The problem here is that it freezes up EVERYTHING, I can't even ctrl+alt+del. Log doesn't show anything unusual, just that it was processing updates at roughly the same time I was trying to do a search. It's happened at least 3 times now where it freezing completely locked down my computer until whatever was going on was finished.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.5635
>>5538
Thanks for this link. I will be looking at updating to the new version of wx in the next few weeks. It is a big update, so it is possible these errors will disappear. If not, that will suggest it is my code doing it after all and I will try to better chase it down.
>>5553
>>5562
Yeah, please hang on for this!
>>5597
I am sorry you have had this. Problems similar to this have happened for several users now. Has your client recently been roughly closed while processing? Maybe a power-cut, or you force killed it? You are on Linux, right? Which flavour?
This error isn't supposed to be possible, but I think a hard process kill at the wrong time is introducing database invalidity. Please pause your repository synchronisation for now, but I will write a maintenance routine to properly catch and set up a fix for this for next week. Please re-enable it in v255 and let me know how it works for you.
>>5609
I am sorry for this problem. Please pause your repository synchronisation for now.
When is the processing running? Just popping up for normal idle time maintenance? What are your settings for that in options->maintenance and processing?
What happens if you start processing manually from services->review services? Does the system slow down in the same way immediately, or can you cancel it from the popup ok?
Are you on Windows? What resources does Task Manager (Ctrl+Shift+Esc) think hydrus is using during this manual processing?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5637
>>5635
Just normal idle maint. On now general browsing within 2 minutes, no mouse movement within 10, and no CPU usage above 50%. Don't remember changing those.
The system responds normally if I don't touch anything in the client, but if I try to do a search or something (while unaware that it's processing), everything freezes up save for my cursor. Ctrl+Alt+Del does nothing until the processing has finished for that moment. Process now button is grayed out right now.
Actually thinking about it, it's happened almost any time the DB is locked. I was going to test it with the duplicate search, but it's already got all the information. And if that does cause it to lock up (iirc only the client locked up when processing duplicates and trying to click on anything) I don't really feel like losing my computer for over an hour while it runs.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5656
>>5637
So memory usage isn't always going back down properly, I'd been doing stuff all day and ended up with only 1 tab, searching the inbox for untagged files, searching my files and all tags. Only 200 files and memory usage was nearing 3GB. Nothing else was happening at the time, and trying to delete things froze the client up for just under a minute each time. Restarted the client and did the same search, memory usage is fine now. I had been doing huge searches earlier, fixing PTR stuff though so almost no thumbnails were being loaded at all.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f0be1b No.5661
Recently gelbooru imports / subscriptions stopped working for me.
Import error:
File not found.
… (Copy note to see full error)
Traceback (most recent call last):
File "include\ClientImporting.py", line 209, in _WorkOnFiles
downloaded_tags = gallery.GetFileAndTags( temp_path, url, report_hooks = [ self._file_download_hook ] )
File "include\ClientDownloading.py", line 1027, in GetFileAndTags
( file_url, tags ) = self._GetFileURLAndTags( url, report_hooks = report_hooks )
File "include\ClientDownloading.py", line 1013, in _GetFileURLAndTags
html = self._FetchData( url, report_hooks = report_hooks )
File "include\ClientDownloading.py", line 677, in _FetchData
return HydrusGlobals.client_controller.DoHTTP( HC.GET, url, request_headers = request_headers, report_hooks = report_hooks, temp_path = temp_path )
File "include\ClientController.py", line 386, in DoHTTP
def DoHTTP( self, *args, **kwargs ): return self._http.Request( *args, **kwargs )
File "include\ClientNetworking.py", line 357, in Request
( response, size_of_response, response_headers, cookies ) = self._DoRequest( method, location, path, query, request_headers, body, follow_redirects = follow_redirects, report_hooks = report_hooks, temp_path = temp_path, hydrus_network = hydrus_network )
File "include\ClientNetworking.py", line 323, in _DoRequest
return self._DoRequest( new_method, new_location, new_path, new_query, request_headers, body, follow_redirects = follow_redirects, report_hooks = report_hooks, temp_path = temp_path, num_redirects_permitted = num_redirects_permitted - 1 )
File "include\ClientNetworking.py", line 323, in _DoRequest
return self._DoRequest( new_method, new_location, new_path, new_query, request_headers, body, follow_redirects = follow_redirects, report_hooks = report_hooks, temp_path = temp_path, num_redirects_permitted = num_redirects_permitted - 1 )
File "include\ClientNetworking.py", line 283, in _DoRequest
( parsed_response, redirect_info, size_of_response, response_headers, cookies ) = connection.Request( method, path_and_query, request_headers, body, report_hooks = report_hooks, temp_path = temp_path )
File "include\ClientNetworking.py", line 925, in Request
return self._DealWithResponse( method, response, parsed_response, size_of_response )
File "include\ClientNetworking.py", line 494, in _DealWithResponse
elif response.status == 404: raise HydrusExceptions.NotFoundException( parsed_response )
NotFoundException: File not found.
Maybe they changed page layout, or something like that. I hoped the update would fix that (having updated for a month) but nope.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ad8b50 No.5662
New user here so dunno if I'm hydrus'ing right yet but file import fails to recognise mime type on filenames with unicode letters in it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a72be6 No.5664
>>5661
It probably has to do with how all images are blocked if you're running an ad blocker.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b56115 No.5669
>>5664
>go to gelbooru
>asks me to disable adblocker
>do so
>still don't see ads because of pi-hole
Gelbooru will never, EVER get my money.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
abfdbb No.5671
>>5661
Same, gelbooru's broken here too. Fucked up half my subscriptions.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
23cc2c No.5675
gelbooru's also fucked for me
something changed about gelbooru that broke it for hydrus, unquestionably.
e621 works fine so it isn't boorus in general
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
66cab6 No.5676
>>5661
>>5671
>>5675
Might have something to do with how gelbooru now doesn't "direct" link to their images in gallery queries they now do this silly link to http://gelbooru.com/redirect.php?s=<base64 encoded actual url>. Also there's no validation on the url as to whether it points to gelbooru so things like redirecting to arbitrary sites works. Thanks for the link extender gelbooru?
Honestly I'd recommend just not scraping from gelbooru (pretty much all of their content is mirrored from danbooru anyway) as they are just going to keep fucking doing this dumb bullshit because "muh ads".
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
66cab6 No.5677
>>5676
Probably should have confirmed the problem before posting but yup, it's what I thought, hydrus can't handle the odd redirect url.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a72be6 No.5678
>>5676
>Honestly I'd recommend just not scraping from gelbooru (pretty much all of their content is mirrored from danbooru anyway)
Danbooru has loli behind a paywall tho. And Gelbooru is by far the most common result on iqdb.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
abfdbb No.5679
>>5676
Problem is, most of us are fucked now because gelbooru was the only one of the big three (Danbooru, Sankaku) that worked with hydrus.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c50759 No.5700
Attempting to open a video or a gif of duration > 0 in the media viewer directly causes hyrdus to hardlock with “100%” CPU usage (it actually only uses the majority of a single core). Attached is what the media viewer looks like after opening an affected file. Hyrdus doesn’t output any errors in the log so it is excluded. If a non-affected file is opened first and then the media viewer is scrolled to an affected file, hyrdus works as intended. If the affected files are set to open externally, hydrus works as intended. Regardless of settings, the preview works as intended. The checkboxes in the media options tab don’t seem to effect the bug.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1ccaa No.5705
Hey guys. The recent breaking of Gelbooru has given me reason to update Hydrus for the first time in ages (to version 254). Unfortunately, it now no longer starts. I updated by simply extracting the old files in the same directory as the new, using the "replace all" option at the prompt.
System:
Linux Mint Cinnamon 17.3 64-bit
Some sort of Skylake i5 I forgot
12GB RAM
When running it from the console, I got this feedback:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientController", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientCaches", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientDefaults", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientConstants", line 3, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/wx", line 49, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/wx._core", line 4, in <module>
ImportError: No module named _core_
Apt policy tells me that the "python" package is installed (providing version 2.7.5) and the "python3" package is installed (providing version 3.4.0).
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1ccaa No.5706
>>5705
It's pretty late my time, I'll check for replies tomorrow
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1ccaa No.5734
>>5705
I just tried 255, same issue. console output:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientController", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientCaches", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientDefaults", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientConstants", line 3, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/wx", line 49, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/wx._core", line 4, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 420, in load_module
ImportError: /home/cfalcon/.hydrus/hydrus network/libX11.so.6: undefined symbol: xcb_poll_for_reply64
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5736
>>5734
What version were you updating from?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a9da8a No.5739
>>5119
It won't be a bug if it could be a feature!
See >>5737 and >>5738
>>5129
is is safe to assume that 1920x1080 and 1366x768 are the top screen resolutions.
Judging that most font require at most 16x16 (Latin and other western alphabet) or 32x32 (Logographic languages) per character,
how much space does it take to display all tags for one image?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1ccaa No.5743
>>5736
It was pretty damn ancient. I checked the version just before I updated it and it was 170-something.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5745
>>5743
Oh, here:
>>5362
My first guess was a problem with the whole v245 thing.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
184ac7 No.5746
>>5743
I am not the dev.
Okay, do you have a backup?
First thing to do is download the version you were on before and extract it over your current install. Then, launch it and see if it works.
If it does, upgrade in steps of 5 versions difference. Launch the client after every upgrade. If it needs to do any kind of maintenance, let it do that maintenance, quit the client, and launch the client again. If it tells you you need an older version (eg you're upgrading to 234 and it tells you it needs v234), do that. Do this till you arrive at v255.
If it does not, then IF AND ONLY IF you have a BACKUP, remove your install, install the version you used to have, and use it to restore the backup. But first check if that version is capable of importing a backup of course.
In the gap between 170 and 255, hydrus has undergone several big changes (I don't know which) that cause it to handle everything differently, I remember the whole way files where saved being changed, so even if you could have launched the client it might not recognize your database.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
445390 No.5756
>>5635
I probably either SIGTERM'd or SIGKILL'd it one of the times it appeared to be hanging when I tried to exit, I'll have to make sure to not do that.
I'm running Void Linux, which is a rolling release distro like Arch but uses LibreSSL instead of OpenSSL.
iirc v255 started downloading updates from the PTR then gave me the message that it had nuked the local state for it and I should restart hydrus while it was downloading 5 updates (as opposed to the hundreds i would get if it were starting from scratch.) After restarting hydrus it knows the PTR exists, but doesn't have any tag mappings from it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1ccaa No.5757
>>5745
Thanks, I'll try to get source install to behave. It doesn't look like it's going to be easy, though - I know 0 python and some pip modules are failing with compile errors.
Mint is based on Ubuntu (my version of Mint is specifically based on 14.04, and I can't update to Mint 18 because the LMDT FUBARed the GCC packages I absolutely need to do my work on), which is why the previous binary worked but maybe we're running different enough versions that the new one still fucked up.
>>5746
Thanks, I'll try that if the new Hydrus doesn't read my DB correctly. First I'll need to get it started up though, it still doesn't work even when I extract the tarball into a new folder.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ef98bc No.5771
>>5676
>Honestly I'd recommend just not scraping from gelbooru (pretty much all of their content is mirrored from danbooru anyway)
Problem is, hydrus does not scrape full-size images from danbooru properly.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
fc18ad No.5772
Moving around in this webm spawns this error.
UnboundLocalError
local variable 'g' referenced before assignment
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientGUICanvas", line 862, in EventPaint
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientGUICanvas", line 734, in _Redraw
File "/home/hydrus/Desktop/hydrus/build/client/out00-PYZ.pyz/include.ClientData", line 235, in GetDifferentLighterDarkerColour
I've seen it around other webms, but this one makes it pretty reliable.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a7f8b No.5773
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
66cab6 No.5777
>>5678
Danbooru does have loli hid behind a paywall TECHNICALLY, there are workarounds BetterBooruBrowser works for your browser. And I guess we're probably not interested in the same stuff as most things I'm looking for are mirrored on danbooru and gelbooru.
>>5679
>>5745
Ah, I forgot that most of the downloaders in hydrus are broken in some way. I've been using my own home-baked scraper that exports to image+txt file tag lists for a while now and didn't even think about that.
>>5773
This might be a viable option if you want to use hydrus to pull your delicious loli. I don't know if hydrus is configurable to work with tbib though.
https://ibsearch.xxx/ might also be an option?
I'd make some configs and share but my hydrus is bork a.t.m. :(
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
66cab6 No.5778
>>5777
And as to my hydrus being bork, here's a traceback:
2017/05/14 15:39:01: booting controller…
2017/05/14 15:39:01: booting db…
2017/05/14 15:39:01: preparing disk cache
2017/05/14 15:39:02: preparing db caches
2017/05/14 15:39:02: A serious error occured while trying to start the program. Its traceback will be shown next. It should have also been written to client.log.
2017/05/14 15:39:02: Traceback (most recent call last):
File "C:\Hydrus Network\include\ClientController.py", line 1149, in THREADBootEverything
self.InitModel()
File "C:\Hydrus Network\include\ClientController.py", line 574, in InitModel
self._client_session_manager = ClientCaches.HydrusSessionManager( self )
File "C:\Hydrus Network\include\ClientCaches.py", line 1528, in __init__
existing_sessions = self._controller.Read( 'hydrus_sessions' )
File "C:\Hydrus Network\include\HydrusController.py", line 285, in Read
return self._Read( action, *args, **kwargs )
File "C:\Hydrus Network\include\HydrusController.py", line 95, in _Read
result = self._db.Read( action, HC.HIGH_PRIORITY, *args, **kwargs )
File "C:\Hydrus Network\include\HydrusDB.py", line 783, in Read
return job.GetResult()
File "C:\Hydrus Network\include\HydrusData.py", line 1662, in GetResult
raise e
DBException: TypeError: 'NoneType' object is not iterable
Database Traceback (most recent call last):
File "C:\Hydrus Network\include\HydrusDB.py", line 516, in _ProcessJob
if job_type in ( 'read', 'read_write' ): result = self._Read( action, *args, **kwargs )
File "C:\Hydrus Network\include\ClientDB.py", line 7287, in _Read
elif action == 'hydrus_sessions': result = self._GetHydrusSessions( *args, **kwargs )
File "C:\Hydrus Network\include\ClientDB.py", line 4384, in _GetHydrusSessions
service = self._GetService( service_id )
File "C:\Hydrus Network\include\ClientDB.py", line 5066, in _GetService
( service_key, service_type, name, dictionary_string ) = self._c.execute( 'SELECT service_key, service_type, name, dictionary_string FROM services WHERE service_id = ?;', ( service_id, ) ).fetchone()
TypeError: 'NoneType' object is not iterable
This is on version 254, Windows 8.1 x64.
This happened after booting hydrus, in my previous session I had imported a load of tags from img+txt bundles into a remote tag repo realized my scraper was mangling unicode, so I needed to delete all the mappings which the advanced tag operations dialog had no options for on remote tag repos, so I deleted the entire service from my server and client and re-added a new one. It appeared to have worked fine until I reopened my client and got an error dialog. It seems like my last session (which is set to load on startup) or some metadata is referencing the deleted service?
I'm going to muck with the database to see if I can get hydrus to boot, but figured I'd report it so no one else gets hit by this.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
66cab6 No.5780
>>5778
Sorry for posting three times in a row :/. But I fixed my hydrus by mucking with my database, there were still references to the deleted service in the main client.db in the tables hydrus_session and tag_siblings. Deleting the entries referencing service_id 27 (which I guessed was the deleted repo as it was missing in the services table) made hydrus boot. Hopefully there is nothing else that is lingering around still referencing the deleted service.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cf3225 No.5781
Alright, this is on v 255, on arch linux. Basically, I can't connect to hydrus tag server. Traceback:
NetworkException
Could not connect to hydrus.no-ip.org:
Traceback (most recent call last):
File "/opt/hydrus/include/HydrusThreading.py", line 276, in run
callable( *args, **kwargs )
File "/opt/hydrus/include/ClientGUI.py", line 2788, in _THREADUploadPending
service.Request( HC.POST, 'update', { 'client_to_server_update' : client_to_server_update } )
File "/opt/hydrus/include/ClientServices.py", line 722, in Request
( response, size_of_response, response_headers, cookies ) = HG.client_controller.DoHTTP( method, url, request_headers, body, report_hooks = report_hooks, temp_path = temp_path, hydrus_network = True )
File "/opt/hydrus/include/ClientController.py", line 388, in DoHTTP
def DoHTTP( self, *args, **kwargs ): return self._http.Request( *args, **kwargs )
File "/opt/hydrus/include/ClientNetworking.py", line 357, in Request
( response, size_of_response, response_headers, cookies ) = self._DoRequest( method, location, path, query, request_headers, body, follow_redirects = follow_redirects, report_hooks = report_hooks, temp_path = temp_path, hydrus_network = hydrus_network )
File "/opt/hydrus/include/ClientNetworking.py", line 268, in _DoRequest
connection = self._GetConnection( location, hydrus_network )
File "/opt/hydrus/include/ClientNetworking.py", line 340, in _GetConnection
connection = HTTPConnection( location, hydrus_network )
File "/opt/hydrus/include/ClientNetworking.py", line 422, in __init__
self._RefreshConnection()
File "/opt/hydrus/include/ClientNetworking.py", line 885, in _RefreshConnection
raise HydrusExceptions.NetworkException( text )
NetworkException: Could not connect to hydrus.no-ip.org:
('_ssl.c:645: The handshake operation timed out',)
('_ssl.c:645: The handshake operation timed out',)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
709d60 No.5785
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5c89a9 No.5786
>>5781
Anon should update/fix their ssl probably
the dns works fine, doesn't return ping but I don't expect it to
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
00fd8e No.5788
>>5786
Hmm. So this could be related to the new openssl update couple weeks back?
Hydrus give no problem after that, so I thought nothing is wrong. Lemme try changing the environment variable…
Okay, so I run hydrus with this and still got the problem: LD_LIBRARY_PATH=/usr/lib/openssl-1.0-compat/ hydrus-client
Anyway, traceback. I think it's similar?
NetworkException
Could not connect to hydrus.no-ip.org:
Traceback (most recent call last):
File "/opt/hydrus/include/HydrusThreading.py", line 276, in run
callable( *args, **kwargs )
File "/opt/hydrus/include/ClientGUI.py", line 2788, in _THREADUploadPending
service.Request( HC.POST, 'update', { 'client_to_server_update' : client_to_server_update } )
File "/opt/hydrus/include/ClientServices.py", line 722, in Request
( response, size_of_response, response_headers, cookies ) = HG.client_controller.DoHTTP( method, url, request_headers, body, report_hooks = report_hooks, temp_path = temp_path, hydrus_network = True )
File "/opt/hydrus/include/ClientController.py", line 388, in DoHTTP
def DoHTTP( self, *args, **kwargs ): return self._http.Request( *args, **kwargs )
File "/opt/hydrus/include/ClientNetworking.py", line 357, in Request
( response, size_of_response, response_headers, cookies ) = self._DoRequest( method, location, path, query, request_headers, body, follow_redirects = follow_redirects, report_hooks = report_hooks, temp_path = temp_path, hydrus_network = hydrus_network )
File "/opt/hydrus/include/ClientNetworking.py", line 268, in _DoRequest
connection = self._GetConnection( location, hydrus_network )
File "/opt/hydrus/include/ClientNetworking.py", line 340, in _GetConnection
connection = HTTPConnection( location, hydrus_network )
File "/opt/hydrus/include/ClientNetworking.py", line 422, in __init__
self._RefreshConnection()
File "/opt/hydrus/include/ClientNetworking.py", line 885, in _RefreshConnection
raise HydrusExceptions.NetworkException( text )
NetworkException: Could not connect to hydrus.no-ip.org:
('_ssl.c:645: The handshake operation timed out',)
('_ssl.c:645: The handshake operation timed out',)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.5808
Sorry lads, I kept on putting answering this thread off, and now there's all the more to catch up on.
>>5637
>>5656
I am not sure if there is something specifically going wrong here or just a bad luck combination of my ugly code and the way your machine happens to start and stop the maintenance. Please set your big idle jobs to only run on shutdown (on that same options panel) for a while and see how that works for you.
I am also chasing down the causes of the occasional memory bloat. I have some ideas on what is doing it and hope to roll out some improvements on that front in the next few weeks.
>>5661
>>5664
>>5669
>>5671
>>5675
>>5676
>>5677
>>5678
>>5679
I've purged these shit redirect urls for tomorrow's release, and the gelbooru parser will now chase down these redirects to the proper urls, so it should be working as it once was. Feel free to refresh your affected subs again to catch up.
>>5662
That's odd–I assume those two files are the exact same thing, you just copied and renamed? I can't reproduce this problem, even with some complicated kana thrown in. Which version of Windows is that in your screenshot, 7? 8? Everything is explicitly converted to unicode inside hydrus, but I wonder if they are still dealing with it on their end in a different way. Is there any difference if you drop the unicode file on the main gui window vs dropping it on that import dialog?
>>5700
I may have fixed this last week, as another user had a similar issue. If you still get the problem, what are your settings for 'media_viewer' under options->gui? Setting 'remember position/size' to True also fixed the issue.
>>5756
I am sorry for the inconvenience here. I didn't think this was essentially possible, but I think spreading sqlite transactions across multiple db files isn't as atomic as I'd hoped.
>>5772
Thank you for this report. I made a typo, and my typo-checker didn't catch it. This is fixed for tomorrow.
>>5778
>>5780
Thank you for this excellent report. I am sorry for the inconvenience. I will look at this more closely tomorrow and make a plan to makke sure everything is being deleted correctly and that nothing can sneak in afterwards.
>>5781
>>5785
>>5786
>>5788
I dunno what happened here. I restarted my server and it worked again. I updated some openssl stuff recently and updated my server last week, so maybe that library got borked somehow. At the moment I am scratching this up to something out of my control getting stuck due to bad luck, but if it happens again, I'll look into it more closely.
>>5757
I am sorry I missed this. The advice already given is good. I don't know a great deal about Linux, but getting it all going from source with pip can be a hassle.
Since you are coming from such an old version, even when you get it booting, it'll may tell you I can't update this much in one go, so at some point you'll might have to rewind. If you are at v170, I recommend trying v210. If you can avoid it, try to skip v195-v205. They were a mess. Or you can go five or ten versions at a time.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6bf0c8 No.5810
>>5808
Network issue is indeed fixed now. Thanks, dev!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
445390 No.5811
>>5756
>>5808
After I let hydrus (v255) get the updates it threw a traceback(again) immediately when it started processing, manually deleting the repo and re-adding it appears to fix it.
traceback:
DBException
DataMissing: Service tag map error in database
Traceback (most recent call last):
File "/home/username/git/hydrus/include/ClientServices.py", line 1282, in SyncProcessUpdates
( did_some_work, did_everything ) = HG.client_controller.WriteSynchronous( 'process_repository', self._service_key, only_when_idle, stop_time )
File "/home/username/git/hydrus/include/HydrusController.py", line 386, in WriteSynchronous
return self._Write( action, HC.LOW_PRIORITY, True, *args, **kwargs )
File "/home/username/git/hydrus/include/HydrusController.py", line 117, in _Write
result = self._db.Write( action, priority, synchronous, *args, **kwargs )
File "/home/username/git/hydrus/include/HydrusDB.py", line 824, in Write
if synchronous: return job.GetResult()
File "/home/username/git/hydrus/include/HydrusData.py", line 1668, in GetResult
raise e
DBException: DataMissing: Service tag map error in database
Database Traceback (most recent call last):
File "/home/username/git/hydrus/include/HydrusDB.py", line 517, in _ProcessJob
elif job_type in ( 'write' ): result = self._Write( action, *args, **kwargs )
File "/home/username/git/hydrus/include/ClientDB.py", line 9493, in _Write
elif action == 'process_repository': result = self._ProcessRepositoryUpdates( *args, **kwargs )
File "/home/username/git/hydrus/include/ClientDB.py", line 7249, in _ProcessRepositoryUpdates
did_whole_update = self._ProcessRepositoryContentUpdate( job_key, service_id, content_update )
File "/home/username/git/hydrus/include/ClientDB.py", line 6240, in _ProcessRepositoryContentUpdate
tag_id = self._CacheRepositoryNormaliseServiceTagId( service_id, service_tag_id )
File "/home/username/git/hydrus/include/ClientDB.py", line 697, in _CacheRepositoryNormaliseServiceTagId
raise HydrusExceptions.DataMissing( 'Service tag map error in database' )
DataMissing: Service tag map error in database
Database Traceback (most recent call last):
File "/home/username/git/hydrus/include/HydrusDB.py", line 517, in _ProcessJob
elif job_type in ( 'write' ): result = self._Write( action, *args, **kwargs )
File "/home/username/git/hydrus/include/ClientDB.py", line 9493, in _Write
elif action == 'process_repository': result = self._ProcessRepositoryUpdates( *args, **kwargs )
File "/home/username/git/hydrus/include/ClientDB.py", line 7249, in _ProcessRepositoryUpdates
did_whole_update = self._ProcessRepositoryContentUpdate( job_key, service_id, content_update )
File "/home/username/git/hydrus/include/ClientDB.py", line 6240, in _ProcessRepositoryContentUpdate
tag_id = self._CacheRepositoryNormaliseServiceTagId( service_id, service_tag_id )
File "/home/username/git/hydrus/include/ClientDB.py", line 697, in _CacheRepositoryNormaliseServiceTagId
raise HydrusExceptions.DataMissing( 'Service tag map error in database' )
DataMissing: Service tag map error in database
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
445390 No.5822
>>5811
I found the bug that made me pkill hydrus, I paused the repo processing and told hydrus to exit late last night and it's been hanging since then. Here's the last few lines in the terminal:
2017/05/17 02:01:53: processed 30,662,109 content rows at 5,417 rows/s
2017/05/17 02:08:10:
2017/05/17 02:08:10: Exception:
2017/05/17 02:08:10: PyDeadObjectError: The C++ part of the _ServiceTagPanel object has been deleted, attribute access no longer allowed.
File "/usr/lib/python2.7/threading.py", line 774, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/username/git/hydrus/include/HydrusThreading.py", line 286, in run
HydrusData.ShowException( e )
File "/home/username/git/hydrus/include/HydrusData.py", line 858, in PrintException
trace_list = traceback.format_stack()
2017/05/17 02:08:10:
2017/05/17 02:08:10: Exception:
2017/05/17 02:08:10: PyDeadObjectError: The C++ part of the _ServiceTagPanel object has been deleted, attribute access no longer allowed.
File "/usr/lib/python2.7/threading.py", line 774, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/username/git/hydrus/include/HydrusThreading.py", line 286, in run
HydrusData.ShowException( e )
File "/home/username/git/hydrus/include/HydrusData.py", line 858, in PrintException
trace_list = traceback.format_stack()
2017/05/17 02:08:12:
2017/05/17 02:08:12: Exception:
2017/05/17 02:08:12: PyDeadObjectError: The C++ part of the _ServiceRepositoryPanel object has been deleted, attribute access no longer allowed.
File "/usr/lib/python2.7/threading.py", line 774, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/username/git/hydrus/include/HydrusThreading.py", line 286, in run
HydrusData.ShowException( e )
File "/home/username/git/hydrus/include/HydrusData.py", line 858, in PrintException
trace_list = traceback.format_stack()
2017/05/17 02:08:12: PTR sync: processing updates
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ad8b50 No.5827
>>5808
>>>5662
>
>That's odd–I assume those two files are the exact same thing, you just copied and renamed? I can't reproduce this problem, even with some complicated kana thrown in. Which version of Windows is that in your screenshot, 7? 8? Everything is explicitly converted to unicode inside hydrus, but I wonder if they are still dealing with it on their end in a different way. Is there any difference if you drop the unicode file on the main gui window vs dropping it on that import dialog?
Yep both files are the exact same thing just copied and renamed.
file names are:
Jessica Pare - Stardom (2000) GracefulSickIberianbarbel.webm
Jessica Paré - Stardom (2000) GracefulSickIberianbarbel.webm
I'm running Windows 7 SP1 x64.
I've got Python v2.7.10 installed (and on %path%) that I've been using for my own small programs.
Testing import methods with Hydrus v256 extractonly:
file>import files->add folder button->select directory
1 successful, 1 unsupported
drag drop both files onto main client window
1 successful, 1 unsupported
drap drop both files onto file->import files window
1 successful, 1 unsupported
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
53a3d2 No.5872
I am unable to type or paste into the thread watcher URL field on v256 using Linux Mint 18. It seems like this problem is only on the thread watcher.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6b20db No.5875
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.5924
>>5827
Thank you for this update and the exact filenames. After exploring the issue more, i was able to reproduce it and write a fix that seems to work. Please let me know if you get this again after v257!
>>5872
I apologise for this! It is fixed for v257. If it is very important to you, it is safe to roll back to v255 this week.
>>5822
Thank you for these tracebacks. I think I have them all cleaned up for v257.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5948
So just how big is 368271232 pixels? I got a second decompression bomb warning in the past two days, took 10 minutes for my computer to react to ctrl alt del, then said it couldn't load the security shit, then another few minutes to just open the task manager, which showed hydrus using just under 2gb of ram (not bad) but the commit size was 12gb. I only vaguely understand what that means, and that it's virtual memory, but I've only got the 8gb of physical memory. Is there a better way to deal with these? Or a way to have actual information on what the file was in the log?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5949
>>5948
>open back up
>go back to the search I was on
>there actually was a 37MB, 14,173x25,984 image grabbed from gelbooru
Well, fuck.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
66cab6 No.5964
This traceback happens when you attempt to do a "one-time import or delete using a hydrus tag archive" from advanced service-wide update in remote review services. using version 257.
TypeError
object of type 'builtin_function_or_method' has no len()
File "C:\Hydrus Network\include\ClientGUICommon.py", line 262, in EventButton
self._func( *self._args, **self._kwargs )
File "C:\Hydrus Network\include\ClientGUIScrolledPanelsReview.py", line 272, in ImportFromHTA
ClientTags.ImportFromHTA( self, path, self._service_key, self._hashes )
File "C:\Hydrus Network\include\ClientTags.py", line 75, in ImportFromHTA
hash_type = hta.GetHashType() # this tests if the hta can produce a hashtype
File "C:\Hydrus Network\include\HydrusTagArchive.py", line 206, in GetHashType
if len( hash ) == 16: self.SetHashType( HASH_TYPE_MD5 )
Looks like you renamed a local variable "hash" to "result" at some point and forgot to rename all it's usages.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.5979
>>5948
>>5949
I am sorry about this–I don't really know any easy solutions to it. Most of this stuff happens at a lower level than I usually work, so for instance I typically don't know a file is gigantic until it has been fully loaded. Your 370Mpixel image takes up about 1GB of memory (pixels*3bytes for RGB, or 4 bytes if it is a png with transparency). But I presume Pillow or OpenCV–whichever is opening the file for you–needs a bit of extra space to write everything to that final memory canvas. 12GB seems waaaay excessive for that, but I don't know the fine details. I cleaned up some of my side of that a couple of weeks ago, but perhaps there is some additional doubling going on, either in the C->Python step or in my own code. I guess some part of it all triggers the decompressionbomb warning, although in this case even the warning is a false positive, as I presume the file is legit.
I figure we'll all be running with 64GB of ram in a few years, and worrying about 100kx100k textures bloating out our 2TB game downloads.
Do you have a link to that file, so I can test it my end?
>>5964
Damn, thank you! I will make sure to have this fixed for next week.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5985
>>5979
https://gelbooru.com/index.php?page=post&s=view&id=444727
Didn't think there would be anything that big, especially not when grabbing everything from a series that began and fully ended pre-pixiv.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0d9147 No.5986
>>5985
The next largest files I've come across were a series of small poster scans, like the kind roughly a sheet of paper's width across, rolled up in a little blind packaged box. 2,145x6,075, png, 20 to 25 mb each and it's just stupid. I don't go around downloading huge single image files for fun or something.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
445390 No.6082
hydrus (v258) threw a traceback on exit but nothing bad appears to have happened:
2017/06/04 03:23:39: waiting for daemons to exit
2017/06/04 03:23:39: Traceback (most recent call last):
2017/06/04 03:23:39: File "/home/runningdroid/git/hydrus/include/ClientGUICommon.py", line 3812, in EventDirty
2017/06/04 03:23:39: 2017/06/04 03:23:39: self._func( *self._args, **self._kwargs )
2017/06/04 03:23:39: File "/home/runningdroid/git/hydrus/include/ClientGUI.py", line 3406, in RefreshMenu
2017/06/04 03:23:39: 2017/06/04 03:23:39: ( menu, label, show ) = self._GenerateMenuInfo( name )
2017/06/04 03:23:39: File "/home/runningdroid/git/hydrus/include/ClientGUI.py", line 1550, in _GenerateMenuInfo
2017/06/04 03:23:39: 2017/06/04 03:23:39: elif name == 'pages': return pages()
2017/06/04 03:23:39: File "/home/runningdroid/git/hydrus/include/ClientGUI.py", line 1102, in pages
2017/06/04 03:23:39: 2017/06/04 03:23:39: gui_session_names = self._controller.Read( 'serialisable_names', HydrusSerialisable.SERIALISABLE_TYPE_GUI_SESSION )
2017/06/04 03:23:39: File "/home/runningdroid/git/hydrus/include/HydrusController.py", line 290, in Read
2017/06/04 03:23:39: 2017/06/04 03:23:39: return self._Read( action, *args, **kwargs )
2017/06/04 03:23:39: File "/home/runningdroid/git/hydrus/include/HydrusController.py", line 95, in _Read
2017/06/04 03:23:39: 2017/06/04 03:23:39: result = self._db.Read( action, HC.HIGH_PRIORITY, *args, **kwargs )
2017/06/04 03:23:39: File "/home/runningdroid/git/hydrus/include/HydrusDB.py", line 813, in Read
2017/06/04 03:23:39: 2017/06/04 03:23:39: raise HydrusExceptions.ShutdownException( 'Application has shut down!' )
2017/06/04 03:23:39: include.HydrusExceptions2017/06/04 03:23:39: .2017/06/04 03:23:39: ShutdownException2017/06/04 03:23:39: : 2017/06/04 03:23:39: Application has shut down!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
27e60e No.6089
Slideshow isn't working for some reason.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
27e60e No.6116
hydrus does not ask if I want to run maintenance jobs on shutdown and does not run them.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.6127
>>6082
Thank you for this report. This should be harmless (these are usually silenced)–it just looks like it got reported and printed by accident. I will track it down and fix it.
>>6089
Thank you for this report. This should be fixed in v259! Let me know if you still have any problems.
>>6116
I recently reduced the threshold for this test. It is less likely to ask you when there is only a small amount of work to do–it'll batch it up for later.
I will be adding options to control this behaviour in future!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1b9ead No.6134
hydrus version 258, happened when trying to add four tags in the same namespace, where three of the four where added with the keyboard hold ctrl+arrow keys, and one by scrolling down and CTRL clicking. three of the four where not on screen when trying to add by pressing enter.
SizeException
Received a zero-length tag!
Traceback (most recent call last):
File "include\HydrusDB.py", line 534, in _ProcessJob
result = self._Write( action, *args, **kwargs )
File "include\ClientDB.py", line 9896, in _Write
elif action == 'push_recent_tags': result = self._PushRecentTags( *args, **kwargs )
File "include\ClientDB.py", line 7659, in _PushRecentTags
tag_ids = [ self._GetTagId( tag ) for tag in tags ]
File "include\ClientDB.py", line 5743, in _GetTagId
HydrusTags.CheckTagNotEmpty( tag )
File "include\HydrusTags.py", line 150, in CheckTagNotEmpty
raise HydrusExceptions.SizeException( 'Received a zero-length tag!' )
SizeException: Received a zero-length tag!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1b9ead No.6135
>>6134
I should add, all the four tags did get added, and one extra tag in the namespace, which looks like it doesn't contain anything has been added
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.6141
>>6134
>>6135
Thank you for this report and traceback. I will look at it next week!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
27e60e No.6144
If you petition a non-local tag on an item, that item will still show up when you search the tag you petitioned away from it until you actually commit the petition to the repo in question.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a72be6 No.6152
I don't know if it's a bug or working as intended, but I was checking for duplicates manually (checking artist tags and similar images from the menu, each opening a new tab) and after ~200 images I noticed my system slowing down big time. Hydrus was hoarding over 7GB of ram according to task manager.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.6194
>>6144
Thanks–yeah, unfortunately, the logic behind treating un-committed deletes as real deletes gets more complicated than I can currently maintain. For now, the file has both the 'current' and 'petitioned' state, although different elements across the program have differing abilities to understand that based on how sophisticated they are. Please commit your pending and petitioned when you are confident they are good and do not rely on accurate counts and so on until the change (and all the related computation to confirm the new 'deleted' status) is done.
>>6152
Thank you for this report. Several users have reported memory explosion, and I have experienced it once myself. I am not sure what is doing it, but I have some suspicions. Please keep a continuing eye open for this and note down anything that you might thing contributes to it.
I'm particularly interested in knowing–
How many thumbnails, approx, were open across the program.
How many tabs were open.
Whether an import queue (even a silent one like an import folder) was happening, and what sort of files it was importing.
How long the client had been open.
Whether you had been browsing many images or videos recently.
If you remember any answers to those from this recent time, please let me know.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
68dde3 No.6206
For a couple of months now, the client has been crashing on and off for me when opening the "add sibling to tag" menu from the manage-tag dialog with a tag highlighted, I'm currently on win64 v258. Hydrus doesn't just hang, Windows almost immediately throws the "hydrus.exe has stopped working" box in my face, Hydrus doesn't write anything to any of the logs kept, not even a crash.log.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.6211
>>6206
Thank you for this report. I am afraid I cannot reproduce it on Win10. That dialog does take like 5 seconds to load now and is otherwise a big mess behind the scenes that can't deal with the current mass of pairs, so I can see how this could cause problems.
Do you get the crash if you open the dialog straight from services->manage tag siblings?
Are you asking to set siblings on tags that do or do not already have siblings?
I'll see about shifting the initialisation of the dialog around so it doesn't hang everything before it even exists. That sort of out-of-order event blocking tends to be the only thing that can cause a full gui crash for hydrus.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
184ac7 No.6213
pixiv urls are http instead of https
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a72be6 No.6215
>>6194
It's been a long time but I'll try to remember
>How many thumbnails, approx, were open across the program.
I'm assuming you mean how many images I had on tabs across the program, at one time probably ~2000 but in total during that session ~3000. Most of those were on tabs I didn't actually open that session so maybe they don't count for this? If that's the case, then it's less than a 1000.
>How many tabs were open.
7-10, maybe?
>Whether an import queue (even a silent one like an import folder) was happening, and what sort of files it was importing.
Nothing that left any notifications was happening
>How long the client had been open.
Like 6 hours or so.
>Whether you had been browsing many images or videos recently.
Nothing apart from the duplicate checking
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
68dde3 No.6216
>>6211
I just tried it out again, I loaded "manage tag siblings" a couple of times, one time opening an image in between. When I subsequently loaded another image and used "add siblings to *tag*" it immediately crashed.
After a couple of control runs it doesn't seem to matter whether the tag's already pending, what kind of tag I'm opening/what kind of namespace it's in or whether it already has siblings or not, the first couple of times the dialog is launched seem to succeed, and the crashes usually happen when I've opened the dialog for at least one *different* tag before.
Other bugs and circumstances I'm experiencing that I think might also be of note:
- I'm currently also having extreme slowdown issues with the tag autocompletion. Typing the first couple of letters in the tag: field when managing tags takes 10-60 seconds per symbol, while I'm using a Velociraptor disk for my DB, which is no SSD but should be fairly fast. Regenerating the cache doesn't seem to help all that much. This may be related to me running multiple tag repo's on a local server process to seperate collected tags from different sources and keep them from 'contaminating' the PTR when they're shitty (fucking tumblr blogs).
- I also have ~500k tags pending for the PTR because I pended the 'title:' tags from the partial FurAffinity dump.
And for more of a suggestion than a bug: I know you warned about trying out the Tumblr '_raw' URLs, but I think you might want to add an option to the downloader to it make fall back to trying out a non-raw version of a URL when downloading fails on a '_raw' one. It's currently failing the entire synchronization of some of my new subscriptions on the 403's Tumblr occasionally hands out.
http://cremechouette.tumblr.com/ is an example case that currently fails for me.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f1a40f No.6226
Now sure why, but I get some weirdness on closing hydrus in win 7 64 bit. It closes properly, the client.exe task clears from task manager but my system basically locks up for a minute or two afterwards. HDD light either stays on or flashes on/off for half a second each throughout the whole minute or two.
It doesn't effect anything currently going i.e. sound doesn't lag or lock up but I can't do anything besides move the mouse around the desktop.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
445390 No.6243
>>6226
It's probably hydrus calling the Windows equivalent of fsync() on the databases after having filled the cache with writes.
I don't have access to a Windows box to test but you might be able to keep it from locking up your desktop by reducing hydrus' priority, I tend to set hydrus' io priority to idle when i'm doing something else and it seems to keep everything working fine.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6bb70a No.6251
When using the pixiv artist id downloader, the first page of images will get parsed properly but any pages after that report "0 urls found".
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a03fbd No.6267
PyAssertionError
C++ assertion "(itemid >= 0 && itemid < SHRT_MAX) || (itemid >= wxID_AUTO_LOWEST && itemid <= wxID_AUTO_HIGHEST)" failed at ../src/common/menucmn.cpp(260) in wxMenuItemBase(): invalid itemid value
File "/home/user/.git/hydrus/include/ClientGUIListBoxes.py", line 861, in EventMouseRightClick
menu.Append( ClientCaches.MENU_EVENT_ID_TO_ACTION_CACHE.GetTemporaryId( 'new_search_page' ), 'open a new search page for ' + selection_string )
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 12003, in Append
return _core_.Menu_Append(*args, **kwargs)
got this error when right clicking on search result 'avengers' on ptr
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebe274 No.6274
I am sorry for the late replies. IRL has been hammering me just recently.
>>6213
This should be fixed now! All new pixiv urls are https and all existing ones should be converted on update!
>>6215
I have heard this problem is relieved recently, after some recent memory maintenance and other internal cleanup stuff I have been working on. Please let me know if you are still running into trouble.
>>6216
Thank you for this update. I am talking with several other people about similar issues, and I even got a couple of crashes myself doing similar things. I am putting a little time into this every week.
I can't remember if you were testing this before I changed how tag siblings loads, but I recently put it on a thread and have had no problems beyond a bit of lag. I would like still like to rewrite the whole thing to fix the whole mess, but I think I've fixed the crash.
The tumblr issue is now also fixed, I think! The new raw urls sometimes need the 68. part of their domain clipped, which now happens in hydrus automatically. That cremechouette works ok for me now.
>>6226
>>6243
This is interesting–I haven't heard of this before. I don't know enough about Win 7 to comment, but if you reduce your maximum shutdown idle time to like 3 minutes, then there won't be as many pending writes.
If this is happening without any shutdown tag processing going on, then I don't know what is going on. The db resets its connection to clear its journal (buffer, essentially) every like 30 minutes or something, so it shouldn't be able to build up a huge amount to commit without a load of actual recent work going on.
>>6251
Thank you for this report. I will check it out this week. Do you have an example query I can look at, just in case my tests go ok?
>>6267
This is the menu id overflow bug, which I am slowly fixing by replacing all the old menu code with a newer system. The fix for now is to restart the client. Please let me know if you are able to reproduce this soon after starting the client.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0e388a No.6279
>>6226
>>6274
I haven't tested it too extensively but I know for sure that it happens after vacuuming the db. It doesn't happen if I pop open hydrus for a small task and close but it does if I do an import of hundreds of images or do dupe processing and vacuum the db afterwards. (I manually do this regularly without issue and I don't think I've ever waited for a scheduled vacuum)
It says maintenance is complete before I close it so it's not like I'm cutting it off in the middle but if client.exe is closed I'm not sure any sort of db logs could catch what's going on.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b59d9c No.6285
>>6274
>This is the menu id overflow bug, which I am slowly fixing by replacing all the old menu code with a newer system. The fix for now is to restart the client. Please let me know if you are able to reproduce this soon after starting the client.
unfortunately i can't
one thing i can remember is that there is tag with many character, and the error happened.
after that right click will produce the error until application is restarted.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
8c3a91 No.6374
I'm guessing I hit a limit rather than a bug. I'll admit I haven't updated in a while (client 256).
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a6ab67 No.6375
>>6374
It's been fixed, update.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ed528b No.6383
Gelbooru page downloads stopped working. What is happening is the first image becomes the URL for all the images so only 1 image is downloaded (see pic).
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
897d14 No.6387
A lil' bug report
1. Hydrus will silently crash if the custom thumbnail folder cannot be found. This is a pretty huge issue when migrating a DB to another installation. Possible solution would be to display a small dialog saying "could not find thumbnail folder", with options to abort startup or to unset old thumbnail folder.
2. On my linux installation (lubuntu, 1280 x 800 screen), most of the small dialog boxes (rating, add or remove tag, commit/confirm, etc) are slightly to short, and require dragging every time. I'm pretty sure WxPython has an option to wrap contents in this case.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1497a4 No.6395
>>6374
>>6375
There is an additional fix for gelbooru in the release I will put out later today, so make sure you get v266! They've been all over the map just recently.
Let me know if you still get any problems like this in the latest version.
>>6383
Thank you for this report. It should be fixed in today's release–let me know if it isn't.
>>6387
Thank you for these reports. I will check on the custom thumbnail folder thing. I am not sure why it would cause a crash and not an error–was this on client boot, or did the folder dismount/whatever while the program was up?
That will have better ui in today's release, btw.
I'll be having a look at Linux layout as well next week. Someone else emailed with similar. I'll see if I can fix the sizing calculation, or just add padding if not.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e1a5f3 No.6462
If you make a shortcut for a tag that is shown as another tag, like 1girl, when you activate the shortcut, it will add the tag you specified to the image you're on, but the shortcut won't remove that tag. It only works in removing the tag if you specify a tag that won't be replaced.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1497a4 No.6468
>>6462
Thank you for this report. I will try to look at this tomorrow.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
897d14 No.6514
>>6395
>I will check on the custom thumbnail folder thing. I am not sure why it would cause a crash and not an error–was this on client boot, or did the folder dismount/whatever while the program was up?
It was on client boot.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
73402d No.6539
Don't know if this is a bug or not, but everytime I run a DB vacuum(soft or full), I can never tell if it's actually working or not. I don't get any type of message.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1497a4 No.6578
>>6539
It might be that it is not running due to limited free space on your system partition/temporary folder. I think there are a couple of other checks it does as well. I will make a job to better inform the user when a manual attempt fails for this sort of unusual reason.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ea3b66 No.6591
Whenever I try to drag and drop an image into discord from hydrus the 'drop image here' window pops up but the cursor turns into this symbol and doesn't allow me to upload the image. Every other service like 8ch/4ch/any image host in chrome works just fine but discord and hydrus just seem to not want to cooperate. Is this fixable? This is the one and only problem I have ever had with hydrus.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1497a4 No.6609
>>6591
As far as I know, this is a discord problem. Apparently some other media/IM programs have a similar problem dragging files to either the Discord app or web page. I understand they privilege (increase the security level of) their program in some way, and so hydrus, which doesn't ask for any special permission from Windows, isn't allowed to drag and drop to it.
You can get similar problems trying to DnD between a program that is run normally vs a program run explicitly as admin.
In any case, all I do my end is say 'here are some filenames for a DnD event' in the normal OS-appropriate way, and then Windows takes over. The 'no way' symbol is something to do with Discord saying 'I won't accept that' or Windows saying 'I can't trust that'.
Solutions at the moment are to DnD to an interim Windows explorer window (or your desktop) and then to Discord, or to hit Ctrl+C on your hydrus thumbnail selection (copying the file paths to your clipboard) and then paste them in the file selection dialog (launched by hitting the little up arrow on the side of the Discord text entry box).
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
480802 No.6616
>>6609
I will use these methods in the future. Thanks for all your hard work dev-sama
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
de8380 No.6622
I recently updated to 270, and whenever I open it, it crashed at startup telling me that module 'cv2' doesn't have the 'CV_LOAD_IMAGE_UNCHANGED' field
I run from source, with dependencies installed separately
What can I do to fix it?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1497a4 No.6630
>>6622
I am sorry you are having this problem. I am not sure what is going on here. I juggled some of the opencv constants a little in v270, but that one remains the same as in v269. Was v269 the last version you were running, or a bit before?
Can you please try downloading the source for the last version you had running to a new location and seeing if a fresh client will boot?
Also, please open a terminal and go:
python
import cv2
cv2.__version__
cv2.CV_LOAD_IMAGE_UNCHANGED
cv2.IMREAD_UNCHANGED
exit()
What version does it think it is, and which of the constants failed?
If v269 was your last hydrus version, I believe that you can downgrade this week. If you try this, please let me know if it works, as this will show whether hydrus has changed or your opencv installation.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
dd941d No.6631
>>6630
My last installed version was v268, because I had forgot about the new release
I jumped to v270 from there, skipping a version
For a moment I thought it was because of python (I have both 2 and 3 installed), but clinent.py correctly calls python2, and python3 can't even find the cv2 module
Running the commands, these are the value I get:
cv2.version => 2.4.13
cv2.CV_LOAD_IMAGE_UNCHANGED => -1
cv2.IMREAD_UNCHANGED => -1L
The issue now is that trying to run hydrus again tells me the issue is on cv2.CV_LOAD_IMAGE_ANYDEPTH
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
dd941d No.6632
>>6631
Not sure if it helps, but I just thought writing down the OS might be better
I run hydrus on GNU/Linux, as I said from source
The dependencies are installed through the package manager and are automatically updated when I update the system
So far I didn't have any problem though, this is the first time something like this happens
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1497a4 No.6638
>>6632
>>6631
Thank you for this update. I have a temporary patch in place for tomorrow's release, so you should be able to boot.
Some of the constant names on the old version of OpenCV are unusual and badly documented, and I do not have a testing environment for it here. Please try this:
python
import cv2
cv2.CV_LOAD_IMAGE_ANYDEPTH
cv2.cv.CV_LOAD_IMAGE_ANYDEPTH
cv2.CV_LOAD_IMAGE_ANYCOLOR
cv2.cv.CV_LOAD_IMAGE_ANYCOLOR
exit()
If you would like to update to the new (3.3.0) version of OpenCV manually, you can with:
pip install opencv-python
The new version is great and has all kinds of GPU hardware acceleration for rendering, but if you have more programs that use 2.X, you may want to hold off unless you know they are 3.X compatible.
If your package manager has an option to update it, that might also be the better option.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0a34aa No.6641
>>6638
I'll just paste the console output:
>>> import cv2
>>> cv2.CV_LOAD_IMAGE_ANYDEPTH
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'CV_LOAD_IMAGE_ANYDEPTH'
>>> cv2.cv.CV_LOAD_IMAGE_ANYDEPTH
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'CV_LOAD_IMAGE_ANYDEPTH'
>>> cv2.CV_LOAD_IMAGE_ANYCOLOR
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'CV_LOAD_IMAGE_ANYCOLOR'
>>> cv2.cv.CV_LOAD_IMAGE_ANYCOLOR
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'CV_LOAD_IMAGE_ANYCOLOR'
>>> exit()
Apparently, hydrus is the only program using opencv, I upgraded it the last available through the PM, which is 3.2.0
Unfortunately the situation didn't change:
>>> import cv2
>>> cv2.CV_LOAD_IMAGE_ANYDEPTH
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'CV_LOAD_IMAGE_ANYDEPTH'
>>> cv2.cv.CV_LOAD_IMAGE_ANYDEPTH
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'cv'
>>> cv2.CV_LOAD_IMAGE_ANYCOLOR
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'CV_LOAD_IMAGE_ANYCOLOR'
>>> cv2.cv.CV_LOAD_IMAGE_ANYCOLOR
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'cv'
>>> exit()
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0a34aa No.6642
>>6641
Nevermind, upgrading to 3.2.0 fixed the issue
Which makes sense, poking at the code, I see that the affected line happens only when OpenCV is at version 2
Still, you might look at it for those with version 2
Thanks for your help and keep the hard work
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4267a7 No.6660
Opening webm files externally on Fedora 26 open up Notepad in Wine instead of mpv. Outside of Hydrus, all webms are set to open with mpv by default. This makes Hydrus useless for me, because I specifically got it to manage porn webms.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6671
>>6642
>>6641
I am glad this got fixed. I have a patch in place for the 2.X users that just won't support some of the new EXIF rotation detection stuff. I will dive into the docs a bit more if there is demand but otherwise leave it alone.
>>6660
At the moment, for Linux, I run:
xdg-open "[file_path]"
I'm by no means an expert on this stuff, but could your xdg webm mapping for webm be unusual? What happens if you try that command in a regular terminal on an exported webm?
What happens if you try to open a jpeg or an mp4 externally in hydrus? Do they go to the right place?
I would like to add options for custom launch paths on a per mime basis in the future, but for the moment, I just pass it off to the OS to figure out.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4267a7 No.6673
>What happens if you try that command in a regular terminal on an exported webm?
Using xdg-oen on regular webms opened mpv. Exported webm from hydrus, used xdg-open to open it, still loaded mpv.
>What happens if you try to open a jpeg or an mp4 externally in hydrus? Do they go to the right place?
Jpegs were set to show in the in-built viewer by default, which worked fine. After changing them to be opened externally, it opened it up in Wine Internet Explorer instead of my image viewer. Also used xdg-open on jpegs, worked as expected, opening the image viewer. Mp4, when set to open externally, opened up Wine Notepad. This is pretty weird.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6677
>>6673
After some searching, I found that sometimes wine notepad is set for unknown mimetypes. I wonder if the hydrus terminal is giving file info in a different way, or looking up the association in a different way. Is there any way that hydrus is running as a different user with different lookup table?
I'll reiterate that I'm not good at this, so please correct me if you know better, but please go:
xdg-mime query filetype [webmpath]
xdg-mime query default video/webm
I presume that will give us nothing surprising, but maybe one is unmapped.
You should have one or more mimeapps.list files as described here:
https://wiki.archlinux.org/index.php/Default_applications#XDG_standard
If you grep or just manually skim those for 'notepad', do you find anything? Are they for 'application/octet-stream' or any other 'default' mimetypes? Or can you find wine's internet explorer, whatever its .desktop file would be called?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
57ccbc No.6724
>>6677
Different anon with same problem here. Don't have mime(1) on my system and couldn't find the package for it, but file -i gives the expected values for webm with binary charset. Running hydrus from console gives an undefined symbol gvfs_is_ipv6 for libgvfsdbus.so, which I have as version 1.32.1+5+gf0d758df-1 in the expected location. After that there's an error on failing to load that module and then there's the console output for the incorrect program. Not sure if it's noteworthy or not, but poking around in the file system shows half of the imported files as being zlib compressed data with no .watever extension. For mimeapps.list, I only have a user override file and the incorrect program is associated with text/plain. Interestingly there wasn't an explicit webm association, but adding one didn't change anything.
Thanks for the work so far, it's a pretty comfy program you have here.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6725
Anyone else having issues with GIF's speeding through all their frames in 1-2 seconds? They then remain on their last frame while the seekbar at the bottom works through the time they're actually supposed to take to view these.
i.e. a 10 second GIF will speed through all its frames in the first 2 seconds and then remain frozen on the last frame for the remaining 8 seconds. This happened to most of my GIF's, old and new after an update some weeks ago.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6728
>>6724
Thank you for this information. I will add the per-mime launch path options next week to fix this completely. Please let me know then how it works for you.
The zlibbed extensionless files are the cached repository update files your client has downloaded. They are stored and managed in the same file system as everything else but obviously aren't user facing. They are all json if you are interested in looking at them closer.
>>6725
Can you post or point me at some of these broken gifs, so I can check them my end?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6730
>>6728
Looks like it's not Gif's but is instead webm's.
First one doesn't do the thing I was talking about, but it does play faster in client than it does via external player. The rest do what I was talking about
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6731
>>6728
>>6730
And again, these did work correctly previously and I'm not on Linux or OSX
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6734
>>6731
>>6730
Thank you. I get the problem on the first one (it renders a little fast and then hangs on the last frame for the last ~8s of the video), but the short ones play ok for me, with smooth framerates and correct loops. On first import, in order, my client reckons they have duration/framecounts of:
18.1s, 1086 frames
2.1s, 8 frames
2.0s, 50 frames
2.6s, 52 frames
2.6s, 52 frames
With advanced mode on under the help' menu, right-clicking on video will give you a new 'advanced' choice to reparse to possibly correct frame counts and video duration. After running this, the first one goes down to 700 frames (everything else stays the same) and then it renders and loops correctly.
Please let me know what duration and frame counts your client thinks it has for those files atm and then run an advanced frame count reparse and see if they change at all. You'll have to reload the images (select and go show selection in a new page to do this quickly) to see the updated values.
Also, under help->about, my client's ffmpeg is version N-87043-gf0f4888. I think I last updated it for the Windows release a couple of weeks ago. Does yours say the same?
Most older clients have a bunch of videos with incorrect metadata (they were imported with older parsing code that couldn't deal with unusual situations). At some point I will be writing a structure that will automatically reparse all old files with the better newer code, but I still have to do some work getting the current code working right for 99.9% of files. That the cross-section webm gave 1086 guess vs 700 reality even on current code suggests I still have more to do.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6735
>>6734
That did the trick.
Old
1,086 frames; 18.1 seconds
43 frames; 2.1 seconds
197 frames; 2.0 seconds
256 frames; 2.6 seconds
256 frames; 2.6 seconds
New
700 frames; 18.1 seconds
8 frames; 2.1 seconds
50 frames; 2.0 seconds
52 frames; 2.6 seconds
52 frames; 2.6 seconds
ffmpeg version matches as well. Thanks for your help
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6737
>>6734
On another note, is there any way to make hydrus recover more gracefully from decompression errors like these?
2017/09/13 14:32:21: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (137578293 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:32:30: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (137457593 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:33:21: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (136245474 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:35:06: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (137959668 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:36:41: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (136247176 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:36:48: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (137620860 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:36:55: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (136816125 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:38:08: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (137647785 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:41:10: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (275015787 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:43:14: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (276887313 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
2017/09/13 14:50:49: C:\HYDRUS~1\PIL\Image.py:2438: DecompressionBombWarning: Image size (226451652 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
It's not my first time with a decompression bomb error but before that only happened while trying to download a file. These managed to succeed and only cause the error when attempting to open them in the media viewer. Result is basically that the computer locks up due to Hydrus using large amounts of memory that increase rapidly; it jumped from ~800MB's to ~1.8GB's roughly 10 seconds into trying to view the file and then jumped to 3.8GB's after another 20-30 seconds or so. Hydrus stays locked up and while you can get taskmanager to pop up (I have a desktop shortcut for it) & try to kill the task, by that point it's pretty much too late since it would take so long to go through.
This batch of recent Ke-Ta uploads are the culprits:
https://gelbooru.com/index.php?page=post&s=view&id=3872394
https://gelbooru.com/index.php?page=post&s=view&id=3872396
https://gelbooru.com/index.php?page=post&s=view&id=3872424
https://gelbooru.com/index.php?page=post&s=view&id=3872426
https://gelbooru.com/index.php?page=post&s=view&id=3872460
https://gelbooru.com/index.php?page=post&s=view&id=3872465
https://gelbooru.com/index.php?page=post&s=view&id=3872468
https://gelbooru.com/index.php?page=post&s=view&id=3872469
https://gelbooru.com/index.php?page=post&s=view&id=3872483
https://gelbooru.com/index.php?page=post&s=view&id=3872498
https://gelbooru.com/index.php?page=post&s=view&id=3872543
https://gelbooru.com/index.php?page=post&s=view&id=3872545
https://gelbooru.com/index.php?page=post&s=view&id=3872547
https://gelbooru.com/index.php?page=post&s=view&id=3872549
https://gelbooru.com/index.php?page=post&s=view&id=3872550
https://gelbooru.com/index.php?page=post&s=view&id=3872554
https://gelbooru.com/index.php?page=post&s=view&id=3872556
https://gelbooru.com/index.php?page=post&s=view&id=3872557
https://gelbooru.com/index.php?page=post&s=view&id=3872558
https://gelbooru.com/index.php?page=post&s=view&id=3872634
The largest ones are 13859x9927 pixels
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
814565 No.6741
switched to running from source in a virtualenv on win7 and got an error on start up
Traceback (most recent call last):
File "client.pyw", line 20, in <module>
from include import ClientController
File "C:\Coding\python\hydrus\include\ClientController.py", line 21, in <module>
import ClientGUI
File "C:\Coding\python\hydrus\include\ClientGUI.py", line 11, in <module>
import ClientGUIManagement
File "C:\Coding\python\hydrus\include\ClientGUIManagement.py", line 14, in <module>
import ClientGUICanvas
File "C:\Coding\python\hydrus\include\ClientGUICanvas.py", line 15, in <module>
import ClientGUIShortcuts
File "C:\Coding\python\hydrus\include\ClientGUIShortcuts.py", line 8, in <module>
import wx.lib.flashwin
File "C:\Python27\Lib\site-packages\wx-3.0-msw\wx\lib\flashwin.py", line 20, in <module>
cc.GetModule( ('{D27CDB6B-AE6D-11CF-96B8-444553540000}', 1, 0) )
File "C:\Coding\python\hydrus\hydrus_env\lib\site-packages\comtypes\client\_generate.py", line 101, in GetModule
tlib = comtypes.typeinfo.LoadRegTypeLib(comtypes.GUID(tlib[0]), *tlib[1:])
File "C:\Coding\python\hydrus\hydrus_env\lib\site-packages\comtypes\typeinfo.py", line 478, in LoadRegTypeLib
_oleaut32.LoadRegTypeLib(byref(GUID(guid)), wMajorVerNum, wMinorVerNum, lcid, byref(tlib))
File "_ctypes/callproc.c", line 950, in GetResult
WindowsError: [Error -2147319779] Library not registered
figured out it was because i dont have flash installed. curiously it wasnt a problem when i was running one of dev's compiled releases
ended up writing this to get going again
diff –git a/include/ClientGUICanvas.py b/include/ClientGUICanvas.py
index 9c369aa..781a158 100755
— a/include/ClientGUICanvas.py
+++ b/include/ClientGUICanvas.py
@@ -30,7 +30,8 @@ import wx
if HC.PLATFORM_WINDOWS:
- import wx.lib.flashwin
+ if HC.FLASH:
+ import wx.lib.flashwin
ID_TIMER_SLIDESHOW = wx.NewId()
ID_TIMER_CURSOR_HIDE = wx.NewId()
diff –git a/include/ClientGUIShortcuts.py b/include/ClientGUIShortcuts.py
index 34861b0..8003f44 100644
— a/include/ClientGUIShortcuts.py
+++ b/include/ClientGUIShortcuts.py
@@ -5,7 +5,8 @@ import wx
if HC.PLATFORM_WINDOWS:
- import wx.lib.flashwin
+ if HC.FLASH:
+ import wx.lib.flashwin
def IShouldCatchCharHook( evt_handler ):
@@ -13,9 +14,10 @@ def IShouldCatchCharHook( evt_handler ):
window = wx.FindWindowAtPointer()
- if window is not None and isinstance( window, wx.lib.flashwin.FlashWindow ):
+ if HC.FLASH:
+ if window is not None and isinstance( window, wx.lib.flashwin.FlashWindow ):
- return False
+ return False
diff –git a/include/HydrusConstants.py b/include/HydrusConstants.py
index de276e9..1b50ba7 100755
— a/include/HydrusConstants.py
+++ b/include/HydrusConstants.py
@@ -667,3 +667,13 @@ sqlite3.register_adapter( bool, int )
sqlite3.register_converter( 'BLOB_BYTES', str )
sqlite3.register_converter( 'INTEGER_BOOLEAN', integer_boolean_to_bool )
sqlite3.register_converter( 'TEXT_YAML', yaml.safe_load )
+
+
+FLASH = True
+
+# running from source on windows without flash installed causes an error in comtypes library that isnt handled so catch and disable flash code
+if RUNNING_FROM_SOURCE and PLATFORM_WINDOWS:
+ try:
+ import wx.lib.flashwin
+ except WindowsError:
+ FLASH = False
fuck i hope this comes out formatted properly.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
814565 No.6742
>>6741
of course this formatted like shit… i wish i knew how to dump text into a preformatted box
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6750
>>6742
code tags "code" "/code" with brackets instead of quotes
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9ef7bc No.6751
Tag parents and siblings do not get along well.
An example is character:shinon (sao-alo) being changed to character:sinon (sao-alo). When character:shinon (sao-alo) is entered and shows it will be displayed as sinon (sao-alo), it doesn't add the tag parents from shinon (sao-alo) or sinon (sao-alo). They are both tag parents, but it doesn't input the other tags associated with them if it is displaying one of the tags as another tag.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bb52a4 No.6757
>>5115
On Linux, when opening Services>Review Services, the window that appears *really* wants to take up the whole screen. It will increase in size until it covers the whole screen, but not beyond.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f572d0 No.6763
Saving the session while searching for duplicates crashes the client.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07ffba No.6765
Not sure if this is intended or not, but only swf files play audio in hydrus.
I tried with both mp4 and webm files, but neither works.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6767
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07ffba No.6768
>>6767
Oh.
Any way to enable the audio again?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6772
>>6737
I am not sure. This stuff mostly happens at a lower level than I control, in the image libraries I use. Even if I can reliably detect when it will happen, there isn't much I can do about it–an image that decompresses badly needs a bunch of CPU to render.
Nonetheless, thank you for the links. I will experiment and try to catch these warnings and add an option to not import bombs.
I could also add a 'max resolution' option to the file import options, although that is a slightly different issue. An image that big should only be ~400MB in memory, but the jpeg compression that brings its filesize down to ~10MB or so must have an unusual artifact that is causing the bomb.
This may be another case of:
>nips being in charge of file formats
but I will see what I can figure out.
>>6741
Thank you for this report. I will write a similar fix for next week's release. I am guessing my built release bundles some of the Flash ActiveX stuff, or that python doesn't touch the imported 'dll' module in the same way as it would in the source.
Check here for 8ch formatting options:
https://8ch.net/faq.html#how-do-i-format-my-text
The question mark button up top gets you there real quick–I often compulsively recheck that page whenever I mean to do anything clever.
>>6751
Thank you for this report. Parent and Sibling logic, particularly when working together, is a real mess. I have a plan to completely overhaul the entire system and add custom ui to make it much easier to edit relationships, but it won't be a small job. Please hang in there for now and add relationships that would make sense in a better system, and I will retroactively fix the missing parents and so on when I catch the system up.
>>6757
Thank you for this report. Review services has a mish-mash of old and new ui code that presents differering size calculations. i think it prioritises some of the text widths unnecessarily. If you have a particularly tight screen or are experiencing particcularly unusual layout behaviour, you might like to try forcing its size under file->options->gui->frame locations. Set it to not remember size and then tighten it up.
I have a long-term job to update all the gui code to the new sizing system, but it is taking time.
>>6763
Thank you for this report. I will be moving duplicate searching to the new 'modal' popups in the near future, to stop gui-interaction while they occur. Those dupe search jobs were always a bit hacky–I recommend you not do anything while they are running, or just put them to run in idle time (check the cog icon on the dupe page).
>>6765
>>6767
>>6768
The native video renderer in hydrus is my custom code (in python, wew), which is bodged together with prayers and duct tape. I have not yet written an audio component for it. This will be on the 'big thing to work on next' poll that I will put up after the current downloader overhaul is done, so if you would like this, please vote for it then. At that point, I will add internal metadata for audio as well, so hydrus will display 'has audio' in appropriate places and let you search by it.
For now, to hear audio, please double-click running videos to launch them in your OS-default video player.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e83a47 No.6786
These three images seem to have rotated counter clockwise, but the aspect ratio stayed the same. The thumbnail shows show them as they should be. Exporting them out also has them rotated, but with the correct aspect ratio.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e83a47 No.6787
>>6786
>counter clockwise
Clockwise, I mean
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6824
>>6787
>>6786
Thank you for these examples. Support for EXIF-rotated images is not complete yet. Part of the rendering engine does it, but the file parsing doesn't, so they disagree. I hope to have complete support for different cases in the coming weeks, and then I will write a maintenance routine to re-parse existing files for rotation (and hence update their caches resolutions, which is part of the problem you are seeing) retroactively.
Tell me if I am being stupid, but hasn't 8chan/my browser made a similar mistake here? The thumbs look correct, but they load +90, -90, +90 degrees when I expand them. The stated 3000x1740 res is also incorrect in the same way, wew.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e83a47 No.6825
>>6824
The thumbs here actually aren't correct, the expanded images are(see the text). Opening in a new tab doesn't have the correct orientation again. Hydrus thumbnails are correctly oriented though.
Also this wasn't an issue in Hydrus when I imported them a month and a half ago, it's more recent.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6845
>>6786
>>6824
>>6825
I don't have this problem but the source is twitter https://twitter.com/arapaima55giga/status/893426886235246594 so trying importing the original files and see if that works. I took the copies on gelbooru and while they don't match the twitter versions (gelbooru's come from danbooru), I don't have the rotation problem either.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e50555 No.6853
When I select gifs, the client crashes with a segmentation fault before it can render the first frame in the preview box
I can't open them in any other way, as selecting them shows the preview and hydrus crashes as soon as the first frame is loaded
This actually happened in 274, but when I finally managed to upgrade to that version and discover the issue, 275 was released already
The crash still persists though
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b25f59 No.6854
I've installed hydrus on win10 and it simply refuses to run. I can open the the server console but attempting to start the client does nothing. It appears in the task manager for a moment, then disappears, without any feedback. I did run it as an administrator. What could be at fault here?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6858
>>6845
>>6825
Thanks. I get different rotations depending on whether I 'expand' the images inline vs opening them in a new tab, wew!
I will try to get all the pipelines doing what I think is correct and then we'll reparse this stuff and iron out lingering mistakes at that point. Thank you for the examples, as they will make testing on my end that much easier.
>>6853
Thank you for this report. I am sorry about your problems. Please flip file->options->media->disable OpenCV for gifs to whatever it currently isn't and let me know if that changes anything.
What happens if you open a webm or mp4?
And what version of PIL, Pillow and OpenCV do you have listed under help->about?
And which OS are you on?
>>6854
Hey, I am sorry you are having problems. Please check your install_dir/db folder for a crash.log file. If it exists, what does it report inside?
If no such file exists, please go back to install_dir, and then shift+right-click on some whitespace->open command window here and then type 'client' and hit enter on the terminal window that will pop up. If it gives an error traceback there, please take a screenshot and post it here or send it to my mail or whatever.
Some users with similar symptoms have also been hit by over-zealous anti-virus programs. If you run third-party anti-virus, please check that it hasn't quarantined part of the hydrus zip or installer or your install directory.
Also, is hydrus installed to a protected location like C:\Program Files? It needs to write to its own directory on a clean first boot. Running as admin might get around this, although it is obviously not ideal.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
00dd3a No.6862
>>6858
There is no crash log file, this is what the terminal turned out.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
00dd3a No.6863
>>6862
Time to get glasses.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
082a0e No.6866
>>6858
>Thank you for this report. I am sorry about your problems. Please flip file->options->media->disable OpenCV for gifs to whatever it currently isn't and let me know if that changes anything.
Disabling OpenCV for gifs fixed it
>What happens if you open a webm or mp4?
Everything works fine, with and without OpenCV for gifs
>And what version of PIL, Pillow and OpenCV do you have listed under help->about?
OpenCV: 3.2.0
PIL: 1.1.7 (though I have the option to load images with it disabled)
Pillow: 3.4.2
>And which OS are you on?
I'm the same person of
>>6631
>>6632
>>6641
OpenCV keeps being an issue
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6899
>>6863
>>6862
Thank you for the update. I'm not familiar with powershell, but I guess you have to .\ to execute, wew! Apparently this is a new change, and if you would like to roll back to cmd, you can set it under Windows' settings->personalization->taskbar.
Anyway, please download this debug build and do the same thing:
https://www.mediafire.com/file/v1ugfjwyt3ulzfv/Hydrus%20Network%20276%20debug%20-%20Windows%20-%20Extract%20only.zip
It will explicitly write a lot of stuff to the terminal about how the boot is going, and should give us more info.
>>6866
Thank you for the follow-up. I am not sure what is doing this, but OpenCV has been a common pain, despite how good it is otherwise. Some Windows users had problems with OpenCV a while ago due to a bad set of Nvidia drivers–OpenCV uses OpenCL to do some rendering hardware acceleration, and a bug in Nvidia's OpenCL code was causing blue screen!
It might just be possible that you have a similar problem? If your GPU driver allows it, maybe try turning off OpenCL/CUDA support for client.exe. This may permit OpenCV to work again.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0aa87b No.6903
>>6899
I'm using a 64-bit system, if that is relevant in any way.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
d6edd6 No.6905
>>6899
>It might just be possible that you have a similar problem? If your GPU driver allows it, maybe try turning off OpenCL/CUDA support for client.exe. This may permit OpenCV to work again.
I have AMD hardware inside my laptop, and the "GPU" is the integrated card (it's a relatively old machine)
I can't really turn off support for anything, especially since I run hydrus from source (i.e. client.py)
OpenCV used to work fine, at least on version 2
I'll see if I can downgrade it and give results
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
d6edd6 No.6906
>>6905
Hydrus 276, OpenCV 2.4.13, enabled for gif
Everything works fine, the client starts and selecting gifs shows them with no issues
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.6911
Anyone else having this issue? I can't see the checkmarks… I thought the removal of the buttons was annoying but at least they still had text… with this I can't do anything…
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.6912
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6930
>>6903
Thank you. I believe we had a similar problem a while ago with a different user who had a unicode character in his PATH environment variable, which the version of python I currently use cannot deal with. I think it was something including his username.
If you are not familiar with your PATH, just google it a bit. It is basically a list of places windows checks when it runs things. You can see how to find it here:
https://www.computerhope.com/issues/ch000549.htm
If you are not very familiar with what it is, be very careful. It is a critical part of Windows and should not be edited randomly. Please just check it for now–are there any unusual characters in your PATH?
If not your PATH, are there any other system level paths on your machine that might have a unicode character? Your username or anything else?
>>6905
>>6906
Great. I am not sure what happened here then. Maybe the new OpenCV hooks were interacting badly with your graphics stuff. Please let me know if you discover anything new.
>>6911
>>6912
I do not know what is going on here, and I don't think I have seen it before either. I don't think I changed anything on my end (with wxPython) that determines how these things are shown. Which OS are you on? Do you have any window managers active that alter gui elements? Has hydrus ever displayed correctly for you, or has it always had some corruption of some sort? If you open up the options menu, do the checkboxes and other elements on that also display badly, or is it just limited to the pages' left-hand management panels?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.6936
A new problem, how exciting! It started somewhere in one of the 27x updates, I don't know which one though… before that it displayed correctly.
My OS is Mint 18. I don't know if I have window managers but I don't think so…
The options screen looks like pic related. Note that the currently selected tab is invisible in the list of tabs.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.6937
>>6936
meant to reply to >>6930
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
762e27 No.6963
When using "View This file's duplicates" to look at a file's duplicates, the resulting screen isn't ordered with the Sort by system. In this picture, the largest file sits in the middle, despite this page ostensibly being sorted by filesize.
Also, having a regular page for the "View this file's dupes" page seems a little off. Supposing you previously ran the file dupes on pictures A and B, before opening up file C and viewing it's dupes, it's extremely easy to overwrite the relationship AB when creating a relationship AC and BC without being aware of it. This becomes an issue with tens of files to a window. Ideally, the file C should be kept apart from the rest by the UI and made clear its relationships between itself and other files and their relationships, but that's not really a bug so sage for backseat programming.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
57a12f No.6967
Anyone's tumblrshit stop working?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
8ea9ad No.6968
>>6967
Tumblr changed their URLs for raw images, they're now on data.tumblr.com instead of media.tumblr.com
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
57a12f No.6969
>>6968
with https errors to boot
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6973
>>6968
As of…today? I had shit working yesterday
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
8ea9ad No.6975
>>6973
Sometime within the last week
>>6969
Apparently s3.amazonaws.com/data.tumblr.com works correctly
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
57a12f No.6979
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3293e0 No.6980
Updated from 268 to 277 because Sankaku broke, but now few of the UI elements render properly. Most are usable, but checkboxes in the booru import page (if not other places too) are non-functional.
System: Linux Mint 18.2 (base - Ubuntu 16.04) Cinammon Edition, Skylake i5 processor, AMD GPU (proprietary drivers).
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.6981
>>6980
Hey I have the same problem, here >>6912 and >>6936
Also Mint…
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6987
>>6980
>>6936
Can you please try extracting a fresh empty v268 and then comparing the library version numbers in help->about to your v277? I am guessing that wx or something got updated, perhaps in my recent Linux dev environment rebuild. If so, that at least gives us some information about this.
Then, please open a terminal and go:
python
import wx
wx.__version__
exit()
It may be the wx import statement fails, but it would be useful to know if Mint has a system wx as well that is perhaps conflicting here.
>>6963
Thank you, I will see if I can fix this for next week.
I agree about the dupe stuff. This first version I made has a lot of limitations, and most of my time went into the db-end of doing discovering dupes. The actual ui to make decisions about dupes is a lot less sophisticated, and I re-used existing ui where I could to save time. I hope a subsequent iteration of the system will have more specialised ui. I'd love to write some drag-and-drop/draw-arrows-between ui controls in future to help this sort of stuff, rather than always dealing with grids and lists. (drawing linked networks dynamically would be great for tag siblings and parents as well!)
>>6967
>>6968
>>6969
>>6973
>>6975
>>6979
Thank you for this report. Yeah, as 9c435e says, they rearranged their CDN and have a mickey-mouse ssl cert going on as well. I have this fixed for v278, please let me know if it gives you any more trouble.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3293e0 No.6991
Hydrus 277:
This client is the media management application of the hydrus software suite.
FFMPEG: 2.8.11-0ubuntu0.16.04.1
OpenCV: 3.3.0
openssl: OpenSSL 1.0.2g 1 Mar 2016
PIL: 1.1.7
Pillow: 4.2.1
python: 2.7.13
sqlite: 3.16.2
wx: 3.0.2.0 gtk2 (classic)
Hydrus 268:
This client is the media management application of the hydrus software suite.
FFMPEG: 2.8.11-0ubuntu0.16.04.1
OpenCV: 3.2.0
openssl: OpenSSL 1.0.2g 1 Mar 2016
PIL: 1.1.7
Pillow: 4.0.0
python: 2.7.13
sqlite: 3.16.2
wx: 3.0.2.0 gtk2 (classic)
Python wx test:
cfalcon@House-of-Hype ~ $ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version
'3.0.2.0'
>>> exit()
cfalcon@House-of-Hype ~ $
On a probably unrelated note, my version of OpenSSL is not the version listed in Hydrus. My version is 1.1.0f, the latest version on OpenSSL.org. This is probably just because I download the tarball on Github. I think 1.0.2g is still installed somewhere on my computer, but the if multiple exist then the default is the new version.
On a possibly related note, other programs (more specifically, a few source-installed emulators) have given me error messages that tell me that the version of wx the program was compiled with is not the same as my library's current version. Reinstalling the offending libraries with apt-get and recompiling the program did not stop the messages, but the programs all appear to run as expected anyways.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3293e0 No.6992
>>6991
>>6980
Also, right click->open externally now tries to open pngs, jpegs, and animated gifs in Wine's Internet Explorer instead of the default xviewer (which looks like a recent fork of eog (eye of gnome), the default image viewer in Mint 17.x).
I get a wine error (something about no Windows program configured to open this file type) when I try to right click-> open externally for webms. On 268 and earlier, I usually opened webms externally so that the sound would work.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.6993
>>6987
hydrus client 268, using network version 18:
FFMPEG: 2.8.11-0ubuntu0.16.04.1
OpenCV: 3.2.0
openssl: OpenSSL 1.0.2g 1 Mar 2016
PIL: 1.1.7
Pillow: 4.0.0
python: 2.7.13
sqlite: 3.16.2
wx: 3.0.2.0 gtk2 (classic)
hydrus client 276, using network version 18:
FFMPEG: 3.2-static
OpenCV: 3.3.0
openssl: OpenSSL 1.0.2g 1 Mar 2016
PIL: 1.1.7
Pillow: 4.2.1
python: 2.7.13
sqlite: 3.16.2
wx: 3.0.2.0 gtk2 (classic)
Python:
~ $ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version
'3.0.2.0'
>>> exit()
~ $
>>6992
>Also, right click->open externally now tries to open pngs, jpegs, and animated gifs in Wine's Internet Explorer instead of the default xviewer
I used to have this too for both hydrus images and other images a while ago, so I uninstalled Wine. I just now noticed that I can't open externally from v276 at all.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.6995
>>6987
>>6993
I just redownloaded them all and the problems appear in version 271.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f572d0 No.6996
Regarding the thread watchers auto naming:
Regardless of the settings, opening an old session with lots of thread watchers will cause them to lose my custom names for them. I would love it for this to be fixed, as I have a lot of sessions with old thread watchers, many of which the names are not obvious.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.6997
>>6993
>>6991
>>6995
Thank you for this. Looks like wx isn't it, but I will check the v271 changes to see what I did.
>>6992
>>6993
Please check the new overrides for 'open externally' under options->files and trash. Seems like some flavours of Linux are all over for this stuff, so you can now set it yourself. Please let me know if you run into any more trouble with this.
>>6996
I will see if I can do this simply, thank you for the report.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bba8b1 No.6998
>>6987
>Thank you for this report. Yeah, as 9c435e says, they rearranged their CDN and have a mickey-mouse ssl cert going on as well. I have this fixed for v278, please let me know if it gives you any more trouble.
Will this essentially reset URLs? Just curious
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3293e0 No.7000
>>6997
The file open for all programs was set to `default:xdg-open "%path%"` (if I messed up the formatting, ignore the backticks). I opened a jpeg with that command from a terminal, and it loaded in xviewer as expected.
So I tried setting the open externally command for image/jpg to `xviewer "%path%"`. Open externally ceased to function. So I tried changing the double quotes to single quotes. Xviewer still didn't open, but when I changed the program from xviewer back to xdg-open, xdg-open opened my jpg in Wine's IE, just as it did when %path% was in single quotes.
I noticed another new thing last night: file-> import files no longer correctly displays my system's graphics. It shows something, but it's not Wine's graphics and it's not Mint's usual graphics. IIRC it's something used by GNOME (which Cinnamon is a fork of), but the last time I used a non-Mint distro was about 6 - 8years ago. I normally wouldn't care about this, but I figured it might be useful debugging information.
I'll upload some console error logs in a little while. Thanks for working on this program, thanks for sharing it with the rest of the Internet, and a huge thanks for supporting Linux users and all of their weird setups.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3293e0 No.7001
>>7000
>just as it did when %path% was in double quotes
correction
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3293e0 No.7002
>>7000
Apparently I can't post the error logs. I'm not allowed to attach .txt files to my post and if I post the error logs here, 8chan experiences a buffer overrun and doesn't post my reply.
Speaking as someone who doesn't know Python, but does know a few other languages, there seems to be some interesting information contained in the 846kB console output log (I had to copy-paste, since the >> operator didn't catch most of the actual errors).
Possibly even more interestingly, 268 gives errors too, but they seem to be different errors and they only show up on program startup.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
551fa2 No.7007
>>7002
not dev ofc, but maybe you could upload the logs here: https://pastebin.com
you can set pastes to private so that they are only find-able with the link
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4b6dc5 No.7008
>>6993
>>6991
Ok, I had a look at the commit here:
https://github.com/hydrusnetwork/hydrus/commit/e7449281e6f66400ac3ada9658ec48d7cb46f30c
There is nothing too special in the code, but the actual Linux release went down from 140MB to 102MB. Checking my release post, this is indeed the week when I had to rebuild my Linux machine.
Afaik, I now use a clean Ubuntu 17.10, whereas the old system, while I think it was 17.10, was updated from 15.something originally. I presume that all the library updates I got with a fresh build of my dev environment is now clashing with your Mint (16.04). It could also be a new version of PyInstaller packnig things differently, as I see a different format for the cv2 .so stuff as well in the two releases. In any case, I am guessing some GTK-something isn't presenting borders to your older window system properly.
I assume in your tests you have been making fresh installs. I was going to suggest trying a 'clean' install, in case the spare .so files from the v270 were confilcting with the v271, but if a fresh extract doesn't work either, that can't be true.
I do not know much about Linux, and I know less about Mint. Are they bringing out a new version based on the new Ubuntu? Do my thoughts on this likely being an old and new Ubuntu conflict sound reasonable?
I believe I know a Mint user who runs hydrus from source. If you are comfortable running pip a bunch of times, you could try this yourself as well. You already have wx, and that is usually the biggest pain. Here is the guide:
http://hydrusnetwork.github.io/hydrus/help/running_from_source.html
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.7010
>>7008
Hey, >>6995 here. I have the same 'default:xdg-open "%path"' and stuff as >>7000, I didn't try all those things they did.
I don't know where I can find an error log, but launching from terminal with ./client gives me:
>(client:8643): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion 'GDK_IS_WINDOW (window)' failed
a couple of times and then things like:
>(client:8583): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
>(client:8583): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
>(client:8583): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
>(client:8583): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
>(client:8583): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
literally hundreds of times, occasionally interrupted by the message:
> (client:8583): WARNING : Invalid borders specified for theme pixmap:
> /usr/share/themes/Mint-X/gtk-2.0/images/notebook/tab-top-active.svg,
>borders don't fit within the image
or:
> (client:8583): WARNING : Pixbuf theme: Cannot load pixmap file /usr/share/themes/Mint-X/gtk-2.0/images/notebook/notebook.svg: Couldn't recognize the image file format for file '/usr/share/themes/Mint-X/gtk-2.0/images/notebook/notebook.svg'
In response to your post:
- Yes I have been making fresh installs. Well, "install", I just download and extract.
- I don't know much about Mint either. Afaik it is based on Ubuntu. The thing with Mint is that they are always very slow to update anything. So your thoughts may be correct. But I don't know anything about computer stuff so there's that.
- I will try running from source and report back.
- Thanks for all your attention to this problem.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.7011
>>7010
>spoilers
There were double asterisks there, guess that's how 8chan does spoilers…
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.7012
>>7008
>>7010
I tried running from source and it worked. Though I got this error:
>libpng warning: iCCP: known incorrect sRGB profile
and this one
>(client.pyw:10820): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion 'GDK_IS_WINDOW (window)' failed
during startup, everything seemed fine, though a bit laggy. In the second launch the lag had disappeared, I have that sometimes with my pc.
Two comments about your guide:
1. I had to apt-get install python-dev to be able to pip install lz4 and psutil (and it might be needed for other packages too, Idk).
2. 'pip install package' will not upgrade an existing installation, you need to use 'pip install package –upgrade' for that.
My normal installation still doesn't work though.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.7013
>>7012
>– upgrade
this should be - and another - and then upgrade
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4d9f6b No.7014
>>7012
'open externally' works too on this install from source btw
(the media viewer still doesn't work though but that's unrelated to this)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
185b14 No.7027
>>6996
>>6997
The new option for not showing the 404 and dead marker doesn't seem to improve this.
When the old session is loaded, all the tabs have their old names, but as they initialize, they change name to "[dead] Thread Watcher"
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
933bd5 No.7030
>>7010
>>7012
>>7014
Hey, it's the other Mint user here. My error messages when running the tarball were slightly different, but the program seems to run correctly (correct icons, checkboxes work, open externally works) from source.
Running from source is a bitch on Mint. In addition to the BS that >>7012 did, I had to have pip upgrade lz4 after installing it or else it would fail to import lz4.block because _reasons_. I also had to sudo -H pip install a few of those modules. I didn't even know sudo _had_ flags, I always thought that the only arguments it takes are other commands.
Just an FYI, Mint 18 is pretty damn close to Ubuntu 16.04. If we're having trouble, they're probably having trouble. 18 seems to diverge a bit more from its Ubuntu base than earlier Mints did, but it's probably still close enough.
How exactly do you build the Linux version? I don't see a makefile or anything. Is it something I can do and share with my Mintian brothers?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
45328a No.7032
>>7030
>How exactly do you build the Linux version? I don't see a makefile or anything. Is it something I can do and share with my Mintian brothers?
What do you mean? Have you downloaded and unpacked the source .zip or .tar.gz? Open terminal and cd to the directory that it is opened in, then just do python client.pyw, that's all there is to is (at least that worked for me). If you want to be able to open it from anywhere just make an alias.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
45328a No.7033
>>7032
>the directory that it is opened in
I meant the directory that you get when you open the compressed thingy sorry.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
933bd5 No.7034
>>7032
I haven't tested yet, as my hydrus folder is backing up, but I would assume that copying the source install over the old hydrus install wouldn't work right. I would guess that all of the so files in the regular hydrus folder would mask your system's shared objects. Yes, it can be fixed with one terminal command, but there are a bunch of other subdirectories which might give similar issues.
Also, when running from source the client would occasionally hang up for a few seconds. On the regular Linux install, I rarely see that except when I've been running hydrus for several days straight, trying to download all files from a huge tag on Gelbooru. Maybe it's just coincidence, but even if it's not, if I can make it easier for people to use Linux by taking literal seconds out of my week to run a single script or two, I don't see why I shouldn't do it if it's that fast.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
50ea95 No.7041
>>7012
Thanks. These sRGB ash GDK_BLAH errors are what I normally see when I run from source. There are a few of these lingering issues on each platform. I am not sure which of them are my fault and which are down to the libraries, but I'm generally deprioritising them until they cause a real problem.
If your source works good, I encourage you to keep using it, and maybe try the built release again when Mint next updates. The other Mint guy I knows just gets the source straight from git and is able to update every week in like three seconds. Thank you for the notes on the extra apt-get and pip stuff.
>>7027
I am afraid I do not have a fix for this yet. The custom names will be overwritten for now.
>>7030
>>7032
>>7033
>>7034
Yeah, this shit is an unending headache for me as well. I can appreciate there are many different players involved who all have different interests, but sometimes I wish pip and the other stuff had some 'just make it work, would you?' options, or maybe even, shock horror, a gui.
I build using PyInstaller. This basically wraps the code up into an exe with a python environment and all the required dlls. It is magic on a level far deeper than I understand, but it is generally pretty good at its job. Given the various reports I have now had, I presume the virtual environment it is running in is now the cause of the problem xdg calls in some people's Linuxes. I have a build script I run every week that does some environment specific stuff like copying the statis folders into the build and wrapping it all up into a correctly named archive and so on. The magic line to run is:
pyinstaller --windowed --hidden-import appdirs --hidden-import six --hidden-import packaging --hidden-import packaging.version --hidden-import packaging.specifiers --hidden-import packaging.requirements --name="client" hydrus/client.py
Your hidden import stuff may be different–that's just what I have found I need.
I cannot say with any great authority (it works on Windows, at least), but I think you can run from source in a normal install without any conflicts. I include the .py files (and the include folder) in the normal releases for this exact reason–you can either run the exe or the script as you like. Python on its own won't look for the .so files like the exe would–it'll look for a .pyd or something in your local python's site-packages or whatever, and that'll eventually go back to your system .so stuff as per normal.
I am interested if you discover otherwise though! I do like this stuff, even if it isn't my natural environment and can be a trudge at times.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
45328a No.7051
>>7041
>I build using PyInstaller. This basically (…) per normal.
I must admit I don't understand anything about what it means to "build" it… I just executed the client.pyw script from the source zip with python… is that a bad idea?
I tried doing the same in the hydrus network folder you get from a normal install, and I got this error:
~ $ python client.pyw
Traceback (most recent call last):
File "client.pyw", line 13, in <module>
from include import HydrusData
File "~/Pictures/hydrus network/include/HydrusData.py", line 8, in <module>
import HydrusSerialisable
File "~/Pictures/hydrus network/include/HydrusSerialisable.py", line 2, in <module>
import lz4.block
ImportError: No module named block
My lz4 version is 0.10.1. If I try to import lz4 in a normal python shell, I can just do things like "from lz4 import block" or "import lz4.block" and I don't get error messages.
So this is a bit odd.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7e7327 No.7052
>>7041
When you have the time to look into it those libpng warnings are due to the fact that the static files for the icons of flash, pdf and zip media have ICC Profiles that libpng (which I assume is a dependency of either OpenCV or Pillow) doesn't like. Best bet if you'd like to avoid the warning would be just to strip the profile from those PNGs. Of course this doesn't solve the problem of wild PNGs imported to hydrus throwing the same warning but meh, it doesn't mean much anyway.
Here's a bit more detail on it:
https://wiki.archlinux.org/index.php/Libpng_errors
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
933bd5 No.7059
>>7041
Pics spoilered due to very NSFW thumbnails
All upcoming information comes from 277, since I have both the source and executable archives already downloaded.
Copying the source files over my old install doesn't work, but if I delete the old .so files in the main hydrus directory everything I've tested works as expected (this hold true for 278 as well).
Pyinstaller build from source mostly works (details below), but only if I copy the contents of the dist/client/ folder over either the source archive or the executable archive. Otherwise, it complains about missing icons and won't start.
I just tried a PyInstaller build of 277 (since I have both the source and executable archives already downloaded). It's still weird, but it works a hell of a lot better than the regular Linux executable, though not as well as running straight from source. The default xdg-open from Hydrus still opens in WINE IE, but manually setting image/jpeg (probably the others too) to xviewer will make it work right. Granted, some of xviewer's icons don't render if I do that, but that's probably xviewer's problem and not yours. Most UI elements render as expected, and checkboxes function again. File open icons are still using the weird ones I mentioned earlier. Duplicate processing no longer appears on the right click menu, for some reason. AFAICT, there's no way to set duplicate relationships with the build I just made, though the duplicates search page appears to function as expected. The dupe processing filter may work, but I have no idea how to control it. I got a few errors during the build, posting them below. I'll try to make a Mediafire account or something and post an alternate Linux build in the new version release threads (hence the tripcode).
cfalcon@House-of-Hype ~/.hydrus $ pyinstaller --windowed --hidden-import appdirs --hidden-import six --hidden-import packaging --hidden-import packaging.version --hidden-import packaging.specifiers --hidden-import packaging.requirements --name="client" hydrus-277/client.py
81 INFO: PyInstaller: 3.3
81 INFO: Python: 2.7.12
81 INFO: Platform: Linux-4.8.0-53-generic-x86_64-with-LinuxMint-18.2-sonya
83 INFO: wrote /home/cfalcon/.hydrus/client.spec
85 INFO: UPX is not available.
86 INFO: Extending PYTHONPATH with paths
...
14197 INFO: Processing pre-find module path hook site
14197 INFO: site: retargeting to fake-dir '/usr/local/lib/python2.7/dist-packages/PyInstaller/fake-modules'
22114 INFO: Loading module hooks...
...
22150 INFO: Removing import of PyQt4.QtCore from module PIL.ImageQt
22150 INFO: Loading module hook "hook-wx.lib.activex.py"...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/activex.py", line 35, in <module>
import ctypes.wintypes as wt
File "/usr/lib/python2.7/ctypes/wintypes.py", line 19, in <module>
class VARIANT_BOOL(_SimpleCData):
ValueError: _type_ 'v' not supported
22243 INFO: Loading module hook "hook-lxml.etree.py"...
...
23287 INFO: Loading module hook "hook-setuptools.py"...
23288 WARNING: Hidden import "setuptools.msvc" not found!
23288 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
933bd5 No.7060
Forgot to post images. This is what Hydrus looks like when I build it and copy+paste the output folder over the extracted source and executable folders. Again, very NSFW thumbnails from the test DB I pulled from Gelbooru.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
45328a No.7063
If I download a picture from e.g. danbooru then the source url is not https.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
50ea95 No.7069
>>7063
Some of the defaults are old and have not been updated to reflect https yet. I am not sure if danbooru has been updated yet, but I will check.
In any case, please go services->manage boorus then select danbooru and change the search url to 'https'. Just add the 's', hit ok, and it should thereafter fetch https urls. I just tested this on my own cleant and it seems ok, but let me know if it gives you any trouble.
>>7052
Thanks, this is really helpful. I will put some time aside to sort this out.
>>7059
>>7060
Yeah–there may be ways to inform pyinstaller about non-python stuf like the 'static' and 'help' folders that you eventually want in the build directory, but I just copy it over in a script in the same way. Make sure you don't ever copy a real database into your empty build db directory–I almost completely fucked myself once doing that.
Could the duplicate stuff be that you are not in advanced mode (help->advanced mode)? New clients won't start in advanced.
I get similar errors when I build. There are ten kinds of voodoo that pyinstaller has to do to get OS-specific stuff to work, and it logs all the problems it finds. So far, my rule has been that if it boots on the other side, I won't complain.
Grats for figuring this out, and thanks again for making your release available.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
933bd5 No.7070
Just for shits and giggles, I tried manually setting the open externally program to xdg-open. Didn't fix anything, but I didn't expect it to.
>>7069
As it turns out, not being in advanced mode is exactly why dupe processing didn't work.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
45328a No.7076
>>7069
>services->manage boorus
Thanks that worked !
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9c6776 No.7221
Not sure if file error or hydrus error, but file related gives me an unsuported mime error.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
612f2f No.7259
found a tiny bug
in this window, if you remove a tag by double-clicking it, the text below doesn't update
if you click the delete button, it does
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9151f3 No.7261
With version 282, the main GUI (search, sort, tags) is resetting in size on each new tab. I changed no settings. This is also new behavior, and I also realize I have no clue how to edit the GUI elements, the changes I'm making don't effect the GUI options menu.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9151f3 No.7266
>>7261
this started working again, must have something to do with running off an external.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7b7a2c No.7276
Don't know if this is a real bug or i3 beeing stupid but when hydrus starts I get these boxes, one for each tab I have open. They work normally (I can modifiy what filters apply to the different tabs) but its really annoying. When I used hydrus on Windows these boxes would appear but would dissapear once hydrus was fully loaded.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b0bd81 No.7286
>>7221
Thank you for this example. This is a 'ZWS' flash file, or one that is compressed with an unusual flavour of LZMA. I have tentatively patched the flash parsing library I use to decompress the header and this file now seems to import. It reckons (800x600, 1.7s, 50 frames), which seems reasonable for a game. Please let me know if you still have trouble or if you find any other flash files that will not import. I am not sure I have the LZMA stuff pinned down.
>>7259
Thank you for this report. This should be fixed for tomorrow's release.
>>7261
>>7266
Some of the main gui size preference code is a bit old. The 'splitter' positions are only remembered from the current page on client exit, if I remember right. This may be what was happening here.
Let me know if you discover more here, in any case.
>>7276
I have not had much success with Linux and 'floating' windows. It sounds like you've transferred over, but a fresh non-Windows client defaults to 'embed' these dropdowns to avoid the problem. Please check options->gui->always embed a/c dropdown results window and restart the client.
The 'hover' windows in the media viewer can also flicker and move offscreen in some Linux window managers. There's a BUGFIX option on the same options page to just have them display all the time if you get this.
Let me know how you get on. I've bashed my head against this stuff several times, but if there's some interesting new behaviour or clues on what is going, I'm willing to have another go.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
203c6a No.7290
>>7286
>Please check options->gui->always embed a/c dropdown results window and restart the client.
That solved it, thanks!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
34ce87 No.7372
I just upgraded to 284 (MintTeaFresh's Linux build). Hydrus then checked 3 of my booru subscriptions, and declared all of them dead. Two of them haven't found new images in over a year, so that's not surprising, but one grabbed something less than a month ago.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b0bd81 No.7395
>>7372
Can you please check the respective subscription's 'edit check timings' button? Any subs that updated from the old system got different 'dead' timings based on the old static subscription period. It may be that has 'dead of < 1 file per 14 days' or something.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5f1597 No.7399
It seems like related tags isn't working right anymore. Now it just seems it picks a random image it knows and suggests all the tags from that image now.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b0bd81 No.7422
>>7399
I don't think I changed any of that code. It has never been excellent, particularly if the search distances in options->tags are short. What happens if you open manage tags over and over on the same file–do you get substantially different results every time? What if you click the 'thorough' button? If so, you might like to try bumping up the search time, as your mappings have probably expanded and it might not be searching the whole search space deep enough to get good results.
Can you go into any more depth on the sorts of bad results you are getting? Different 'sample' tags on the file work better than others. Also, some big tags (like 'series:touhou') have such a large imprint on the db that they can muddy any other specificity. A future iteration of the system could add weights on input/output tags based on 'usefulness', although I am not sure what that exactly means in statistical terms atm.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f6e741 No.7433
Database Traceback (most recent call last):
File "/include/HydrusDB.py", line 523, in _ProcessJob
result = self._Read( action, *args, **kwargs )
File "/include/ClientDB.py", line 7985, in _Read
elif action == 'media_results_from_ids': result = self._GetMediaResults( *args, **kwargs )
File "/include/ClientDB.py", line 5076, in _GetMediaResults
hash_ids_to_hashes = self._GetHashIdsToHashes( hash_ids )
File "/include/ClientDB.py", line 4900, in _GetHashIdsToHashes
( hash, ) = self._c.execute( 'SELECT hash FROM hashes WHERE hash_id = ?;', ( hash_id, ) ).fetchone()
TypeError: 'NoneType' object is not iterable
I imported a file without a hash. Things broke.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bb68ee No.7435
latest download, on linux, specifically slackware. every few minutes this happens.
DBException
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 55-56: ordinal not in range(256)
Traceback (most recent call last):
File "include/HydrusThreading.py", line 146, in run
self._callable( self._controller )
File "include/ClientDaemons.py", line 46, in DAEMONCheckImportFolders
import_folder = controller.Read( 'serialisable_named', HydrusSerialisable.SERIALISABLE_TYPE_IMPORT_FOLDER, name )
File "include/HydrusController.py", line 370, in Read
return self._Read( action, *args, **kwargs )
File "include/HydrusController.py", line 120, in _Read
result = self.db.Read( action, HC.HIGH_PRIORITY, *args, **kwargs )
File "include/HydrusDB.py", line 846, in Read
return job.GetResult()
File "include/HydrusData.py", line 1774, in GetResult
raise e
DBException: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 55-56: ordinal not in range(256)
Database Traceback (most recent call last):
File "include/HydrusDB.py", line 523, in _ProcessJob
result = self._Read( action, *args, **kwargs )
File "include/ClientDB.py", line 8004, in _Read
elif action == 'serialisable_named': result = self._GetJSONDumpNamed( *args, **kwargs )
File "include/ClientDB.py", line 5031, in _GetJSONDumpNamed
return HydrusSerialisable.CreateFromSerialisableTuple( ( dump_type, dump_name, version, serialisable_info ) )
File "include/HydrusSerialisable.py", line 100, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "include/HydrusSerialisable.py", line 156, in InitialiseFromSerialisableInfo
self._InitialiseFromSerialisableInfo( serialisable_info )
File "include/ClientImporting.py", line 1951, in _InitialiseFromSerialisableInfo
self._path_cache = HydrusSerialisable.CreateFromSerialisableTuple( serialisable_path_cache )
File "include/HydrusSerialisable.py", line 100, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "include/HydrusSerialisable.py", line 153, in InitialiseFromSerialisableInfo
( version, serialisable_info ) = self._UpdateSerialisableInfo( version, serialisable_info )
File "include/ClientImporting.py", line 3334, in _UpdateSerialisableInfo
if os.path.exists( seed_text ):
File "genericpath.py", line 26, in exists
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 55-56: ordinal not in range(256)
Database Traceback (most recent call last):
File "include/HydrusDB.py", line 523, in _ProcessJob
result = self._Read( action, *args, **kwargs )
File "include/ClientDB.py", line 8004, in _Read
elif action == 'serialisable_named': result = self._GetJSONDumpNamed( *args, **kwargs )
File "include/ClientDB.py", line 5031, in _GetJSONDumpNamed
return HydrusSerialisable.CreateFromSerialisableTuple( ( dump_type, dump_name, version, serialisable_info ) )
File "include/HydrusSerialisable.py", line 100, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "include/HydrusSerialisable.py", line 156, in InitialiseFromSerialisableInfo
self._InitialiseFromSerialisableInfo( serialisable_info )
File "include/ClientImporting.py", line 1951, in _InitialiseFromSerialisableInfo
self._path_cache = HydrusSerialisable.CreateFromSerialisableTuple( serialisable_path_cache )
File "include/HydrusSerialisable.py", line 100, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "include/HydrusSerialisable.py", line 153, in InitialiseFromSerialisableInfo
( version, serialisable_info ) = self._UpdateSerialisableInfo( version, serialisable_info )
File "include/ClientImporting.py", line 3334, in _UpdateSerialisableInfo
if os.path.exists( seed_text ):
File "genericpath.py", line 26, in exists
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 55-56: ordinal not in range(256)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bb68ee No.7438
>>7435
also, hydrus seems to crash alot when minimized during these errors.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
34ce87 No.7439
>>7395
Thanks, it looks like it'll behave again if I play around with those settings.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b0bd81 No.7473
>>7433
I am sorry you are having this problem. Can you explain more what lead up to this? Was this a normal file import that somehow has broken things, or did you import a file by interacting with the database directly with a SQL program? Every file should have a hash.
Have you recently had any power outages or hard crashes of the client during importing?
>>7435
>>7438
Thank you for this report. I am sorry for the inconvenience. Please hit services->pause->import folders for now. This will stop the error from spamming you. I will look into the traceback and try to fix the error for next week. Please try unpausing your import folders then and let me know if it works again.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b5ad03 No.7476
>>7473
error spam continues if I pause and unpause.
also, I think I may have mistook >>7438 for hydrus closing because of inactivity. the spam is still annoying though.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f6e741 No.7477
>>7473
>>7433 here
I'm not 100% sure what happened (only discovered it when a search failed) but I think my computer suspended/went to sleep while hydrus was importing a file causing an entry to be made without a hash included.
Checking database integrity found no problems. A quick file integrity check "corrected" the problem but that led to another issue where majority of new imports were failing because the db says it had already deleted that file from the db.
In the end it's not a big deal. I've created a fresh db.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f5d4d4 No.7519
Sometimes I turn off my remote file/tag server. If I accidentally try to manage the service, Hydrus becomes unresponsive and I have to wait for the connection to timeout to be able to do anything.
It's low priority, since it eventually recovers, but it would be nice to have a way to cancel the connection. Additionally, is the connection attempted on a separate thread? Why does the UI freeze?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
fbbd20 No.7542
Hello dev.
When you map a 'tag' on 'namespace:tag' with tag sibling service,you can't find pics with 'namespace:"anything"'.
For example when you map 'kiniro mozaic' on 'series:kiniro mozaic',
pics appear with 'series:kiniro mozaic' but they don't appear with 'series:"anything"'.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f99a0b No.7559
If you right-click a collection of files and choose "open externally" or "share->open->in file browser" you'll get a FileMissingException:
FileMissingException
No file found at path + C:\Users\ANONYM~1\HYDRUS~1.ONL\HYDRUS~1\db\client_files\f9e\9e9129364271ee790f1a7cd078ee3f8335ff76bee768f42f0f6b971ab301ee04.collection!
File "include\ClientGUIMenus.py", line 122, in event_callable
callable( *args, **kwargs )
File "include\ClientGUIMedia.py", line 947, in _OpenFileLocation
path = client_files_manager.GetFilePath( hash, mime )
File "include\ClientCaches.py", line 995, in GetFilePath
return self.LocklessGetFilePath( hash, mime )
File "include\ClientCaches.py", line 1057, in LocklessGetFilePath
raise HydrusExceptions.FileMissingException( 'No file found at path + ' + path + '!' )
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2fdcec No.7561
not really a bug anyone will find unless you're adding your own mods to the source
in thread watcher page -> tag import options: the default namespaces (i.e. filename checkbox) are hardcoded and are not being pulled from ClientDefaults.GetDefaultNamespacesAndSearchValue()
where as in file -> options -> default tag options -> add/edit -> thread watcher: the namespaces are pulled from the defaults
to repro:
edit ClientDefaults.py line 372 and add another namespace
e.g.: namespaces = [ 'filename', 'title' ]
file -> options -> default tag options -> add/edit -> thread watcher : there are two checkboxes (filename and title)
thread watcher page -> tag import options : only one checkbox (filename), should be two
From 320573c024a8a3366df802a72942a844471a1a45 Mon Sep 17 00:00:00 2001
From: Anonymous <anon@anon.com>
Date: Tue, 26 Dec 2017 01:08:38 +1100
Subject: [PATCH] Unhardcoded namespace list in tag import options popup on the
thread watcher page
---
include/ClientGUIManagement.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/ClientGUIManagement.py b/include/ClientGUIManagement.py
index f0095f8..5d57742 100755
--- a/include/ClientGUIManagement.py
+++ b/include/ClientGUIManagement.py
@@ -2080,8 +2080,10 @@ class ManagementPanelImporterThreadWatcher( ManagementPanelImporter ):
( thread_url, file_import_options, tag_import_options ) = self._thread_watcher_import.GetOptions()
+ ( namespaces, search_value ) = ClientDefaults.GetDefaultNamespacesAndSearchValue( ClientDownloading.GalleryIdentifier( HC.SITE_TYPE_THREAD_WATCHER ) )
+
self._file_import_options = ClientGUIImport.FileImportOptionsButton( self._thread_watcher_panel, file_import_options, self._thread_watcher_import.SetFileImportOptions )
- self._tag_import_options = ClientGUIImport.TagImportOptionsButton( self._thread_watcher_panel, [ 'filename' ], tag_import_options, self._thread_watcher_import.SetTagImportOptions )
+ self._tag_import_options = ClientGUIImport.TagImportOptionsButton( self._thread_watcher_panel, namespaces, tag_import_options, self._thread_watcher_import.SetTagImportOptions )
#
--
2.8.0.windows.1
i dont know if devbro likes patches or not but i find them easier for communicating and i hope it makes it easier for devbro to write his own patch
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2fdcec No.7562
>>7559
tried running database -> check -> file integrity and seeing if any of your files are actually missing?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a212fd No.7599
Got some sort of weird bug here. Might be unrelated but previous database checks have shown I was missing a file, but I had no idea how to find it in the db. So today I import and following a speculative similar search I get this file which I can't delete/inbox/archive or open in the media viewer, but I am able to modify tags. Unfortunately, searching for any unique tags I add to that file in order to keep track of it acts as if those tags don't exist.
I know the system sort of acts like this if you search across all known files (so files that may not actually be in your db) but this only happens for this one search for this one file, and it is still set to only search my files. Not sure how to go about removing this thing.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1a4bc No.7634
2018/01/06 11:18:08: Exception:
2018/01/06 11:18:08: AttributeError
'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
File "/opt/hydrus/include/HydrusThreading.py", line 242, in run
callable( *args, **kwargs )
File "/opt/hydrus/include/ClientRendering.py", line 402, in THREADRender
frame = GenerateHydrusBitmapFromNumPyImage( numpy_image, compressed = False )
File "/opt/hydrus/include/ClientRendering.py", line 25, in GenerateHydrusBitmapFromNumPyImage
( y, x, depth ) = numpy_image.shape
AttributeError: 'NoneType' object has no attribute 'shape'
when trying to open one webm
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
51d774 No.7642
The default regex for "E:\my collection\author name - v4c1p0074.jpg -> author name" seems to be broken, at least in v287
>[^\\]+*(?=\s-)
Gives a "multiple result" error, and regexr.com just says error.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7665
>>7519
I am always overwhelmed with things to do, so a lot of my code has been thrown together just to get something going. I don't always have great ui behaviour when things go wrong. It is a long-term project to rewrite older parts of the program to behave more neatly and put potentially blocking sections like this on their own thread. Thank you for reporting this–I will make a job to put some time into it.
>>7542
Thank you for this report. This is an interesting problem–a lot of the siblings and parent code is still first-version prototype and is basically magic tricks to make you think at the gui level that tags are one thing while the db retains the original truth of what they are. as a result, some db-level search code doesn't have a special hook to compensate. I will check the *anything* search code out to see if I can slip in easy siblings support, but if it is super complicated, it will have to wait for the next iteration over the whole siblings and parents system, which will likely extend sibling and parent awareness to a new db cache layer that can be efficiently searched without a bunch of CPU checking these links.
>>7559
Thank you for this report. This is fixed for v289–let me know if it gives you any more trouble.
>>7561
Thanks for this interesting report. I have done exactly as you suggest.
The whole shebang will be replaced in the downloader overhaul, with the namespace list being populated by what the parsing scripts say they support and everything running off the same system, so this will all disappear anyway in a bit. It sounds like you'll be well able to create your own parsing scripts when all that happens, so let me know if the new thread watcher parsing stuff doesn't do what you would like as I roll it out.
>>7599
Thank you for this report. There seems to be some kind of problem syncing files being deleted and similar file information in the duplicate search tree. Some other users have noticed this same 'file is remote, but shouldn't be seen in this local-file-only search context' after doing some dupe filtering.
I think I have identified how these spurious results are appearing, if not the cause. It might have been old code that I more recently fixed, so some users just have some orphans hanging around. In any case, running database->regen->similar files search tree in v289 should clear these bad results out. Please run it when convenient and let me know if this search still produces the bad result, and if these bad results reappear at all.
>>7634
Thank you. It looks like the client is having trouble rendering the first frame of that video, which is unexpected as it must have imported ok at one point, which would have needed the first frame to generate the thumbnail. I have improved this error text, but can you post/link/send me the webm so I can check it out on my end?
If you go help->about, what version of ffmpeg do you appear to have?
>>7642
Thank you. That looks like a typo. I updated some of this stuff recently, so I think I must have copied something wrong. I have corrected the default for new users, but you will have to fix it yourself with the 'manage favourites' part. I think this will do the job:
[^\\]+(?=\s-)
i.e. Just take out the asterisk and you should be good.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
fa6c64 No.7672
So I took a pause from hydrus, due to moving computers (Debian to Antergos/Arch). Today I decided I wanted to migrate, and obviously I run into a heap of bugs. Stuff I've noticed while attempting to fix my database:
- Crash on launch when one or two of client.mappings.db, client.master.db or client.db are missing. An error message would be nice.
- The database assumes thumbnails being in a specific location, when the custom thumbnail locations are specified. I needed to set all locations in client_file_locations to "client_files", and overwrite my options value, before it would work.
- The cache is awfully fragile. Some cache tables are not automatically regenerated if not found. Some can be manually created in the database menu, but at least one of them (shape_vptree) are deadlocked. (See below)
- I get notifications about some "BetterListCtrl" being deleted now and then. Not sure what that is about. (Again see below)
Traceback (most recent call last):
File "include/HydrusDB.py", line 527, in _ProcessJob
result = self._Write( action, *args, **kwargs )
File "include/ClientDB.py", line 10699, in _Write
elif action == 'regenerate_similar_files': result = self._CacheSimilarFilesRegenerateTree( *args, **kwargs )
File "include/ClientDB.py", line 1835, in _CacheSimilarFilesRegenerateTree
self._c.execute( 'DELETE FROM shape_vptree;' )
OperationalError: no such table: shape_vptree
RuntimeError
wrapped C/C++ object of type BetterListCtrl has been deleted
File "include/ClientGUIListCtrl.py", line 1193, in EventContentChanged
self._UpdateButtons()
File "include/ClientGUIListCtrl.py", line 1132, in _UpdateButtons
if enabled_check_func():
File "include/ClientGUIScrolledPanelsReview.py", line 1349, in _FileLocationSelected
locations = self._current_media_locations_listctrl.GetData( only_selected = True )
File "include/ClientGUIListCtrl.py", line 807, in GetData
indices = self._GetSelected()
File "include/ClientGUIListCtrl.py", line 593, in _GetSelected
i = self.GetFirstSelected()
File "wx/core.py", line 2715, in _ListCtrl_GetFirstSelected
File "wx/core.py", line 2722, in _ListCtrl_GetNextSelected
Good luck. Love your work.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
fa6c64 No.7673
>>7672
I fixed the cache issue and the BetterListCtrl issue by creating an entirely new database, and copying the fresh client.caches.db over into my old database.
I realize that deleting the client.caches.db is pretty fucked up, but would be pretty nice if a fresh one was automatically generated. (Or a button somewhere to do it.)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1e0722 No.7675
>>7665
>I think I have identified how these spurious results are appearing, if not the cause. It might have been old code that I more recently fixed, so some users just have some orphans hanging around. In any case, running database->regen->similar files search tree in v289 should clear these bad results out. Please run it when convenient and let me know if this search still produces the bad result, and if these bad results reappear at all.
No dice, still shows up. Not a big deal, I was just worried my db was screwed up somehow
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7682
>>7672
Thank you for this info. I have saved it and will see about improving cache regen and so on when I next work on db recovery stuff.
Just for my general info: Do you happen to remember approx what version you were updating from? Are we talking a ten week gap or a year+ gap? Did you go in one jump, just installing the latest version, or did you do smaller hops? Did that overall update process work ok?
The BetterListCtrl stuff is a bug from this week's v288, which involved a big ui update. I have it fixed for tomorrow.
>>7675
Thanks. Please try again in tomorrow's v289 release whenever is convenient, and I think you'll be good.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
fa6c64 No.7688
>>7682
I think it was 10-15 weeks worth of versions, I updated all at once, and it looked like it worked nicely.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
448c96 No.7692
??
on managing a file's tags
the "file lookup scripts" clicking fetch tags i get
TypeError
TIMERUIUpdate() takes exactly 2 arguments (1 given)
Traceback (most recent call last):
File "include\ClientGUI.py", line 3239, in TIMEREventUIUpdate
window.TIMERUIUpdate()
TypeError: TIMERUIUpdate() takes exactly 2 arguments (1 given)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7693
>>7692
Thank you, this should be fixed in today's release.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1a4bc No.7694
When my disk is full, and I got error, because hydrus cannot save the file on the disk, and then I move some hydrus files to another disk(with bultin function) and redownload not saved files only thumbnails are viewable. I'm getting errors like this one:
IOError: cannot identify image file <open file u'/path/hydrus/fff/ffd911b8b2e44a0d94f6463ac0084f929dc6cccd2ab7f91d96372ed887889376.png', mode 'rb' at 0x7f4fd3b29db0>
I'm deleting and redownloading files as an avoidance, but it's pain in the ass.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1a4bc No.7695
>>7694
If you are lucky, you can end with half downloaded, broken image. If you are not, the image will not load.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c082d8 No.7713
2018/01/12 22:26:05: hydrus client started
2018/01/12 22:26:13: booting controller...
2018/01/12 22:26:13: booting db...
2018/01/12 22:26:13: preparing disk cache
2018/01/12 22:26:18: preparing db caches
2018/01/12 22:26:18: booting db...
2018/01/12 22:26:18: initialising managers
2018/01/12 22:26:38: booting gui...
2018/01/13 00:21:22: shutting down gui...
2018/01/13 00:21:22: waiting for daemons to exit
2018/01/13 00:21:23: vacuuming main
2018/01/13 00:21:25: Vacuumed /home/user/hydrus-289/db/client.db in 1.7 seconds
2018/01/13 00:21:25: vacuuming external_master
[1] 20928 segmentation fault (core dumped) ./client.pyw 2> /dev/null
Hydrus crashes on shut down when doing maintenance. If I do the vacuuming manually, it doesn't crash anymore.
Running from source on Linux.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7714
>>7695
>>7694
Thank you for this report. I will make a job to look into better error handling for broken files, maybe some kind of popup with a question and possible solutions like 'retry download' or 'delete completely' rather than always making the user do it.
>>7713
Thank you, I will look into this.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
99ed92 No.7733
Could not create a thumbnail from that video!… (Copy note to see full error)
Traceback (most recent call last):
File "include\ClientImporting.py", line 4135, in _WorkOnFiles
( status, hash ) = HG.client_controller.client_files_manager.ImportFile( file_import_job )
File "include\ClientCaches.py", line 1007, in ImportFile
file_import_job.GenerateInfo()
File "include\ClientImporting.py", line 395, in GenerateInfo
self._thumbnail = HydrusFileHandling.GenerateThumbnail( self._temp_path, mime )
File "include\HydrusFileHandling.py", line 119, in GenerateThumbnail
raise Exception( 'Could not create a thumbnail from that video!' )
Exception: Could not create a thumbnail from that video!
When importing this file:
https://chan.sankakucomplex.com/post/show/3897585
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a129ad No.7734
why can't i get comic pages sorted by page number?
im using the "page:##" tag and the "title:xxxxxx" tag for all pages, the sort is all over the fucking place, some of the pages go in the right position, but others go wherever the fuck they please, even when i change the "sort by-" option, the result is that no matter what type of sort i end up with shit like 1, 2, 3, 4, 6, 8, 10, 11, 5, 7, 9 instead of proper numerical order
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
326554 No.7755
Just got a "program is not responding. reason: APPCRASH" when resuming Windows from hibernation.
Then after force-closing it through windows, the window stuck around like this for a few seconds.
This is all that's in client.log since yesterday. Doesn't look like anything relevant:
2018/01/18 21:10:21: Import folder import folder imported 1 files.
2018/01/19 02:10:27: Import folder import folder imported 1 files.
2018/01/19 10:37:06: hydrus client started
2018/01/19 10:37:06: booting controller…
2018/01/19 10:37:06: booting db…
2018/01/19 10:37:06: preparing disk cache
2018/01/19 10:37:11: preparing db caches
2018/01/19 10:37:11: booting db…
2018/01/19 10:37:11: initialising managers
2018/01/19 10:37:33: booting gui…
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
326554 No.7773
Attempting to import files (two pngs and a webm) from one particular folder produced this error:
WindowsError
[Error 6] The handle is invalid
Traceback (most recent call last):
File "include\HydrusThreading.py", line 242, in run
callable( *args, **kwargs )
File "include\ClientGUIDialogs.py", line 1148, in THREADParseImportablePaths
mime = HydrusFileHandling.GetMime( path )
File "include\HydrusFileHandling.py", line 275, in GetMime
if HydrusVideoHandling.HasVideoStream( path ):
File "include\HydrusVideoHandling.py", line 377, in HasVideoStream
lines = GetFFMPEGInfoLines( path )
File "include\HydrusVideoHandling.py", line 141, in GetFFMPEGInfoLines
proc = subprocess.Popen( cmd, bufsize = 10**5, stdout = subprocess.PIPE, stderr = subprocess.PIPE, startupinfo = HydrusData.GetHideTerminalSubprocessStartupInfo() )
File "subprocess.py", line 382, in init
File "subprocess.py", line 515, in _get_handles
File "subprocess.py", line 566, in _make_inheritable
WindowsError: [Error 6] The handle is invalid
Trying to import them again produced the same error message again
Restarting the client fixed it and I then imported them succesfully
The webm was pic related
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7808
>>7733
Thank you. I get the same problem with ffmpeg 3.4.1. It looks like ffmpeg is dumping out before delivering the first frame, which is what it usually does whenever it can't understand something.
What's odd is I was able to convert the file to a webm (attached), just by simply going:
ffmpeg a.webm -i a.png
And it isn't all corrupted or anything. I am not sure why ffmpeg can't handle converting this apng to a raw stream as the client wants (my other apngs are fine, so I am pretty confident the pipeline on my end is good), but I recommend either:
1. Keep the apng somewhere safe and try it again later. If this is a bug in ffmpeg, it may just magically work one day after I or you update the .exe in the build.
2. Use my webm here or make a better conversion to whatever standard and quality you like.
Or both.
EDIT: After looking closer at my webm, I see it is bad quality. I tried rendering it with higher quality, but ffmpeg always delivered the same 100KB washy mess. Maybe this is due to the same original weirdness that is causing the other render problem. If you know ffmpeg yourself or have a different conversion solution, you may have more luck. I recommend keeping this apng in a drawer for now. Thank you for the example–I will keep it in my 'busted files' folder and check up on it in future.
>>7734
Thank you for this report. I am afraid I cannot reproduce it. The 'sort by namespace' choice sorts from left to right, and my series-creator-title-volume-chapter-page and creator-series-title-volume-chapter-page defaults, 'title' comes before 'page'. This gives good page sort if every page in a group has the same chapter title of, say, 'title:going to the store', but if all your pages have different titles they will be sorted by title first.
If you go to the options->sort/collect page (which is a user-interface hellscape, I apologise), try typing 'page' at the bottom and hitting enter. All new pages should then have the single 'sort by page' dropdown entry. If you try this simple sort, does it work then?
If you commonly have paged files with individual titles, you might want to try adding a creator-series-volume-chapter-page sort type.
>>7755
Thank you for this report. This may have been one of the existing ui crashes that I am working on cleaning up, which could trigger on a sleep/wake event as certain objects are cleaned up. I apologise for the inconvenience. Please let me know if you continue to get this crash in future versions.
>>7773
And thank you for this report as well. I have not seen this before. It looks like the client was unable to launch ffmpeg (a video renderer it uses for apng detection and webm parsing) due to some OS issue. Basically, it says "Hey Windows, can you open ffmpeg.exe for me with these args?" and Windows says "No." for an unspecified reason.
A bit of searching suggests this can be caused by overzealous anti-virus. Could this be true in your case? Since it worked after a restart, maybe your client's process got locked or deprivileged or something while a scan was ongoing? Since hydrus is ghetto code, false positives of this sort are not uncommon, but I can't remember seeing the client exe able to boot but then unable to launch an exe in its subdir before.
If it happens again, please shift+right-click on your install_dir/bin folder and hit 'open command window here'. Then type 'ffmpeg' and hit enter (you might have to do '.\ffmpeg' if your Windows launches the powershell). Does it print a bunch of info about ffmpeg or another 'you can't talk to this right now' kind of error?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7809
>>7808
>>7733
Ah, that webm doesn't render in firefox. It was ok-ish in MPC. I guess that apng is just messed up and ffmpeg has a hard time dealing with it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1e0722 No.7813
>>7809
it don't work in chrome either lol
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1e0722 No.7814
>>7809
>>7813
And it insta crashes vlc
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
edf793 No.7818
>>7808
>>7809
>>7813
>>7814
To preserve quality with webms it's best to use the `-crf` flag in ffmpeg it attempts to keep a constrained quality through the file.
ffmpeg also sucks at handling apngs, this somewhat has to do with the fact that ffmpeg is meant for manipulating videos which have some sort of constant framerate whether it be 24fps or 30 or what have you. apng (and gif) works along the line of play this frame and then delay for 1s and then play this frame and delay for 0.1s leading to some loss of information when converting.
Here I just guesstimated the framerate and told ffmpeg that the input file is of that framerate, that's the `-r` flag, hence why it's before the `-i` flag. This still mangles the apng in some way as there was a 1.25s delay at the start of the file that gets left out due to this constant framerate.
ffmpeg -r 12 -i a.png -crf 31 -b:v 0 a.webm
The webm doesn't play in firefox because ffmpeg defaults to the VP9 codec which apparently firefox doesn't support yet? You can force using VP8 using `-c:v vp8`.
ffmpeg -r 12 -i a.png -crf 31 -b:v 0 -c:v vp8 a.webm
In other words, fuck video and "animated images".
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
367a29 No.7896
My client doesn't boot :( I tried a new install but the error is the same. Joined here is the client_debug.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
abf0c7 No.7919
I've encountered a bug with the danbooru parser today:
The parser will automatically stop if it can't find any image on a page, but since default danbooru searches have blank placeholder items for deleted posts, it's possible that all images on a page are deleted and the parser will stop despite there being pages left. And that's exactly what happened to me.
Of course, this bug can be prevented by adding "-status:deleted" to the search query for now, but without it you might encounter this bug in any query.
Furthermore, banned posts might be affected, too.
And while "-status:deleted" doesn't count towards the maximum of two tags, "-status:banned" does.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7923
>>7818
Thank you for this information.
Maybe some experts in the industry should get together and make a single future-proof standard that would cover all these unusual situations? :^)
>>7896
Hey, I am sorry you are having trouble.
Have you been able to run hydrus before, or has this error just started with this version?
This error means one of the libraries I use is having trouble importing some dll or similar from your system. I looked at the line it is complaining about, and it looks like it bugged out at a character in your PATH or home directory. I've seen a similar problem to this before a few times with a different library.
Do you have a unicode or unusual accent character in your username? Is your home directory like:
C:\users\(name with unusual character)
Or do you have any unusual characters in your PATH environment variable? (search this term to see how to look it up, if you do not know–but do not edit it unless you know exactly what you are doing!)
If this is the case and you know you can change or remove the offending path without breaking anything, that is the fix. If you cannot change it, unfortunately python2 cannot deal with this situation, so you would have to put hydrus on a different computer to get it to run. I expect to update to python3, which does not have this limitation, sometime this year.
>>7919
Thank you, this is useful and interesting. There is not a good fix for this in the current downloading engine, but the new one that I am currently putting together will explicitly look for 'next page' links and will be able to detect 'no results found' results better than just counting up what it finds.
I will keep this danbooru stuff in mind as I put it together.
What is the point of displaying deleted and banned placeholders to users? Does danbooru allow conversation about ban decisions or something, or is it just some cost-saving measure so they don't have to regen their caches?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1f4534 No.7930
>>7923
>What is the point of displaying deleted and banned placeholders to users?
A bit confusing, but "deleted" posts are actually just hidden, so the placeholders are there to show that some of the posts on the page are hidden.
You can still browse through "deleted" posts by adding "status:deleted" to your query and it doesn't even count towards the maximum of two tags.
It's also possible to appeal a deletion.
I guess they only actually delete submissions if the content is illegal.
But there are two other groups of content that only show a placeholder: Censored posts and banned posts. Censored posts include the loli, shota and/or toddlercon tags and can still be viewed with a gold account (or as a "Builder").
Banned posts are posts by banned artists (artists who requested their art to be removed).
This is the only group of hidden posts that actually seems to be gone for good.
I can think of a few reasons why they would keep the placeholders: The possibility that the artist changes their mind or just as a notification, so that the user could try to get it from the official source. In any case, at least the tags of banned posts are still there for some reason.
There's also possibly a fourth group: Some blacklisted tags are toggled by default (e.g. the "spoilers" tag), but I'm not sure if this affects the parser.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
326554 No.7939
Crash report.
client - 2018-2.log contains nothing since I updated to 292 yesterday.
Hydrus was just sitting in the background and I wasn't interacting with it, though a minute or so earlier I had added tags to some files in the inbox.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
fed29c No.7945
>>7923
You were right, moving the folder to a location without unicode fixed the issue and helped me boot.
And yes, it worked before but I hadn't used Hydrus in a few months. Sadly, I've got another issue on my hands now. I was able to use Hydrus once, but I can not start it again. This is the issue I get when trying to use Hydrus. Looks like the error is with my database, I think it closed normally the last time I used Hydrus, but I might be wrong.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7950
>>7808
>>7733
>>7813
>>7814
>>7818
Ok, I fixed this for tomorrow's release. Turns out ffmpeg can't do "-ss 0.000" (i.e. 'scan to the beginning') for some apngs. I've removed this redundant parameter and the import now works.
For interest, the typical ffmpeg call hydrus makes is:
[ffmpeg path] -ss 0.000 -i [file path] -loglevel quiet -f image2pipe -pix_fmt rgb24 -s 200x200 -vsync 0 -vcodec rawvideo -
Essentially, 'gimme that video as raw RGB to stdout, thanks.' The 200x200 size here is for the initial thumbnail generation.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
182b99 No.7956
I can no longer open Options. The only thing I changed was allowing all files to be automatically archived when imported.
Here's the traceback info:
ValueError
need more than 3 values to unpack
File "include\ClientGUIMenus.py", line 141, in event_callable
callable( *args, **kwargs )
File "include\ClientGUI.py", line 1940, in _ManageOptions
panel = ClientGUIScrolledPanelsManagement.ManageOptionsPanel( dlg )
File "include\ClientGUIScrolledPanelsManagement.py", line 1310, in __init__
self._listbook.AddPage( 'default file system predicates', 'default file system predicates', self._DefaultFileSystemPredicatesPanel( self._listbook, self._new_options ) )
File "include\ClientGUIScrolledPanelsManagement.py", line 2006, in __init__
self._file_system_predicate_age = ClientGUIPredicates.PanelPredicateSystemAgeDelta( self )
File "include\ClientGUIPredicates.py", line 92, in __init__
( sign, years, months, days, hours ) = system_predicates[ 'age' ]
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.7957
>>7939
There's another manage tags dialog crash fix in the release I am putting out later today. I hope it fixes this problem, but if you still get more, please let me know.
>>7945
I am not sure what is going on here. I expect I am too late as this problem has fixed itself, but if it is still going on, I expect the old hydrus program instance did not shut down correctly. Maybe it was doing a vacuum or something and somehow closed the splash screen as well?
In any case, please open task manager (Ctrl+Shift+Esc in Windows) and look down the app list for any lingering instances of client.exe. Kill them (just select and hit delete->ok) and you should be good to try again.
If it is still having a problem, what happens if you reboot your computer and start fresh?
If it is still having a problem then, what happens if you extract a fresh client on your desktop and run it? Does that boot ok the first time, and does it go ok if you restart it?
I don't think that the previous unicode issue would lead to subsequent boot issues, and even if it did, I would not expect it to hang or cause a deadlock on boot, so I think at the moment that this is a temporary thing that the above steps will figure out if it hasn't already fixed itself. If it isn't, let me know and we'll drill deeper.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
182b99 No.7958
>>7956
I see that you potentially fixed my problem in the newest update tomorrow, so thank you.
Also, my client is crashing randomly. I don't lose much data, maybe the tags on the image I was working on, but it is a bit annoying. Dunno how to find a log for it either.
And whenever I make a keystroke, I'm getting a "key event caught" with a notification appearing in the bottom right.
Weh.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
326554 No.7966
The file import folder seems to consistently ignore files named "Untitled.png".
If I crop a panel from a manga or something I will usually just save it into the import folder with the default filename (Untitled.png), since the filename will stop mattering as soon as the file gets imported anyways.
Some time in the past couple of weeks this has stopped working. Files with other names still get imported automatically, even if I give them the same name as another file that was imported recently. But anything named Untitled.png gets ignored, even if I go into Hydrus and click "check import folder now". I end up having to import the file manually (or just rename it).
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
af6b1b No.7990
Video skip stopped working and now just pretends earlier frames are later frames. GIF and PNG skips still work as normal
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
66c218 No.7991
>>5115
About half the time I run a duplicates discovery, the client crashes. I ran it in-terminal and caused the crash as fast as I could, which took two attempts (exact then very similar). this is my whole output:
WARNING:root:pafy: youtube-dl not found; falling back to internal backend. This is not as well maintained as the youtube-dl backend. To hide this message, set the environmental variable PAFY_BACKEND to "internal".
2018/02/09 05:46:51: hydrus client started
05:46:51 AM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
2018/02/09 05:46:51: booting controller...
2018/02/09 05:46:51: booting db...
2018/02/09 05:46:51: preparing disk cache
2018/02/09 05:46:51: preparing db caches
2018/02/09 05:46:51: booting db...
2018/02/09 05:46:51: initialising managers
2018/02/09 05:46:52: booting gui...
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
(client.pyw:20068): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python2: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
[1] 20068 abort (core dumped) hydrus-client
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8000
>>7958
Thank you for this report. I apologise for the crashes–some came in when I updated wx around v288. I am improving the situation but there is more to do.
I think the 'key event' stuff is from help->debug->report modes->gui report mode. Could that have been switched on by accident? Or are you maybe using a debug build I put together for someone that might have had that on by default? This mode should not be on when you start the client–if it is for you, what happens if you try to click it again, does it turn off?
>>7990
Thank you for this report. I pushed it too hard last week and made a stupid mistake here. This is fixed for v294.
>>7991
Thank you for this report. I had a similar report from someone else, also on Linux. I will check this this week and see if I can figure it out.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
182b99 No.8007
>>8000
I'll have to update it to the newest version to open the options log soon, but I'll let you know. The 'key event' thing went away after I restarted my computer so that's all good now. Thanks for getting back to me.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
af6b1b No.8009
Hydrus said something about a "serious error" on startup where it wasn't able to initialize the db or something. The error said it wrote the traceback to the log so I closed it and checked the latest log file but couldn't find anything. The error didn't happen on my next attempt so I don't have a traceback for you
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
af6b1b No.8010
>>8009
Never mind I found it
2018/02/11 14:02:37: A serious error occured while trying to start the program. Its traceback will be shown next. It should have also been written to client.log.
2018/02/11 14:02:37: Traceback (most recent call last):
File "include\ClientController.py", line 1204, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 496, in InitModel
HydrusController.HydrusController.InitModel( self )
File "include\HydrusController.py", line 297, in InitModel
self.db = self._InitDB()
File "include\ClientController.py", line 84, in _InitDB
return ClientDB.DB( self, self.db_dir, 'client', no_wal = self._no_wal )
File "include\ClientDB.py", line 153, in __init__
HydrusDB.HydrusDB.__init__( self, controller, db_dir, db_name, no_wal = no_wal )
File "include\HydrusDB.py", line 241, in __init__
raise Exception( 'Could not initialise the db! Error written to the log!' )
Exception: Could not initialise the db! Error written to the log!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2ddbf0 No.8011
Too many crashes.
high cpu use, or high ram, and now disk thrashing when it locks up.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
114f45 No.8014
the manage tags dialog still giving trouble
I don't know if this warning was related to the crash but maybe it is useful
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
114f45 No.8015
>>8014
OS: Windows 10
All I did as open it up, then quickly open and close the manage tags dialog to get something to happen
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
326554 No.8021
>>7939
Same again. I had been adding tags, then I opened an image up in an external viewer. A few seconds later, while it's in the background behind the external image viewer, hydrus crashes
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
582779 No.8024
Exception
Unable to render that video! Please send it to hydrus dev so he can look at it!
Traceback (most recent call last):
File "include/ClientRendering.py", line 378, in THREADRender
File "include/HydrusVideoHandling.py", line 763, in read_frame
Exception: Unable to render that video! Please send it to hydrus dev so he can look at it!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8026
>>8007
There should be an important improvement in the crashing in tomorrow's release, btw. Please check it out!
>>8009
>>8010
Hey, I am sorry, but is there another error just above that one in the log? That should be the one that is causing the problem–the one in >>8010 is just the notification and a higher level of the program reeling from the db not booting properly.
If your client now boots ok, this may not be a huge worry–maybe your disk was locked or something from a previous version of the client closing down, or your defragger/anti-virus was stomping on things? In any case, see if there is another traceback and let me know, so we can make sure.
I will see if I can get the db-level error to come at you in an emergency window in tomorrow's release, so if it happens again you'll have something you can screenshot easier.
>>8011
>>8014
>>8015
>>8021
Thank you for these reports. Tomorrow's release should have a final fix to the manage tags dialog–I have removed the new-wx crashy timer objects entirely and replaced the functionality with a new pure-python thread scheduler I have written. This new scheduler will reduce idle CPU and thread count across the program, particularly in the coming weeks.
I've been pushing it a bit hard in recent weeks trying to get the downloader overhaul going, and I have been making mistakes and haven't dealt with this crashy and bloaty behaviour as quickly as I should have. I will be more careful in allocating my time in the future and try to get this shit fixed as a high priority going forwards. Please let me know how v294 goes for you, and I apologise again.
>>8024
Thank you for this report. I am afraid this file imports and plays ok for me. If you hit help->about, what version of ffmpeg does your client think it has? My Windows releases currently come with 3.4.1–are you significantly older than that? Linux and OS X builds try to pick up what the system provides, so a good fix here is either to get your system to update its natural ffmpeg or to chase down a newer static built ffmpeg executable and drop it in hydrus's install_dir/bin directory.
If your ffmpeg seems ok, please rename that file to something simple like 'a.mp4' and try this in a terminal:
ffmpeg -i a.mp4
This will cause ffmpeg to dump a bunch of info it can figure about the file to the terminal. Does it seem encouraging, or does it have errors?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4cd116 No.8033
>>7991
Getting a similar crash. Here's a backtrace.
#0 0x00007f5956cac0c4 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
at /usr/lib/python2.7/site-packages/wx/libwx_baseu-3.0.so.0
#1 0x00007f5956c12561 in wxTimerImpl::SendEvent() ()
at /usr/lib/python2.7/site-packages/wx/libwx_baseu-3.0.so.0
#2 0x00007f59580d2241 in sipwxTimer::Notify() () at /usr/lib/python2.7/site-packages/wx/_core.so
#3 0x00007f5957414491 in () at /usr/lib/python2.7/site-packages/wx/libwx_gtk3u_core-3.0.so.0
#4 0x00007f5959f3c783 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f5959f3bca6 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#6 0x00007f5959f3c081 in () at /usr/lib/libglib-2.0.so.0
#7 0x00007f5959f3c3b2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#8 0x00007f59563dbd2f in gtk_main () at /usr/lib/libgtk-3.so.0
#9 0x00007f5957402675 in wxGUIEventLoop::DoRun() ()
at /usr/lib/python2.7/site-packages/wx/libwx_gtk3u_core-3.0.so.0
#10 0x00007f5956b6c373 in wxEventLoopBase::Run() ()
at /usr/lib/python2.7/site-packages/wx/libwx_baseu-3.0.so.0
#11 0x00007f5956b346b6 in wxAppConsoleBase::MainLoop() ()
at /usr/lib/python2.7/site-packages/wx/libwx_baseu-3.0.so.0
#12 0x00007f5957fce5b1 in wxPyApp::MainLoop() () at /usr/lib/python2.7/site-packages/wx/_core.so
#13 0x00007f5957fce7da in () at /usr/lib/python2.7/site-packages/wx/_core.so
#14 0x00007f596516de39 in PyEval_EvalFrameEx () at /usr/lib/libpython2.7.so.1.0
#15 0x00007f596516e550 in PyEval_EvalFrameEx () at /usr/lib/libpython2.7.so.1.0
#16 0x00007f596516e550 in PyEval_EvalFrameEx () at /usr/lib/libpython2.7.so.1.0
#17 0x00007f59651c8456 in PyEval_EvalCodeEx () at /usr/lib/libpython2.7.so.1.0
#18 0x00007f59651e1a9a in PyEval_EvalCode () at /usr/lib/libpython2.7.so.1.0
#19 0x00007f59651e5321 in run_mod () at /usr/lib/libpython2.7.so.1.0
#20 0x00007f59651e6c05 in PyRun_FileExFlags () at /usr/lib/libpython2.7.so.1.0
#21 0x00007f59651e6dda in PyRun_SimpleFileExFlags () at /usr/lib/libpython2.7.so.1.0
#22 0x00007f59651ce3b3 in Py_Main () at /usr/lib/libpython2.7.so.1.0
#23 0x00007f59654e6f4a in __libc_start_main () at /usr/lib/libc.so.6
#24 0x000055c090da678a in _start ()
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
326554 No.8034
2018/02/14 10:57:04: hydrus client started
2018/02/14 10:57:04: booting controller…
2018/02/14 10:57:04: booting db…
2018/02/14 10:57:04: preparing disk cache
2018/02/14 10:57:09: preparing db caches
2018/02/14 10:57:09: booting db…
2018/02/14 10:57:09: initialising managers
2018/02/14 10:57:45: booting gui…
2018/02/14 10:58:19: Import folder import folder imported 1 files.
2018/02/14 10:58:33: Uncaught exception:
2018/02/14 10:58:33: RuntimeError
wrapped C/C++ object of type MediaPanelThumbnails has been deleted
File "include\ClientGUIMedia.py", line 3592, in EventShowMenu
HG.client_controller.PopupMenu( self, menu )
File "include\ClientController.py", line 849, in PopupMenu
ClientGUIMenus.DestroyMenu( menu )
File "include\ClientGUIMenus.py", line 121, in DestroyMenu
UnbindMenuItems( menu )
File "include\ClientGUIMenus.py", line 102, in UnbindMenuItems
event_handler.Unbind( wx.EVT_MENU, source = menu_item )
File "site-packages\wx\core.py", line 1353, in _EvtHandler_Unbind
File "site-packages\wx\core.py", line 1422, in Unbind
Just after starting up I right-clicked and picked "refresh" in the main window (system:everything order:random), and this popped up at the same time as the newly-refreshed thumbnails became visible.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
90184d No.8038
On version 294, received this error twice while running the client in the background:
RuntimeError
wrapped C/C++ object of type AutoCompleteDropdownTagsRead has been deleted
File "include\ClientGUIACDropdown.py", line 500, in EventMove
if self._ShouldShow():
File "include\ClientGUIACDropdown.py", line 223, in _ShouldShow
tlp_active = self.GetTopLevelParent().IsActive() or self._dropdown_window.IsActive()
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
af6b1b No.8044
>>8026
A'ight. Right before that error there's this
2018/02/11 14:02:37: Traceback (most recent call last):
File "include\HydrusDB.py", line 750, in MainLoop
self._InitDiskCache()
File "include\ClientDB.py", line 6621, in _InitDiskCache
self._LoadIntoDiskCache( stop_time = stop_time )
File "include\ClientDB.py", line 6738, in _LoadIntoDiskCache
self._InitDBCursor()
File "include\HydrusDB.py", line 483, in _InitDBCursor
raise HydrusExceptions.DBAccessException( HydrusData.ToUnicode( e ) )
DBAccessException: database is locked
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2ddbf0 No.8045
Hey Hdev, things seemed like they were going smoother with crashes in 294 it did freeze up at one point but came back alive. Well now i'm tossing in another bug report it;l keep spamming RuntimeErrors.
RuntimeError
wrapped C/C++ object of type AutoCompleteDropdownTagsRead has been deleted
File "include\ClientGUIACDropdown.py", line 500, in EventMove
if self._ShouldShow():
File "include\ClientGUIACDropdown.py", line 223, in _ShouldShow
tlp_active = self.GetTopLevelParent().IsActive() or self._dropdown_window.IsActive()
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
99ed92 No.8050
Left it idling for a couple hours and this showed up at some point.
RuntimeError
wrapped C/C++ object of type AutoCompleteDropdownTagsRead has been deleted
File "include\ClientGUIACDropdown.py", line 500, in EventMove
if self._ShouldShow():
File "include\ClientGUIACDropdown.py", line 223, in _ShouldShow
tlp_active = self.GetTopLevelParent().IsActive() or self._dropdown_window.IsActive()
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b7411a No.8056
I get this error when trying to run Version 294, fresh 'extract only' client. OS is Win7.
C:\Hydrus Network>client_debug.exe
PyInstaller Bootloader 3.x
LOADER: executable is C:\Hydrus Network\client_debug.exe
LOADER: homepath is C:\Hydrus Network
LOADER: _MEIPASS2 is NULL
LOADER: archivename is C:\Hydrus Network\client_debug.exe
LOADER: No need to extract files to run; setting extractionpath to homepath
LOADER: SetDllDirectory(C:\Hydrus Network)
LOADER: Already in the child - running user's code.
LOADER: Python library: C:\Hydrus Network\python27.dll
LOADER: Loaded functions from Python library.
LOADER: Manipulating environment (sys.path, sys.prefix)
LOADER: sys.prefix is C:\HYDRUS~2
LOADER: Setting runtime options
LOADER: Initializing python
LOADER: Overriding Python's sys.path
LOADER: Post-init sys.path is C:\Hydrus Network
LOADER: Setting sys.argv
LOADER: setting sys._MEIPASS
LOADER: importing modules from CArchive
LOADER: extracted struct
LOADER: callfunction returned...
LOADER: extracted pyimod01_os_path
LOADER: callfunction returned...
LOADER: extracted pyimod02_archive
LOADER: callfunction returned...
LOADER: extracted pyimod03_importers
LOADER: callfunction returned...
LOADER: Installing PYZ archive with Python modules.
LOADER: PYZ archive: out00-PYZ.pyz
LOADER: Running pyiboot01_bootstrap.py
LOADER: Running pyi_rth_twisted.py
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_twisted.py", line 23, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\twisted\internet\default.py", line 16, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\twisted\python\__init__.py", line 11, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\twisted\python\compat.py", line 29, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "socket.py", line 47, in <module>
ImportError: No module named _socket
Failed to execute script pyi_rth_twisted
LOADER: OK.
LOADER: Cleaning up Python interpreter
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
af6b1b No.8062
>>8050
I got the same error. It seems to show up repeatedly when I minimize then restore the window.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
99ed92 No.8063
>>8050
Update: I'm consistently getting this error every time I get a notification about a subscription downloading something, though I can't say if that's the only time it arises.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
326554 No.8067
>>8050
Another guy with exactly this runtimerror reporting in. I don't have any subscriptions downloading anything though.
I am consistently getting 1 or two popups with this same error message every time I perform certain actions
>minimize and un-miminize (x2 error messages)
>maximize (x1 error message)
>un-maximize (x1)
>drag window titlebar to move it (x2)
>resize top or left border of window (x2)
but not when I alt-tab or when I resize the bottom or right borders
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8076
>>8033
Thank you for this report. Was this in v294? I believe I have fixed the duplicate filter page crash in this latest release, but if you are still getting it, please let me know.
>>8034
Thank you for this report. I haven't seen this one before, but I know what is going on, and I was just able to reproduce it. I will write in an extra layer of protection for next week.
>>8038
>>8045
>>8050
>>8062
>>8063
>>8067
Thanks lads. I got this myself as well. This is from my crash fix. Thankfully, although it is annoying, it seems basically harmless. It looks like it is triggered by the manage tags dialog or a regular search page being closed. Restarting the client will clear the issue for now, and I will have a proper fix out for next week.
>>8056
Thank you for this report. Do you happen to have an unusual character in your OS username (maybe an accent)? Or have you recently installed a core utility with a path like this, maybe some Japanese or Russian language-support or something? This error is python2 being unable to import a dll because your OS PATH includes a unicode or other unusual character. If you are unfamiliar with the PATH, a bit of searching will tell you how to look it up for Win7, but be extremely wary of editing it if you are not absolutely certain what you are removing is ok.
Unfortunately, there is no easy fix for this my end. I expect to update to python3 this year, which will fix this issue for good.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2c1195 No.8094
When I export multiple files my client crashes. The files are exported successfully, but ever time I close the 'setup export' window the program crashes. I started the program once from the terminal and got this after the crash:
*** Error in `./client': double free or corruption (out): 0x00000000046ff940 ***
Aborted (core dumped)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b7411a No.8098
>>8076
My username does have a character with a tilde. However, I have an old extract only client, version 212, and it works fine. What gives?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8137
>>8094
Thank you for this report. I will check this out this week.
>>8098
I am not sure–this is all happening at a lower level than I control. I think it might be that I am using a new or newer version of a library in the more recent version that is searching for its dlls in this way, whereas perhaps the older version used a different search? In your case, it is twisted (a networking library) that is breaking–maybe I didn't use that a couple years ago?
Then again, looking closer at the exact line of code in socket.py that is failing, it doesn't look like it is using the same dll-search function I have seen before failing for unusual PATH users. This actually looks like it is the regular python 'import' phrase that isn't working. In your install folder, do you have "_socket.pyd"? It should be about 23KB. Could an over-zealous anti-virus program have blocked it for you?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b7411a No.8154
>>8137
I realized that I didn't have all the files after unpacking the .rar for some reason.
Having fixed that, I tried again (_socket.pyd is there) and now I get a slightly different error:
C:\Hydrus Network>client_debug.exe
PyInstaller Bootloader 3.x
LOADER: executable is C:\Hydrus Network\client_debug.exe
LOADER: homepath is C:\Hydrus Network
LOADER: _MEIPASS2 is NULL
LOADER: archivename is C:\Hydrus Network\client_debug.exe
LOADER: No need to extract files to run; setting extractionpath to homepath
LOADER: SetDllDirectory(C:\Hydrus Network)
LOADER: Already in the child - running user's code.
LOADER: Python library: C:\Hydrus Network\python27.dll
LOADER: Loaded functions from Python library.
LOADER: Manipulating environment (sys.path, sys.prefix)
LOADER: sys.prefix is C:\HYDRUS~2
LOADER: Setting runtime options
LOADER: Initializing python
LOADER: Overriding Python's sys.path
LOADER: Post-init sys.path is C:\Hydrus Network
LOADER: Setting sys.argv
LOADER: setting sys._MEIPASS
LOADER: importing modules from CArchive
LOADER: extracted struct
LOADER: callfunction returned...
LOADER: extracted pyimod01_os_path
LOADER: callfunction returned...
LOADER: extracted pyimod02_archive
LOADER: callfunction returned...
LOADER: extracted pyimod03_importers
LOADER: callfunction returned...
LOADER: Installing PYZ archive with Python modules.
LOADER: PYZ archive: out00-PYZ.pyz
LOADER: Running pyiboot01_bootstrap.py
LOADER: Running pyi_rth_twisted.py
LOADER: Running pyi_rth_pkgres.py
LOADER: Running pyi_rth_win32comgenpy.py
LOADER: Running pyi_rth__tkinter.py
LOADER: Running pyi_rth_mplconfig.py
LOADER: Running pyi_rth_mpldata.py
LOADER: Running client.py
Traceback (most recent call last):
File "client.py", line 20, in <module>
from include import ClientController
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "include\ClientController.py", line 1, in <module>
import ClientCaches
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "include\ClientCaches.py", line 1, in <module>
import ClientDefaults
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "include\ClientDefaults.py", line 2, in <module>
import ClientData
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "include\ClientData.py", line 3, in <module>
import ClientDownloading
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "include\ClientDownloading.py", line 3, in <module>
import ClientNetworking
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "include\ClientNetworking.py", line 17, in <module>
import requests
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\requests\__init__.py", line 84, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\urllib3\contrib\pyopenssl.py", line 47, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\cryptography\x509\__init__.py", line 7, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\cryptography\x509\base.py", line 16, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\cryptography\x509\extensions.py", line 14, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\asn1crypto\keys.py", line 22, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\asn1crypto\_elliptic_curve.py", line 51, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\asn1crypto\_int.py", line 56, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "site-packages\asn1crypto\_perf\_big_num_ctypes.py", line 31, in <module>
File "ctypes\util.py", line 53, in find_library
File "ntpath.py", line 85, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 14: ordinal not in range(128)
LOADER: OK.
LOADER: Cleaning up Python interpreter.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9043e7 No.8184
I can't download stuff from pixiv
It just says "0 urls found for #id" no matter the id
I'm using v296
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8227
>>8184
do you have a pixiv account setup?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8260
>>8154
Right. I think you are now hitting the problem I first thought you had–a part of your PATH variable is not decodable to ASCII, so this python version's ctypes can't deal with it when it tries to find the right dll.
On most later Windows, I think you can see the path if you go Win+Break (to open 'system') then hit 'advanced system settings'->environment variables->path. (You can search online if your Windows version doesn't have the same ui) I strongly recommend you not edit your PATH unless you know what you are doing, but if you review it, do you see any obvious candidates for bad entries? If it is something like C:\users\yõu\desktop\someprogramyouonceextractedbutneverusedagain, then we may be in luck.
>>8184
I had to remove 'pixiv tags' search from modern releases recently when they changed their markup to a system I cannot parse with the current engine. I hope to have this fixed in the new parser. Afaik, pixiv artist search is still working.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4f9fab No.8265
Bug report: I noticed that subscriptions (at least from deviantart, I haven't confirmed it elsewhere yet) that don't finish their first run, (say it hits the 200 cap) on next runs, additional tags don't get imported and added to the image.
This is important because it stops adding the artist tag!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4f9fab No.8266
Additionally, I cannot confirm if this happens if you leave the client open until the next run. I think every time this has happened. (5-6 times) I've closed the client and opened it the next day, and that's when it happens.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
af6b1b No.8272
>>8265
Did you click the gear icon up and to the right of the "file import options" button and check the option that says "get tags even if url is known and file is already in db"? I had lots of trouble with this kind of thing before finding that
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4f9fab No.8273
I haven't tried that, I enabled it "by default" and we'll see if that fixes it, thanks!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6571bb No.8275
Not sure if this intended behavior or not, but I have some missing files in my hydrus, as you can see by the pic. Neither checking the database or a quick file integrity check seems to notice them, however.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4f9fab No.8282
>>8272
Thanks for the tip, but that does not appear to have resolved the issue!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2b22b3 No.8284
Am I using the pixiv downloader wrong? I put in an artist number (I used 18127121), but it only downloaded 3 images. I did put account info in, and it tests OK.
It looks like it downloaded all the single images the artist uploaded, but none of the albums. The detailed import status box says that they had "uninteresting mimes".
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9e2509 No.8288
Three bugs, two annoying ones, one not a big deal:
Annoying bug: if I reload a session that was using threadwatcher on certain boards on 4chan (all of the ones I rip from, which are /s/, /gif/, and /hr/) they will continue ripping the thread but will NOT include the filename. The only way to fix this behavior is to close that threadwatcher tab and create a new one with the same URL and tag options.
less of a big deal bug, but the previous error makes this error a lot more annoying: I have a secondary monitor daisychained out of my primary monitor. When I plug it in, my computer will refresh the driver to accommodate the new display and resolution. Upon doing that, though, it causes Hydrus' pop-up menus to disappear entirely. I'm sure they're somewhere, but I can't find them with Alt+Tab or even Windows+Tab so it's easier to Esc out and restart Hydrus when this happens.
Unrelated annoying bug: If you "collect" by a certain parameter, and then delete a bunch of files that are in that "collection", the thumbnail collection will show up on every highlight of other collections. I can repeat this behavior but not consistently.
More specifically, if I "collect by pixiv_id" and then open a new tab on the pixiv_id I want to prune or delete, delete it, then go back to that search window with the "collect by pixiv_id", the pixiv_id tied to those deleted files will remain in the list until I open a new search window.
Thank you very much for the software, it's a joy to use.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
af6b1b No.8289
If you set 0.0 as a possible media zoom you'll get this error whenever you try to view something with it:ZeroDivisionError
float division by zero
Traceback (most recent call last):
File "include\HydrusPubSub.py", line 135, in Process
callable( *args, **kwargs )
File "include\ClientGUICanvas.py", line 2218, in ProcessApplicationCommand
self._ProcessApplicationCommand( command )
File "include\ClientGUICanvas.py", line 4356, in _ProcessApplicationCommand
command_processed = CanvasMediaList._ProcessApplicationCommand( self, command )
File "include\ClientGUICanvas.py", line 1752, in _ProcessApplicationCommand
self._ZoomIn()
File "include\ClientGUICanvas.py", line 1971, in _ZoomIn
self._TryToChangeZoom( new_zoom )
File "include\ClientGUICanvas.py", line 1879, in _TryToChangeZoom
zoom_ratio = new_zoom / self._current_zoom
ZeroDivisionError: float division by zero
>>8284
The pixiv downloader doesn't download any mangas or ugoiras. You'll have to use a different program like pixivutil2 or wait for a newer downloader with manga/ugoira support.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9043e7 No.8290
>>8260
I don't know what I am doing wrong then
This is how it looks for me
You can see here that the artist does exist: https://www.pixiv.net/member.php?id=5681795
Yet it doesn't find any urls
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b7411a No.8295
>>8260
>If it is something like C:\users\yõu\desktop\someprogramyouonceextractedbutneverusedagain, then we may be in luck.
Yeah, it was some dumb shit I don't even remember installing. I uninstalled it and removed it from the PATH and that fixed it. Thanks a lot.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8298
>>8266
>>8265
>>8272
>>8273
>>8282
Thank you for this report. This has been fixed in the v297 release I will put out later today. Please let me know if you have any further problems.
The fix will apply to future DA files. I move that 'gear icon' option to tag import options as well this week. You may like to use it to retroactively get tags for the files it missed previously. (run a manual DA download page for your sub with that option turned on, and it'll get the tags for those files)
>>8275
Thank you for this report. What was the 'file domain' for that search page? The file domain is the search space as listed on lefthand button on the floating autocomplete dropdown. Is it 'my files' there, or 'all local files', or 'all known files'?
If it is 'all known files', that includes files not in your client (like files you have deleted) but still tagged in the righthand 'tag domain'. This would be normal.
But if it is 'my files' and you are seeing thumbnailless/remote files like this, then we do have a problem.
>>8288
Thank you for these reports.
The threadwatcher session tag loss bug is the same thing that was affecting Deviant Art and should also be fixed in today's v297. It will be fixed for all future parses. Let me know if you have any further problems with it.
When you say 'pop-up menus', do you mean the messages that pop-up in the bottom-right of the main gui window? If you are a Windows user with floating tag input autocomplete dropdown lists, do these also break when this happens? What about if you have a 'review services' window (which should also not dissimilarly 'float' on top of the main gui) open? What happens if you jiggle or resize the main ui around (forcing a move event that may rescue the popups if they are offscreen)? You can force some popups to appear, btw, by going help->debug->make some popups.
I will look into the collection delete issue, thanks. I expect the 'refresh your internal tags' calculation isn't being propagated up the right way.
>>8289
Thank you–I have made sure to clear out <= 0.0 values when that option is saved.
>>8290
Sorry–I misread your problem as a tag problem originally. I am also afraid that this worked ok on my machine. I got 14 files.
If you go to network->manage pixiv account and click 'test', does it go through ok?
I'm also wondering if the client thinks it is logged in but actually isn't, so maybe it is parsing a login page or something for you.
The new login manager, which pixiv now works on, is still very barebones. There aren't a lot of debug or other 'hey, reset my login cookie' buttons yet. Please hang in there–I'll see if I can do something here for next week.
>>8295
Great, thanks for letting me know!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1a4bc No.8300
2018/03/07 20:15:11: hydrus client started
2018/03/07 20:15:14: booting controller...
2018/03/07 20:15:14: booting db...
2018/03/07 20:15:14: preparing disk cache
2018/03/07 20:15:19: preparing db caches
2018/03/07 20:15:20: booting db...
2018/03/07 20:15:20: initialising managers
(client.pyw:15182): Gdk-ERROR **: The program 'client.pyw' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadImplementation (server does not implement operation)'.
(Details: serial 1373 error_code 17 request_code 20 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3d3583 No.8301
>>8298
Great to hear on on all fronts.
>When you say 'pop-up menus', do you mean the messages that pop-up in the bottom-right of the main gui window?
No, I mean, for example, "Edit file import options" or "Edit tag import options" or, if I am remembering correctly, "similar files maintenance processing"
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9043e7 No.8307
>>8298
>If you go to network->manage pixiv account and click 'test', does it go through ok?
Yes
>I'm also wondering if the client thinks it is logged in but actually isn't, so maybe it is parsing a login page or something for you.
I don't know how to see that
>Please hang in there–I'll see if I can do something here for next week.
Ok thanks
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1a4bc No.8310
>>8300
today:
2018/03/08 14:06:12: hydrus client started
2018/03/08 14:06:22: booting controller...
2018/03/08 14:06:23: booting db...
2018/03/08 14:06:25: updating db to v297
2018/03/08 14:06:26: updated db to v297
2018/03/08 14:06:27: preparing disk cache
2018/03/08 14:06:32: preparing db caches
2018/03/08 14:06:50: booting db...
2018/03/08 14:06:50: initialising managers
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python2: xcb_io.c:165: dequeue_pending_request: Warunek zapewnienia `!xcb_xlib_unknown_req_in_deq' nie został spełniony.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
426f75 No.8313
>>8298
Sure enough, the subscriptions forgetting the author and other settings does appear to be fixed, thanks!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8318
Tried to see how the 4chan parser works to see if I can contribute in some way, got an exeption when a link for test data goes to a 404:
NotFoundException
Traceback (most recent call last):
File "include\ClientGUIParsing.py", line 2653, in wait_and_do_it
network_job.WaitUntilDone()
File "include\ClientNetworking.py", line 1702, in WaitUntilDone
raise self._error_exception
NotFoundException
This is in manage parsers -> 4chan thread api -> edit -> fetch test data from url. on 404 you get an exeption, I feel like this is so much under construction you'll probably catch this one yourselve but still.
Keep up the good work my man!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8319
>>8318
also on test parse for that bad data (
fetch failed:
)
the window for the parsed data gets filled with this exeption:
Exception:
ParseException: Unable to parse that JSON: No JSON object could be decoded
Traceback (most recent call last):
File "include\ClientGUIParsing.py", line 4550, in TestParse
results_text = obj.ParsePretty( example_parsing_context, example_data )
File "include\ClientParsing.py", line 1585, in ParsePretty
all_parse_results = self.Parse( parsing_context, page_data )
File "include\ClientParsing.py", line 1562, in Parse
posts = formula.Parse( parsing_context, converted_page_data )
File "include\ClientParsing.py", line 417, in Parse
raw_texts = self._ParseRawContents( parsing_context, data )
File "include\ClientParsing.py", line 1141, in _ParseRawContents
raise HydrusExceptions.ParseException( 'Unable to parse that JSON: ' + HydrusData.ToUnicode( e ) )
ParseException: Unable to parse that JSON: No JSON object could be decoded
same applies, you'll probably catch this yourself but still.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6571bb No.8322
>>8298
>Thank you for this report. What was the 'file domain' for that search page? The file domain is the search space as listed on lefthand button on the floating autocomplete dropdown. Is it 'my files' there, or 'all local files', or 'all known files'?
>If it is 'all known files', that includes files not in your client (like files you have deleted) but still tagged in the righthand 'tag domain'. This would be normal.
>But if it is 'my files' and you are seeing thumbnailless/remote files like this, then we do have a problem.
I'm pretty sure it was under all files, but it seems to have fixed itself by now.
My guess is that since I have a fuckhuge hydrus and deleted a lot of files (those files were probably from when I had ~18k files and deleted around 1.5k) it was already in the todo list of the DB, but it still hadn't gotten to clearing those files, so when I asked for it to check, it didn't find any new pics, there were only those that it had already set aside to delete later. I accidentally left my hydrus on for a couple days in a row while seeding torrents, so it probably got the time to clear those pics out during this time.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
91a675 No.8323
I'm >>8094 and this is still happening in v297.
Sometimes it crashes after I click the export files button, but before the window is opened.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f3e76f No.8329
Not sure how much of a bug this is because it could just be something that was overlooked, but when processing duplicates and choosing "this is better" the source URLs are not transferred to the new image from the old like the tags are.
I don't use ratings enough to tell if they transfer.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
189807 No.8337
Hey dev
When doing a search for "similar to this picture", a lot of the results that turn up are… missing or I deleted them and hydrus forgot I deleted them.
All the database checks, file integrity, etc, report no issues.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8343
>>8329
> when processing duplicates and choosing "this is better" the source URLs are not transferred to the new image from the old
Depending on if the source url is the url to the less good image or not this seems like a good idea. if it's actually a link to the aggrgate page of that artist then it should be copied I think.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8348
Sorry for the late replies here lads, this week is killing me.
>>8300
>>8310
Can you tell me which flavour of Linux you are running and which window manager you use? Most of these kinds of 'can't initialise gui' problems are due to a GTK incompatibility of some sort or another. I build on Ubuntu 16.04, so if your flavour is way out of step of that, that could be another reason.
You might want to check out my running_from_source guide, which a dll-related suggestion you can try with my build, or if you have the python experience, you can even actually try to run it right from source:
http://hydrusnetwork.github.io/hydrus/help/running_from_source.html
If you try to run client_debug (if you aren't already), do you get any more interesting output to console? That typically prints boot loader debug info, but it might give a bit more here.
>>8301
Thanks–that is interesting. I am not sure what is going on, but I guess the window reinitialisation gives a moment of like 'the current resolution is 0x0, and so the menus are being scaled down for an instant and then not back up again afterwards). Does the layout of the window change, to hide these? Can you take a screenshot of what it looks like afterwards, or is the original thing to click on still there but the menu just doesn't appear when you click on it?
If you hit help->debug->force a gui layout now, does that help anything?
>>8307
I wanted to write some ui code to help display the current login cookies for this week, but I have like two hours left and don't think I'll be able to fit it in. I'll see about adding a 'clear login data for pixiv/hentai foundry' menu entry instead that will help us figure out what is going on here. If pixiv hasn't fixed itself for you by the time you get v298, please try hitting that new entry, wherever I put it, and then try getting something from pixiv again.
>>8318
>>8319
Thanks–is this on the default entry https://a.4cdn.org/tg/thread/57806016.json ? Unfortunately, the API call times out and 404s along with the main thread. You can try it in your browser as well and you should get the same 404. Please try an updated one–just go to 4chan, find a thread:
https://boards.4chan.org/k/thread/37136033
And then convert it to the JSON API URL manually:
https://a.4cdn.org/k/thread/37136033.json
That should work!
Note it is good to have a good-looking URL in the 'example urls' area because hydrus will use the URLs here to match up the parser with valid URL Classes as we share all this stuff with other users.
>>8322
Ok. If it happens again or you see remote/deleted files in a different unexpected context, please let me know.
>>8323
Thank you. Do you mean is can crash as you click thumbnail right-click menu->share->export->files? Can you describe what you have done in the ~60 mins leading up to that event? Maybe importing files by dropping them onto the client? Or using the manage tags dialog?
If you boot the client fresh and do nothing but try to export some files, can you still get a crash that way?
Approx how many files are we talking, btw? Is it 1-100, or like 10k+?
(Most of the crashes I have dealt with are due to certain objects not being deleted at the right time. Events like 'open a new window' can cause an internal garbage collector to finally delete some outstanding stuff, and it is only then the crash occurs. It may be that the crash-event for you is occuring a while before the export files dialog, but that that is causing the garbage collect event.)
>>8329
>>8343
Yeah, I am not totally sure what to do here. Whether a URL should represent a fixed file or a dupe isn't a simple problem in a world where Cloudflare will non-reliably 'optimise' file content for the same URL and the boorus will swap out files for higher quality versions. I recently split up URLs into different URL Classes in the new domain manager, so I suspect I will revisit this at some point and permit some URLs to be merged across dupes but not others.
All this info is still in your db, so I will see if I can figure out a retroactive fix when we get around to it.
>>8337
Thank you for this report, this is useful. Have you done a bunch of duplicate file filtering? I believe that at some point, this was not deleting files in quite the right way, leaving these orphans. I specifically wrote a new db routine recently to try to deal with this, so since we have a good test case here, I would like to know if I have fixed it properly.
Please get one of these pages with the bad results open. What happens if you change the file domain from 'my files' to 'all known files'? Do they disappear?
Anyway, get it back so it shows bad results. Then hit database->maintain->clear orphan file records. Once that is done, refresh the page–is it fixed? If not, what if you then hit database->regen->similar files search tree?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
79b970 No.8355
>>8343
>>8348
Most of my "this is better" duplicates are optimized versions of the worse file. I usually download them from whatever website though Hydrus, and it gives the downloaded image a source URL as where it downloaded it from. Then I export, optimize, import, and use the dupes filter to choose the one with the smaller filesize. In this case the URLs should be transferred.
Maybe it could be an option to transfer the URL or not.
Speaking of URLs, it would be really nice if the source URLs listed on the boorus were picked up by Hydrus as well.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8356
>>8348
>>8355
>Maybe it could be an option to transfer the URL or not.
in the duplicates filter you can, in the top middle with the cog icon, change the data copied when you set the relationships. I think you can set this there. pic related
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b49660 No.8363
>>8348
>Thanks–that is interesting. I am not sure what is going on, but I guess the window reinitialisation gives a moment of like 'the current resolution is 0x0, and so the menus are being scaled down for an instant and then not back up again afterwards). Does the layout of the window change, to hide these? Can you take a screenshot of what it looks like afterwards, or is the original thing to click on still there but the menu just doesn't appear when you click on it?
>
>If you hit help->debug->force a gui layout now, does that help anything?
I could take a screenshot but it would be a typical Hydrus window, just faded out because the unavailable window (in a test I just did, it was Review Services) had GUI focus but, obviously, wasn't there.
Debug Force GUI doesn't help, no.
Just messing around before hitting submit, and I was able to move the window around and I was able to snap this.
I was able to replicate it by turning off then on my DisplayPort monitor while running Hydrus, so before doing it the windows were fine and afterwards were not.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b60437 No.8381
>>8356
I can't find anything for URLs, only tags and ratings.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1e0722 No.8382
I keep getting this error while doing a tumblr download & deleting unwanted incoming files
error
C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215) dsize.area() > 0 || (inv_scale_x > 0 && inv_scale_y > 0) in function cv::resize
Traceback (most recent call last):
File "include\ClientCaches.py", line 2063, in DAEMONWaterfall
self.GetThumbnail( media ) # to load it
File "include\ClientCaches.py", line 1966, in GetThumbnail
hydrus_bitmap = self._GetResizedHydrusBitmapFromHardDrive( display_media )
File "include\ClientCaches.py", line 1792, in _GetResizedHydrusBitmapFromHardDrive
path = self._controller.client_files_manager.GetResizedThumbnailPath( hash, mime )
File "include\ClientCaches.py", line 1087, in GetResizedThumbnailPath
self._GenerateResizedThumbnail( hash, mime )
File "include\ClientCaches.py", line 341, in _GenerateResizedThumbnail
thumbnail_resized = HydrusFileHandling.GenerateThumbnailFromStaticImage( full_size_path, thumbnail_dimensions, fullsize_thumbnail_mime )
File "include\ClientImageHandling.py", line 258, in GenerateThumbnailFromStaticImageCV
thumbnail_numpy_image = EfficientlyThumbnailNumpyImage( numpy_image, dimensions )
File "include\ClientImageHandling.py", line 54, in EfficientlyThumbnailNumpyImage
return cv2.resize( numpy_image, ( target_x, target_y ), interpolation = cv2.INTER_AREA )
error: C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215) dsize.area() > 0 || (inv_scale_x > 0 && inv_scale_y > 0) in function cv::resize
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
189807 No.8389
>>8348
I have extensively used the similar file filter, yes.
>Please get one of these pages with the bad results open. What happens if you change the file domain from 'my files' to 'all known files'? Do they disappear?
Nope, they're still there.
>Anyway, get it back so it shows bad results. Then hit database->maintain->clear orphan file records. Once that is done, refresh the page–is it fixed? If not, what if you then hit database->regen->similar files search tree?
There are no orphan file records to clear. They did clear only after "regen > similar files search tree".
Thanks, and hope this helps!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
21649e No.8392
>>8389
Symbol such as ' ♡ '
Appear as 3 line when par of a sentence/title.
such as in this example:
みんなで作ってア・ラ・モード♡
Is there a setting a touched inadvertendly for this, or it this part of the pixiv remodel project?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6571bb No.8402
This might be intended behavior, but number of tags doesn't ignore blacklisted tags. It counts all tags, local or not, causing searches like pic related.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1e0722 No.8409
>>8392
This has to do with windows and the fonts it uses. the heart is double booked with the 3 line symbol. I think I got foobar to display the heart properly by changing the font to segoe ui or something
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8411
>>8356
>>8355
>>8381
Yeah, you can't merge URLs yet–URLs were not a hydrus-recognised 'datatype' when I wrote the dupe filter. I will have to revisit it when I am on better footing with what URLs go where.
I will add support for adding URLs with the new gallery parsers as I roll out the new download engine. It should be totally doable to recognise a source URL on a gallery page and associate it additionally as you download the file.
>>8363
Thanks for the screenshot. That is pretty weird! I assume this is some trickery in your driver somewhere that isn't happy reinitialising 'stay on parent' windows like review services. Some force-relayout call isn't being propagated down.
I have written a new entry at help->debug->force a layout for all tlws now for today's release. Please give it a go sometime and let me know if it changes this issue at all. It will print a bunch of related size/pos info to the screen as well–a screenshot of that (or copy/paste from the logfile, which will have the same info) would be helpful.
>>8382
Thank you for this report. Can you name the tumblr that does this? Does it have any unusual images at all, either in ratio or size? It looks like somehow I am asking CV to resize to negative coordinates, which maybe suggests one of these images is reporting a bad size. I will write a neater catch for this for today's release.
Have you ever seen this error in a different context, or only on an actively importing tumblr downloader?
>>8389
Great, thank you. I will write some extra orphan clearing for the search tree stuff as well.
>>8392
>>8409
Thank you for this report. Unfortunately, I think I am misunderstanding it. That tag renders ok for me in the client (see my image, where I spammed it on a test file). Can you take a screenshot of what you see so I can better understand what is wrong here?
I am guessing this is a font issue as >>8392 says. I am on Win10 English language with default fonts (which I guess is Segoe UI).
>>8402
Thanks. This is not intended, but it is too CPU-intensive to fix at the moment (I would have to load the actual tag text for all files in the domain and then check them all off against the current tag blacklist before counting them up, which would be minutes of work). I expect in the next year or two to write a new database layer that will do the heavy lifting of calculating 'tags as we want them' to for siblings and tag cenorship and so on and storing them in a more permanent, revisitable way. When that is in, I can start generating better autocomplete numbers and doing numtag searches like this more accurately.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1e0722 No.8413
>>8382
>>8411
>Thank you for this report. Can you name the tumblr that does this? Does it have any unusual images at all, either in ratio or size? It looks like somehow I am asking CV to resize to negative coordinates, which maybe suggests one of these images is reporting a bad size. I will write a neater catch for this for today's release.
It was ligbi.tumblr.com but none of the images seemed unusual. It had about 3,800 files so I doubt you want to sit through a download of it yourself.
>Have you ever seen this error in a different context, or only on an actively importing tumblr downloader?
Never seen it before, but I haven't used the tumblr downloader in quite some time.
Really though, I was whipping through images and deleting them via the media viewer quite rapidly as new ones were incoming. I only got the error about 5-6 different times during that download and I believe it switched focus off the media viewer when it popped up.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9891cb No.8421
>>8348
>Thank you. Do you mean is can crash as you click thumbnail right-click menu->share-export-files?
yes
>If you boot the client fresh and do nothing but try to export some files, can you still get a crash that way?
also yes
>Approx how many files are we talking, btw? Is it 1-100, or like 10k+?
this happens even when I export a single file
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a83516 No.8422
>>8411
Summary of what I did, which is something I do basically daily. Additionally, this behavior is repeatable if my monitor is simply being woken up.
-Unplugged displayport from work laptop.
-Plugged it into the displayport-out of my primary monitor.
-Windows refreshed the driver with the expected black screen.
-Went to Hydrus, checked if I would see no popups.
-Confirmed it, went to debug, and got this:
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8436
>>8413
Thanks. Yeah, that tumblr looks fine, unless there are some weird files as you say like 2k images deep.
I am guessing this was some weirdness about the specific workflow. I bet it was something like you were processing files in the media viewer that hadn't generated thumbnails yet (because they were off-screen of the original thumbnail page), and some 'this file got deleted' event went through, causing the thumb to be generated off-screen, which something somewhere wasn't happy with.
Do you by any chance have files set to remove from view when they are trashed?
Anyway, I will keep this in mind. Please let me know if you see it again.
>>8421
Thanks. I will give this another pass this week.
>>8422
Thanks. It looks like the layout didn't do it, so I will write another debug action for v300 that'll be more rigourous.
Do you remember which 'popups' you tried, specifically? Were any of them open before the drivers refreshed?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3d3583 No.8438
>>8436
>which popups
Oh gosh I can't remember which one I used for this test, I think it was one of the dialogues for a threadwatcher. I can repeat it across any of them and then notate them tomorrow.
>Were any of them open?
No, these dialogues were closed or unopened beforehand. I guess due to how I noticed this bug I'm not actively doing something so there's no window activity.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1e0722 No.8439
>>8436
>Do you by any chance have files set to remove from view when they are trashed?
No.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c893 No.8445
Subscriptions completely stopped working for me:
I somehow managed to open two instances of the "manage subscription" window at once. So, I selected "check queries now" and applied the changes in the first window and then simply clicked on "cancel" on the second one.
Since then none of my subscriptions have been able to check for new images including newly created ones.
All of them are "working" and are next "checking on dialog ok" and when I deselect "check now" it changes into "imminent", but nothing happens in either case.
I can't find anything unusual in any of the log files either.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
546446 No.8459
Hydrus.Network.299.-.Linux.-.Executable arch user with multiple woes here,
The first time I started the program it complained in terminal about missing /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
and told me to do the following, which I did as root:
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
It still worked fine, but I don't like error messages.
All themes are broken and only when I use "GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc" will I get a usable interface and no complaining like down below.
Here are some logs (reduced because of repeated lines:
(client:4303): Gtk-WARNING **: Error loading theme icon 'gtk-cancel' for stock: Unable to load image-loading module: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/librsvg-2.so.2: undefined symbol: cairo_tag_begin
** (client:4303): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/share/themes/Arc/gtk-2.0/assets/null.png: Unable to load image-loading module: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: /PATH/TO/hydrus network/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)
** (client:4195): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Arc/gtk-2.0/assets/entry-active-notebook.png,
borders don't fit within the image
This line got spammed by the thousands:
(client:4195): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
As far as I know all non-standard gtk2 themes use gtk-engine-murrine to draw their things, so perhaps including that would work.
It would be cool if you could use gtk3 but I guess that is almost impossible considering how different it is from gtk2, wxgtk pheonix seems to have gtk3 support though.
I can't press URL links, example when I try to click on the link from "help>about":
(client:1843): GLib-GIO-WARNING **: /etc/xdg/kde-mimeapps.list contains a [Added Associations] group, but it is not permitted here. Only the non-desktop-specific mimeapps.list file may add or remove associations.
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/usr/lib/libgdk-3.so.0: undefined symbol: g_log_structured
Couldn't load XPCOM.
I also can't open images in external applications because of this:
kde-open5: /PATH/TO/hydrus network/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)
It seems like the package doesn't use the included libpng library.
I tried using "LD_PRELOAD=. ./client" but that didn't help either and had the same error messages as above.
The mouseover bar from the duplicate viewer sometimes spazzes out and doesn't show again, forcing me to close it with an external program. I will try to take a look at the log next time it happens.
Thanks for your work, I know that most of my woes will stop when I compile it myself but it seriously takes too long to compile wxgtk-phoenix.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6571bb No.8467
Seems the thread downloader doesn't work for older threads for some reason.
>>>/wx/35263 just gives me 404s, even though I can access the pics just fine. Other old threads like >>>/wx/33678 don't work as well, so I'm guessing it's because of the date.
I scrapped /v/'s webm thread a while ago, so I can say for sure it's not because of the size.
I tried it on v298 and it didn't work. I tried updating to v300 but it still won't download.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6571bb No.8468
>>8467
Newer threads like >>>/wx/67663 work fine.
There's also the asian thread I had downloaded some files from a while ago, >>>/wx/11286 . It shows the files that are in the DB, but everything else just 404's, so I'm guessing it can read the file, but somehow just goes tits up when trying to import older files.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6571bb No.8469
>>8468
It seems to be downloading the newer files from the thread, so it's probably just a problem with the files themselves.
The last file it didn't download from that thread was this one from 07/27/16, >>>/wx/61501 .
The first one it downloaded was >>>/wx/62077 from 09/01/16. The new file uses the gay hashes whereas the previous uses the old numeric identifier, so I'm guessing that's the problem.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9d74dd No.8479
I can't get jpgs to launch anymore. I changed the open externally launch path under files and trash, and changed it back (cleared it out to restore it to the default using xdg-open) and neither the default or my alternate launch command will open up a jpg file now. Other images like pngs will open as normal. Any way to fix this? I am running on Fedora 27, all the commands work from terminal (including the default xdg-open) but not from Hydrus. I use the tar ball to install and then ln -s the database to another directory so I can update the client files without disturbing my database. Running v.300. I am thinking of diving into sqlite to see if the default launch path is actually being set. Any other ideas? Thank you.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8498
>>8445
Thank you for this report. We've had several things like this, so I will write a proper debug report mode for subscriptions either this week or next to help diagnose these problems.
This is probably a stupid suggestion, but have you tried restarting the client since they broke? it might have just got jumbled up from the double-dialog.
>>8459
Thank you for this report. I am sorry you are having problems.
I have had several problems before getting hydrus to run on different flavours of Linux and different window managers. I am not a Linux expert, so I cannot say anything with a lot of confidence.
For a while, Arch users couldn't run my built release and had to run from source using a package a helpful Anon puts together here:
https://aur.archlinux.org/packages/hydrus/
I understand this situation is better since I rolled back to Ubuntu 16.04 for my build machine, but if you have a different machine or would prefer gtk3, you might like to try that.
Which version of Arch do you use–is it a new one? Does it line up with Ubuntu, do you know–so like my older release won't 'gel' with your newer libraries?
I also had problems building wx. If your Arch is basically compatible with Ubuntu 16.04, you might have luck with these wheels:
https://extras.wxpython.org/wxPython4/extras/linux/
Which I describe more here:
http://hydrusnetwork.github.io/hydrus/help/running_from_source.html
Please let me know how you get on. I try and bosh this CRITICAL/WARNING stuff from the linux console, but sometimes it seems like whack-a-mole. Some of the CRITICALS are apparently inherent to wxPython and known issues that are apparently 'ignorable', but a bunch of others are me doing stupid shit, so ongoing feedback is useful. That your hyperlinks are not working and you had that loaders.cache shit to even boot suggests to me that there is a mismatch of system libraries here, so your only hope might be running from source.
>>8467
>>8468
>>8469
Thank you for this report. This is an issue with the old threads still using 8chan's old file system but the API that I use to do thread checking not reporting direct URLs for files. My thread checker constructs modern:
https://media.8ch.net/file_store/1f20380249b3888caa880462ab66b3f6f5490e419f1c36a38e691dfed3153aea.png
Type URLs, whereas the old stuff still uses:
https://media.8ch.net/wx/src/1442206665492.jpg
You can see the different if you check the 'sources' in the file import status window (click the icon button on the download page).
I hope to have a solution to this out in a week or two. The 'page of images' downloader will get an overhaul and a number of selectable choices about how it parses. One of those will be either 'imageboard thread' or '8chan imageboard thread (works for old threads)' or something, and that should fix your problem completely.
Please let me know how that works for you once I roll it out.
>>8479
I am not sure what is going on here. When you clear it, it says:
default: xdg-open "%path%"
Right? If it has the 'default: ', then it is correctly set back to None for you, so it should be calling in exactly the same way as it would for your pngs.
If you go into your client.log in your db directory, does it have a bunch of stuff with "Could not launch a file!" in it anywhere? That should be the default line for this stuff breaking. Do you actually get an exception in-client when you try to launch a jpg, or does it just do nothing when you send the command?
This option is stored in the new options object, which is saved to the db as JSON. This is a fucking huge object full of shit, but if you still want to check it, open client.db and pull the data out of 'json_dumps' table with dump_type = 22. Then search that for a key called 'media_launch', which will be a dictionary (or maybe list of pairs) of numbers to None (I think 'null' in JSON) or launch strings. In that dictionary, jpg is 1, png is 2.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9d74dd No.8500
>>8498
Hey, thanks for the response! It reads exactly like that, yep. I just tailed my client log and did some tests, no output to it when I try to launch a jpg. (I am seeing other messages, did a db integrity check and also saw shutdown messages written to it). There are no in-client stack traces, it just seems to do nothing. I'm double-clicking the thumbnail, for the record. xdg-open functions when I select a jpg file from the client files directory. Here's the media_launch key contents:
["media_launch", [21, 1, [[[1, null], [2, null], [3, null], [5, null], [9, null], [10, null], [11, null], [13, null], [14, null], [15, null], [16, null], [17, null], [18, null], [20, null], [21, null], [23, null], [25, null], [26, null], [27, null], [31, null], [32, null]], [], [], []]]]
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e69754 No.8503
Somewhere between 298 and 300, adding parent tags automatically has broke. On 297, if i add "High heel boots", "high heels", "Heels","boots" all get added automatically.
I upgraded to version 300, and while they still appear in the tags parents list, they no longer get added.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8505
duplicate filter pages don't update correctly when:
1. Duplicate search files
2. Go through all the files that have been searched and delete several that have been caught in the filter but have not yet been given statuses by hand
3. try and refresh, it don't work.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8506
>>8505
fugg literally just thought of this when pressing submit, the other duplicates page I was comparing to had another file setting causing the number of possible matches to be diferent. Nothing wrong on your side I'm just dumb.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
33d454 No.8508
>>8498
>This is probably a stupid suggestion, but have you tried restarting the client since they broke?
Of course. And updating the program to the latest version didn't help either.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f687a9 No.8510
>>8503
this, experiencing the same problem.
parent/sibling relationships between tags broke down, the list is empty, its like all of the relations created since the beginning of Hydrus were deleted.
pls fix, tagging has been potentially slowed down because of this
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9d74dd No.8526
>>8498
>>8500
So I have some more info about this. Today I untarred another instance of hydrus (used Hydrus.Network.300.-.Linux.-.Executable.tar.gz) and imported a jpg file into the default database.
I was able to open a jpeg by double clicking with no issues, worked as expected.
I moved the db directory to db-bak and created a symbolic link to my old database (named db) which is how I've been dealing with new versions. This time, I ran the client executable from my terminal and got useful output in the console, here it is:
xdg-mime: mimetype argument missing
Try 'xdg-mime –help' for more information.
/usr/bin/xdg-open: line 854: x-www-browser: command not found
XPCOMGlueLoad error for file /usr/lib64/firefox/libmozgtk.so:
/home/user/hydrus-test/libz.so.1: version `ZLIB_1.2.9' not found (required by /lib64/libpng16.so.16)
Couldn't load XPCOM.
/usr/bin/xdg-open: line 854: iceweasel: command not found
/usr/bin/xdg-open: line 854: seamonkey: command not found
/usr/bin/xdg-open: line 854: mozilla: command not found
epiphany: /home/user/hydrus-test/libgcc_s.so.1: version `GCC_7.0.0' not found (required by /lib64/libwebkit2gtk-4.0.so.37)
epiphany: /home/user/hydrus-test/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /lib64/libjavascriptcoregtk-4.0.so.18)
epiphany: /home/user/hydrus-test/libz.so.1: version `ZLIB_1.2.9' not found (required by /lib64/libpng16.so.16)
/usr/bin/xdg-open: line 854: konqueror: command not found
/usr/bin/xdg-open: line 854: chromium: command not found
/usr/bin/chromium-browser: /home/user/hydrus-test/libz.so.1: version `ZLIB_1.2.9' not found (required by /lib64/libpng16.so.16)
/usr/bin/xdg-open: line 854: google-chrome: command not found
/usr/bin/xdg-open: line 854: www-browser: command not found
/usr/bin/xdg-open: line 854: links2: command not found
/usr/bin/xdg-open: line 854: elinks: command not found
/usr/bin/xdg-open: line 854: links: command not found
/usr/bin/xdg-open: line 854: lynx: command not found
/usr/bin/xdg-open: line 854: w3m: command not found
xdg-open: no method available for opening '/home/user/hydrus-test/db/client_files/f8e/8ef807dd94547d413e61cac0d9b07dd50d780b96432102bf65f0df321f6463d1.jpg'
Seems to be an issue stemming from my 'db' directory, with a clean db I don't get this. Looks like the mime-type is not passed to xdg-open? Anyway, hope this helps. Let me know if you have any ideas on rescuing my old database.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9d74dd No.8527
>>8526
Forgot to mention, that's with the default that hydrus provides.
I also tried it with /usr/bin/eog "%path%", I get the following:
/usr/bin/eog: /home/user/hydrus/libz.so.1: version `ZLIB_1.2.9' not found (required by /lib64/libpng16.so.16)
So that error is there either way, something with zlib? I don't know why it works with a fresh db.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8534
I apologise, I am crushed for time atm. I will get back to this thread properly in the coming week.
>>8503
>>8510
Sorry–this is fixed today!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5adc0f No.8557
>>8534
I trust this is fixed, when does the client apply the proper relationships? I have several parent tags waiting to be applied and it just isn't happening.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8563
>>8500
>>8526
Thanks. This is interesting–my best guess is that your old db folder somehow has different terminal environment. Maybe when you changed the open externally call for jpgs originally, this somehow unmapped something xdg was relying on? What did you mean to map it to, anyway–a static program or a different 'launch this' routine like xdg-open? Did a .conf file of some kind get added to your old client anywhere?
I'll reiterate that I am absolutely no expert at this stuff. I don't know how xdg figures out mime in the first place–if it doesn't query file header directry, or rely on some filesystem cache of that data, does it just rely on file extension like Windows does? Or is the xdg-mime problem here that xdg-open isn't figuring out the mime and so is passing the path to xgd-mime without the arg for the program mapping?
In any case, I have written a bit of extra debug here for v302. Turn on help->debug->report modes->callto report mode, and then any 'launchfile' call will also show any stdout or stderr it gets back from the original call. This may give us some firmer information. (Callto report mode will also spam you a bit about "(<bound method …" stuff, which you can ignore–this is just some internal threading stuff that that report mode also comments on.)
>>8527
Sorry, I only just noticed this. Not sure what that is about. I know some Linux users have had luck simply moving/deleting conflicting .so files like this, as it causes hydrus to fall back onto the system default, which sometimes has better compatilibility overall.
I don't know why zlib would be being called for a launch_file call, nor any libpng stuff. Could it be that the xdg-open call is importing .so libraries from the cwd over the system defaults and hence getting mixed up here?
>>8508
Thanks. I have added a new subscription report mode in v301, so please give that a go sometime and pastebin or email me all the stuff it spits to your log. Just turn the report mode on under the help->debug->report modes menu and then open and close the manage subscriptions dialog to wake the daemon.
>>8557
If they are to a tag repository, it should be on upload (i.e. when they convert from 'pending' to 'current'). If they are 'local tags' parents, they should go as soon as you ok the manage parents dialog.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9d74dd No.8570
>>8563
Thanks for the new debug option, I will definitely give it a shot!
I have tried symlinking libz.so.1 and libgdk_pixbuf-2.0.so.0, and also deleting them at your suggestion to have it fall back, I get a slightly different error in either case:
lookup error: /lib64/libgdk-3.so.0: undefined symbol: g_log_structured
I was trying to set it to a static location of a binary e.g. /usr/bin/eog although at this rate I'll go with defaults to get it working again.
I tried diffing the options json dump with a fresh db vs my broken one and didn't see anything obvious.
One discrepancy is with gdk-pixbuf, where I found the loaders.cache is located elsewhere on my system. I get this error(warning) on startup of the client:
2018/04/08 17:21:13: booting controller…
(client:6760): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
2018/04/08 17:21:13: booting db…
loaders.cache is actually located elswhere on my system and the binary is different (64 bit looks like is the difference, see below)
So I tried running:
gdk-pixbuf-query-loaders-64 /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders.cache
This command fails with this message:
g_module_open() failed for /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders.cache: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders.cache: invalid ELF header
I think some version change with gdk-pixbuf might be causing some of this, though I see those errors on a clean copy of version 301 where it starts just fine and I can launch a jpg. The only difference is the stuff in my db directory, when I switch the clean db for the old one it will start failing again.
Here is the output from ldd:
linux-vdso.so.1 (0x00007fffc73fb000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f41d5add000)
libz.so.1 => /lib64/libz.so.1 (0x00007f41d58c6000)
libc.so.6 => /lib64/libc.so.6 (0x00007f41d5510000)
/lib64/ld-linux-x86-64.so.2 (0x00007f41d5ce1000)
Here is the output from xdg-mime on my system for jpg:
[user@localhost hydrus-clean]$ xdg-mime query default image/jpg
eog.desktop
[user@localhost hydrus-clean]$ eog –version
GNOME Image Viewer 3.26.2
[user@localhost hydrus-clean]$ which eog
/usr/bin/eog
[user@localhost hydrus-clean]$ eog db/client_files/f00/00274e36385e5cf4aaad70118053a7c659cd7e441b5d957475ef8af0ad495e6b.jpg
works without error when launch from the prompt.
Do you have any tooling or methods for resetting everything in the db back to defaults without losing images/tags?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4cd116 No.8572
Text popups are not being correctly sized on my Linux client and wraps into the next popup.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
79b970 No.8574
>>8572
Also happens to me, but it just ends instead of wrapping around.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8614
>>8570
Thanks. Some of this went over my head. I am surprised that a simple db swap will change the behaviour–I can't imagine how this is changing the 'launch file externally' call, which is some basic code that just takes a launch_path variable, which in your case is 'None', so it defaults to the xdg-open call. Let me know if the debug mode gives you anything back–I just checked it myself, and just so you know, it won't say anything if stdout or stderr don't give you anything. I'll brush this up for v303, but if you don't get anything back on an 'open externally' call in v302, that doesn't mean it is broken, just that it didn't print anything.
I hope to add some 'reset to defaults' buttons to the different options pages, and a master one that resets everything, but there isn't anything yet.
>>8572
>>8574
Thanks. I had this from someone else as well. I will update the popups to resize better for v303. Is this text larger than you would expect, or are the boxes smaller? Are you in high-DPI mode at all?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
35bf03 No.8628
Weird bug when using the tag manager launched from the thumbnail view:
Delete a tag and then add it back and click apply. The tag will appear to still be in the tag list for the image but after refreshing the page the tag is no longer present.
Running on Windows 8.1 64-bit
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8632
Client crashes at boot:
2018/04/16 15:03:15: hydrus client started
2018/04/16 15:03:15: booting controller…
2018/04/16 15:03:15: booting db…
2018/04/16 15:03:16: preparing disk cache
2018/04/16 15:03:21: preparing db caches
2018/04/16 15:03:21: booting db…
2018/04/16 15:03:21: initialising managers
2018/04/16 15:04:56: booting gui…
2018/04/16 15:12:16: Hydrus Public Repository sync: processing updates
2018/04/17 16:13:01: hydrus client started
2018/04/17 16:13:01: booting controller…
2018/04/17 16:13:01: client already running
2018/04/17 16:13:49:
2018/04/17 16:13:49: shutting down controller…
2018/04/17 16:13:49: hydrus client shut down
2018/04/17 16:10:11: hydrus client started
2018/04/17 16:10:11: booting controller…
2018/04/17 16:10:11: booting db…
2018/04/17 16:38:26: shutting down controller…
2018/04/17 16:38:26: hydrus client shut down
2018/04/17 16:38:37: hydrus client started
2018/04/17 16:38:37: booting controller…
2018/04/17 16:38:37: booting db…
2018/04/17 16:38:43: If the db crashed, another error may be written just above ^.
2018/04/17 16:38:43: A serious error occured while trying to start the program. The error will be shown next in a window. More information may have been written to client.log.
2018/04/17 16:38:43: Traceback (most recent call last):
File "include\ClientController.py", line 1198, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 523, in InitModel
HydrusController.HydrusController.InitModel( self )
File "include\HydrusController.py", line 367, in InitModel
self.db = self._InitDB()
File "include\ClientController.py", line 84, in _InitDB
return ClientDB.DB( self, self.db_dir, 'client', no_wal = self._no_wal )
File "include\ClientDB.py", line 153, in __init__
HydrusDB.HydrusDB.__init__( self, controller, db_dir, db_name, no_wal = no_wal )
File "include\HydrusDB.py", line 169, in __init__
self._InitDB()
File "include\HydrusDB.py", line 380, in _InitDB
self._InitDBCursor()
File "include\HydrusDB.py", line 421, in _InitDBCursor
self._AttachExternalDatabases()
File "include\HydrusDB.py", line 257, in _AttachExternalDatabases
self._c.execute( 'ATTACH ? AS ' + name + ';', ( db_path, ) )
OperationalError: database is locked
This happened after I had to force close the client when it was exporting update files for the PTR. I'll try again now and see what happens:
Happened again, am I completely fucked?
new log:
2018/04/17 16:43:32: shutting down controller…
2018/04/17 16:43:32: hydrus client shut down
2018/04/17 16:43:47: hydrus client started
2018/04/17 16:43:47: booting controller…
2018/04/17 16:43:47: booting db…
2018/04/17 16:43:53: If the db crashed, another error may be written just above ^.
2018/04/17 16:43:53: A serious error occured while trying to start the program. The error will be shown next in a window. More information may have been written to client.log.
2018/04/17 16:43:53: Traceback (most recent call last):
File "include\ClientController.py", line 1198, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 523, in InitModel
HydrusController.HydrusController.InitModel( self )
File "include\HydrusController.py", line 367, in InitModel
self.db = self._InitDB()
File "include\ClientController.py", line 84, in _InitDB
return ClientDB.DB( self, self.db_dir, 'client', no_wal = self._no_wal )
File "include\ClientDB.py", line 153, in __init__
HydrusDB.HydrusDB.__init__( self, controller, db_dir, db_name, no_wal = no_wal )
File "include\HydrusDB.py", line 169, in __init__
self._InitDB()
File "include\HydrusDB.py", line 380, in _InitDB
self._InitDBCursor()
File "include\HydrusDB.py", line 421, in _InitDBCursor
self._AttachExternalDatabases()
File "include\HydrusDB.py", line 257, in _AttachExternalDatabases
self._c.execute( 'ATTACH ? AS ' + name + ';', ( db_path, ) )
OperationalError: database is locked
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b1028a No.8633
>>6274
>>8260
i can download artists galleries from pixiv but any "submission" that has more than 1 picture fails entirely. Pixiv allows artists to upload single submissions with several pictures/pages but it wont download those that have multiple pages, EVEN when using the raw URL downloader, if you copy and paste the individual URLs of each image in a submission that has multiple pages, they will all fail and this is the only error i get pic related
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b1028a No.8634
>>8633
it also won't download "animations". anything animated or with more than 1 page on the same submission will fail to download
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8640
>>8632
soo, this makes me even more scared, but having some extra time made me want to look at the formulae, so I booted up hydrus and it just worked. I'm kinda scared the DB is fucked but I don't know how to check that, I have a backup from not too long back so I'm relatively good it the DB is fucked, but how can I check if it's fucked?
new log:
2018/04/18 12:47:00: hydrus client started
2018/04/18 12:47:00: booting controller…
2018/04/18 12:47:00: booting db…
2018/04/18 12:47:00: preparing disk cache
2018/04/18 12:47:05: preparing db caches
2018/04/18 12:47:05: booting db…
2018/04/18 12:47:05: initialising managers
2018/04/18 12:48:23: booting gui…
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8644
>>8628
Thank you for this report. I will check this out this coming week.
>>8632
I don't think you are fucked.
Could there be any old instance of client.exe running in the background, in task manager? Typically, db files are only locked if an application is talking to them and has an open transaction doing work. SQLite is usually very good about recovering from this stuff.
You might like to go to your install_dir/db folder and see what is going on there–do the .db files have accompanying .db-shm (small, shared memory temp file) and .db-wal (maybe big, journalling file) files? What happens if you click run the sqlite3 executable and then type:
.open client.db
select 1 from sqlite_master;
.exit
You can open new terminals for the other three client*.db files as well–maybe one will come back locked or have a better error message and we'll know more.
>>8633
>>8634
Thank you, unfortunately these are not yet supported. I hope to have support for manga pages in the new downloader engine I am currently working on and ugoira support (converted to apng, most likely) at a later date.
The raw downloader probably doesn't work because Pixiv do some pretty mickey-mouse url referral testing when they serve up image pages. You can test this in a browser, pasting the same URLs–you'll probably get redirected back to the 'Post URL' instead.
>>8640
Ah, great. The 'db is locked' error is not 'db is corrupt' error, so I expect you just had an old instance of the client that didn't want to shut down properly, depending on how you force closed that old one maybe? Was there a computer reboot in between these attempts?
Anyway, if you want to test the db, try database->check->db integrity. This does SQLite's internal checker and will report back with any index errors etc… Let me know if you get any results on that and we can figure out a good recovery plan.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b1028a No.8649
>>8644
>Thank you, unfortunately these are not yet supported. I hope to have support for manga pages in the new downloader engine I am currently working on and ugoira support (converted to apng, most likely) at a later date.
>The raw downloader probably doesn't work because Pixiv do some pretty mickey-mouse url referral testing when they serve up image pages. You can test this in a browser, pasting the same URLs–you'll probably get redirected back to the 'Post URL' instead.
i see, well thats a shame. hope you can find some way in the future to download everything from pixiv.
and speaking of downloaders any development on furaffinity and inkbunny ones?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07d8b4 No.8650
>>8644
me:
>>8632
>>8640
There was indeed a reboot (windows forcing updates serves a purpose at last.) between those tries. I did both the integrity checks and the filesystem checks. They came back with zero errors, although I was gone when the FS check returned and there was no popup, I assume it went away and thus assumed that it was 0 faults detected.
It seems to me like there are no real problems, are there any other checks I can run?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
65ded2 No.8655
After importing a set of files that probably had some duplicates, now when quitting (and performing maintenance), a "Database disk image is malformed" pops up.
I followed the steps at https://raw.githubusercontent.com/hydrusnetwork/hydrus/master/db/help%20my%20db%20is%20broke.txt, but the disk seems to be fine (Windows chkdsk reported no errors, and sqlite's "PRAGMA integrity_check;" command just said "ok", so… bug?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a322a0 No.8656
>>8655
To elaborate, this is version 303, on Windows 10. The app seems to behave just fine after launch (can import, tag, and search just fine). It's just upon quitting and it tries to do the cleanup step that it throws that error.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9d74dd No.8659
>>8614
No new information came up with the new debug option, unfortunately. I'm not sure what else to try, I will try release 303 this weekend and see if I can figure out anything else. I might start over and re-import and re-tag the files at this point. Let me know if there's anything else information wise I can send you that might help.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5b4635 No.8662
>>8655
I'm running into a similar issue. I've gotten the same error message, and running a disk check shows there are no errors there.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1a737b No.8664
>>8563
>Thanks. I have added a new subscription report mode in v301, so please give that a go sometime and pastebin or email me all the stuff it spits to your log. Just turn the report mode on under the help->debug->report modes menu and then open and close the manage subscriptions dialog to wake the daemon.
I completely missed your post. Sorry about that.
In any case, v303 fixed my problem.
I got a notification that "subscriptions are currently paused globally" and after unpausing the corresponding option they started working again. Thanks.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1a4bc No.8668
Anon who can't start Hydrus with his old database here.
I'm using Manjaro KDE Linux on testing branch. Hydrus is installed from AUR repository.
Here's log after the newest update:
2018/04/21 10:21:09: hydrus client started
2018/04/21 10:21:11: booting controller...
2018/04/21 10:21:12: booting db...
2018/04/21 10:21:14: updating db to v302
2018/04/21 10:21:14: updated db to v302
2018/04/21 10:21:16: updating db to v303
2018/04/21 10:21:16: updated db to v303
2018/04/21 10:21:16: preparing disk cache
2018/04/21 10:21:21: preparing db caches
2018/04/21 10:21:21: booting db...
2018/04/21 10:21:21: initialising managers
(client.pyw:7360): Gdk-ERROR **: 10:21:27.623: The program 'client.pyw' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 1391 error_code 2 request_code 1 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4cd116 No.8669
>>8614
>I will update the popups to resize better for v303.
Still seems broken. It resizes to shrink down to the smallest non text UI element in the popup stack or some minimum (thankfully no 1 pixel bullshit). In these pictures you can see that the text wraps underneath the next popup.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9a38bf No.8671
So I just updated from 287 to 303 and now my DB is gone.
Halp pls.
(my files are still there, but client.db is only 178 kb for a 550k image DB with most tags imported from boorus. I literally cannot retag all of these images, if I tried I would die before even coming close.)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8674
>>8649
I expect all new downloader work to be in the new system. I am working on the gallery downloader right now and am just starting to enable the more complicated parsing tools. I have written those two down, so if another user doesn't create parsers for them before me, I'll see if I can knock some up.
>>8650
I think you are good! I can't think of anything else to run. When something goes wrong for real, the client usually borks out completely and gives much ruder error messages. Grats on keeping a backup, as that is usually the only fix in those cases!
>>8655
>>8656
>>8662
First, please disable all idle/shutdown processing under options->maintenance and processing. This will stop the analyze call occuring on shutdown. Then hit database->check->database integrity in the client, or perform the 'PRAGMA integrity_check;' call on any client*.db files you missed. (I assume >>8655 you only did the call on client.db? You can also do it on client.mappings.db or the others.).
If you are getting the 'malformed' error, the integrity check should definitely pick it up. It is probably in client.mappings.db, since that is the largest. Once we pin down which table (and hence which file) is causing trouble, your best bet is to try the 'clone' trick in that same 'help my db is broke.txt' file.
Please let me know how you get on.
>>8659
Ok. I am sorry we couldn't figure this out. I can only assume this is some Linux weirdness now, some conf that got defaulted somewhere and is now messing up that parent process. I think v303 is your last bet–iirc, I improved how that debug option makes popups, so you'll get a little more info.
If you do decide to start over, there are ways to quickly export and import your 'local tags' and some of your other data, so don't abandon or delete anything too quick. (For tags, hit help->advanced mode and then go to your 'local tags' in services->review services. Hit 'advanced service-wide update' and then export all tags to a Hydrus Tag Archive. You can reimport that in the same dialog on the other end once you have your files imported.)
>>8668
Do you have a Nvidia card? I don't know how Linux Nvidia stuff works, but do you have an edit dialog for it where you can change its behaviours for game executables? If so, can you set up a profile for client.exe and disable OpenCL? In searching for that specific 'out of range for operation' error, there are a bunch of results like this:
https://askubuntu.com/questions/893922/ubuntu-16-04-gives-x-error-of-failed-request-badvalue-integer-parameter-out-o
That might be related to the client initialising its thumbnails and using your GPU as hardware acceleration, which has been a problem for some users. Disabling OpenCL would prohibit this.
Does the splash screen (with the hydrus symbol and test saying 'booting db' and so on) come up ok?
I am not familiar with exactly how the AUR release deploys, but can you copy it somewhere? What happens if you try to start a new client–will that run ok? If it isn't something you can move, you can use a switch to make a db somewhere new, like so:
./client.py -d="path/to/new/db"
>>8669
Thanks. Can you do a bit of testing with the help->debug->make a popup in five seconds command to test if this bad behaviour is on all popups, or is it only ever on the first popup to appear after there are no popups to show?
So, if there are no popups to show, try going:
new popup (should size bad)
new popup (maybe will size good)
Then right-click the bottom popup–does the first one go back to being too thin?
I think the size calculation isn't working while the parent container window is hidden, which is true as the first one back spawns every time.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8676
>>8671
I am sorry that you are having problems.
Can you describe your install a bit more–is the db supposed to be underneath install_dir/db, or had you remapped it to somewhere else? Which OS are you on, and which release do you use? How do you launch the client?
How did you do the big update from v287 to v303? Did you do it in one go, and did you see it count up as it booted, saying 'updating to v288' and so on, or did it come up instantly? Was the version you updated with ever booted beforehand?
How big are your client.mappings.db, client.master.db, and client.caches.db files? What file creation dates do the four files have?
Do you have a backup of your v287 db?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
d5539a No.8678
>>8674
Ah; yes, I (>>8655) did not check the other "db" files. "client.mappings.db" is indeed showing errors:
Page 49317: btreeInitPage() returns error code 11
Page 49316: btreeInitPage() returns error code 11
Page 49313: btreeInitPage() returns error code 11
Page 49306: btreeInitPage() returns error code 11
Page 49304: btreeInitPage() returns error code 11
Page 49301: btreeInitPage() returns error code 11
Page 49297: btreeInitPage() returns error code 11
Page 49296: btreeInitPage() returns error code 11
Page 49319: btreeInitPage() returns error code 11
Page 49291: btreeInitPage() returns error code 11
Page 49286: btreeInitPage() returns error code 11
Page 49408: btreeInitPage() returns error code 11
On tree page 26 cell 110: Child page depth differs
Page 48654: btreeInitPage() returns error code 11
Page 48645: btreeInitPage() returns error code 11
Page 48644: btreeInitPage() returns error code 11
On tree page 26 cell 108: Child page depth differs
Page 49271: btreeInitPage() returns error code 11
Page 48642: btreeInitPage() returns error code 11
Page 45031: btreeInitPage() returns error code 11
Page 45029: btreeInitPage() returns error code 11
Page 44964: btreeInitPage() returns error code 11
Page 45074: btreeInitPage() returns error code 11
Page 44935: btreeInitPage() returns error code 11
Page 44894: btreeInitPage() returns error code 11
Page 44960: btreeInitPage() returns error code 11
Page 45078: btreeInitPage() returns error code 11
Page 45020: btreeInitPage() returns error code 11
Page 44922: btreeInitPage() returns error code 11
Page 45066: btreeInitPage() returns error code 11
Page 45088: btreeInitPage() returns error code 11
Page 45110: btreeInitPage() returns error code 11
Doing a clone resulted in:
sqlite> .clone client.mappings_new.db;
current_mappings_5... done
deleted_mappings_5... done
pending_mappings_5... done
petitioned_mappings_5... done
sqlite_stat1... Error: object name reserved for internal use: sqlite_stat1
SQL: [CREATE TABLE sqlite_stat1(tbl,idx,stat)]
Error 1: no such table: sqlite_stat1 on [SELECT * FROM "sqlite_stat1"]
done
current_mappings_10... Warning: cannot step "current_mappings_10" backwardsdone
deleted_mappings_10... done
pending_mappings_10... done
petitioned_mappings_10... done
current_mappings_5_hash_id_tag_id_index... done
deleted_mappings_5_hash_id_tag_id_index... done
pending_mappings_5_hash_id_tag_id_index... done
petitioned_mappings_5_hash_id_tag_id_index... done
current_mappings_10_hash_id_tag_id_index... done
deleted_mappings_10_hash_id_tag_id_index... done
pending_mappings_10_hash_id_tag_id_index... done
petitioned_mappings_10_hash_id_tag_id_index... done
I believe part of the structure got saved, but the resulting file is only 15.6MB, when the old client.mappings.db file is 450.6MB; that to be expected? Launching the client with the new/cloned client.mappings.db file in place results in it seeing 1,400 files in "system:everything", but getting info on the "db/client_files" directory, Windows sees 7,000 files in there. Though, the Hydrus client reports that those 1,400 files are 2.9 GB, which is the same size Windows says the "db/client_files" folder is, so possibly there's no loss there?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9a38bf No.8679
>>8676
To give a little more info:
I am using Linux Mint 18.3.
I am running the Linux executable release, but I am upgrading from MintTeaFresh's alternate Linux build. I have used this same DB with the Windows release, the Linux release, the alternate Linux build, and direct from source without problems.
If I remapped the DB location, I don't know where to and it certainly wasn't intentional. I don't think I messed with any settings that could possibly remap it, but it's possible.
I did the update all in one shot, trusting that Hydrus will complain at me if I need to run a few interim versions to update (like it always has in the past).
I had not run the 303 beforehand, I just extracted the folder and copied+pasted the contents into my existing Hydrus folder. Before I did this, though, I extracted a copy of 303 and opened that to make sure it would run as expected, but I deleted the folder and extracted a fresh copy before copying it over my main Hydrus folder.
I didn't check to see if it updated the DB through the versions, I just clicked the desktop icon (linked to the executable in my main Hydrus folder) and brought a different window to the front while Hydrus loaded. Based on the time it took to load, I don't think it did any updates. Also, when I closed the window, it asked me if I wanted to do maintenance (like a fresh Hydrus install always asks).
The three files, and my client.db, all have the same file creation date of 12:50:39 on Sat Apr 21 2018. client.caches.db has a 45.1kb size, client.master.db is 24.6kb and client.mappings.db is 11.3 kb. I think Mint changes prefix using metric definitions.
So yes, I'm pretty sure my old db was overwritten. Looking in the tarball I downloaded, I don't see anything in there that would overwrite my file - just sqlite and some plain text files.
I do see an unexpected file in my DB folder - By its file signature, it's an ELF. When I try to run it, it spits out an error message about not find a shared library object in /home/me/.hydrus/hydrus network/db/libpython2.7.so.1.0. File creation date is in May of 2017. Probably unrelated, but definitely odd.
Yes, I do have a backup, but it's very old. IIRC, it's probably either circa September or around the last time MintTeaFresh made a new Linux build. I rarely make them because my Hydrus folder is about 700GB and I'm more concerned about hard drive failure (i.e., losing all of my images and videos) than whatever just happened happening. It takes too long to back up to make backups often.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1a4bc No.8683
>>8674
Yeah, I've got Nvidia card. I don't know, if it's possible to disable OpenCL for one program on Linux, but I'm looking for this option. Splash screen comes up every time, but then this error happens. When I start Hydrus with new database it will run okay.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8694
>>8678
I think you are good here. If you got hit on a repository mappings table, that is the best kind of error to have. Thankfully, it is also the most common.
I recommend you turn on help->advanced mode and then go to your tag repositories in services->review services and tell them to 'reset processing cache'. This will clear and regenerate these tables and rebuild from your original update files, which is frustrating and takes time, but you won't have lost anything.
If you do not sync with any tag repositories and this is your local tags (which would be odd with an id of 10, but it isn't impossible), then you are in less luck. Let me know if this happened, and we'll try and figure it out. You can see which service '10' represents by running:
select service_id, name from services;
From the client.db sqlite terminal.
Your db folder also includes up to two thumbnails for every file, which would be possibly up to 4,200, and then if you sync with my PTR or another big repo, you'll likely have a few hundred or thousand update files tucked in there as well. I think you are good, but you can run a database->maintain->clear orphan files if you would like to double-check.
This fault you have had is very likely to have been a hard drive fault. I strongly recommend that you make sure your drive is ok, if you haven't already. If you can explain away the timing of the problem to a rough power-cut or something, then you are on safer ground, but you might like to run CrystalDiskInfo or a similar hdd health checker, just so you can be confident that this won't happen again as soon as those tags reprocess.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8695
>>8679
Thank you. I know very little about Mint, but I am not sure there is much that can be done to get your old db back.
My best guess is that the extract you ran to test got mixed up and was the one that was copied over the real db. The db file creation and size line up and suggests that is a fresh db, and if the original tar of the linux build didn't accidentally come with a db, I cannot otherwise think how the original db would be replaced.
You can point hydrus at a different db location using a -d switch, like 'client -d="different/path", but if you haven't done this, then the db should still be going, as default, to install_dir/db.
Just FYI, hydrus takes a minimum two second break for every update step, so a v287->v303 boot should have taken at least an additional 32s.
I did change some db location stuff recently to make it that if hydrus cannot write to its install_dir/db folder, it falls back to ~/Hydrus. I don't think this fits your problem, but have you changed your write permissions on the hydrus folder recently? Is there anything under ~/Hydrus?
I don't know what the ELF file is–it isn't the 'sqlite3' executable, right? What's its name? I assume it isn't in the MintTeaFresh build?
I don't suppose Mint sends overwritten files to the recycle bin, does it? Or can they be recovered with a file undeleter?
I apologise for being a bore, but I recommend maintaining a regular backup, even just of the .db files, and particularly before a big update. A program like FreeFileSync can make it a five minute job once a week. I lost a hard drive with a ton of stuff about ten years ago and it fucking sucked. I now have a good routine and no longer worry about it. I hope you can get your original db back, but if not, perhaps this can be your motivating story to figure out a reliable solution.
If you cannot find or restore your original db files, I think restoring from your old backup is your best alternative. Copy the .db files from the backup to the main install, get it updated to a new version, and then hit database->maintain->clear orphan files->do it->move them somewhere to extract all the files that were added to your client_files in the meantime. You can then reimport them from the location you moved them to and set up and ratings services or shortcuts or whatever you also need to rebuild.
Please let me know how you get on. If you discover you can recover some but not all of the original .db files, let me know and we can work on cobbling together a working solution.
>>8683
Ok, that's interesting that a new db runs ok. That further points to something being upset at sophisticated actions rather than actual program boot or X initialisation. What happens if you import a hundred or so files to that new db and create a gui session with some thumbs (and maybe a downloader page) to boot with? Does the new db boot that session ok, or is it maybe drawing thumbs on boot fails for you?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9a38bf No.8698
>>8695
Nope, my desktop shortcut just opens the client program with no flags.
I never change file permissions unless the current permissions give me trouble. I'm the sole user of this PC, so I'm not concerned unless it's a security risk. ~/Hydrus is not a folder on my box.
The mystery ELF is named "client". I probably moved it into that folder by accident. I looked at a hexdump of the program and couldn't find any intelligible text, but I didn't do anything fancy to it like regexes, I just did hd client|less and pressed page down a lot. I moved it out of the folder and it my normal Hydrus didn't seem to do anything different. I found an archive that I think is the MintTeaFresh build I'm using and didn't see it, but that doesn't mean it wasn't from an earlier version.
I copied and pasted my old DB backup over the new version and it worked… sorta. I had to give it several tries because it kept crashing partway through checking my subscriptions. After closing everything else and observing the performance graphs, it seems like the new version of Hydrus randomly decides to gobble up all of my processor time on all of my available cores, which makes the OS get nervous and kill it. It's not just while importing either, it did it several more times during both exporting the orphans and trying to edit my subscriptions. After playing around with it, it looks like Hydrus is more likely to do this if it's minimized or another window is fully in front of it.
I don't know how Hydrus is configured to use processor cores, but if it's (numcores) - 1, then Linux users with Sky Lake ASRock mobos might have an issue - some of those boards' BIOSes have malformed APCI tables and Linux tries to deal with all of the logs that generates by dedicating a whole core to logging.
TL;DR the restore worked, Hydrus may have some bugs.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1a4bc No.8700
>>8695
With new database everything works just fine. Is it possible to copy tags from old db to new db?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
64a178 No.8701
>>8694
Yes, I had exactly one tag repository sync set up. Running a "clear orphan files" job found a few thumbnails to clear out, but nothing else. So, this looks to be good now; thanks!
The hard drive itself checks out from a disk integrity check. It is an external drive, so might have had a hard disconnect at some point from getting unmounted badly.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2a2189 No.8707
>>8698
Thanks. I am not sure what is going on with the CPU cores. Python only ever uses one core, so when this stuff happens, it is usually a lower C++ layer or something (such as cv2/numpy's C++ part doing multiple image processing at once). I don't set any unusual core affinity afaik, but perhaps pyinstaller sets something, or as you say, there's some OS/hardware level conflict somewhere here. What window manager are you using? I wonder if that is having X server trouble with wx? I've had problems with Linux and minimise stuff before.
>>8700
If you have another machine (even a Windows machine) that you can get the old client to boot on, you can export your 'local tags' to a 'Hydrus Tag Archive' under services->review services->local tags->service-wide operation (you'll have to turn on help->about first). You can then import that HTA in the other client in the same place.
Before you completely switch over, try running the old client with:
client --no_daemons
switch, which will turn off a bunch of background tasks. If possible, it would be nice to pin down exactly what broke in your old client so we can either recover it or forestall it happening in the new one as well.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
87b2ab No.8733
>>8707
Unfortunately it doesn't boot with the old database and client --no_daemons
so I'll just export my tags on another machine.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
969d82 No.8740
>>8707
Hydrus keeps crashing and I haven't worked out much of a pattern yet. It seems most likely to happen when there's a file that exists in the DB, but Hydrus doesn't load (sometimes the file still exists at the correct location, sometimes it doesn't), but sometimes it crashes for no reason at all.
It happens whether I clear the error messages or not, whether I run a query that has images that were deleted since the last DB backup I restored from, whether I edit tags or not, and whether I trash files or not. It's more likely to happen when I run queries with files that I deleted after October, but it's never instant - It always waits a little bit before it crashes. Sometimes under a minute, sometimes 10 minutes later. Since you mentioned minimizing the window, I have noticed that Hydrus crashes more frequently while it's minimized (but always with a decent amount of time after minimization), though it also crashes a lot when it's the active window. All of the behaviors I mentioned above seem (based on about 10 or so runs with combinations of the behaviors I mentioned above, aka not scientific at all) to contribute to the likelihood of the program crashing soon, though given an hour or two it's inevitable.
Since Hydrus doesn't commit any changes unless it's shut down properly, this makes trying to fix the mess caused by my DB being overwritten a lot harder. I ran Hydrus from the terminal to see what it does when it crashes. I was only able to convince it to crash once, by selecting one of the deleted files and leaving the selection there for a little bit. This is the only repeatable crash I have discovered, probably because it generates so many messages that the program crashes. I.E., the debug output generated probably isn't the same for all crashes. The weird thing is that in previous versions, this didn't present a problem - If I downloaded an image in the thread watcher, saved the session, deleted the file, and reloaded the session, Hydrus would handle it just fine. Maybe it's different because it's a query, or because the DB registered that the file was deleted.
Anyways, log file:
http://www.mediafire.com/file/08xp2wy8qn1fk9b/hydrus_error_log.txt
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
47f3e4 No.8741
I am trying to initialize server instance, hydrus client keeps crashing after using 'init' as registration key.
When i set hostname to localhost and port to 45870 test says that everything is okay, but once i try to actually initialise, client dies on me every time.
I tried that on Archlinux (installed from AUR) and on fresh Ubuntu 18.04 install in a vm, same results for both.
There doesn't seem to be much info in client logs:
2018/04/30 15:53:46: hydrus client started
2018/04/30 15:53:48: booting controller…
2018/04/30 15:53:49: booting db…
2018/04/30 15:53:49: preparing disk cache
2018/04/30 15:53:50: preparing db caches
2018/04/30 15:53:50: booting db…
2018/04/30 15:53:50: initialising managers
2018/04/30 15:53:51: booting gui…
How do i fix this?
Is there any way i can enable debug log or something?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.8753
>>8733
If you don't have a Windows machine that will run your old db, let me know and I'll see if I can rustle up a 'export an HTA from my unbootable db' script or something.
>>8740
Thank you for this report. There's still some gui code that is having trouble in some Linux window managers.
That selecting dead files increases the crashing is useful and new information. I will check this and your log out next week.
>>8741
Thank you for this report. I will check this out next week.
Unfortunately, it is tricky to get a crash log for python as it loses control as soon as the crash occurs, and tools that do crash-level debug stuff don't understand the python level enough to report useful info.
I think I know what is probably causing this, so I'll see if I can have it fixed for v306.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
47f3e4 No.8759
>>8753
>I think I know what is probably causing this, so I'll see if I can have it fixed for v306.
Great, i thought that im just doing something horribly wrong, thats why i wanted those logs.
I guess i will just wait and try on v306 then.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
79e9f4 No.8773
Little problem with the transformation part of the pre-parsing jobs in the parser creator. When you say select the last 5 characters in the string it says take the first 5 characters, not the last 5 character. pic related
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1b2a6 No.8779
is hydrus not importing files from folder for anyone else using hydrus ver .305?. I'm getting unsupported file format for all of them.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1b2a6 No.8780
>>8779
I tried to manually drag the file with the .txt tags same thing.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
969d82 No.8784
>>8753
Just obtained another crash log. It's a lot shorter this time, though probably a lot less useful too. All I did to make it crash was run a query. After the program crashed, I ran it again with the same query. It worked fine and returned 47 images (with 1 that couldn't be found). Still using 303, I've been backing up files on my HDD to change out drives.
cfalcon@House-of-Hype /media/cfalcon/Backup/.hydrus/hydrus network $ ./client
2018/05/05 13:02:48: hydrus client started
2018/05/05 13:02:49: booting controller...
2018/05/05 13:02:49: booting db...
2018/05/05 13:02:50: preparing disk cache
2018/05/05 13:02:55: preparing db caches
2018/05/05 13:02:55: booting db...
2018/05/05 13:02:55: initialising managers
2018/05/05 13:02:59: booting gui...
client: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
969d82 No.8785
>>8784
I don't think it matters, but this copy of Hydrus was run from my backup drive. Hydrus doesn't like it when I try to copy the thumbnail folder, so it has nothing in the client_thumbnails folder.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
969d82 No.8786
>>8785
or rather, either Linux doesn't like it or Mint doesn't. The mimetype is detected as application/octet-stream. Bash permission errors when I try to cd into the folder, but my DE allows me to for some reason. It won't allow me to actually load any of the files in any sort of program, though.
Switching user to root and experimenting reveals that it thinks that all of the "files" are empty folders, though it takes a suspiciously long amount of time for tree to decide that these folders are empty (a little over 1 second each). Folder permissions read all of the other directories as drwx——— , but client_thumbnails reads as drw——— . The subfolders of client_thumbnails all read as drwx—— . Should I try mucking around with the permissions?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c1b2a6 No.8811
>>8779
>>8780
nvm fixed by based dev .306 He already knew my troubles.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.8823
>>8773
Thank you, this is fixed in v306. You probably saw, it was just a display problem in the end.
>>8784
>>8785
>>8786
I am working on this X Server resource issue. I used to get it sometimes on my test machine, but even then could not reproduce it reliably. There's still some ui code the new wx is unhappy with in some Linux window managers. Trying to access window size before it drawing to screen or something.
I am not sure what is going on with your thumbnail folder permissions. There's a maintenance command under database->regenerate->all thumbnails that might help you automatically refill these directories, but I guess you may need to figure out the permissions stuff if hydrus is having trouble placing anything new in there now.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
679279 No.8836
Installed for the first time a couple days ago; running newest version. I've had this running on an external, bouncing between two PCs quite easily as I organize my hot mess. Last night on my Win10 machine, I let it do shutdown maintenance, and today it won't run on either PC (second being Win7), Both spitting out errors. I tried the no-boot instructions, including a fresh extraction, and the clone db instructions, where the integrity check replied with "ok".
Every error instance is this.
2018/05/14 16:46:16: hydrus client started
2018/05/14 16:46:16: booting controller…
2018/05/14 16:46:16: booting db…
2018/05/14 16:46:16: preparing disk cache
2018/05/14 16:46:16: preparing db caches
2018/05/14 16:46:16: booting db…
2018/05/14 16:46:16: initialising managers
2018/05/14 16:46:22: If the db crashed, another error may be written just above ^.
2018/05/14 16:46:22: A serious error occured while trying to start the program. The error will be shown next in a window. More information may have been written to client.log.
2018/05/14 16:46:22: Traceback (most recent call last):
File "include\ClientController.py", line 1217, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 551, in InitModel
self.temp_dir = ClientPaths.GetTempDir()
File "include\ClientPaths.py", line 22, in GetTempDir
return HydrusPaths.GetTempDir( dir = temp_path_override ) # none means default
File "include\HydrusPaths.py", line 325, in GetTempDir
return tempfile.mkdtemp( prefix = 'hydrus', dir = dir )
File "tempfile.py", line 351, in mkdtemp
IOError: [Errno 17] No usable temporary directory name found
2018/05/14 16:46:43: shutting down controller…
2018/05/14 16:46:43: hydrus client shut down
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
932a7a No.8856
I have a bug where one file is being downloaded as another. Clearing the known urls does not help. video related.
Also when I upgraded hydrus to v306 (from v295) a popup said something about normalizing known urls failed and it told me to let dev know.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
558275 No.8857
Any subscription on danbooru with order:random in the query will cause hydrus to throw the periodic file limit reached nag error when it fires, in this case, daily.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
932a7a No.8859
>>8856
I found a lot more posts where this happens. The thing they all have in common is that they share the same source links on e621.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.8869
>>8836
Thank you for this report. Did you recently set a new temporary folder override under the options->files and trash page? It was a recent BUGFIX option I added.
Otherwise, could you have a full system drive? This error can apparently occur when the drive with the temporary folder (Usually C:\Users\You\AppData\Local\Temp, although I am not sure about Win7) is completely full.
It can also happen if you do not have permissions to access it. This sort of situation is trickier to get in Windows, but in your bouncing from one machine to another, has your hydrus install folder been owned by a different user or something? Have you ever had to click through an admin dialog to view the contents of a hydrus folder?
I will improve this error and the related ui for v308 in case I can automatically recover from your problem as well.
>>8856
>>8859
Thank you–it looks like the client is assuming a tumblr post can only refer to one file, so when it sees the same source url again, it assumes it is the same file (this was the same thing affecting some pixiv source urls recently). I will roll out a fix to this for v308, but you can fix it for now by going to network->manage url classes, finding the 'tumblr file post' entry, and checking the 'can produce multiple files' checkbox. You might have to clear known urls one more time, and since this has affected a number of files for you and others, I may end up having to improve my url logic on this again to fix this en-masse retroactively.
>>8857
Yes, I do not recommend adding any non-newest-to-oldest sort for your subscriptions, since subscriptions rely on this in order to sync and calculate recheck times.
If you intend for your subscription to be a random sample every day or whatever and just want the warning silenced, I don't think I will do/approve this yet as I am not sure the logic of the subs system will not sperg out in some edge cases here. It might be better to set this up as a different object in the new system. I haven't thought about this before, so I will keep thinking about it. If it is possible to just silence the error and not have everything break, I'll do that.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
679279 No.8873
>>8869
>Did you recently set a new temporary folder override under the options->files and trash page?
I vaguely remember being on that page for some other reason, perhaps I messed something up while I was fiddling? But I can't start hydrus at all right now, so I can't get in to check and (un)fix it.
>Otherwise, could you have a full system drive?
60GB left on my Win7, 140GB on my Win10, as I said I'm new to this so I've imported only ~600 pngs and jpegs so far, so I'm sure it doesn't need that much temp…
>Have you ever had to click through an admin dialog to view the contents of a hydrus folder?
Both machines are just standard login-with-password and I'm the only user. The external is not password protected.
Also tried opening it again, got this new complaint, then updated to v307, same complaint:
2018/05/19 21:46:54: hydrus client started
2018/05/19 21:46:54: booting controller…
2018/05/19 21:46:54: If the db crashed, another error may be written just above ^.
2018/05/19 21:46:54: A serious error occured while trying to start the program. The error will be shown next in a window. More information may have been written to client.log.
2018/05/19 21:46:54: booting db…
2018/05/19 21:46:54: Traceback (most recent call last):
File "include\ClientController.py", line 1225, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 534, in InitModel
HydrusController.HydrusController.InitModel( self )
File "include\HydrusController.py", line 365, in InitModel
self.db = self._InitDB()
File "include\ClientController.py", line 88, in _InitDB
return ClientDB.DB( self, self.db_dir, 'client', no_wal = self._no_wal )
File "include\ClientDB.py", line 157, in __init__
HydrusDB.HydrusDB.__init__( self, controller, db_dir, db_name, no_wal = no_wal )
File "include\HydrusDB.py", line 168, in __init__
self._InitDB()
File "include\HydrusDB.py", line 392, in _InitDB
self._CreateDB()
File "include\ClientDB.py", line 2863, in _CreateDB
self._c.execute( 'CREATE TABLE external_master.local_hashes ( hash_id INTEGER PRIMARY KEY, md5 BLOB_BYTES, sha1 BLOB_BYTES, sha512 BLOB_BYTES );' )
OperationalError: table local_hashes already exists
2018/05/19 21:47:08: shutting down controller…
2018/05/19 21:47:08: hydrus client shut down
sorry and thanks
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
da79bc No.8890
When browsing thru pictures all the larger ones causes CPU spikes <50%. And I'm not talking about really big, just <2mb. I used this software a year ago and don't remember it doing that then. I have a i7 so CPU shouldn't be problem, I can view those pictures in IrfanView just fine, CPU use is non-existent. I would love to use this software but this is a dealbreaker for me. Please help?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
da79bc No.8891
>>8890
Oh fuck, I meant >50% & >2mb
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.8896
>>8873
Thanks. I have some new code in this week that will recover from the custom temp path being bad, if this is the issue.
Your new traceback has me concerned that you have a bigger problem, though. That '_CreateDB' code should only ever run if the main db file ('client.db') lacks a critical table. It then apparently filled up your client.db file with fresh empty tables until it stumbled on the client.master.db (external_master) creation code, where the master complained 'I already have my tables, what are you doing?'.
This suggests your client.db file is missing or was somehow wiped, which likely means a dead database. Have you tried booting your client with different combinations of .db files, or have you not touched anything? Did it maybe get lost in your clones? How big is your install_dir/db/client.db file?
If you haven't messed around with this stuff, I recommend you go through the 'is my hard drive ok' stuff in install_dir/db/help my db is broke.txt. Given your additional problem about a temp path being inexplicably unusable, I fear you might have a damaged hard drive/system. If you have a backup somewhere, hold on to it, and make sure you back up everything important on this drive somewhere new.
If you just lost track of your client.db file and have a backup, please put everything back in order and try v308 later today and let me know if you get a new error about the temp dir or if it falls back ok. Check help->about to see what your current temp is. It may also print a 'fugg, switching back to default temp dir' statement to your log in the booting section, before the ui comes up.
>>8890
>>8891
Thank you for this report. Here's a question dump:
I get jumps up to 10-15% when I browse decent sized images, which is about 50% of 1 core of my 4-core dev machine. Is your 50% of one core or of the whole chip?
Does your ui chug when you browse like this, or is it still smooth?
Do you have any hydrus import queues (particularly of videos) running in the background?
If you open up a page of just two of these images and browse between them by hitting page down every second or so, does the CPU spike occur as hard, and does it persist or go completely away?
Under options->media, are either of the BUGFIX options set? If they are and you uncheck them, does it work better?
Do you have a decent GPU in this machine? Have you had problems with CUDA or OpenCL before on it? If you have the ability to see GPU %, does it also spike when this stuff happens?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ced40b No.8906
A client issue occurs on (Arch) Linux for me only when restoring/running from a (windows) DB. When launching, the client appears to fail to initialize the client files manager, hanging for a while before giving the following output log, similar to >>8310:
2018/05/23 19:17:26: hydrus client started
2018/05/23 19:17:26: booting controller…
2018/05/23 19:17:26: booting db…
2018/05/23 19:17:26: preparing disk cache
2018/05/23 19:17:27: preparing db caches
2018/05/23 19:17:27: booting db…
2018/05/23 19:17:27: initialising managers
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python2: xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
[1] 12268 abort (core dumped) hydrus-client
Other errors are occasionally encountered in the same manner but without hanging:
2018/05/23 19:47:44: hydrus client started
2018/05/23 19:47:44: booting controller…
2018/05/23 19:47:44: booting db…
2018/05/23 19:47:44: preparing disk cache
2018/05/23 19:47:45: preparing db caches
2018/05/23 19:47:45: booting db…
2018/05/23 19:47:45: initialising managers
(client.pyw:12732): Gdk-ERROR **: 19:47:59.959: The program 'client.pyw' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 932 error_code 2 request_code 12 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
[1] 12732 trace trap (core dumped) hydrus-client
2018/05/23 20:38:02: hydrus client started
2018/05/23 20:38:03: booting controller…
2018/05/23 20:38:03: booting db…
2018/05/23 20:38:03: preparing disk cache
2018/05/23 20:38:03: preparing db caches
2018/05/23 20:38:03: booting db…
2018/05/23 20:38:03: initialising managers
Gdk-Message: 20:38:04.153: client.pyw: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
2018/05/23 20:39:59: hydrus client started
2018/05/23 20:39:59: booting controller…
2018/05/23 20:39:59: booting db…
2018/05/23 20:39:59: preparing disk cache
2018/05/23 20:40:00: preparing db caches
2018/05/23 20:40:00: booting db…
2018/05/23 20:40:00: initialising managers
[1] 13342 segmentation fault (core dumped) hydrus-client
At one point a window popped up (one of the usual pre-init dialog boxes, judging by the dimensions of it), but it was completely black and uninteractable. With the inconsistency of the errors, and the logs complaining about async issues on the XCB/GTK libraries, I wonder if the client actually hanging because it's trying to display said dialog box and is unable to due to synchronous GUI code being run asynchronously.
The client executes normally when no database is supplied (or if it's using the database it generates on initial run), and multiple methods of client installation (github download, AUR install, manual install) and database import (restore from backup, copying backed up db to hydrus db folder directly) were tested, all resulting in one of these errors, making this problem relatively consistent on my machine and with my database.
I'm uncertain if Windows being the source database has anything to do with this; the last time I tried to use the Linux client with a Windows database, it failed due to the use of backslashes instead of forward slashes in a file path in one of the db configuraiton settings (which was generally fixable with a few UPDATE queries to one of the client db files). I believe that was fixed, however. Will report back later if I get around to doing any more testing.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
679279 No.8909
>>8896
I'm
>>8836 and >>8873
but on my Win10 setup because Avast is "cracking" 308 on my Win7 one, where I replied before. Can't open because Avast blocks it and I foolishly am running without it on here.
>How big is your install_dir/db/client.db file?
I had done the clone/repair to my database, old!db was ~1000kb and new!db ended up being ~100kb and I think that's what happened with the hangup there, and I put the old one back and the error went away. Not sure why it stubbed so much but re-doing the clone reproduced the error, but the other checks on the old client just came back with 'ok' so I think everything's fine on that end??
>is my hard drive ok
Yep. new-ish, came back clean via chkdsk.
>f you get a new error about the temp dir
Unfortunately I'm getting the temp error again (still). I've been dicking around in SQLiteStudio and everything in the database looks mostly in order. I can't find the temp directory option in the options section (attached file), but I was going to try zero-/null-ing it out to see if the option resets as you intended? If there's a way for me to reset it manually, that'd be cool. Maybe if I find out what in sam hill is going on you can do a catch for that too??
Anyway, current error.
2018/05/23 23:12:15: hydrus client started
2018/05/23 23:12:15: booting controller…
2018/05/23 23:12:15: booting db…
2018/05/23 23:12:15: preparing disk cache
2018/05/23 23:12:15: preparing db caches
2018/05/23 23:12:15: booting db…
2018/05/23 23:12:15: initialising managers
2018/05/23 23:12:20: If the db crashed, another error may be written just above ^.
2018/05/23 23:12:20: A serious error occured while trying to start the program. The error will be shown next in a window. More information may have been written to client.log.
2018/05/23 23:12:20: Traceback (most recent call last):
File "include\ClientController.py", line 1243, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 576, in InitModel
self.temp_dir = ClientPaths.GetTempDir()
File "include\ClientPaths.py", line 36, in GetTempDir
return HydrusPaths.GetTempDir( dir = temp_path_override ) # none means default
File "include\HydrusPaths.py", line 330, in GetTempDir
return tempfile.mkdtemp( prefix = 'hydrus', dir = dir )
File "tempfile.py", line 351, in mkdtemp
IOError: [Errno 17] No usable temporary directory name found
2018/05/23 23:12:49: shutting down controller…
2018/05/23 23:12:49: hydrus client shut down
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ced40b No.8911
>>8906
I've managed to fix the problem myself. PDB is utterly useless after the WX main loop is called, so I did some good old fashioned print() tracing and found the error in the _Reinit() function of the ClientFilesManager class. Looks like it can't find any of the client files and when it goes to print that error in a dialog box, that's when the crash occurs.
I couldn't tell you what's wrong with the GUI not displaying - GUI work isn't my strong suit. However, I was able to diagnose and fix the intermediate error causing that dialog box to appear. The missing_locations variable defined in that function reveals the missing location to be "/home/myuser/.hydrus/C:/Hydrus Network/db/client_files" (absolute path to my new Linux Hydrus database directory + absolute path of my old Windows Hydrus database directory). It's trying to use the old absolute Windows location of the client files in the database as the relative location in my database. It should be looking for "/home/myuser/.hydrus/client_files" (or, in the case of the GitHub builds, "/path/to/hydrus/db/client_files") instead of that absolute path.
To remedy this, I ran this SQL line on the client.db file, after which Hydrus launches properly:
UPDATE client_files_locations SET location = "client_files";
I do have another issue to report, however: the search auto-complete menu does not seem to work properly when "Always embed autocomplete dropdown results menu" is not checked in the gui tab of the options. When started with this option, the initial tab is unusable (with neither the sidebar nor image gallery window loading properly). Opening a new tab works fine, but then the autocomplete menu is not displayed on anything but the first tab. To note: I am using a tiling window manager (named i3), which may potentially be the cause.
Thanks for all the work on Hydrus - absolute unit of a program.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
05ab72 No.8917
>>8911
More like that image, please.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
218df2 No.8920
Hello.
My subscriptions don't work anymore: people add things to their Tumblr but Hydrus does nothing. Also, when I try to use the Gallery Parser (Tumblr), Hydrus says "list index out of range" when I write the username and press Enter. I have this error with Hydrus 307 and 308.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
480034 No.8927
>>8920
Tumblr subscriptions also doesn't work for me anymore, but I do get a "list index out of range" error.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b284e0 No.8948
I'm trying to make a parser for Gfycat URLs, but seem to be hitting some sort of infinite loop that crashes out the client. I realize the UI labels that area as "under construction", so might be rough around the edges. Here's what I'm trying to do:
> Take a URL like "https://gfycat.com/InbornPleasedKomododragon"
> Strip the prefix off and change it to "https://gfycat.com/cajax/get/InbornPleasedKomododragon" (gets JSON data about that item. I created this as a "URL Class", and a regex transformation modifier)
> Grab that JSON, and walk down the "gfyItem" property to the "webmUrl" property (created as a parser)
> Use that as the URL of the WEBM file to download
I wired those two together with the "manage url class links" tool, but whenever I paste in a Gfycat URL into a downloader page, it hangs on "processing", and if I try and access any menu item, the screen goes faded white (as Windows does for a program that's not responding) and the title bar changes to "Not responding"). Running in debug mode shows nothing dumped out to the console while this is happening, though… Is this something I'm doing wrong, or this a glitch part of that whole "under construction" thing?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
869dfd No.9028
>unable to render that video
>doesn't even show the hash
Help.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9029
>>8911
>>8906
Hey, I am sorry about the late reply here. I've been improving some Linux gui stability recently and some of the stability of the 'missing db locations recovery' ui code, which was crashy on Linux and may be what you were encountering. I hope this situation is better for other users going forward, but please let me know if you encounter something like this again.
For the autocomplete dropdown, yeah, I had to put that option in precisely because that floating window has been buggy in non-Windows. I expect to revisit this properly now we are on the new wx, although I am still obviously ironing out some last instabilities from updating.
>>8909
I have written a 'fuck it, boot anyway' catch for that for v310. The options structure is probably a bit complicated to edit by hand, but if you want to try anyway, it would be in json_dumps, dump_type 22, json key 'temp_path_override'.
>>8920
>>8927
Thanks lads, this should be fixed in v309. It is a GDPR thing–update, and you'll get a popup about it.
>>8948
I haven't got time to check this today, but I have put it in my 'get back to this' folder.
Just a short thing: if you are converting to an API URL, you also need a url class for that. You then match the API url class to the parser. Check the 8chan url classes and parser as an example. I bet your url class it converting to api url and then matching with itself in a loop, fugg. I will make sure this can't happen in future and error-out correctly.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9030
>>9028
Thanks, I will improve that error. I think it probably wrote the path it to the log file in your db directory, but I have already improved the new thumb rendering code with some other examples, so you are probably already good if you just want to wait until v310 to try again.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
869dfd No.9031
>>9028
Nevermind I'm retarded, the names show up on the logs.
7 were actually corrupt files that I didn't check before importing, the other two only fuck up on hydrus.
Webm related fucks up when skipping ahead, then there's some hentai episode that doesn't even open on hydrus, but works fine on MPC.
Here's the file since it's too big for 8ch.
https://anonfile.com/W8M5Jce3b0/62a4472db48f409054e38dade75d6f1910dfdc4f1aef7505bd3c18b38746d34b.mp4
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9052
>>9031
Thank you for these examples. The cowgirl one I guess has some odd/broken/missing indexes/keyframes or something? If I try to skip ahead in MPC, it just hangs on the last ok frame. I guess FFMPEG is having a similar problem. I will make a note to see if I can make my rendering pipeline recover from this better and either render all the way from existing frame or just veto the request to move the video position. I've attached an alternate version from sankaku that seems to be very slightly different (23KB smaller, hash 2218de0ba290190bcbd869f6a8f02b47ff5ae80925dd35e3bb0169de77aa9d81) and doesn't have the problem.
https://chan.sankakucomplex.com/post/show/6904695
Is it possible that some boorus are messing with the metadata? Or some other CDN (I hope CloudFlare isn't fucking with videos now) that these artists' content goes through? Or is this something artists do–put out two versions, like one is a phone-friendly version? Or has she got an earring or glossy skin or something in one of them and I can't see it? I couldn't quickly find a social media presence or public release location for noname55. Just his 'commision here' site:
http://www.noname55.com/
So I can't find if he officially puts out two versions, or if this is a case of 'shit guys, I fucked up the render options on that one, here's a fixed version'. I guess he releases everything through patreon, and it all filters down to the boorus? I don't know, but I would be interested if you or anyone else knows what is going on here.
The larger file seems to have more serious issues. I guess MPC can recover, but FFMPEG can't figure it out. This is its basic info output:
ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002489693a100] STSC entry 43697 is invalid (first=1 count=1 id=1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002489693a100] error reading header
6.mp4: Invalid data found when processing input
A future version of FFMPEG may deal with it better.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
679279 No.9059
>>9029
>json_dumps, dump_type 22, json key 'temp_path_override'
Fixed, easy peasy. Apparently having the temp file be in /programs is a bad idea (I hecked it up while trying to hook my browser, guaranteed). I can now open hydrus again! Thanks!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
acb537 No.9081
Hydrus crashes when attempting to import images and folders, tagged or not. Happens when pressing the "import" button, or its counterpart in the tag manager.
Error message is:
> corrupted_size vs. prev_size
> terminated by signal SIGABRT (Abort)
Running Archlinux 64-bit, with mostly updated packages.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
acb537 No.9110
>>9081
Also, another bug I've encountered is
>client: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
Triggered when I'm in viewer mode. Same specs. According to https://stackoverflow.com/questions/25790890/xio-fatal-io-error-11 it may be because of running a 32-bit application on 64-bit, but I'm not sure.
I'll attempt a manual compile, to see if it fixes any of the issues.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9163
>>9059
Great, let me know if you run into any more trouble.
>>9081
>>9110
Thank you for this information. I am still working on improving Linux stability, although these last problems are proving tricky to pin down. Some may be Arch-specific or -predominate, so I would appreciate any more information you discover.
This corrupted_size vs prev_size is a new one. I'll have another look at how those import prep dialogs are converted to an hdd import object.
For hydrus, the resource temp unavailable is almost always a 'talking to a gui object from a non-main-gui thread' problem. The old version of wx was very forgiving on this front, and even when it had a problem, it usually just through an assertion exception that I mostly suppressed. Unfortunately, this new version–while it is great in a bunch of other ways–gets very pissy, particularly with gtk on Linux, if I even touch my own custom variables in gui object from the wrong thread. I know the fix, but chasing these last occurences down has not been simple, particularly because the crash often only triggers 30-3600 seconds later, when the object is eventually garbage collected. The situation is still a bit shit, but improving.
I am going to keep working on this. I'm also crossing my fingers that the next wx update has some better safe-handling at the C++ level. I suspect some of the extreme sensitivity is unintentional.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3bdc4e No.9180
There's no sane way to install python3-wxgtk4.0 on a Debian 9 machine, installing python3-wxgtk4.0 would mean basicially mean upgrading to sid. here's a List of packages that would be removed/installed/upgraded
https://www.zerobin.net/?1567085bebb9e92c#VXOzKEwIQCS4Jfel/TuqSK6+AW0Zuwbpy5GHcwfqoc4=
I guess the only sane way to use hydrus on Debian 9 would be docker…
But I'm too stupid to hack together such an Image
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
a1cfdc No.9444
(hydrus v315) I added a local tag sibling with the right-click "Add siblings to…" in the selection tags section of a files page. The sibling replacement seemed to work fine (left-side tag replaced with right), but the selection tags list had the "left-side tag (7)" get permanently stuck there, regardless of which files I selected or if I did a refresh. Opening a new files page fixed it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9454
>>9180
Thank you for this info. I am afraid I am completely out of my depth when it comes to Debian, but can you possibly install wxPython 4 to a virtualenv using one of the wheels here:
https://extras.wxpython.org/wxPython4/extras/linux/gtk2/debian-9/
As roughly described here:
https://hydrusnetwork.github.io/hydrus/help/running_from_source.html
Afaik, that won't need any building on your part.
>>9444
Thank you for this report. I am afraid I was unable to reproduce it, but I have had the 'tag gets stuck in selection list' problem before in other circumstances. I am still trying to figure out how the underlying media list or whatever is getting stuck/not updated. Please let me know if this happens over and over for you or if you discover any particular series of events that cause or do not cause it to happen.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
349229 No.9460
>>8094
I have the same issue, but when importing.
Xubuntu 18.04, everything by defaults.
> double free or corruption (out)
> Aborted (core dumped)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
349229 No.9462
>>9460
Running the same instance on Debian give more details on the same bug
https://ghostbin.com/paste/uvqt7
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
078abf No.9560
new gallery parser bug
certain tag searches stop at a certain page and don't continue.
e.g. "goth* trap" ends on 84 items despite there being more than 300.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9574
>>9560
Thank you for this report. I assume this is on gelbooru? This is very interesting. A regular search produces the little 'next page' > and 'last page' >> buttons on gelb, but this search does not. I thought it might be due to the wildcard, but then 'gothic_lolita trap' also failed for me. Since I now parse these links for the next page, the search is stopping at page 2.
Maybe this is a caching issue on their end, where the count is wrong for one of those tags somewhere on their end, so it thinks page 2 is the last page? I don't know.
I have a plan to add a 'fallback' option to generating 'next page' links that I will be rolling out in a week or two that will solve this problem, so please hang in there for now. Thanks again for this odd report–let me know if you figure anything else out.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
60a19b No.9578
old 8ch images don't download properly(the ones using board/src/numbers instead of file_store/hash)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
d52242 No.9583
>>9574
yeah sorry this was on gelbooru. I thought it was the wildcard too, but I'm attaching the list of scrapes I was going to eventually run and there doesn't seem to be much of a pattern except a multiple of the image per page count.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f7e7ba No.9584
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07e9ef No.9595
Not really a bug, I'm just a retard, but here goes.
I'm running v314 and I accidentally disconnected my Veracrypt volume with the client still running. Now the client opens a clean session instead of my lagged up birrion nested tag shitshow that I need to finish importing stuff with.
I'm also too stupid to keep updating my session save so it should be a "last session" sort of thing but instead "last session" just returns a blank session too. I've opened and closed it several times but even on the first reopen after the mistake it still loaded a blank session as "last session".
Is this something where the files are still around but need to be renamed or a session lock thing deleted somewhere, or is it gone forever and I should sudoku?
Again this is just for the session, the db itself is fine
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f7e7ba No.9603
>>9595
I invite you to play around with the date of import and the file limit settings.
Won't be verbatim, but you'll get the last thingies back.
If it's a years old session you were procrastinating till the end of time.
Well it's probably fucked, at least the files are still there and you can search by number of tags.
plz, create a "tagme" and "tagme more" ratings.
This will save you in such cases.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5823f6 No.9604
I don't see this anywhere, so guess I'll report it.
The xbooru parser appears to be broken. It just grabs the most recently uploaded images and ignores the user query. It also might be stopping at 42 images, I'm not totally sure with that one.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
d52242 No.9612
>>9574
>>9560
>>9583
this error is still occurring in v317.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
07e9ef No.9618
>>9603
I don't think you understand, I'm trying to get back my tabs of importers. How would looking at import dates on files help me do that?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9632
>>9578
I'm afraid the thread watcher cannot handle these legacy links. Please try the '8ch thread (all linked files)' entry under the 'simple downloader', which will parse the html for file links directly, for these rare very old threads.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9633
>>9584
Thanks. Yeah, it looks like more JSON. Maybe they will switch all manga over to it at some point. I will fold a fix into the pixiv parser when I find some time.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9634
>>9595
I am afraid you may be out of luck. Although I have plans to ruggedise them and add dated backups, sessions are fragile atm. If the session save got borked due to the dismount or the recovery after the crash otherwise failed, I think that data is likely gone. If it is not listed in the 'pages' menu as a session, there will not be a backup. If you have a backup of your client, I can help you export and import the session from that backup to your active db.
>>9618
He just means to get the files that were in those tabs back.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9635
>>9604
Thank you, I will check this out.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
b8576e No.9671
On the topic of parser bugs: Sankaku Chan gets at most 500 urls then stops parsing for more urls.
So it can get the initial 500 urls and any new content later, but anything older than the original 500 urls is impossible to scrape at the moment.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e19b14 No.9679
>>9671
This isnt a bug. This is sankaku's anti-crawling mechanism meant to stop users from eating up their bandwidth. You CAN get around this, but it involves getting creative with the filesize: and date: tags
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3bdc4e No.9694
Any Progress on Debian 9?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3bdc4e No.9713
>>9694
>Any Progress on Debian 9?
I could get it to work by downloading the latest tar.gz archive and run the client_debug executable! the client starts now. Thanks for the Hints!>>9694
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4c4f38 No.9723
Is the linux tar version able to handle webms? Contrary to the documentation webms give a file not supported error and I'm too new to using hydrus to know if this is a bug or just a difference with the linux build.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9733
>>9713
>>9694
I'm afraid I don't have a debian test machine, so I can't offer much help. I am glad the debug build seems to work. Let me know if you discover anything new that I could do here to improve the code or build for you.
>>9723
It should be, but talking to your system ffmpeg can be unreliable in some flavours/environments. Does your linux have ffmpeg accessible from the command line? Do you have ffmpeg listed under hydrus's help->about? If so, what version does it say?
If not, you can try downloading a static ffmpeg and putting it in the install_dir/bin directory. There's a .txt talking about it there.
If it still doesn't work, please send me a couple of the webms, or post them here or whatever, and I'll look at them on my end.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
4c4f38 No.9738
>>9733
from the command line the version is 3.4.2-2 but the hydrus about lists version as unknown.
I'm trying the static build solution. I'm pretty sure the issue is resolved. Thanks!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
88a112 No.9763
I'm crashing a lot when importing. It mostly happens when I click 'Import' after it has parsed the paths (getting output in pic related), sometimes a bit more rarely when clicking in the 'Browse directory' dialog (getting a different output).
I never once had this importing problem in Ubuntu 16.04 –I did have regular crashes while browsing and tagging, but that's another story. I installed Xubuntu two weeks ago, axing said Ubuntu.
I'm really liking this program, thank you for all that you do and sharing it.
btw, what OS for best compatibility?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0125ef No.9764
>>9763
The OS you use really doesn't matter, as long as you have all of the dependencies. Delete all of the local dependencies (the files with .so somewhere near the end of them in your Hydrus directory), and install/upgrade any others you don't have already. Trust me, those dependencies as they are can only really cause you issues. At a glance, it looks like the client's trying to use an outdated version of lz4 and some dependency called libgiognutls. Since it seems like you can at least run Hydrus, I don't think you really need to bother with the whole wxPython 4 thing.
Basically, just refer to this: https://hydrusnetwork.github.io/hydrus/help/running_from_source.html
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2fc743 No.9765
Ran into some bug with file's known urls, seems like while scrapping from danbooru, hydrus grabbed child post's urls along with the urls attached to parent post but I don't understand why it grabbed both http and https urls with tumblr.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
009135 No.9768
>>9764
I followed your advice and it works like a charming as of this moment. I had seen that 'run from source' but I was hesitant to follow it. Thanks.
This is the steps I followed to fix my issues (I'm on Ubuntu 18.04):
1) sudo apt update
2) sudo apt install python2.7 python-pip
3) pip install beautifulsoup4 html5lib lxml lz4 nose numpy opencv-python six pafy Pillow psutil pycrypto pylzma PyOpenSSL PyPDF2 PyYAML requests Send2Trash service_identity twisted youtube-dl
4) pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/ wxpython
Now start hydrus from client.py:
5) /useru/hydrus_directory/client.py
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
377a6e No.9777
Fuck, Hydrus is almost unusable in Linux.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9786
>>9765
Thank you for this report. Unfortunately, I cannot reproduce it. If I run the kancolle link as a test through the danb parser under network->downloader definitions->manage parsers, I do not get the parent link as a pursuable or source url.
I think what might be happening here is some other site that you also downloaded 1874950's file from pointed to 1875818 as the source, and this was parsed and associated there. This kind of 'this file came from here, sort of ' source-url parsing is showing up in several places. e621 seems to be a particularly bad contender, although neither of these would apply for that.
Could this be possible? Do you have some other site downloads/subscriptions that might have caught these same images?
The gelb versions of the kancolle are just copies of the danb entry, and so are the safebooru ones.
Unless maybe you are using a different danbooru parser than the stock one that comes with hydrus? If you go to manage parsers as above, then the 'danbooru file page parser' entry and put in https://danbooru.donmai.us/posts/1874950 and click fetch test data from url and then test parse, what do you get? I get:
downloadable/pursuable url (priority 0): https://raikou2.donmai.us/5a/e8/5ae80566adbe1fc9ee06f51cede00bec.jpg
md5 hash: 5ae80566adbe1fc9ee06f51cede00bec
tag: meta:jpeg artifacts
source time: 2014/12/16 18:00:00
tag: series:kantai collection
associable/source url (priority 0): https://pbs.twimg.com/media/B5BqkAjCIAAAg__.jpg:large
a bunch of tags
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9787
>>9777
Yeah, different flavours have different luck. I build on Ubuntu 16.04, so the more similar you are to that, the better it tends to be.
If you get crashes, I recommend running from source as >>9768 says.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
84058e No.9790
>>9787
Will you support python3 in the future or will this project stay at python2.7 forever? There's a gentoo ebuild in a out of portage tree for hydrus for the ones who want it from sourcecode and are lazy/already installed gentoo.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2fc743 No.9792
>>9786
>Do you have some other site downloads/subscriptions that might have caught these same images?
I've actually had, for a while but afterwards get rid of the subscription because I was going to mass download the files from scratch and didn't want the subscription to mess with that, I guess this is why hydrus associated the urls. The subscription was for the creator and from danbooru as well, so makes sense. I use the default parser by the way, the result was same as yours.
downloadable/pursuable url (priority 0): https://raikou2.donmai.us/5a/e8/5ae80566adbe1fc9ee06f51cede00bec.jpg
md5 hash: 5ae80566adbe1fc9ee06f51cede00bec
tag: meta:jpeg artifacts
source time: 2014/12/17 03:00:00
tag: series:kantai collection
associable/source url (priority 0): https://pbs.twimg.com/media/B5BqkAjCIAAAg__.jpg:large
tags
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2fc743 No.9793
>>9792
By the way, clearing the known urls and redownloading the particular file seems to fix this problem.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9797
>>9790
I'd like to update to 3 this year. It feels about time. Rough plan is that once this downloader overhaul is done, I will take a month off to experiment, double-check all my libraries are good on all platforms and all that, read more deeply into the different changes and whether an auto-code-updater is going to sperg out or be good in my case, and then just do it. I can't speak confidently yet, but I don't think I have the time or expertise to maintain a simultaneous 2.7/3.x codebase, so I expect I will do a hard switch, with 2.7 no longer supported for users running from source.
I feel like I have four weeks left of downloader stuff until it is no longer top priority, then we can have a convo about how big a login manager we want, and then I'll likely do it. So October/November, I think.
>>9792
>>9793
Thanks. I am going to keep thinking about this stuff. I think I can improve the source url checking logic–like if there are two urls from the same site, that probably isn't trustworthy–but I'll also add some checkbox(es) to file import options to disregard them completely, which will in effect temporarily forget the urls during the url check like you manually cleared them here. What a mess.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5c7df7 No.9805
There is something wrong with the way Hydrus orders numbers. It ignores the amount of digits in the number, to instead order it reading it from left to right. For example:
67515919
6771583
68015346
A 7-digit number has no business being in between two 8-digit numbers. I remember irfanview used to default to ordering numbers this way, and there are still other programs I use that order numbers this way, but it's not useful to me. I'm not even sure how this could be useful to anyone. The above are pixiv illustration IDs btw, so changes in the number of digits aren't just theoretical, meaning this is actually ruining sorting by id for me.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2fc743 No.9807
While setting up subscriptions, I get this error at the beginning but the subscription starts to sync after a while. Also, using the network > downloaders > manage subscriptions > check queries now option tells me query appears to be dead. I think it's related to order:id_asc part, since I tried without it again and didn't get the same error.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
558275 No.9811
getting these errors
2018/08/28 03:22:44: Error when processing https://danbooru.donmai.us/posts?page=1&tags=kisaragi_nana -rating:safe !
2018/08/28 03:22:44: Traceback (most recent call last):
File "include\ClientImportGallerySeeds.py", line 249, in WorkOnURL
( num_urls_added, num_urls_already_in_file_seed_cache, can_add_more_file_urls, stop_reason ) = file_seeds_callable( file_seeds )
File "include\ClientImportSubscriptions.py", line 782, in file_seeds_callable
return ( num_urls_added, num_urls_already_in_file_seed_cache, can_add_more_file_urls, stop_reason )
UnboundLocalError: local variable 'stop_reason' referenced before assignment
2018/08/28 03:26:07: Error when processing https://danbooru.donmai.us/posts?page=1&tags=utsuho_reiuji -rating:safe !
2018/08/28 03:26:07: Traceback (most recent call last):
File "include\ClientImportGallerySeeds.py", line 249, in WorkOnURL
( num_urls_added, num_urls_already_in_file_seed_cache, can_add_more_file_urls, stop_reason ) = file_seeds_callable( file_seeds )
File "include\ClientImportSubscriptions.py", line 782, in file_seeds_callable
return ( num_urls_added, num_urls_already_in_file_seed_cache, can_add_more_file_urls, stop_reason )
UnboundLocalError: local variable 'stop_reason' referenced before assignment
On subscriptions. They never are able to progress to the second page.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9813
>>9805
Thank you for this report–can you say where in the ui you are seeing this? Is it a tags list or somewhere in the file import status ui? Sometimes I order exclusively lexicographically, and sometimes I sort with the human-number-friendly sorting.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9814
>>9811
Thank you for this report. This is fixed in tomorrow's release. I apologise for the inconvenience.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9815
>>9807
Thank you for this report. Which site is this on–danbooru? You may be getting a variant of >>9811 's error, so please let me know if v320 improves the situation.
However, on a larger issue, I am not sure id_asc is going to 'work' with a subscription. My subs help is a little out of date, but I think it lays out the basic mechanism:
https://hydrusnetwork.github.io/hydrus/help/getting_started_subscriptions.html
Basically, subs are always going to check the 'first' pages of results for new files, and if it only sees things it has seen before, it figures it is 'caught up' to the latest files. A typical booru search is 'newest files first', or essentially id_desc, which means when the sub checks the first page, it will see new files, and can keep checking pages until it sees old files again. But with id_asc, you are seeing files from oldest to newest, which–once the first page of results is filled up–will typically never change again. With id_asc, new files end up at the end of the results.
I suspect your first sync was failing after the first page due to the other issue, but then the subsequent check saw no new files at all over whatever the death time period is and so considered the feed dead. Since most feeds present 'newest first', and subs' logic is predicated on this idea, I recommend not manually altering sort order for any sub query.
Please let me know if I have not explained this well enough.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2fc743 No.9816
>>9815
Yeah, it was Danbooru. I'll report again when I update to v320. Also, your explanation on how subscriptions work makes sense, that query would be announced dead since the checked files will be in hydrus and why id_asc is breaking the subscription. I personally used this since I mass download the files using id_asc option otherwise sort by time imported will show the oldest files on booru first and vice versa so I decided to use the same option for subscription as well. Do you think is there any possible workaround to this I could use?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9817
>>9816
I am not sure if this is a cheeky answer, but you should be able to sort 'time imported' both ways–oldest/newest first–so if you want to sort your subsequent most-recently-uploaded-to-booru-imported-to-client-first booru items from least-recently-imported to most-recently-imported, can you just switch the sort order around?
I apologise if I am misunderstanding your workflow.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
2fc743 No.9837
>>9817
I should be the one who's apolozing for making the things complicated, sorry. And no, that would be correct but there's a slight issue with that
when it comes to file organization. If I use that method, the existing files will sort correctly by sort by time imported but if you download some files later,
it would be like the picture. It's quite possible I'm being retarded and there's a much easier way to deal with this, but I couldn't find it.
Hopefully this clears it, I'm generally not good when it comes to explaining myself.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9850
>>9837
Yeah, I don't think there's a great overall solution here, but if you get into downloading by the default id_desc, then anything going forward is going to be ok.
Handling 'relatedness' file order and other kinds of 'paged/grouped' content is not yet well supported, but I expect to extend my duplicate files system to handle this better for small groups in the future. The larger problem of like 'give me Artist X's work in chronological order' isn't yet there, but I think maybe if we get into storing 'creation time' as some kind of metadata, it'll be more doable.
You know, the new parsing system can often grab 'post time' on the booru. If you don't mind jumping through a hoop or two for a one-time view, you can try something like:
Open the subscription under manage subs and go into its subquery you want to view.
Click the little button icon that launches the big list of file import status.
Sort that list by 'source time', if that was parsed (and isn't just 'unknown')
Select all and then right-click->open in a new page.
The open in a new page should preserve the list order, I think, so that's a way to get the original booru post order back, regardless of parse or import-action order. That same 'file import status' button is on any highlighted gallery download as well.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
38a3fb No.9860
>>9850
>maybe if we get into storing 'creation time' as some kind of metadata, it'll be more doable.
That'd be a great addition honestly, speaking in the broader sense, getting any kind of metadata from boorus would be great but I can imagine just how much time it'd take and also that more important things are higher in the priority list. I didn't even know that there was an option such as open selected import files in a new page by the way, that's pretty cool. I'm thinking of using order:id_asc option to mass download images from booru and setting up a standard subscription with a relatively low check period so it wouldn't miss any files and if too many files are uploaded between check periods, I'll use that method you've mentioned. Thanks for all the help, you're the best.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e70d3d No.9905
My client isn't booting, I was processing PTR tags but my computer crashed unexpectedly and hydrus frozen at booting db state. This is the error log I've found in db:
2018/09/08 17:55:00: A serious error occurred while trying to start the program. The error will be shown next in a window. More information may have been written to client.log.
2018/09/08 17:55:02: Traceback (most recent call last):
File "include\ClientController.py", line 1241, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 556, in InitModel
HydrusController.HydrusController.InitModel( self )
File "include\HydrusController.py", line 409, in InitModel
self.db = self._InitDB()
File "include\ClientController.py", line 93, in _InitDB
return ClientDB.DB( self, self.db_dir, 'client', no_wal = self._no_wal )
File "include\ClientDB.py", line 157, in __init__
HydrusDB.HydrusDB.__init__( self, controller, db_dir, db_name, no_wal = no_wal )
File "include\HydrusDB.py", line 167, in __init__
self._InitDB()
File "include\HydrusDB.py", line 378, in _InitDB
self._InitDBCursor()
File "include\HydrusDB.py", line 419, in _InitDBCursor
self._AttachExternalDatabases()
File "include\HydrusDB.py", line 255, in _AttachExternalDatabases
self._c.execute( 'ATTACH ? AS ' + name + ';', ( db_path, ) )
OperationalError: database is locked
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9908
>>9905
Thank you for this report. I've had this sort of thing a couple times before–I think my 'the client is already running code' sometimes doesn't work right, and then two processes can run at once. I haven't quite pinned down the sqlite state that is happening to cause this 'locked' error.
Sometimes when your db boots after a crash, it needs to do a little repair work, which can delay the hydrus boot in the same way. Basically, when I do the initial 'load db' call, which usually takes like 10ms, it instead takes 10-600s. I recommend you check you don't have a client.exe still open somehow in task manager and then try to open the client again. It might take a couple attempts to figure itself out–I think it sometimes like has to undo the locks that weren't released nicely last time. If it hangs on the splash screen a while, check if it is doing some CPU/HDD in task manager and go have a coffee–it might have unfucked itself when you come back.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e70d3d No.9911
>>9908
Thanks, waiting a little bit solved the problem, I guess I was being too impatient. That kinda scared me since my backup was lagging behind a bit too, I should update it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c094d0 No.9913
>>9813
Hi, sorry for the late reply. I see this sort in the tags list, but also since the numbers I provided to demonstrate this are under a uniform namespace, I tried sorting by that and can see that that yields this sort as well. Here is a screenshot of what I see in the tags list, anyway. Earlier I didn't just paste each tag straight since it contains a lot of redundant data- it's just the numbers I provided earlier that are deciding the sort order since they're at the start of the string.
I didn't know what "lexicographic" meant tbh until I just googled it, and I still don't get it. I don't know what "incidence" means either, but the sort order for both seems exactly the same, except for "incidence (desc)" which makes the scrollbar go a bit lower, so it must've had an effect on the other tags in the tag list. I never touched this at all until just now.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.9932
>>9913
Thanks. That tag list is supposed to be sorted with human-friendly numbers, so my best guess is those parentheses are fucking it up. The moonrunes might also be throwing things off, but I'll have to see. I'll give it a look.
lexicographic is just a stupid way of saying alphabetical, and incidence means count, so tags with high (1000) count will be sorted before or after those with (5) count. Since all those tags have (1), the incidence sort order isn't changing anything. Try changing these bits (and 'grouped by namespace') with just five files selected–you'll see better how it works.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1778ca No.10049
Artist name appears as an unnamespaced tag in the search results, even though there's no image tagged as such.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10052
>>10049
Thank you for this report. Please run database->regenerate->autocomplete cache and then restart your client and re-check these numbers. There is a miscount somewhere in the tag cache code and I can't figure it out.
Let me know if it does or doesn't change/fix these numbers.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1778ca No.10064
>>10052
Didn't work it, unfortunately. Could it be related to artist name that appears after character name in character namespace? I'm talking about character namespace: character name (artist name). I don't understand why tag count is misrepresented though, there are only 1353 files.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
524c3e No.10073
I'm pretty sure this is more the fault of 8chan rearranges the way it stores images more times than it should but I ran into this problem when going though old threads.
Setting up a URL Import tab for the thread tries to point it to download this file, which 404's
https://media.8ch.net/file_store/1429236400446-3.jpg
Going to the thread points it to this file, which works fine.
https://media.8ch.net/rule34/src/1429236400446-3.jpg
I found a workaround by copying the sources for all the files that 404'd, find->replacing them in notepad and putting it back in hydrus. I'm not sure if that's really worth your time but if you could add a button about 'know issues with working with old 8chan threads', that'd help some people.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10084
>>10064
Thanks. Now we have eliminated bad counts as the culprit, I think my tag addition rules are hitting you:
In hydrus, a search for x includes results that have tag y:x for arbitrary namespace y. So searching for 'female' will also give you results that has 'gender:female'. When the autocomplete results are tallied, if an unnamespaced version of a tag exists, it will have the counts of the namespaced versions of the subtag included. It is too computationally expensive to calculate accurate counts (e.g. if a file has both x and y:x and z:x, the count should be only +1, vs three different files each having one would be +3), so I can only estimate. In your case, in >>10064, it looks like one file has both 'houtengeki' and 'creator:houtengeki', so the 1353 of the (1353-1354) range is accurate. The client just can't yet figure out whether it is 1353 or 1354 without spending a handful milliseconds searching for them manually, which is just way too slow for a big tag results list.
That's a lot of bullshit to explain why you are seeing some stupid numbers. I was going to suggest you add a tag sibling to collapse the autocomplete results and hide the unnamespaced version, but I see the same listing on my test PTR client, which already has those tag siblings. I have made a job to see why a/c results are showing the 'a' of a->b tag siblings, which they shouldn't.
The fundamental problem with (n-m) tag counts r.e. siblings and namespace inferences is not easy to fix. In order to calculate accurate tag counts when tags are mergable, I will need to write a new cache layer that 'fixes' the tags in place so I can count them quicker. This new cache would have several other benefits, and I do plan to do it, but it will be a big job, likely something to fold into the next iteration on the whole siblings/parents system.
>>10073
Thank you for this report. Is this with the 'simple downloader' or the 'watcher'? The 8ch api, which the regular watcher uses, doesn't specify full file path, so I have to infer the new 'file_store' format. Old images (i.e. the ones with numerical timestamp names instead of long hex sha256 hashes), are stored in a different folder tree that I can't guess, so you have to use an html parser to pull the actual links. Try opening a new simple downloader, selecting '8chan thread (all linked files)', and then put the thread url in there. It'll do a one-time download.
I apologise for the inconvenience. This is legacy stuff that will hopefully cycle out as the 2 year+ old threads on the older content boards finally get deleted.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
558275 No.10153
Getting an error with the downloader where it will stop on any 500 type error and the page it failed to get cannot be retried. This also breaks the file downloader, rendering the file URLs that specific downloader already grabbed useless as no amount of pause/unpause/retry on the files will start them downloading again.
2018/09/30 23:43:12: Error when processing https://danbooru.donmai.us/posts?page=27&tags=torogao !
2018/09/30 23:43:12: Traceback (most recent call last):
File "include\ClientImportGallerySeeds.py", line 228, in WorkOnURL
network_job.WaitUntilDone()
File "include\ClientNetworkingJobs.py", line 1033, in WaitUntilDone
raise self._error_exception
ServerException: The server's error text was too long to display. The first part follows, while a larger chunk has been written to the log.
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8
2018/09/30 23:50:17: <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>danbooru.donmai.us | 502: Bad gateway</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>
and so on
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c094d0 No.10172
I can't upload pic related to my Hydrus. When I try it says:
tile cannot extend outside image… (Copy note to see full error)
Traceback (most recent call last):
File "include\ClientImportFileSeeds.py", line 625, in ImportPath
self.Import( temp_path, file_import_options )
File "include\ClientImportFileSeeds.py", line 582, in Import
( status, hash, note ) = HG.client_controller.client_files_manager.ImportFile( file_import_job )
File "include\ClientCaches.py", line 1029, in ImportFile
file_import_job.GenerateInfo()
File "include\ClientImportFileSeeds.py", line 282, in GenerateInfo
self._thumbnail = HydrusFileHandling.GenerateThumbnail( self._temp_path, mime, percentage_in = percentage_in )
File "include\HydrusFileHandling.py", line 74, in GenerateThumbnail
thumbnail = GenerateThumbnailFromStaticImage( path, dimensions, mime )
File "include\ClientImageHandling.py", line 259, in GenerateThumbnailFromStaticImageCV
return HydrusFileHandling.GenerateThumbnailFromStaticImagePIL( path, dimensions, mime )
File "include\HydrusFileHandling.py", line 148, in GenerateThumbnailFromStaticImagePIL
SaveThumbnailToStreamPIL( pil_image, dimensions, f )
File "include\HydrusFileHandling.py", line 57, in SaveThumbnailToStreamPIL
pil_image = HydrusImageHandling.Dequantize( pil_image )
File "include\HydrusImageHandling.py", line 81, in Dequantize
pil_image = pil_image.convert( 'RGB' )
File "site-packages\PIL\Image.py", line 892, in convert
File "site-packages\PIL\ImageFile.py", line 211, in load
ValueError: tile cannot extend outside image
I don't even particularly want this image specifically, but I noticed it yielded this error when I tried to feed it to my Hydrus. I don't understand so I downloaded it again manually under normal conditions and Hydrus still failed to accept it. It's page six of the following link if you want to fetch it yourself to try:
https://www.pixiv.net/member_illust.php?mode=medium&illust_id=33997065
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ee0867 No.10212
My Danbooru subscriptions don't work due to Cloudflare Error 525: SSL handshake failed. Am I supposed to wait for Danbooru to fix this?
2018/10/07 15:46:52: <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>danbooru.donmai.us | 525: SSL handshake failed</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>
</head>
<body>
<div id="cf-wrapper">
<div id="cf-error-details" class="cf-error-details-wrapper">
<div class="cf-wrapper cf-error-overview">
<h1>
<span class="cf-error-type">Error</span>
<span class="cf-error-code">525</span>
<small class="heading-ray-id">Ray ID: 4660791c9c1aa7d6 • 2018-10-07 12:46:53 UTC</small>
</h1>
<h2 class="cf-subheadline">SSL handshake failed</h2>
</div><!-- /.error-overview -->
<div class="cf-section cf-highlight cf-status-display">
<div class="cf-wrapper">
<div class="cf-columns cols-3">
<div id="cf-browser-status" class="cf-column cf-status-item cf-browser-status ">
<div class="cf-icon-error-container">
<i class="cf-icon cf-icon-browser"></i>
<i class="cf-icon-status cf-icon-ok"></i>
</div>
<span class="cf-status-desc">You</span>
<h3 class="cf-status-name">Browser</h3>
<span class="cf-status-label">Working</span>
</div>
<div id="cf-cloudflare-status" class="cf-column cf-status-item cf-cloudflare-status ">
<div class="cf-icon-error-container">
<i class="cf-icon cf-icon-cloud"></i>
<i class="cf-icon-status cf-icon-ok"></i>
</div>
<span class="cf-status-desc">Istanbul</span>
<h3 class="cf-status-name">Cloudflare</h3>
<span class="cf-status-label">Working</span>
</div>
<div id="cf-host-status" class="cf-column cf-status-item cf-host-status cf-error-source">
<div class="cf-icon-error-container">
<i class="cf-icon cf-icon-server"></i>
<i class="cf-icon-status cf-icon-error"></i>
</div>
<span class="cf-status-desc">danbooru.donmai.us</span>
<h3 class="cf-status-name">Host</h3>
<span class="cf-status-label">Error</span>
</div>
</div>
</div>
</div><!-- /.status-display -->
<div class="cf-section cf-wrapper">
<div class="cf-columns two">
<div class="cf-column">
<h2>What happened?</h2>
<p>Cloudflare is unable to establish an SSL connection to the origin server.</p>
</div>
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10234
Hey lads, I am sorry I am only just catching up here.
>>10153
Thank you for this report. If you click on the little 'table' icon buttons beside the file import queue and gallery log area in the download panel, can you retry there? Clicking that button should open up a big list of all the file imports and their statuses, or the gallery url attempts. Right-clicking on failed attempts should let you try again.
Or am I misunderstanding something? If so, can you post a screenshot of what you are looking at, maybe?
As per >>10212 , maybe danbooru was having a bad 5XX day, so trying again now will work better?
>>10172
I am afraid this file worked ok for me, although it does have a black area up top (suggesting 150x188 res). Opening it in GIMP suggests that top area is transparent, but that might just be GIMP's way of doing the same 'not sure what to put here'. Maybe you have a different version of PIL that can't deal with this canvas/image size discrepancy and is calling it 'tile cannot extend outside image'.
Can you say which version of PIL and OpenCV you have under help->about? I am PIL 1.1.7 and OpenCV 3.4.0.
My guess is this is just some weird old broken gif that got uploaded to pixiv wrong and sized badly, but it is a useful example, thank you.
>>10212
Thank you for this report. I just tested it now and it seems fine to me, so my guess is to try it again now. They are also fine in my web browser. 5XX errors mean 'serverside problem', so it usually means try again later. I guess danbooru had to update their SSL cert and forgot to update cloudflare with the MitM cert?
With luck, your danb subs will have paused and delayed and tried again automatically–they may already be back and working. Let me know if the problem was more catastrophic–I'd like to have better domain-level awareness of problems rather than each queue attempting and failing and delaying in turn, but it isn't there yet.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c094d0 No.10237
>>10234
Hi, I am the second anon you quoted. I have the same PIL and OpenCV version you have as displayed under help->about, but the image still fails to import, so I stitched together what I see when feeding the image to my Hydrus, if it helps any.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
558275 No.10242
>>10234
I haven't managed to get a screenshot since it last happened, sorry. What happens is in the dialog with gallery url attempts, it sure enough has the URL that failed shown as failed, saying more was written to the log, only problem is, right clicking it either will not show a "try again" message. Either that or it will have it, but all it does is re-add the URL to the queue, which refuses to restart even with valid unchecked URLs in the queue. Something about the error causes that entire query to derail, file and gallery url downloading, and never come back to life no matter what you do, besides removing it from the multidownloader and starting a new query.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
178f0d No.10243
>>10234
It was just my shitty country blocking Danbooru, sorry for bothering you with this. Danbooru clones are working just fine. By the way, does danbooru GUG get images from its clones as well?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
558275 No.10248
>>10242
Have a few more examples. Retry options in the gallery URL parser fail to revive the dead queries.
2018/10/13 04:32:08: Traceback (most recent call last):
File "include\ClientNetworkingJobs.py", line 925, in Start
raise HydrusExceptions.ConnectionException( 'Could not connect!' )
ConnectionException: Could not connect!
2018/10/13 04:32:08: Error when processing https://gelbooru.com/index.php?page=post&pid=630&s=list&tags=ebi_193 !
2018/10/13 04:32:08: Traceback (most recent call last):
File "include\ClientImportGallerySeeds.py", line 228, in WorkOnURL
network_job.WaitUntilDone()
File "include\ClientNetworkingJobs.py", line 1033, in WaitUntilDone
raise self._error_exception
ConnectionException: Could not connect!
2018/10/13 04:32:25: Traceback (most recent call last):
File "include\ClientNetworkingJobs.py", line 925, in Start
raise HydrusExceptions.ConnectionException( 'Could not connect!' )
ConnectionException: Could not connect!
2018/10/13 04:32:25: Error when processing https://gelbooru.com/index.php?page=post&pid=462&s=list&tags=hasu_(hk_works) !
2018/10/13 04:32:25: Traceback (most recent call last):
File "include\ClientImportGallerySeeds.py", line 228, in WorkOnURL
network_job.WaitUntilDone()
File "include\ClientNetworkingJobs.py", line 1033, in WaitUntilDone
raise self._error_exception
ConnectionException: Could not connect!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
558275 No.10249
>>10248
Nevermind, it actually managed to revive after about 20 or so minutes of doing nothing. It was just sitting there with no progress message for a long time, then woke up.
On that note, could we get a quick option to right click retry and continue search from the gallery parser table button, for faster revival of multiple sick queries?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10254
>>10237
Thanks. This is odd, since your machine is basically using the same libraries as mine and yet PIL is still sperging out at the end. That error trace is all correct, as these things go–it just looks unparseable to your client.
I guess there's maybe a difference in GPU driver or something (so some invalid OpenCL image transformation is being resolved differently), or due to some hydrus option, things are loading slightly differently.
If you care about this file a lot, I recommend you run it through GIMP and see if a re-save imports ok. Clever image programs can typically 'heal' these errors and will usually save back an ok file.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10255
>>10248
>>10242
>>10249
Ah, thanks for these updates! There is a secret deep sleep these queues go into, when they think there isn't any work to do. Changes to the queues are supposed to wake them up instantly, but maybe that right-click isn't. I will check it out.
Yeah, right-click->retry and continue is a great idea.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10256
>>10243
No worries. Out of general interest: What country? Do you know what their problem with it is? Doesn't danb have loli if you are logged in, or am I remembering that wrong?
My danbooru gug only hits the main domain at https://danbooru.donmai.us , so if your clones are on other domains, you will need a new gug and url classes. If you feel brave, you can explore the ui under network->downloader definitions and try duplicating (there's a button for it) the danb stuff and updating the domains. Then hit the manage url class links dialog and add the danb parsers to your new url classes.
Here's the downloader help, for a wider view of the new system:
https://hydrusnetwork.github.io/hydrus/help/downloader_intro.html
Let me know if you try to edit anything and run into trouble.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
92ff09 No.10257
I've noticed since the last couple of updates that the pixiv downloader doesn't display a pop up for the images it downloads via subscription. It will display that tab with X images downloaded while it still has results to check, but the moment it finishes they both disappear.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
178f0d No.10258
>>10256
It's Turkey. Fuck me if I know why it's blocked honestly, goddamn Wikipedia has been blocked in here for almost 2 years now, I don't think I can understand those people's mindsets. Probably have to do something sexual aspect of the images on danbooru, as far as I know it's banned on Russia and SK too, due to these excuses. Loli is behind a paywall by the way, you need to have a gold account to see it. Only difference between main domain and the clones seems to part before .donmai.us so duplicating the existing Danbooru GUG should work. Thanks for the link, I'll try tomorrow and make another post if I encounter any problems.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10263
I had to wipe my PTR processing cache recently since client.master.db had fucked itself after processing one of the updates (I was temporarily running on an extremely shaky multi-usb drive setup which probably didn't help), so I've been processing it all back.
I can understand the GUI locking up as this is a heavy operation, but usually for manual PTR syncs it reports progress normally for the first few updates then locks up entirely.
I know it's still processing in the background going by task manager resource values, but not having a proper progress indicator is incredibly grating - been running processing for 3 days and I have no idea where it's at.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10264
>>10263
I cancelled and it was at like 2300/5100, for info.
The DB still looked really unstable though, so I just exported my local tags to an archive and fucked off to a backup from a few days ago.
Restoring the tags gave me back the few work I had done between backup and fuckup, but I'm not sure how to make the few files I added as well be re-detected by the client. I guess they're still lurking in the files folders?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
92ff09 No.10266
>>10264
Try an orphans check and select to move those files elsewhere rather than delete them. Then you can reimport them
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10267
>>10266
Didn't know orphan check allowed to move files instead of deleting them, thanks!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
da241f No.10289
>>10256
>>10258
God it's working finally. Thanks for all the help, hydrus dev.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f51f11 No.10385
My semi-automatic way of tagging wasn't working, turns out hydrus was fucked.
When you search for a namespaced tag, it works properly, but when you search namespace:"everything", it only shows the tags directly tagged with that namespace, not the ones that were converted via parent/sibling tags.
As you can see, sex:"anything" only shows 3 pics, whereas if I specify and search for "sex:paizuri" it goes almost up to 500 files.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10388
>>10385
Thank you for this great and specific report. I think I know what is going on. I'll have a look at this this week.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cd3ddf No.10411
Thought I should move my question from >>10407 over to this thread, as it could be a bigger issue
I see what was originally going on; I was running into problems with "pixiv single file page parser - new layout" when seemingly I should be using "pixiv file page api parser" instead? That would do the trick, and I got it working, under some circumstance
I admittedly don't know shit about pixiv or how their content filtering might work but I seem to have a new problem where wholesome sfw pages like your example parse perfectly, but not so sfw page parses won't allow it and gives an empty parse
I actually have this same sort of problem with animepictures (sfw images work, nsfw parse empty or without downloadable url) too but I give less of a shit because I can usually saucenao content from that site to gelbooru or sankaku instead, but I think it's strange this is happening more than once
Back to pixiv, though, I have a linked pixiv account with R-18 content enabled to show, but parsing NSFW content (https://www.pixiv.net/touch/ajax/illust/details?illust_id=71365125 as an example), which has " "isSucceed":true" " as its first line simply returns " {"isSucceed":false} " and nothing else, which is a thinker
I can't think of a lot I can really give you to work with as to help solve this but maybe pixiv is to blame?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10426
>>10411
This is pretty strange. My dev machine worked for that URL. I also got isSucceed = True when I looked up the actual JSON.
If you go to https://www.pixiv.net/member_illust.php?mode=medium&illust_id=71365125 in your browser, assuming that uses the same login as you have hydrus set up for, is it all ok? My best guess here is that you have somehow set up a content filter for nsfw or big_tiddies or something on your login, so pixiv is blacklisting serverside for you. I don't think I've 'touched' my pixiv login since I made it years ago, so I presume it is on default content filter, which afaik is 'allow all'.
If you put a real 'mode=medium' URL into the parser edit dialog and download it, and then export that text data to a .html file and load it in your browser, does it look correct, or does it have 'you are logged out' or a similar half-logged-out-only-sfw info/warning on it? That's our best bet to see what is going on here–to see what hydrus is seeing itself.
Also, if you check out pixiv's cookies under network->data->session cookies, does the PHPSESSID have an underscore? Pixiv seems to give guests a hex one without an underscore and then when you log in you get number_hex. Don't post these cookies in a screen btw!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
36d0e1 No.10452
So I'm running hydrus 326, based on modification times I last closed my db on the 24th and haven't touched it since. Well 10 minutes ago I decided to get back to work on it, except it fails to start which is odd since I've done literally nothing to the db or hydrus since.
I got it to open a brand new db fine, but it fails every time on my actual db.
Here's the relevant snippet from my log files which suggest a module 'ordered_dict' is missing, although I don't know how that would have happened.
2018/10/31 23:27:15: hydrus client started
2018/10/31 23:27:15: booting controller…
2018/10/31 23:27:15: booting db…
2018/10/31 23:27:15: preparing disk cache
2018/10/31 23:27:15: preparing db caches
2018/10/31 23:27:15: booting db…
2018/10/31 23:27:15: initialising managers
2018/10/31 23:27:16: If the db crashed, another error may be written just above ^.
2018/10/31 23:27:16: A serious error occurred while trying to start the program. The error will be shown next in a window. More information may have been written to client.log.
2018/10/31 23:27:16: Traceback (most recent call last):
File "/opt/hydrus/include/ClientController.py", line 1256, in THREADBootEverything
self.InitModel()
File "/opt/hydrus/include/ClientController.py", line 639, in InitModel
session_manager = self.Read( 'serialisable', HydrusSerialisable.SERIALISABLE_TYPE_NETWORK_SESSION_MANAGER )
File "/opt/hydrus/include/HydrusController.py", line 540, in Read
return self._Read( action, *args, **kwargs )
File "/opt/hydrus/include/HydrusController.py", line 180, in _Read
result = self.db.Read( action, HC.HIGH_PRIORITY, *args, **kwargs )
File "/opt/hydrus/include/HydrusDB.py", line 873, in Read
return job.GetResult()
File "/opt/hydrus/include/HydrusData.py", line 1498, in GetResult
raise e
DBException: ImportError: No module named ordered_dict
Database Traceback (most recent call last):
File "/opt/hydrus/include/HydrusDB.py", line 532, in _ProcessJob
result = self._Read( action, *args, **kwargs )
File "/opt/hydrus/include/ClientDB.py", line 8723, in _Read
elif action == 'serialisable': result = self._GetJSONDump( *args, **kwargs )
File "/opt/hydrus/include/ClientDB.py", line 5545, in _GetJSONDump
return HydrusSerialisable.CreateFromSerialisableTuple( ( dump_type, version, serialisable_info ) )
File "/opt/hydrus/include/HydrusSerialisable.py", line 136, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "/opt/hydrus/include/HydrusSerialisable.py", line 213, in InitialiseFromSerialisableInfo
self._InitialiseFromSerialisableInfo( serialisable_info )
File "/opt/hydrus/include/ClientNetworkingSessions.py", line 76, in _InitialiseFromSerialisableInfo
session = cPickle.loads( str( pickled_session ) )
ImportError: No module named ordered_dict
I also tried loading a backup that was from the 22nd on hydrus 325, I get the same results with it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
36d0e1 No.10453
>>10452
To clarify: That was a backup made on October 22nd in Hydrus 325, I tried to open the backup in Hydrus 326 which failed.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
36d0e1 No.10454
>>10452
Turns out I'm an idiot and should've checked the aur page for hydrus first.
>>10342 has a fix for this which works for me.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cd3ddf No.10455
>>10426
Hmm, no underscore in my PHPSESSID, and from what I've tried NSFW page or not the HTML doesn't make it looked like I'm logged in.
For what it's worth having a mode=medium url of any kind gives an exception when I test parse but when it becomes formatted as a "/touch/ajax/illust" url AND if it's not rated R-18 it'll work fine.
I guess it's just about getting the client to use my login? It gives an ok under network->logins->manage pixiv account (I'm still on v327 if that's changed recently)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10521
>>10455
Hmm, this is odd. The ajax request fails for me on a logged-out browser, and yet you are getting good data.
That parser won't work (i.e. 'test parse') for a mode=medium, btw, because it parses the JSON from the ajax URL. In the client, the way it is set up now, when it gets a mode=medium, it quietly converts it to the ajax version and downloads and parses that. The JSON is more stable than their new dynamic html, so we are now using that.
What happens if you download the 'mode=medium' link in that dialog and then use the copy button to copy the raw data to an html file? Does it load in a browser, and does it have a 'not showing due to user settings' kind of text error or anything?
If the ajax version does work for these problem URLs, that's even stranger, since that is what hydrus is supposed to be doing in the downloader. Perhaps I am mistaken/forgetting what your actual problem is here–is the downloader failing to get these URLs, or only when playing around with the parser dialogs?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
9f5ca9 No.10530
In the export files gui if an expression that throws a "Could not parse that phrase!" exception is left in the filenames box when the export files gui is closed, it can no longer be launced and just throws the "Could not parse that phrase!" exception.
e.g. [tag][
Running on Windows 8.1 64-bit.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cd3ddf No.10531
>>10521
You mean if in the 'pixiv file page api parser' I put in a mode=medium url and open the test data's HTML? Seems to tell me I need to log in to view sensitive content, in some cases even if pixiv doesn't rate it R-18.
In this one case where I couldn't preview the not-R18 image in the HTML because it wanted me to login, I tried putting it in the url downloader and it still worked anyway, so that doesn't seem like the end-all answer
To clear things up, the problem is that when I use the url downloader to get pixiv URLs most of them go through as intended, but specifically pixiv pages rated R-18 are ignored telling me "No data found in document!", which made me think it was a parser problem, and leads to me getting "{"isSucceed":false}" as the only thing it parses back when I try it manually in the parser window instead of url downloader
I don't think there's a difference in giving the parser an ajax url or a mode=medium url if it's going to convert to an ajax url by the end anyway; it's only that it works as intended if the page isnt R-18, it doesn't if it is R18. This probably isnt an issue if the client can access pixiv when its logged into an account with R18 content enabled but seemingly the client won't acknowledge that it should be
TLDR from my understanding its either the parsers fault or however the client accesses pixiv content
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cd3ddf No.10585
>>10531
Good news; my problem seems to be solved once I got onto v329; it was probably a login thing after all, then? Every ajax link looks to parse correctly all of a sudden so mission accomplished. Thanks for the help, man.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebccb4 No.10591
My Hydrus just froze in a weird way. I just imported some stuff and highlighted it all then opened the tag window, but I was unsure if I'd accidentally removed a tag, so I was going to close it then re-open it. But upon closing it a popup at the bottom right happened, saying an error occurred. I copied it to my clipboard and pasted it into a text document (then promptly lost it) but I thought it was just saying my attempt to open the tag window failed. So I tried opening it again but it wouldn't work. I can no longer interact with the client at all- all the images are still highlighted, but not even the menu buttons at the top can be clicked. I can see that my other tabs in the middle of importing are still importing, but I'm just lucky I have no tabs out of frame, since I can't even use F11 to fullscreen the client, since the key does nothing to Hydrus right now. I just thought this was mildly fucked and wanted to share, even if I lost the error thing (unless there's a log of it somewhere), cause while I can force restart the client, I don't know if the imports will start where they left off or risk skipping images they didn't successfully import, or what, but that's my own ignorance of the program showing…
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebccb4 No.10597
>>10591
I was able to import an image successfully despite the client not letting me do anything otherwise, but it remains in that unresponsive-to-user-input state afterwards. I can right click the taskbar thing for it, but trying to close it using that menu does nothing. I'll force terminate the instance and I assume it'll just werk when I launch it again.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10614
>>10585
>>10531
Thanks, yeah, it looks like you were logged in as a guest. I hadn't realised, but apparently Pixiv allow you to browse sfw as a logged-out user for about a year now. They still give you the same kind of cookie either way, so my login system was thinking everything was fine your end. I'll update some stuff this week so this is handled better.
Thank you for your info here. In future, btw, the new login management panel lets you easily clear a session of its cookies (basically resetting it), which would have been the solution here. The update to the new system may have cleared or triggered something for your client to force retry the login and it all went through ok this time.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10615
>>10530
Thank you for this report. I am very sorry for the inconvenience! I'll have this fixed for v330.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10616
>>10591
>>10597
Thank you for this report. Please do terminate it and check your install_dir/db folder for a "client - 2018-11.log" file. Scroll to the bottom and see if you can find the error (check the timestamps if you need to narrow it down) and post/pastebin/email it to me. You encountered an unusual error that I wrote a special catch for–it looks like I still need to work on it!
Also, please let me know if you discover a way to reliably produce this error. I'm afraid I can't do reproduce this my end, even if I spam open/close dialogs and so on–there's something else going on as well. Was your client maybe idle before this? Like you had left it to import for twenty minutes and then came back to it?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebccb4 No.10624
>>10616
Hi, I tried spamming opening/closing the dialogs as well but I can't reproduce it either. I don't think the client was idle, since I had like a dozen tabs open importing images (offline, from a folder, some import tabs of which had completed). But I think I found the text log for it anyway:
2018/11/10 05:01:33: Uncaught exception:
2018/11/10 05:01:33: wxAssertionError
C++ assertion "IsRunning()" failed at ..\..\src\common\evtloopcmn.cpp(83) in wxEventLoopBase::Exit(): Use ScheduleExit() on not running loop
File "include\ClientGUITopLevelWindows.py", line 406, in EventDialogButton
self.EndModal( event_id )
Sorry, I would've taken a screenshot of how the client looked when it wasn't responding to any inputs, but it didn't look like anthing was unusual. My laptop is kinda shit, so I'd have to have used a camera to awkwardly record the client still importing in my tabs, but not registering any user inputs (besides importing). But after I input, I couldn't switch tabs, so it was stuck on that new tab created for the new import. I restarted it after all the imports in my tabs were done, and it was still frozen until I restarted, but restarting made the client return to normal (even preserved the tabs when I selected the option for it). I was still on version 328, so I updated to 329 just cause I should've by then anyway.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10629
>>10624
Thanks. I think I added that new error reporting code in v329, so we've missed it this time. If/when this happens again in v329 onwards, please check this again–there should be a full 'stack trace' that will help chase down what was going on here. You dealt with the problem correctly by killing the process, and it is basically harmless, despite being frustrating–just some ui shit locking up due to events occuring unusually out of order.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ebccb4 No.10636
>>10629
I got bored and found I am reliably able to produce an error message under (to my knowledge) the same conditions as before the update, only this time when it happens the client doesn't stop registering my inputs. And I can only induce it this time by spamming F3 with all images in the tab selected + spam-clicking one of the selected images. So somehow managing to induce this on version 328 by only tapping F3 once without clicking was a freak accident, but if it happens now on version 329 hydrus is still usable. Here's the error reporting code for one of the errors:
2018/11/13 07:13:58: Uncaught exception:
2018/11/13 07:13:58: wxAssertionError
C++ assertion "IsValid(n)" failed at ..\..\src\common\ctrlsub.cpp(167) in wxItemContainer::SetClientObject(): Invalid index passed to SetClientObject()
File "include\ClientGUICanvas.py", line 4684, in EventCharHook
CanvasMediaListNavigable.EventCharHook( self, event )
File "include\ClientGUICanvas.py", line 2055, in EventCharHook
shortcut_processed = self._ProcessShortcut( shortcut )
File "include\ClientGUICanvas.py", line 1761, in _ProcessShortcut
command_processed = self.ProcessApplicationCommand( command )
File "include\ClientGUICanvas.py", line 4513, in ProcessApplicationCommand
command_processed = CanvasMediaList.ProcessApplicationCommand( self, command )
File "include\ClientGUICanvas.py", line 2205, in ProcessApplicationCommand
self._ManageTags()
File "include\ClientGUICanvas.py", line 1622, in _ManageTags
panel = ClientGUITags.ManageTagsPanel( manage_tags, self._file_service_key, ( self._current_media, ), immediate_commit = True, canvas_key = self._canvas_key )
File "include\ClientGUITags.py", line 1014, in __init__
page = self._Panel( self._tag_repositories, self._file_service_key, service.GetServiceKey(), self._current_media, self._immediate_commit, canvas_key = self._canvas_key )
File "include\ClientGUITags.py", line 1224, in __init__
self._tags_box_sorter = ClientGUICommon.StaticBoxSorterForListBoxTags( self, 'tags' )
File "include\ClientGUICommon.py", line 3157, in __init__
self._sorter.Append( 'lexicographic (a-z)', CC.SORT_BY_LEXICOGRAPHIC_ASC )
I think like half the error codes are exactly the same, and I can reproduce the error at will, but it seems innocuous so it's not that big a deal now I think, since if it's the same error as before the update it now doesn't require a restart to continue using hydrus.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10651
>>10636
Thanks m8, this is fantastic. I'll work on this for v331.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ac1f6f No.10653
>>10392
Hey sorry this took so long I missed the reply and didn't think I was going to get an answer so I stopped checking the other thread. Here's what I got after turning on the network report debug mode for the pixiv look up.
Network Job Added: GET
https://www.pixiv.net/member_illust.php?id=15039870&p=1&type=all
Network Job Starting: GET
https://www.pixiv.net/member_illust.php?id=15039870&p=1&type=all
Network Job Done: GET
https://www.pixiv.net/member_illust.php?id=15039870&p=1&type=all
and that's it, the problem is probably something dumb on my end but either way here's the info you wanted
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
78637f No.10674
I am not sure, but i think windows Hydrus cannot build or access or databases located in directories with a special character in their path. I tested with -d="n" with hydrus located in C:/Hydrus Network
For any database directory
C:/ユーザー/駱駝/…/db
or
C:/…/何なり/…/db
Hydrus terminates at startup with the following
2018/11/16 12:29:38: Traceback (most recent call last):
File "include\ClientController.py", line 1277, in THREADBootEverything
self.InitModel()
File "include\ClientController.py", line 593, in InitModel
HydrusController.HydrusController.InitModel( self )
File "include\HydrusController.py", line 458, in InitModel
self.db = self._InitDB()
File "include\ClientController.py", line 93, in _InitDB
return ClientDB.DB( self, self.db_dir, 'client', no_wal = self._no_wal )
File "include\ClientDB.py", line 158, in init
HydrusDB.HydrusDB.init( self, controller, db_dir, db_name, no_wal = no_wal )
File "include\HydrusDB.py", line 167, in init
self._InitDB()
File "include\HydrusDB.py", line 378, in _InitDB
self._InitDBCursor()
File "include\HydrusDB.py", line 407, in _InitDBCursor
self._db = sqlite3.connect( db_path, isolation_level = None, detect_types = sqlite3.PARSE_DECLTYPES )
OperationalError: unable to open database file
2018/11/16 12:29:41: shutting down controller…
Last note, a hydrus install as
C:/…/何なり/…/Hydrus Network/
will not boot, display no GUI, and not generate a log.
If you need any more information, let me know I will give.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bd7007 No.10687
>>10636
happen to have an artist name I can look up? I like alot of those images.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10695
>>10653
That doesn't look good. It looks like it is fetching the page directly, when the new downloader should try to fetch the api.
If you do not have any custom url classes, parsers, or gallery url generators, I recommend you go to network->downloader definitions and then to those three 'manage' dialogs and delete everything and then hit the 'add defaults' button and add everything back in. Then hit the manage url class links entry on the same menu and click the try to fill in the gaps… button. This will link everything up, hopefully correctly this time!
Let me know if you still have trouble.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10696
>>10674
Yeah, this may be SQLite or python 2 just having a problem with a character there. Unicode support of all kinds, but particularly in OS paths, should improve when I move to python 3 this Christmas. Let me know if you still have trouble in the new year (although if py3 sqlite still doesn't like it, I may not be able to do much).
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
ac1f6f No.10714
>>10695
I believe that did the trick, thanks for the help boss. This is an amazing program you're working on
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10724
My PTR uploads seem to be broken:
CancelledException
Upload cancelled: Job seems to have an invalid login, and it is not willing to wait!
Traceback (most recent call last):
File "include\HydrusThreading.py", line 307, in run
callable( *args, **kwargs )
File "include\ClientGUI.py", line 3691, in _THREADUploadPending
service.Request( HC.POST, 'update', { 'client_to_server_update' : client_to_server_update } )
File "include\ClientServices.py", line 829, in Request
network_job.WaitUntilDone()
File "include\ClientNetworkingJobs.py", line 1086, in WaitUntilDone
raise HydrusExceptions.CancelledException( message )
CancelledException: Upload cancelled: Job seems to have an invalid login, and it is not willing to wait!
I have about 18 500 things to commit, was holding on before finishing my cleanup before doing so – as a result I kinda fell behind on applying PTR updates as well.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10725
>>10724
For some extra info, I tried setting up the PTR again in a second service - that one seems to work fine, although I haven't told it to process any updates since that sounds incredibly counterproductive.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10756
>>10725
I updated to this week's release, and after pausing/unpausing and refreshing the PTR in the service dialog it apparently unfucked itself.
Good enough for me!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10765
>>10725
>>10724
>>10756
Thank you for this report. You can delete the second PTR. The new login system works for both websites and hydrus services, and I guess your hydrus service had a bad login for whatever reason and produced that broad error in lieu of something more helpful like "The last login attempt to this service failed, so I am not trying again for another x hours y minutes".
I will see if I can improve what is said here.
BTW, a good 'just work m8' solution for most repo based problems is to go into review services and click 'refresh account'. This clears most errors and tries again.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10826
In similar PTR-related woes, my client has become unable to process updates.
It goes through basic tag mappings fine, then simply hangs when it gets to processing deleted tag mappings. I enabled profiling on db queries and it looks like it just gets stuck in process_repository – Not sure if it's just supposed to take an eternity for 300 deleted mappings or if there is a snafu somewhere.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10827
>>10826
And before I forget, here's a paste of the profiling: https://pastebin.com/SJep03FC
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10846
>>10827
>>10826
Thank you for this report. Nothing obviously stands out in that profile, although it does look like repo processing finished up ok. My best guess here is that it is taking a while to either clean up/commit that repo job or it is getting hung up on the next job to do and not reporting it on the ui for whatever reason.
I assume you are killing the process when it seems to hang like this? Can you please try shutting the client down and then reviewing in Task Manager (Ctrl+Shift+Esc on Windows) to see if client.exe is still doing some CPU/HDD work? Sometimes SQLite likes to take several minutes doing some unusual maintenance or something after big jobs. Please give it a long time, say twenty minutes, and see if it clears out on its own.
If it does not finish up and stays at completely 0% CPU/HDD activity, please try disabling shutdown maintenance work under options->maintenance and processing and see if the client shuts down cleanly then.
Another option is to enable (if it isn't already) rugular idle work on that same options panel and then force help->debug->debug modes->force idle mode while the client is running normally. Let the job work there for a bit–does it hang in the same way, or clear out ok, or report anything different?
Let me know how you get on!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c06a92 No.10894
So, for awhile now (at least since 328, and I think it started a few updates before that) my Hydrus has been unable to play videos. It does GIF okay, but WEBM refuses to load anything but the thumbnail. When trying to download WEBMs through the watcher, they won't import. The downloader complains about an unrecognized filetype. The gallery downloader and subscription downloader do this too, but selectively. Sometimes it imports webms and sometimes it doesn't.
I just updated to 332 and it still doesn't load WEBM unless I open externally. For the sake of completeness, I also tried a few APNG, MP4, and something called "x-matroska" and all of them failed to show anything in hydrus except the thumbnails in gallery view.
I'm on Linux Mint 18.2 Cinnamon using some sort of Skylake-series i5. I have 12G of memory.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10939
>>10894
Thank you for this report. I believe your client is having trouble finding ffmpeg. In some circumstances, the Linux build has trouble launching external programs. I don't get this on my Ubuntu, so I am still trying to figure it out.
Can you please hit help->about and let me know what it has for ffmpeg? It is probably like 'not found'.
If so, try running help->debug->report modes->callto report mode and try importing/showing a video. It should say in its popup spam something about "Attempting to launch…". Please let me know that data, and if it looks sensible to you or not. (email if private, or just scrub the exact directory and post it here).
You might have luck putting a static ffmpeg executable in the install_dir/bin directory. There should be a .txt with more info in there, but I'd also like to fix this issue more generally, if you are open to working on it as well.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c06a92 No.10961
>>10939
Sorry it's taken me so long to reply. At help->about, FFMPEG version is listed as "unknown".
Rather than type out the messages, I took a screenshot and cropped out everything but the messages. I got the same message when I tried APNG and WEBM. The APNG was a newer import, while the WEBM was from before the problem started. The exception shows up with report mode off.
I took some initiative and tried messing with the settings in file->options->media, but nothing worked. I tried setting the "Prefer system FFMPEG" flag, the "BUGFIX:Load images with PIL" flag (this one was already checked), and the "BUGFIX:Load gifs with PIL instead of OpenCV" flag, but none of them did anything that affected the problem (I had report mode off at the time, though).
I checked out my install_dir/bin directory, and there was no FFMPEG in there. I copied my FFMPEG executable from /usr/bin/ffmpeg to the bin directory in my hydrus folder, but nothing changed.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c06a92 No.10962
>>10961
>I got the same message when I tried APNG and WEBM
Obviously, not the exact same message. The memory addresses were different.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10969
>>10846
Usual maintenance(when PTR isn't involved) and shutdown always works fine, the only real hang seems to occur when processing deleted mappings in a PTR update. (whether triggered by hand or during idle/shutdown maintenance)
I must stress that the issue does not occur when processing PTR updates that simply add mappings. Starting to wonder if my database's not busted somewhere.
client.exe's disk usage drops to 0 when the hang occurs, and stays mostly fixed CPU/RAMwise.
Forcefully shutting down the client at this point(no other real way to do it) clears the process out immediately. The client profile remains empty, so I don't have precise information as to where the hang occurs.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.10972
>>10695
So from what I can tell, I was having the same problem with Pixiv as >>10653 but I followed the advice to delete the definitions and add defaults but now everything is broken. None of the gallery options are available now and makes Hydrus largely useless to me as a scraper.
How do I do a complete reset on the downloaders in Hydrus? Will reinstalling help or just waiting till the next release overwrite this?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10981
>>10962
>>10961
Hey, I am sorry, can you go into your install_dir/db folder and check the 'client - 2018-12.log' file? Scroll down to the time when these popups were made or just search for the 'attempting to launch' string and you should see them all printed. This debug routine is spammy, but I am interested to see what path your client is trying to launch when it tries to launch ffmpeg, whether it looks sensible or not.
Unfortunately, PIL and CV can't deal with big-boy videos or Apngs, so I do it all through the ffmpeg exe. There isn't a super alternative to this at the moment.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10982
>>10969
Thanks for this update. I am about to do my big py3 update, so I can't work on this for a bit. Please pause your repo processing for now under services->review services.
You might like to run a database->check->database integrity from the client, or maybe follow the manual steps for this under install_dir/db/help my db is broke.txt, but if you haven't had any explicit errors, my guess is it is my code messing up rather than your drive. That said, you might also like to check the 'client.log' file in the same db directory to see if your client is printing any 'oh fuck I couldn't add these siblings m8 and can't recover'-type errors in these cases.
Sometimes when the client is doing a big db job, the part of the db is loaded in memory so you'll see a lot of CPU but no HDD–when you see the CPU doing work in this hang, is it at like 25% CPU (i.e. max for one core), or idling at 0.2%? There is the smallest chance that some big tag parent is calling for the retroactive creation of 200k parent tags and part of that operation is blatting your CPU.
When it is hung on shutdown like this, do your client.db files in the db dir have sibling .db-shm and .db-wal files, or are they cleared up at this point?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10983
>>10972
Under network->downloader definitions, run through all the manage dialogs for:
gallery url generators
url classes
parsers
And do the 'delete everything and then load from defaults' trick. Then hit the manage url class links dialog and click the 'try to fill in gaps' button.
That should do a full reset. Let me know if it doesn't work.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c06a92 No.10986
>>10981
The client log file for Dec 2018 does not contain the string, "launch". At first I thought I might have done a case-sensitive search by accident, but "aunch" is a no-go as well. The log file also does not contain the strings "ffmpeg", "mpeg", and only finds "ff" when it's part of a memory address or an unrelated issue where it doesn't generate thumbnails (it can't find the file because somehow my DB got deleted and I had to restore from a very old backup - I'm pretty sure most of those files were things I intentionally deleted, though after checking the sources a few were files I wanted to keep and somehow got deleted. I don't know if I deleted them by accident or Hydrus derped on one of the many occasions when the Fatal IO error 11 happened, though I think it's a mix)
I did, however, find a log of what happens when the thread watcher tries to import a webm and fails.
2018/12/05 00:08:33: Error when processing https://media.8ch.net/file_store/7563ce7a40d33dc818c4ca2e6bb52946c773bc85b807305155b73d1ebb490a42.webm !
2018/12/05 00:08:33: Traceback (most recent call last):
File "include/ClientImportFileSeeds.py", line 1211, in WorkOnURL
File "include/ClientImportFileSeeds.py", line 541, in DownloadAndImportRawFile
File "include/ClientNetworkingJobs.py", line 1082, in WaitUntilDone
AttributeError: 'Retry' object has no attribute 'status'
This log was probably not generated while report mode was active.
I'm still on 332, should I update before we continue?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.10988
>>10982
During my previous try the client stayed at around 12-16% CPU iirc.
I chalked that to the gui simply being alive in the background since I had launched the processing manually, but an idle gui eats like 4% CPU on my end, so something was definetely happening there.
Nothing stands out in client.log.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10989
>>10986
Thanks. This is more strange than I expected–your import there is failing on the download step rather than the 'parse with ffmpeg' step that happens once the file is downloaded. Moreso, the error is unhandled, and may not even be my code.
I've made the debug mode under help->debug->report modes->network report mode show and print out additional error information in this case for today's release. When convenient, please retry this in v334 and we'll see more what's going wrong.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.10990
>>10988
It is possible SQLite is doing some maintenance or just taking a while to figure out the final big transaction commit. My code might even be sneaking in a big vacuum or something there and not updating the ui fast enough to reflect it. Whatever the case, it looks like it is working on something, so I recommend you just let it work for, say, 25 minutes. You might like to watch the .db-wal files in your db folder to see if they ever get chunks of data appended to them. Also, you can sometimes see these big jobs do their work under your temp dir, which should be written in your help->about. You might see a 400MB+ temporary file being written and worked on in there while it does this stuff.
Let me know if it does sort itself out, and see if it finally wrote anything to client.log once it did. I'll see if I can improve the feedback on the exact task. If you are willing to wait, give it up to 90 minutes, but kill it if it takes longer than that.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11006
>>10983
>manage url class links dialog and click the 'try to fill in gaps' button.
Thanks this looks like everything is back to defaults after this and most work after testing,
When I first opened up the manage url class links dialog there was nothing in the parsers section even after clearing and resetting everything in >>10695
but I guess I glazed over the last step. I might suggest having a general reset hydrus option in the menu for the downloaders that goes through all 4 steps, like how Hydrus has a "set things up for me" because it's easily missed and easily breakable if people like me don't know how to troubleshoot it.
However for the original trial and error on pixiv when I posted these
>>11004
>>10964
The gallery parser is still not working. I get login:OK! then it error's and says it will expire in 1 and a half hour but no download. Attaching a picture along side that has an error message in the import que and the gallery parser gives me the same error
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
558275 No.11033
Some GIFs are running too fast in 334.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
558275 No.11034
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.11043
>>10990
I've been letting it run for a few hours to really see, and the wal/shm files for client.mappings and client.caches do change in size and get updated at times. It's however happening really slowly and the files don't seem to be getting that big (40 MBs for client.caches, 6MB for client.mappings)
I suspect it's chugging along super slowly for some reason (my media is on a fairly fast network storage but the databases are on a local SSD) and the GUI just stops responding after a while.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c06a92 No.11048
>>10989
I updated to 334, haven't had time yet to do the testing. I probably won't have time until either Tue or Wed. If 335 comes out before I do the testing, should I update before or will it matter?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5534e9 No.11057
It won't process my repositories. I'm on Linux running v334 but initially ran into it a few versions ago and never reported it. I have 16GB free on my partition and my temp folder is mounted as a tmpfs with 16GB of RAM. Here's the traceback:
DBException
Exception: Not enough free disk space to guarantee a safe repository processing job. Full text:
Traceback (most recent call last):
File "/opt/hydrus/include/ClientServices.py", line 1436, in SyncProcessUpdates
( did_some_work, did_everything ) = HG.client_controller.WriteSynchronous( 'process_repository', self._service_key, only_when_idle, stop_time )
File "/opt/hydrus/include/HydrusController.py", line 705, in WriteSynchronous
return self._Write( action, HC.LOW_PRIORITY, True, *args, **kwargs )
File "/opt/hydrus/include/HydrusController.py", line 209, in _Write
result = self.db.Write( action, priority, synchronous, *args, **kwargs )
File "/opt/hydrus/include/HydrusDB.py", line 947, in Write
if synchronous: return job.GetResult()
File "/opt/hydrus/include/HydrusData.py", line 1514, in GetResult
raise e
DBException: Exception: Not enough free disk space to guarantee a safe repository processing job. Full text:
I believe you need about 8.9GB on your db's partition, which I think also holds your temporary path, but you only seem to have 7.7GB.
Database Traceback (most recent call last):
File "/opt/hydrus/include/HydrusDB.py", line 564, in _ProcessJob
result = self._Write( action, *args, **kwargs )
File "/opt/hydrus/include/ClientDB.py", line 12099, in _Write
elif action == 'process_repository': result = self._ProcessRepositoryUpdates( *args, **kwargs )
File "/opt/hydrus/include/ClientDB.py", line 8703, in _ProcessRepositoryUpdates
raise Exception( message )
Exception: Not enough free disk space to guarantee a safe repository processing job. Full text:
I believe you need about 8.9GB on your db's partition, which I think also holds your temporary path, but you only seem to have 7.7GB.
I believe you need about 8.9GB on your db's partition, which I think also holds your temporary path, but you only seem to have 7.7GB.
Database Traceback (most recent call last):
File "/opt/hydrus/include/HydrusDB.py", line 564, in _ProcessJob
result = self._Write( action, *args, **kwargs )
File "/opt/hydrus/include/ClientDB.py", line 12099, in _Write
elif action == 'process_repository': result = self._ProcessRepositoryUpdates( *args, **kwargs )
File "/opt/hydrus/include/ClientDB.py", line 8703, in _ProcessRepositoryUpdates
raise Exception( message )
Exception: Not enough free disk space to guarantee a safe repository processing job. Full text:
I believe you need about 8.9GB on your db's partition, which I think also holds your temporary path, but you only seem to have 7.7GB.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11064
>>11006
Thanks. Yeah, a big reset command is a good idea.
I don't know what's going on with pixiv. I have had it work, and I have seen the error : true response before due to login issues, so my best bet here is some login/cookie mixup. I will definitely check it in the new year.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11065
>>11033
>>11034
Thank you for these examples. I will check them out later.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11066
>>11043
That's pretty odd, especially with such small db files. Having somewhat remote media shouldn't be a problem here since it usually only needs actual media files when it displays them to you. An SSD db should be pretty slick, and one that is small even moreso.
If I didn't yet tell you to try forcing an analyze call under database->maintain->analyze->full, you might like to give it a go.
Let me know if all this changes or you find out something new, and we'll otherwise see what happens in the big new version.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11067
>>11048
335 is going to be a big update to python 3, and I am taking the whole holiday to put it out, so there is plenty of time. You can try doing some testing now, but 335 will also be a bit different in several ways and may give slightly different info here.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11068
>>11057
It does an OS call to guess free space, so I am not sure what is going on here. I assume the temp folder doesn't have all that much in it, so ideally that call should be getting like 15.8GB?
That error is also saying it thinks the temp folder and db partition are on the same device, so maybe psutil, which I am using to get this info, is having trouble figuring it all out correctly. If you hit help->about, is the temp location listed there the one you expect?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5534e9 No.11081
>>11068
It was my fault. I lowered the maximum /tmp could grow to 8GB because I was testing something but I forgot to put it back. I remounted /tmp with a max of 16GB and it's working again. It looks like psutil isn't detecting the tmpfs correctly as a separate partition. A quick search lead me to this comment
>updating psutil.disk_partitions to use all=True instead of all=False ensures that the tmpfs file systems are included in the list
https://github.com/saltstack/salt/issues/48536#issuecomment-406102451
Interestingly enough, it only used 5.6GB of main storage but didn't use any storage in /tmp at all. Where is it storing the temporary information? Isn't it supposed to be using the temporary directory? Also the RAM hydrus used grew to 5.6GB during the processing and wasn't released after it finished.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
8f9e8d No.11082
Refreshing account doesn't work. wat do?
2018/12/20 12:16:16: Traceback (most recent call last):
File "/home/user/hydrus-334/include/HydrusThreading.py", line 307, in run
callable( *args, **kwargs )
File "/home/user/hydrus-334/include/ClientGUI.py", line 3842, in _THREADUploadPending
service.Request( HC.POST, 'update', { 'client_to_server_update' : client_to_server_update } )
File "/home/user/hydrus-334/include/ClientServices.py", line 829, in Request
network_job.WaitUntilDone()
File "/home/user/hydrus-334/include/ClientNetworkingJobs.py", line 1109, in WaitUntilDone
raise HydrusExceptions.CancelledException( message )
CancelledException: Upload cancelled: This hydrus service (hydrus service: remote-tags) recently failed to log in. Please hit its 'refresh account' under 'review services' and try again.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
3af726 No.11089
>>11082
Nevermind, repository sync was paused and unpausing fixed it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
39df50 No.11137
client: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
My client will shutdown, freeze, or otherwise fail horribly on me unexpectedly multiple times an hour with this error message, so anything that can be done with this would help a lot.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e2e1f4 No.11139
I assume this isn't normal when doing PTR sync? It just keeps hogging more and more memory until basically everything crashes when my ram runs out.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11150
>>11081
Thanks, I will update that psutil call to do that!
I don't know enough about how SQLite makes temp location decisions. Typically, it will sometimes create weirdly-named files in that help->about temp dir, but I think it also 'cascades' those decisions, starting in memory and only offloading to disk when the temp table gets too big. Is it possible your environment lead it to do the whole giant transaction whack in-memory? I know a couple of other users who have reporting memory spikes like this, so I will keep my eye on it in py3, which I expect will make a few different decisions here.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11151
>>11082
>>11089
Thanks. The new login system is blatting some error reporting here. I will make a job to fix this.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11152
>>11137
Are you running my Linux build, or from source? Unfortunately, my ui code does not work well on some flavours, particularly with my Ubuntu 16.04-made build. Please try my new v335 py3 build on the 9th, as all the libraries will be newer. If that still fails for users in your situation, the best thing to try for now is running from source:
https://hydrusnetwork.github.io/hydrus/help/running_from_source.html
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11153
>>11139
>>11082
>>11150
Here we are with another memory explosion. I am sorry for this–I will look into it once the py3 is out. I am hoping to have a decent memory profiler debug in (py2 support was not great), so we can pin this down.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11154
>>11139
To actually solve your problem, I recommend you pause your repo syncing for now, or limiting it to just a couple of shutdown-minutes of work (to keep overall transaction size down), under services->pause or options->maintenance and processing.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
c3b064 No.11174
I've been getting crashes if I try to view my recently imported images and if I import images (the url downloader and the file import both cause a crash about when they should show thumbnails for the imported files.) I tried running a database integrity check but I gave up after letting it run for >72 hours.
crashlog : https://pastebin.com/qSHps33M
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11177
Twitter scraping via the gallery appears to be busted for me. I turned on debugging network but nothing showed up, instead hydrus just sits inactive and says it's pending all the requests I feed it for twitter even though I've basically never used it. All other gallery options work fine as far as I can tell.
Some various blogs, or different query formats like the full url if it worked like YiffParty or the twitter @ system. But none worked
>nsfw gate behind account
https://twitter.com/kyuuri24/media
>sfw gate for account but with nsfw gate behind posts
https://twitter.com/photonoko
>no nsfw gate, all sfw
https://twitter.com/TysonTanX
Running Hydrus 334
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11178
>>11177
>small correction
This wasnt a bug my mistake, I ran through the bandwidth and got blocked from downloading. After restarting hydrus it 'successfully' cleared the download but still wouldnt budge. Finally I checked out the bandwidth and uncapped it, things are moving normally again. My issue is that Hydrus told me nothing about my bandwidth when I put it in debug so I was scratching my head.
While I'm here though, this twitter is still failing. anyway around this block?
https://twitter.com/kyuuri24/media
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11179
>>11177
>>11178
disregard that i suck cocks
for whatever hangup i was having with hydrus and twitter it looks like it solved itself.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
11c242 No.11183
>>11066
Oh, those file sizes were for the wal/shm files, not the full db files – Those total around 3GBs for master and 6GBs for mappings.
In the end I let the PTR process updates for a few days overnight and it eventually sorted itself.
I'm guessing the jobs were just too big here, and the gui just stops keeping track and gives up after a while.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e2e1f4 No.11184
>>11154
>or limiting it to just a couple of shutdown-minutes of work
It seems to just be ignoring the time limit, unless "just a couple minutes" is the key part. It's on 30 minute limit and seemed to be chugging along for hours despite that.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11185
>>11153
Also reporting that 334 has a massive memory leak problem
>Only two tabs open pic related
>Went through more open tabs today and closed them off, figuring it will help with the RAM usage and crashing
>Both tabs are pretty small in the thumbnail lists maybe totaling <500 put together
>No import running, no subscription running
>No tagging window open
>it was left idle while I browsed the internet
>check back on it
<7-8 gb before I end tasked it.
I have 16gb of RAM so 8 isn't a huge risk to run out, but it was climbing at a rapid rate and probably would have gone through all of it. And during and after the PC runs slower thanks to all the RAM being used up until i restart.
I've been forcing it to end task more than closing normally at least 5:1 in the more recent versions but I didn't keep track of when it started. It's been freezing up a ton as well, in both cases I notice Hydrus is usually when I go into another program for a while and Hydrus throws a fit in the background, even when it's supposed to be importing if it's not the top-window then it has a big issue with burning memory and or locking up when trying to return to it.
Hope this helps.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11193
>>11178
>>11177
>>11179
Thanks for this feedback. I will make a note to see if I can better highlight the blocked bandwidth, and I'll override the debug job.
I am not sure what was going on with the nsfw. Tumblr was schizo about this in the run-up to their recent big block, and pixiv have been on and off with different levels of 'you need to be logged in to access this on api' stuff. Let me know how this goes in future and if you discover anything new.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11194
>>11183
Yeah. I am sorry for the inconvenience.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11195
>>11184
Maybe try 2 mins and see how long it takes to clean up/commit the transaction?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11196
>>11185
Thank you for this info. The CPU burn seems odd, that the client is actually doing something. Can you try running help->debug->report modes and then, let's say, one at a time, the db, daemon, callto, and gui report modes? If one of those is spamming like mad (they'll make popups), then that may help us figure out whatever the hell this is.
Also, please let me know how v335, in python 3, works for you. I am sorry for the problem. I can't yet reproduce it my end.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11197
>>11196
Sure im not sure what spamming like mad would entail. but the first 'callto' debug filled the screen with popups however the RAM and CPU usage looked relatively low and normal when first loaded.
Left to idle for over an hour, maybe close to two though it looks like it started to pile up on 2gb. After about 4k callto's reported it dropped RAM but stopped responding and froze up. Sometimes if I put Hydrus as the front window then it will return to function but not this time, had to end task it.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11198
>>11197
Please disregard the first pic
I was making some banter about some tranny furfag when I made that cap. I tried to delete and repost without it, but it told me my 'password was wrong'
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11207
>>11197
Another memory explosion happened when I closed the program normally and let hydrus do it's usual shutdown process. I ended the task at 7gb RAM usage, but couldnt screenshot it due to the PC lagging so much. Disk activity was 100% so hydrus was doing heavy thrashing.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11211
>>11198
>>11197
>>11207
Ok, thank you. I'll keep thinking and working on this. And we'll see what py3 does here.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
e2e1f4 No.11248
>>11195
Seems like 335 made this finish like 20 times faster and take only a fraction of the memory
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cd3ddf No.11250
On latest release, numerical rating services are kind of fucked for me. I can only rank things by their lowest possible rank (non-zero) or their highest, but even then the ui for obtaining these rankings isnt very accurate
I can still clear them with right click but clicking them anywhere only ranks them 1/x or x/x; or only appears to, anyway
https://my.mixtape.moe/jjkoxh.mp4
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cd3ddf No.11251
>>11250
Same thing goes for searching for them, and it can only search from '0' to 1'; boolean shit I guess
My files already ranked are seemingly ranked correctly, I just can't search for them by rank or properly alter them if they're between the lowest and highest values
Happens to newly created services too, it's not just a continuity thing from the update I don't think
Also, the ≈ operator seems to work 'properly' sometimes ("rating for numerical scale ≈ 1" where numerical scale is /10 will display files rated 9 or 10, and not 1), unless you try to find files rated around 0 (appearing as 1), where it won't find any in my other 1-5 rating service. I don't have any numerical scale files ranked near 0-1 because I wouldn't have/keep them in the first place
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
bd44aa No.11252
"add tags based on filename" doesn't seem to work with v335
TypeError
'>' not supported between instances of 'str' and 'bytes'
File "include\ClientGUIDialogs.py", line 842, in EventTags
panel = ClientGUIImport.EditLocalImportFilenameTaggingPanel( dlg, self._current_paths )
File "include\ClientGUIImport.py", line 1509, in init
self._tag_repositories.AddPage( name, name, page )
File "include\ClientGUICommon.py", line 1818, in AddPage
if current_display_name > display_name:
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
366cee No.11253
I have no idea what happened, but here is the file.
>should be d610a185dc00de614a86f5c9f9e94edb17ac3ec186934d73d205689392ea186c.wew
my.mixtape.moe/rkejvn.wew
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
8b9b29 No.11275
Hydrus ends up freezing after a while (usually hours), gui frozen solid with no disk activity. No errors.
Happened on v334 and was hoping v335 would magically fix it but no.
I'm running on linux mint, using a db created on a windows machine on a ntfs partition. If that helps.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
14196d No.11280
After updating to v335 Hydrus cannot import this image with this filename. When importing, Hydrus will parse the images it can until it hits this one, in which case it will produce an error and won't attempt to import any more you'd asked it to (though the client doesn't freeze when you try importing this image with this filename). I changed the filename to "x" and tried to import it, which made it work.
The traceback information in the error message is:
UnicodeDecodeError
'charmap' codec can't decode byte 0x81 in position 1311: character maps to <undefined>
Traceback (most recent call last):
File "include\HydrusThreading.py", line 307, in run
callable( *args, **kwargs )
File "include\ClientGUIDialogs.py", line 1083, in THREADParseImportablePaths
mime = HydrusFileHandling.GetMime( path )
File "include\HydrusFileHandling.py", line 315, in GetMime
if HydrusVideoHandling.HasVideoStream( path ):
File "include\HydrusVideoHandling.py", line 306, in HasVideoStream
lines = GetFFMPEGInfoLines( path )
File "include\HydrusVideoHandling.py", line 117, in GetFFMPEGInfoLines
info = proc.stderr.read()
File "c:\python36\lib\encodings\cp1252.py", line 23, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 1311: character maps to <undefined>
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
39df50 No.11293
>>11252
I can confirm this error on my machine.
TypeError
unorderable types: str() > bytes()
File "include/ClientGUIDialogs.py", line 842, in EventTags
panel = ClientGUIImport.EditLocalImportFilenameTaggingPanel( dlg, self._current_paths )
File "include/ClientGUIImport.py", line 1509, in init
self._tag_repositories.AddPage( name, name, page )
File "include/ClientGUICommon.py", line 1818, in AddPage
if current_display_name > display_name:
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5fb852 No.11295
>>11280
>UnicodeDecodeError
If you are using the source, add these lines around the top of client.py:
import _locale
_locale._getdefaultlocale = (lambda *args: ['en_US', 'utf8'])
For the dev:
https://stackoverflow.com/a/34345136
Test script (command):
python -c "import _locale; _locale._getdefaultlocale = (lambda *args: ['en_US', 'utf8']); import os; os.makedirs('𐌼𐌰𐌲 𐌲𐌻𐌴𐍃 𐌹𐍄𐌰𐌽, 𐌽𐌹 𐌼𐌹𐍃 𐍅𐌿 𐌽𐌳𐌰𐌽 𐌱𐍂𐌹𐌲𐌲𐌹𐌸 Τη γλώσσα μου έδωσαν ελληνική лол γλώσσα', exist_ok=True); import subprocess; cmd = ['cmd', '/c', 'dir']; proc = subprocess.Popen(cmd, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE); res = proc.stdout.read(); print('res:', res, '.')"
works correctly with the hack, fails without it.
This will not help with completely broken filenames, but at least it will support unicode.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5fb852 No.11296
>>11295
>>11295
>completely broken filenames
Test cases:
https://files.catbox.moe/9r9bf8.7z
Made by:
(unicodes)
python2 -c "import os; os.rename(os.listdir('.')[0], '𐌼𐌰𐌲 𐌲𐌻𐌴𐍃 𐌹𐍄𐌰𐌽, 𐌽𐌹 𐌼𐌹𐍃 𐍅𐌿 𐌽𐌳𐌰𐌽 𐌱𐍂𐌹𐌲𐌲𐌹𐌸 Τη γλώσσα μου έδωσαν ελληνική лол γλώσσα.mp4')"
(broken)
python2 -c "import os; import random; stuff = b''.join(chr(x) for x in range(256) if x not in [0, 34, 42, 47, 58, 60, 62, 63, 92, 124]); os.rename(os.listdir('.')[0], stuff + b'.mp4')"
There might be no good way to make the 'broken' one work.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11315
>>11251
>>11250
Thank you for this great report and the video. I think I fucked the ui click code there somehow.
≈ tends to do +/- 15% internally (and of the given value, not the total max rating I just realised fugg). It is a bodge that I should revisit and maybe add some options for.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11316
>>11252
>>11280
>>11293
Thank you for these reports. I will have them fixed for 336!
>>11295
>>11296
Thanks m8. I'm defaulting to cp1252 or whatever OS default in some of my file read/write. I will check my locale stuff, thanks again.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11317
>>11253
Thank you for this report and the file. It should not be a big deal. If you go services->review services->remote->that tag repo and hit refresh account, it should get everything going again. I now believe that error is a rare random network thing.
Let me know if it comes back!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11318
>>11275
Thank you for this report. Please turn off all idle processing under options->maintenance and processing–does that stop the freezes?
Is your db on an HDD or a SSD?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
8b9b29 No.11319
>>11318
I've been running from source for a couple of days now and it hasn't frozen since.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1c9eb9 No.11321
when manually fixed "bytes > str" error, anoter one appear:
happens where symbols like ☆ are in neughbour txt files' tags
UnicodeDecodeError
'charmap' codec can't decode byte 0x98 in position 35: character maps to <undefined>
File "C:\Users\alexander\.virtualenvs\Hydrus_source-nKsCVeBo\lib\site-packages\wx\core.py", line 3259, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "C:\Hydrus_source\include\ClientThreading.py", line 382, in wx_code
self.Work()
File "C:\Hydrus_source\include\HydrusThreading.py", line 659, in Work
self._work_callable()
File "C:\Hydrus_source\include\HydrusData.py", line 1306, in call
self._func( *self._args, **self._kwargs )
File "C:\Hydrus_source\include\ClientGUIImport.py", line 1625, in RefreshFileList
self._paths_list.UpdateDatas()
File "C:\Hydrus_source\include\ClientGUIListCtrl.py", line 1042, in UpdateDatas
( display_tuple, sort_tuple ) = self._GetDisplayAndSortTuples( data )
File "C:\Hydrus_source\include\ClientGUIListCtrl.py", line 591, in _GetDisplayAndSortTuples
( display_tuple, sort_tuple ) = self._data_to_tuples_func( data )
File "C:\Hydrus_source\include\ClientGUIImport.py", line 1579, in _ConvertDataToListCtrlTuples
tags = self._GetTags( index, path )
File "C:\Hydrus_source\include\ClientGUIImport.py", line 1596, in _GetTags
tags = filename_tagging_options.GetTags( self._service_key, path )
File "C:\Hydrus_source\include\ClientImportOptions.py", line 368, in GetTags
txt_tags_string = f.read()
File "C:\Users\alexander\.virtualenvs\Hydrus_source-nKsCVeBo\lib\encodings\cp1251.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11333
>>11321
Thank you, this should also be fixed for v336. I missed some file i/o encoding, thinking it would default to utf-8.
If you want to fix it yourself in the source, find the various open( path, 'r' ) calls across the program and insert an encoding param, like so:
with open( path, 'r', encoding = 'utf-8' ) as f:
Only the 'r' and 'w' calls–the 'rb' and 'wb' ones are raw bytes and have no encoding to do.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11347
>>11211
I wanted to see if it would improve, and general usage seemed to be better but had another huge memory explosion on Hydrus shutdown, so py3 did not help that lock up.
>100% disk usage thrashing again
>14GB RAM
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11357
On Hydrus 336 it looks like auto updating the PTR is causing Hydrus to lock up, anyway I can disable updates for it?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
514fd9 No.11374
Trying to switch between regular mode and dark mode causes an error
01:31:29 AM: Debug: ClientToScreen cannot work when toplevel window is not shown
double free or corruption (out)
Aborted (core dumped)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11393
>>11357
>>11347
Thank you, I now get this on my admin client on shutdown–it just hangs for me with 2GB-ish (which is way more than normal) and almost zero CPU/HDD after the processing transaction completes. I will do a full pass of all my thread shutdown signalling this week.
You can alter specific maintenance processing rules under options->maintenance and processing and pause all repo processing under the services->pause menu. You can pause specific repos (which includes processing) under services->review services->remote->the repo->pause button.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11394
>>11374
Thank you for this report. I will check it out.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5783cf No.11399
I am getting this error traceback in the log:
2019/01/19 16:25:40: Traceback (most recent call last):
File "include\HydrusDB.py", line 743, in MainLoop
self._InitDiskCache()
File "include\ClientDB.py", line 6533, in _InitDiskCache
new_options = self._GetJSONDump( HydrusSerialisable.SERIALISABLE_TYPE_CLIENT_OPTIONS )
File "include\ClientDB.py", line 5002, in _GetJSONDump
return HydrusSerialisable.CreateFromSerialisableTuple( ( dump_type, version, serialisable_info ) )
File "include\HydrusSerialisable.py", line 100, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "include\HydrusSerialisable.py", line 156, in InitialiseFromSerialisableInfo
self._InitialiseFromSerialisableInfo( serialisable_info )
File "include\ClientData.py", line 1083, in _InitialiseFromSerialisableInfo
loaded_dictionary = HydrusSerialisable.CreateFromSerialisableTuple( serialisable_info )
File "include\HydrusSerialisable.py", line 100, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "include\HydrusSerialisable.py", line 156, in InitialiseFromSerialisableInfo
self._InitialiseFromSerialisableInfo( serialisable_info )
File "include\HydrusSerialisable.py", line 268, in _InitialiseFromSerialisableInfo
value = CreateFromSerialisableTuple( serialisable_value )
File "include\HydrusSerialisable.py", line 100, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "include\HydrusSerialisable.py", line 156, in InitialiseFromSerialisableInfo
self._InitialiseFromSerialisableInfo( serialisable_info )
File "include\HydrusSerialisable.py", line 268, in _InitialiseFromSerialisableInfo
value = CreateFromSerialisableTuple( serialisable_value )
File "include\HydrusSerialisable.py", line 100, in CreateFromSerialisableTuple
obj.InitialiseFromSerialisableInfo( version, serialisable_info )
File "include\HydrusSerialisable.py", line 156, in InitialiseFromSerialisableInfo
self._InitialiseFromSerialisableInfo( serialisable_info )
File "include\ClientImporting.py", line 1396, in _InitialiseFromSerialisableInfo
( self._automatic_archive, self._exclude_deleted, self._min_size, self._min_resolution ) = serialisable_info
ValueError: need more than 3 values to unpack
Is there any way to fix this? Id prefer not to have to try and redo ~4 years of imports and tagging.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11417
>>11399
Thank you for this report. We can fix this without losing all your shit, no worries, but it might take a little back and forth and you'll maybe have to reset your file->options settings.
Can you say which version this is? It doesn't look like current code. And which version, if any, are you updating from? Do you have a backup of the pre-update db?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1c9eb9 No.11420
It seems that disabling a subscription popup (with sync progress) makes hydrus client wait for a subscription to complete (with downloading all files), and exiting client forcibly leads to to losing some data.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
1c9eb9 No.11421
>>11420
>>wait for a subscription to complete
i mean on client shutdown
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5783cf No.11424
>>11399
Thank you very much. As a side note, only the actual files and tags matter to me. If lose everything else, that is perfectly fine.
Looking back it was an obviously terrible idea, but I was attempting to update from version 294 to version 334 before attempting the clean install.
I remember it seemed to successfully update the db through a few versions before crashing.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11426
Got some kind of bug that im not sure what difference it makes, unlike the memory explosions everything seems to be normal besides this popup. It only started showing up on v336
>System Limit:10
>Every time I roll over refresh, the program lags for a second then spits out the message
But everything seems to be normal anyways?
SystemError
<class 'wx._core.MenuEvent'> returned a result with an error set
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11431
>>11421
>>11420
Thank you for this report. I have been doing a bunch of shutdown related cleanup this week and have now improved the 'should I stop working?' checks in the subscription system to respond better to client shutdown. It should now abandon after the current file/gallery page being worked on finishes.
Please let me know if this continues to cause you trouble. It should be a clean shutdown, but if you get some spammy-but-harmless 'fugg ShutdownException' popups in the last moments of the client, please send them in and I'll quieten them.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11432
>>11424
I think you probably hit some bitrot here. The update code of 334 is probably applying wrongly to something from v294.
If you have a backup of v294, please roll back to it and try updating maybe 5 or ten versions at a time, so like do 299, 304, 309…
If you do not have a backup, please go to your install_dir/db directory and run the sqlite3 executable. Copy/paste the following:
.open client.db
SELECT version FROM version;
.exit
What version does it say there? That's probably the version it 'succeeded' to. Let's say it was 303. Try then installing 304, which is more likely to do the 303->304 update step successfully than 336 can. It may still fail, in which case we'll have to figure out something cleverer.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11433
>>11426
Thank you for this report. Can you check your "install_dir/db/client - 2019-01.log" file, scroll to the bottom, and find the full traceback for one of these errors?
This was the right-click menu on the thumbnail area, right? So each entry was ok except 'refresh'? wx is a bit finicky with menus sometimes. I think there are internal limits on some menu-binding code, and when it fails due to a one-in-ten-thousand event of a cache running out of free ids, it then can't figure out how to highlight or show an icon or whatever when you mouse over.
Was this problem just on the same menu, do you remember, or did it come back when you right-clicked again? Did you notice any other menus acting odd or not refreshing?
Some of this stuff is due to me trying to make wx menu code do weird dynamic stuff, just pushing it a bit hard. I am not yet expert enough to figure out how I can detect and recover from these issues, so the general default solution here is to restart the program. Please let me know if you keep getting it and if you discover any sequence of events that make it more likely.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5783cf No.11434
Sadly I do not have a backup handy.
It recognizes it as version 325. Looks like it made it a bit farther than I thought.
Im going to download the 325 version. Should I attempt to install it or do I need to do something else first?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11436
>>11434
Just install as normal. It may give the exact same error, but if it breaks for any reason trying to update, a one-version attempt shouldn't alter anything.
If you have an external usb drive or something to make a backup now, I would recommend it before you do try updating, just so we have a spare copy should anything new go wrong. If you haven't got the space for everything, see if you can squeeze the space to make a copy of all four client*.db files in install_dir/db–this is really what your db is and is what is being affected here by the updates.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5783cf No.11437
>>11436
Alright, I just copied all the files from the db folder except the actual client files (does that count as a db backup?), and have attempted the install.
It opened this time, and it appears client file folders f00 - f0b are missing. I don't see them anywhere, including the recycling bin (and I don't remember deleting them), so as far as I'm aware they're just gone. These folders appear to be a small subsection of the files though, so even if they're gone for good, that's still much better than losing everything.
Should I just recreate folders f00 - f0b or is there something else I can / need to do?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11441
>>11433
>This was the right-click menu on the thumbnail area, right?
Right thus far it only effects the right click menu in the GUI, The general steps I took was
>Setting a system limit
>opening the internal preview browser
>deleting some pictures one by one with right click instead of the fast archive/delete
>closing the preview after getting through all 10
>right click to refresh (where the bug would show up)
I did run across another instance of it today, but not in the same way. This time it was in the rightclick menu when scrolling over pic in the download gallery options, I was going to paste something but noticed the bug again.
And on more experimenting it looks like the GUI option [Manage] when highlighting a file trips the bug. Also if I right click the blank canvas space, but chose nothing and close it it also trips the bug. I might try to get a video of this later.
The tracebacks exceptions from the 2019-01 file is huge, but searching for the specific one only got a few duplicates and I dont think it will help nail anything down.
<class 'wx._core.MenuEvent'> returned a result with an error set
2019/01/23 12:13:58: Uncaught exception:
2019/01/23 12:13:58: SystemError
<class 'wx._core.MenuEvent'> returned a result with an error set
2019/01/23 12:14:02: Uncaught exception:
2019/01/23 12:14:02: SystemError
<class 'wx._core.MenuEvent'> returned a result with an error set
2019/01/23 12:14:12: Uncaught exception:
2019/01/23 12:14:12: SystemError
<class 'wx._core.MenuEvent'> returned a result with an error set
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11442
>>11441
Something to note, like the memory freeze up problems this error seems to go away completely upon restarting hydrus, when I first restarted hydrus yesterday I thought the problem fixed itself but after having the bug again today I think it could be related to idling or just the straw that broke hydrus's back after something broken being left alone for hours eventually jamming the wheels (in this case overnight). I wont be able to get a video until it happens again, but shouldnt take too long.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5783cf No.11443
>>11437
>>11436
So I went ahead and created f00-f0b directories and got the thing open. Should I expect it to crash when a file is unable to load or will there be an error I can use to prompt me to search the tags at the given source location? Or will it just remove the (supposedly) now faulty db entries to the missing paths?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5783cf No.11444
>>11437
>>11436
>>11443
Which .db file is are the tags and source stored in? (assuming you're able to say for whatever reason)
It appears an error is thrown for every missing file, so if I can query for the identified filename in the sqlite program, I can theoretically get the corresponding tags and source location. Using those, I should be able to manually find each missing file again to replace them… unless the database automatically erases the entry after finding it missing.
I may also be able to search for the missing locations and find the filenames and tags based on that if having the browser run into them automatically erases the entries.
I had a class on mysql and the queries seem to be nearly identical, so I should supposedly be able to figure out the basic queries needed if I know where i'm looking.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
5783cf No.11446
>>11437
>>11436
>>11443
>>11444
Ok, Sorry to make so many useless posts in such a short amount of time, but I have been experimenting and found that the files do not get automatically removed or deleted. They stay in the view and just throw an error to the log. As this is the case, I can just wait and whenever I find a file that is missing, I will re-download it. That being said, it would be much easier if there was a way to sort by filename and / or to download the image without having to copy the url and pasting it to the url download page. Are there any tricks to do this?
I would like to thank you very much for all your help. I will be sure not to make such a stupid mistake again.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11458
>>11443
>>11437
>>11444
>>11446
You did right recreating those missing folders. If it helps, every file missing from those folder will start with the characters '00', '01'', … '09', '0a', '0b'.
If you want to do it in SQLite, you might like to try something like:
SELECT hash FROM current_files NATURAL JOIN hashes WHERE service_id = x AND hash LIKE ?%;
I am sorry, I forget that 'LIKE' syntax exactly. You'd have to pass the '?' as a byte. That might be too much of a pain.
I recommend you hit database->check->file integrity->quick and then tell it to export a .txt with URLs for the missing files. This will remove the file entries in your db, so if you still want to have a record of the missing somewhere for some SQL experimentation, make a backup somewhere. Otherwise, that routine will dump a huge list of URLs you can then feed back into hydrus's raw url downloader to recover.
I recommend you read the 'help my db is broke.txt' under the install_dir/db directory, if you haven't already. That several big folders disappeared is pretty worrying. I would guess it was a serious hard drive fault. Anyway check out that document as background reading, just in case it helps.
Anyway, let me know how you get on!
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11459
>>11442
>>11441
Thank you for this. I am afraid I cannot reproduce this. Strange that there is no good traceback here–it looks like a wx-level thing at the C/C++ level that isn't giving nice python line information.
I just did some research, and this 'error set' issue may be an actual bug in wx.
I assume >>11442 is still on 336? 337 should be less aggressive on memory and fixes the shutdown issue as well. If your machine has been having trouble with that related stuff, and this is a system level memory tracking/allocation issue, maybe this problem is relieved as a result.
In any case, please keep me updated on this. I'll keep thinking about this, and–EDIT: I just checked and there's a new wx 4.0.4, here https://www.wxpython.org/ . I'll see if I can update to that this week, maybe it will magically fix in 338.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11462
>>11459
>I'll assume you're still on 336?
Nope, I'm on 337 the bug still shows up, but only after heavy use or idle not quite sure which, today I ran lots of downloaders from gelbooru but didnt open the preview window.
Messing with it more it appears that a lot of the main program menu also trips the same
wx. popup error, it's not all the options but it looks like whichever ones it is, is still consistent on breaking (such as rolling over refresh in the rightclick context menu).
As promised, I got a screencapture of it. But the res is shit, my fault for not double checking the recording settings in OBS. Since the bug is gone on restart I wont be able to get a clearer picture of it today.
https://streamable.com/h4il8
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cd3ddf No.11510
Trying to use sort by ratings on v338 gives me a ValueError
traceback information
ValueError
not enough values to unpack (expected 3, got 2)
File "include\ClientGUICommon.py", line 1495, in EventSortTypeChoice
self._UpdateAscLabels( set_default_asc = True )
File "include\ClientGUICommon.py", line 1436, in _UpdateAscLabels
( asc_str, desc_str, default_asc ) = media_sort.GetSortAscStrings()
I think it works, but I can't search for asc/desc results, only the default method of sorting
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
cac0db No.11517
>>11510
I can confirm this bug on 388.
Every single 'sort by' ratings, custom ones or default gave me the same bug readout. The ratings sort don't work at all, and there's a blank dialogbox where should be ascending/descending
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11526
>>11462
Thank you, this vid is very helpful. It looks like you have a pretty heavy client, with a lot of pages open and a ton of pending tags. Do you have, say, more than 100 pages open? I am wondering if your client is running out of ids for menus quicker because it has all the other stuff going on. Is it possible you can temporarily close some of those pages, restart the client, and see if that eases things up a bit?
Have you tried 'page of pages', btw? This helps nest pages Hit F9 (i.e. choose a new page) and then special->page of pages. You can drag and drop page tabs onto that new page 'folder' and you won't be navigating left and right across a long ribbon of tabs.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11527
>>11510
>>11517
Thank you for this report. I apologise, I fucked up a change here. I will have it fixed for 339.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
133fd0 No.11532
Hi, having a small problem with the Manage Import Folders option.
TypeError
CallBlockingToWX() missing 1 required positional argument: 'func'
Traceback (most recent call last):
File "include\HydrusThreading.py", line 342, in run
callable( *args, **kwargs )
File "include\ClientGUI.py", line 2608, in THREAD_do_it
controller.CallBlockingToWX( wx_do_it )
TypeError: CallBlockingToWX() missing 1 required positional argument: 'func'
Not a problem with export folders.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11535
>>11532
Thank you for this report. I made a couple of stupid mistakes last week–this was one. I am sorry for the problem. It will be fixed in tomorrow's release.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
7d5801 No.11543
This thread is getting laggy, so:
N E W
E
W
T H R E A D
H
R
E
A
D
>>11542
>>11542
>>11542
>>11542
>>11542
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.