You are browsing a read-only backup copy of Wikitech. The live site can be found at

User talk:Danmichaelo

From Wikitech-static
Jump to navigation Jump to search

Seeking a djvu / pdf cropping tool for Commons files

Gday. I see that you are operating the tool "croptool", and the brings me to your tool to see if another cropping tool is within your time and capability.

At Commons, we have some enthusiastic Commonists who dislike the Google derived djvu and pdf files where the front Google page still exists, and when they find them they are starting to nominate the works for deletion. These are usually scans of old works that are out of copyright where they only problem page is the Google page. I am looking for someone who could write a bot that pulls a djvu or pdf file to labs, extracts the first page (google) and replace it with a blank page, and then replaces the work back to Commons. I have used the djvu and PDFtk suites to extract pages before however the series of requirements, and the prompt to or from Commons is beyond me, so I am looking for someone technically orientated who can do the construct. [Noting Commons is the issue at this time, if the tool worked more broadly, that is not an issue to me.]

Beyond that, I am not demanding that someone participate more, it is the tool build that is beyond me. If it is keeping services running, etc. that I can usually do. If you are able to help, that is fantastic, if not, and know someone who could help, then suggestions to who to ask would be most welcomed. Thanks. — billinghurst sDrewth 11:31, 24 September 2014 (UTC)

@billinghurst I might be able to help with such a tool. Are there files on Commons right now I could test with? Btw. do you know any tools for transferring files from Google Books to Commons? I was thinking about writing one, but the captcha check makes it hard.. danmichaelo (talk) 23:09, 27 September 2014 (UTC)
An example is Commons:File:History of the Guillotine.djvu. We have a collection of index pages with corresponding/linked pages at s:en:Category:Works with scans containing front-sheets. We have no direct tool from GB -> Commons, though someone has developed a tool to take them to, and from there we bring them to commons, and there are a couple of tools for that at labs. For the circuitous tools read about BUB at mw:Google Books, Internet Archive, Commons upload cyclebillinghurst sDrewth 06:59, 28 September 2014 (UTC)

Croptool offline?

Hi Danmichaelo, I'm constantely getting a "No webservice / The URI you have requested, /croptool/?title=Wikipedia_sculpture_Poland_Slubice.jpg, is not currently serviced." I miss the tool! :-) --Sebastian Wallroth (talk) 15:22, 10 October 2014 (UTC)

@Sebastian: Did this problem start yesterday (Friday)? I'm currently experiencing problems with several of my tools, but they seem to have started around midnight UTC (irc log). danmichaelo (talk) 10:01, 11 October 2014 (UTC)

Croptool authentication problem

Croptool sounds great, so I want to try it, but unfortunately after clicking "Connect" at then "Allow" I receive:

Internal error
The URI you have requested, /croptool/?oauth_verifier=63b5e1fbaee61876db69851334b23df3&oauth_token=503529f710b7d1388c050fa0edab5a41, appears to be non-functional at this time.

Any idea how to sove this? Thanks, keep up the great work! Nicolas Raoul (talk) 04:03, 30 April 2015 (UTC)

I moved it to trusty (ref) yesterday, so it might be related to that move. My problem is that currently (and for the last hours) my connection to just times out. I'll get back to you. – Danmichaelo (talk) 06:20, 30 April 2015 (UTC)
@Nicolas Raoul: It's back up. – Danmichaelo (talk) 13:09, 30 April 2015 (UTC)

Catmonitor jobs disabled


Catmonitor seems to be heavily using an SQL file that's on NFS storage (/data/project/catmonitor.*.db files). This is causing service degradation for all other labs users, so I've shut down the job for now and disabled the crons as well. Please use tools-db's mysql server to do heavy database work. Thanks. yuvipanda (talk) 07:17, 2 May 2015 (UTC)

Thanks for trying to improve the NFS situation. I guess it makes sense to avoid sqlite3. I've migrated this tool to use mysql now, and will look into my other tools as well. – Danmichaelo (talk) 11:38, 2 May 2015 (UTC)