Very Basic Menu Code Error

Can Anyone Help Me On An error i have with this code:


import direct.directbase.DirectStart
from direct.gui.OnscreenText import OnscreenText
from direct.gui.DirectGui import *

from pandac.PandaModules import TextNode

#add some text
bk_text = “experimenting with Direct GUIs”
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)

#callback function to set text
def setText():
bk_text = “Button Clicked”

#add button
b = DirectButton(text = (“OK”, “click!”, “rolling over”, “disabled”),scale=.05,command=setText)

maps = loader.loadModel(‘button_maps.egg’)
b = DirectButton(geom = (maps.find(’/button up’),
/button down’),
maps.find(’/button down’),
/button dis’)))
#run the tutorial
[/codthe error basicly saids:

adjusteing global clock’s real time by 7.31876e-006 seconds.
assertion failed

assertion error…

Most likely, “button down” or “button dis” or “button up” cannot be found.

Could you provide the full code+data, please?