=?UTF-8?Q?Re=3A=20strange=20urllib2=20error=20, =20Is=20this=20a=20bug=20=3F=20if=20so=20any=20way=20to=20resolve=20=20it?=
Hi, sounds like you have problems with your resolv.conf inside the scratchbox. Have a look here [1] how you could try to solve it. [1] http://www.mail-archive.com/maemo-developers@maemo.org/msg11925.html Cheers Daniel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: strange urllib2 error , Is this a bug ? if so any way to resolve it
ok , I ran another test and tried to use google's ip and it works fine .By the way ... in the last part of my previous mail i am not using the domain name so it does not matter , just ignore it . I though it would be helpful if I give the whole trace so: [sbox-FREMANTLE_X86: ~] > python2.5 Python 2.5.2 (r252:60911, Mar 16 2009, 16:36:21) [GCC 4.2.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 >>> a=urllib2.urlopen("http://209.85.153.104/";) >>> a=urllib2.urlopen("http://www.google.com";) Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen return _opener.open(url, data) File "/usr/lib/python2.5/urllib2.py", line 381, in open response = self._open(req, data) File "/usr/lib/python2.5/urllib2.py", line 399, in _open '_open', req) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open raise URLError(err) urllib2.URLError: P.S: Should urllib2 even handle name resolution ??? -- A-M-I-T S|S ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
strange urllib2 error , Is this a bug ? if so any way to resolve it
Hi , I am trying to download an image using urllib2(also tried urllib) , however i get a (-3, 'Temporary failure in name resolution') Now i have tried running wget which runs fine ... interestingly their is no error in python2.3 as well and this error only comes in python2.5 Now I run my fremantle SDK inside virtualBox and their is a django server to which urllib2 connects without any problem whatsoever .. Now I would think that their has to be somekind of name resolution in that case as well??? yet their is no error so where is the problem.. -- A-M-I-T S|S ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [pymaemo] Python-mafw overrides
On Wed, Jul 22, 2009 at 5:23 AM, Andrea Grandi wrote: > I've given a look at the list and I've seen that all this methods are > callbacks, so if I understand how to implement a callback, I'll be > able to include it into the override. > > Any idea how to implement it? If you can point me to some good > documentation it would be great :) I am not aware of any documentation, sorry :( For callbacks, I based on implementations of overrides from the PyGtk sources. You can also take a look on the "hildon_wizard_dialog_set_forward_page_func" override from python-hildon (which was based on PyGtk overrides for functions that receive a function pointer, AKA callback): https://garage.maemo.org/svn/pymaemo/packages/python-hildon/trunk/hildon.override Regards, -- Anderson Lizardo OpenBossa Labs - INdT Manaus - Brazil ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [pymaemo] Python-mafw overrides
Hi I've tried to modify mafw.override in this way: http://pastebin.ca/1503125 but, the type/method is not recognized I think that this is not the right way, because MafwRendererPlaybackCB is a callback function, not a type, bu I really don't know where to start from I could not find any example in python-hildon .override file. Any idea/example where I can start from? Thanks for your help! -- Andrea Grandi email: a.grandi [AT] gmail [DOT] com website: http://www.andreagrandi.it PGP Key: http://www.andreagrandi.it/pgp_key.asc ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Autobuilder and build-dependencies from extras-devel
On Tue, July 21, 2009 10:01, Ed Bartosh wrote: > 2009/7/21 Andrew Flegg : > >> On Mon, Jul 20, 2009 at 09:07, Ed Bartosh wrote: >> >>> 2009/7/20 Eero Tamminen : >>> I haven't used the autobuilder. Is it possible to see how many/what packages are in the queue? >>> Unfortunately there is no such a possiblility. >>> >> >> When I go to the Extras Assistant web interface, it shows me the >> "build queues" for Fremantle, Diablo and Chinook: >> >> >> https://garage.maemo.org/extras-assistant/index.php >> >> >> At the time of writing all three are empty. Or is it not showing me >> what I think it is, and is it showing me only my packages? >> > I didn't know about that. Most probably Niels can explain what's it > showing. My guess is this is packages waiting for the build. They could be > just uploaded and waiting for being picked up by autobuilder or they can > be waiting for autobuilder to finish current builds. This view is a simple listing for .dsc files in the incoming-builder dirs. This only shows packages waiting to be picked up, not the ones that are currently building. This was just a quick hack to show something when there was a large queue waiting. > >> It certainly does show when *I've* uploaded something, so either way, >> it shouldn't be hard to make a UI which shows the complete build queues >> of everything. >> > True. > Now that we have the packages interface, I intend to include build queue and buildlog information there. I've already written the build status handler, we just need to add calls inside the autobuilder at the correct locations. > > > -- > BR, > Ed - Niels ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [pymaemo] Python-mafw overrides
Hi, 2009/7/21 Anderson Lizardo : > One hint is that you can check the methods shown as warnings when you > build the module. I think I sent you a list of these earlier. They > appear as one of: > > Could not write method : No ArgType for > Could not write function : No ArgType for > > It means that codegen does not know about type and thus > requires some override to implement that method or function. I've given a look at the list and I've seen that all this methods are callbacks, so if I understand how to implement a callback, I'll be able to include it into the override. Any idea how to implement it? If you can point me to some good documentation it would be great :) Thanks for your help and best regards. -- Andrea Grandi email: a.grandi [AT] gmail [DOT] com website: http://www.andreagrandi.it PGP Key: http://www.andreagrandi.it/pgp_key.asc ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers