#2 __init__.py for PMIDI is empty

v1.0_(example)
closed-fixed
nobody
None
5
2014-07-29
2004-08-21
Giles Hall
No

Hi,

The top level __init__.py script for the PMIDI module
is empty. After you install PMIDI 1.0, you must hand
edit the __init__.py script to import the Constants and
Composer. I verified this on XP and 2000.

C:\Documents and Settings\Administrator>c:\python23\python
Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> import PMIDI
>>> dir(PMIDI)
['__builtins__', '__doc__', '__file__', '__name__',
'__path__']
>>> PMIDI.Composer
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'Composer'

Thanks,
-giles

Discussion

  • Peter Parente
    Peter Parente
    2005-02-07

    Logged In: YES
    user_id=624776

    Fixed in CVS

     
  • Peter Parente
    Peter Parente
    2005-02-07

    • status: open --> open-fixed
     
  • Peter Parente
    Peter Parente
    2005-02-07

    • status: open-fixed --> closed-fixed