ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pyxpcom
pyxpcom
[pyxpcom] OverflowError: long int too large to convert to int
by Tomeu Vizoso other posts by this author
Oct 11 2007 4:34AM messages near this date
view in the new Beta List Site
Re: [pyxpcom] python + javascript | [pyxpcom] pyxcom.xpi
Hi all,

I'm trying to call nsICancelable.cancel() using pyxpcom but I get the
error below when defining the result constant as here:

NS_BINDING_ABORTED = 0x804b0002     # From nsNetError.h

    self._cancelable.cancel(NS_BINDING_ABORTED)
  File "<XPCOMObject method 'cancel'> ", line 3, in cancel
OverflowError: long int too large to convert to int

Any idea why this happens?

Thanks,

Tomeu

_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved