function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andrew S.ax1373Andrew S.ax1373 

Beatbox 20.0

I was using version .92, before my teammate installed beatbox 20.0 on another computer where we were going to work on our API further.

I think the demo.py code that even comes with 20.0 still calls:

svc = beatbox.Client()

From: http://pypi.python.org/pypi/beatbox/20.0

I had not read the above page as of yet, so I didn't see where you/they mentioned the two different calls:

    XMLClient
        The original beatbox version of the client which returns xmltramp objects.
    PythonClient
        Marshalls the returned objects into proper Python data types. e.g. integer fields return integers.

So, we were getting:

>>> svc = beatbox.Client
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Client'


I was thinking you might want to update the demo code in the 20. so that if we just run it, it won't cause run-time errors.

 

Also, it may catch some folks off-guard  to include the reset password call in the demo run... but I can only blame myself.

 

Regards
~ Andrew

BenTheManBenTheMan

Check the __init__.py file:

 

from python_client import Client as PythonClient