ddanier / django-openx Goto Github PK
View Code? Open in Web Editor NEWProvides the necessary utilities to access the new OpenX-API
Provides the necessary utilities to access the new OpenX-API
What steps will reproduce the problem?
1. Get a banner instance: b = banner.Banner.get(1)
2. Get banner daily statistics: b.daily_statistics()
3. Return xmlrpclib.Fault
What is the expected output? What do you see instead?
It should return a list data.
What version of the product are you using? On what operating system?
The last version. python2.6 ubuntu11.04
Please provide any additional information below.
Attached a patch here. Fixed now.
Original issue reported on code.google.com by [email protected]
on 31 Aug 2011 at 12:56
Attachments:
What steps will reproduce the problem?
1. Instantiate a Banner object b
2. Assign the necessary values to b.whatever
3. Call b.add()
What is the expected output? What do you see instead?
I expect the code to continue on.
It does create the banner in the OpenX DB but the code hangs.
What version of the product are you using? On what operating system?
Downloaded the version current in SVN as of Jan 18, 2010.
Mac OS X.
Please provide any additional information below.
I suspect that there is a coding error. Line 15 in banner.py:
if 'aImage' in self:
creates a loop. Python passes in a sequence of integers to Banner.__getitem__
The call always returns None instead of an IndexError.
(This same error occurs with the Banner.modify() method.)
As a matter of interest why are you deleting the aImage value from the data
bucket? Is that just to free up the memory?
Original issue reported on code.google.com by [email protected]
on 18 Jan 2011 at 4:56
>>> from django_openx import Zone
...
File "advertiser.py", line 5, in Advertiser
_client = OpenXClient().advertiser
TypeError: __getattr__() takes exactly 1 argument (2 given)
Original issue reported on code.google.com by [email protected]
on 18 Oct 2010 at 2:38
I think it is time to update v1 to v2. It made me confused at the first time.
Replace
OPENX_URL = 'http://www.your-openx-server.tld/www/api/v1/xmlrpc/'
to
OPENX_URL = 'http://www.your-openx-server.tld/www/api/v2/xmlrpc/'
Thanks.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2011 at 8:54
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.