Hi Together. The Problem was there should be set
toscawidgets.on = True in the app.cfg. Best Regards Ivo ---------- Forwarded message ---------- From: Ivo Looser <[EMAIL PROTECTED]> Date: Sep 30, 2007 9:41 PM Subject: twWidgets wrong resource path? To: [email protected] Hi together I've done the following lines in my ipython. http://paste.turbogears.org/paste/1664 Registering the same widget in turbogears brings me up an wrong path. My tg-log-console output for this resource looks like this: 2007-09-30 21:12:57,092 cherrypy.msg INFO HTTP: Page handler: "The path '/resources/toscawidgets.wid gets.jquery/static/jquery.pack.js' was not found." Traceback (most recent call last): File "d:\virtualenvs\turbogears1.1beta\lib\python2.4\CherryPy-2.2.1-py2.4.egg\cherrypy\_cphttptool s.py", line 105, in _run self.main() File "d:\virtualenvs\turbogears1.1beta\lib\python2.4\CherryPy-2.2.1-py2.4.egg\cherrypy\_cphttptool s.py", line 246, in main page_handler, object_path, virtual_path = self.mapPathToObject(path) File "d:\virtualenvs\turbogears1.1beta\lib\python2.4\CherryPy-2.2.1-py2.4.egg\cherrypy\_cphttptool s.py", line 312, in mapPathToObject raise cherrypy.NotFound(objectpath) NotFound: 404 Request Headers: REFERER: http://localhost:8080 Content-Length: USER-AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1 .1.4322) CONNECTION: Keep-Alive HOST: localhost:8080 ACCEPT: */* Remote-Addr: 127.0.0.1 ACCEPT-LANGUAGE: de Content-Type: Remote-Host: 127.0.0.1 ACCEPT-ENCODING: gzip, deflate 127.0.0.1 - - "GET /resources/toscawidgets.widgets.jquery/static/jquery.pack.js HTTP/1.1" 404 1440 " Do i need something enable the config? The first thing i did after this error i tried to get the script directly over internetexploerer. I haven't much experience in Javascript on tg. What is the dev status from tg1.1? It looks really nice for me. TIA Best Regards Ivo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
