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

/hydrus/ - Hydrus Network

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

Catalog

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

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


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

File: 1432686953914.png (1.24 MB, 1024x768, 4:3, 3b4327b432f227d15b85610f98….png)

 No.760

In case you missed it, my client update code exploded this week due to a very large tag update exposing a bottleneck in my parsing library. I have shut down my public tag repo and started converting my update protocol to a better system.

I feel about 80% done, and I am very pleased with the changes so far, but this is such critical code and such a big network update (once it is done, everyone will have to redownload the entire update cache from every repo they sync with), I do not want to rush it out. I will take some extra time to make sure it works. I will aim to have my release out on Wednesday the 3rd. My repo will stay down until then.

 No.761

that's fine OP. Just keep up the good work


 No.764

>>760

I'm sorry, does this mean the public repo from the getting started tutorial doesn't work? I tried installing hydrus for the first time today and it keeps telling me it can't connect to the public tag repository.

I'm kind of computer retarded so I assume it's because of this.


 No.765

>>764

Yeah, he's referring to the public tag repo. He also has a slightly outdated database that doesn't require syncing but I'm not really sure how to use it myself: https://8ch.net/hydrus/res/290.html#290


 No.766

>>765

Oh, so basically Hydrus can't be installed the normal way until the repo is back up?

Good to know it's not just a problem on my end. Thank you anon.


 No.767

>>760

God dammit Hydrus_Dev, I can't connect to the database through this code:

[code]

import sqlite3

db = sqlite3.connect('./client.db')

db.execute('SELECT hash_id, mime FROM files_info ORDER BY timestamp LIMIT 100')

[code]

Which just results in the following error:

[code]

Traceback (most recent call last):

File "C:\Hydrus Network\db\database_test.py", line 3, in <module>

db.execute('SELECT hash_id, mime FROM files_info ORDER BY timestamp LIMIT 100')

sqlite3.DatabaseError: file is encrypted or is not a database

[Finished in 0.4s with exit code 1]

[code]

My client still works, and I've tried to look through the source code, but it is still an arcane mess, and I don't find you doing anything special when accessing the database.

Please, I need to understand this, because of reasons.


 No.769

File: 1433295217947.jpg (296.35 KB, 1193x1791, 1193:1791, ea8a8ef71b9d2fe2c0346bc7f7….jpg)

>>765

That db requires a fresh installation–you can't integrate it into an existing install. Since it is old, I may remove it or update it or replace it with a tag archive or something. I have better tools now.

>>766

The Hydrus client can work fine without my public tag repo–all external services are optional. You can still add local tags to your own database to learn how everything works. I will make an important update release tomorrow, and I will bring my server back up then. The update changes a lot though, so people will have to update their client if they still want to connect to my updated server. Let me know if you have trouble updating!

>>767

This is probably because the standard Python install for Windows comes with an old version of sqlite that can't understand the newer version that Hydrus uses. Swapping the old dll for the new works fine. You can either copy the newer sqlite3.dll from hydrus's base installation directory to your script path, which should import that dll before the Python one, or you can overwrite Python's one which should be installed somewhere like:

C:\Python27\DLLs

If you are interested, I get the latest sqlite3.dll from here:

http://sqlite.org/download.html


 No.775

>>769

You were entirely correct. Thanks.




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