User talk:Bryan/archive/2008/09

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Wrongly uploaded files[edit]

Hi! I've recently encountered a big problem with your bot :( I made Flickr upload bot to upload two photos and it didn't work properly as it needed. Please look at those two photos, they are uploaded partially by bot (only a half of picture): 1 and 2. Maybe the situation is caused by lag at toolserver so that I will wait till tomorrow in order to upload other photos. Regards, Patrol110 dyskusja 20:06, 12 September 2008 (UTC)

Bad uploads[edit]

Could you see this images: Image:Forte do Castelo.jpg and Image:Castelo de Penedono1.jpg. Thank´s a lot. Best regards. ‎--Lansbricae (Ti dirás) 14:30, 8 September 2008 (UTC)

Non-uploading Flickr upload bot[edit]

Hey Bryan, a number (1, 2, 3. 4, 5, 6, 7) of Flickr uploads over the past few days. Not sure why.--Nilfanion (talk) 08:07, 31 August 2008 (UTC)


There are many unarchived closed deletion requests. Why? See also User talk:Lupo#Deletion requests. Lupo 22:04, 1 September 2008 (UTC)

Flickr upload bot[edit]

I made a few changes to the upload client, so let's hope that it goes right the coming few days. I'll have time to do a more thorough investigation this weekend probably. -- Bryan (talk to me) 20:04, 3 September 2008 (UTC)


J'écris en français, je ne parle pas l'anglais, dommage; j'ai eu un problème avec le bot, à l'image: [Image:Rodezno (La Rioja, España)], elle ne monte pas. Merci d'avance, et bien sûr par le travail du bot, --Manuel Trujillo Berges (talk) 10:48, 5 September 2008 (UTC)

raise ValueError("No JSON object could be decoded")[edit]

I'm trying to connect to my local website running MediaWiki (Fedora 8 install) but I keep getting an exception. When I connect to I don't get an exception so the problem must be local to my machine. I have no idea what else to try, Google is surprisingly unhelpful.

I have the following in LocalSettings.php

$wgEnableAPI = true;
$wgEnableWriteAPI = true;

Here is my code:

host = "" # changed for this post
path = "/wiki/"
site = mwclient.Site( host, path="/wiki/" )

Full stack:

Traceback (most recent call last):
  File "./poffer", line 213, in <module>
    main( sys.argv )
  File "./poffer", line 203, in main
    site = mwclient.Site( host, path="/wiki/" )
  File "/home/kneufeld/src/pof_scrape/mwclient/", line 78, in __init__
  File "/home/kneufeld/src/pof_scrape/mwclient/", line 86, in site_init
    siprop = 'general|namespaces', uiprop = 'groups|rights')
  File "/home/kneufeld/src/pof_scrape/mwclient/", line 133, in api
    info = self.raw_api(action, **kwargs)
  File "/home/kneufeld/src/pof_scrape/mwclient/", line 201, in raw_api
    return simplejson.load(self.raw_call('api', data))
  File "/usr/lib64/python2.5/site-packages/simplejson/", line 241, in load
    encoding=encoding, cls=cls, object_hook=object_hook, **kw)
  File "/usr/lib64/python2.5/site-packages/simplejson/", line 262, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.5/site-packages/simplejson/", line 251, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.5/site-packages/simplejson/", line 270, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Any help would be appreciated. Kneufeld (talk) 00:39, 4 August 2008 (UTC)

First problem was that api.php was trying to get me to config the site, once I edit a page to get it to find LocalSettings.php I actually got the api.php xml page. 2nd problem was I was still getting the Exception as above so I upgraded to the phase3 from svn and now everything works.

Kneufeld (talk)

Speedy deletions[edit]

Dear Sir, When a picture is CSD on Commons, how long does it take before it is deleted? On Wikipedia, it is a matter of hours whereas here, it seems to be days. I have uploaded perhaps 25+ images from flickr and almost all were correctly tagged by me (which was easy since I knew what the images were!) but these 2 Commons images uploaded by me were incorrectly described by the flickr source as the tomb of a certain Egyptian Queen. Worse still, I uploaded another copy of the image since one image failed flickr bot review for unknown they are essentially duplicates I hope someone will delete them: Image:Mastaba of Meresankh III (Giza).jpg and Image:Image-Mastaba of Meresankh III (Giza).jpg] as they are an embarrassment to me. While I always check a flickr owners catalogue of images to make sure they were in a museum or overseas trip when they took a photo and did not copy it from another source, I've painfully learned that not all flickr uploaders accurately tag their images correctly. I guess one learns a new lesson every day. With kind Regards, --Leoboudv (talk) 10:19, 4 September 2008 (UTC)

Resignation of adminship[edit]

Unfortunately I have no longer time to fulfill my duties as Commons admin. I'll probably check back here every week and I hope to come back at a later time. I will continue to be involved with MediaWiki development (especially in Commons related parts of the software) and with my bots, which will continue to operate normally. -- Bryan (talk to me) 21:59, 12 September 2008 (UTC)

Snif. Thanks for all your excellent work. Giggy (talk) 01:44, 13 September 2008 (UTC)

Some input?[edit]

Would you like to comment on Commons:Village pump#Picture of the Year 2008 in risk of not happening? Maybe you could give some suggestions on how to improve from your experience last year. Thanks, Patrícia msg 21:58, 13 September 2008 (UTC)

Even though you are not able to help with POTY, I hope we can still count on using the POTY platform. Platonides (talk) 22:08, 13 September 2008 (UTC)

CD volkomen onbruikbaar[edit]

Zie [1]. Siebrand 07:09, 16 September 2008 (UTC)


Upload of Image:Bahnhof-wasserburg-stadt.jpg using Flickr upload bot failed. Can you restart the upload and thereby create a new version of this file or does it have to be deleted first? --GeorgR (de) (talk) 18:57, 17 September 2008 (UTC)

Nevermind my question; the image is now displayed correctly. Thank you! --GeorgR (de) (talk) 19:01, 17 September 2008 (UTC)

stupid bot won't upload good for past 2 days[edit]

I keep getting this error when trying to transfer images.. i am getting frustrated.. --Ltshears (talk) 22:17, 20 September 2008 (UTC)

<class 'socket.timeout'> Python 2.5.2: /usr/bin/python Sat Sep 20 22:13:37 2008

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

/home/bryan/public_html/cgi-bin/ in () 

  33 while True:

  34         s = sock.recv(1024)

  35         if not s: sys.exit()

  36         sys.stdout.write(s)

s undefined, sock = <socket._socketobject object at 0x7f69d803b590>, sock.recv = <built-in method recv of _socket.socket object at 0x7f69d804fea0>

<class 'socket.timeout'>: timed out

     args = ('timed out',) 
     message = 'timed out'


Hoi, de flickrreview bot heeft nog steeds niet gewerkt. Heb je enig idee wanneer hij weer gaat werken?

Om een te grote backlog te voorkomen heb ik er al een paar met de hand gedaan er waren er nog 236 en nu 156.

groetjes, Sterkebaktalk 04:33, 22 September 2008 (UTC)

More failed uploads. :([edit]

Image:US Airforce KC-10 Brisbane Airport.jpg (tokenId: 28508) and Image:USAF C-17 Brisbane Airport.jpg (tokenId: 28509). Bidgee (talk) 03:43, 27 September 2008 (UTC)

Also: Lexus IS250 2009 Matador Red.jpg (tokenId: 28951), thx for assistance! Altair78 (talk) 10:56, 1 October 2008 (UTC)
Ah, so the bot is offline. I removed the token and uploaded the pic myself. Altair78 (talk) 19:41, 1 October 2008 (UTC)

Picture of the Year - 2008[edit]

Hi Brian. I'm just wondering... are you'll planning on being involved with the 2008 Picture of the Year contest again this year? J.smith (talk) 03:06, 28 September 2008 (UTC)


Flickr upload bot is crazy uploading one and again Image:AT+T_building_in_San_Diego.png. See it has uploaded the same image six times [2] (plus another two where upload was truncated, and a MBisanz revert). I have protected the image page to stop it. My guess is that the + in the filename is not being urlescaped. Platonides (talk) 20:41, 30 September 2008 (UTC)

It was also breaking on Image:Clock_Guts_-_Gears.jpg. I have blocked it pending to have its brain checked... or its code ;-) Platonides (talk) 20:51, 30 September 2008 (UTC)

Bot failed to upload[edit]

You bot had failed to upload Image:VC10, Sydney Airport 1969.jpg. Bidgee (talk) 17:10, 4 September 2008 (UTC)

Explanation for keeping Image:Flag of Hezbollah.svg[edit]

Hello. Could you explain why you closed Commons:Deletion requests/Image:Flag of Hezbollah.svg as "Kept: {{PD-ineligible}}" back in Febuary 2007? Reading the discussion there it seems that the flag is eligible for copyright. --Apoc2400 (talk) 18:18, 6 September 2008 (UTC)