I will hit you with a thank you. This is the second bug you found today. I am re-posting a fix to trunk. I trust you will test it. :-) Thanks.
Massimo On Nov 13, 2:27 pm, guruyaya <[email protected]> wrote: > Ummm you won't like what I have to say. Please don't hit me. > I've updated the svn. Just to be on the safe side I've also re- > checkedout the project. Now going > into:http://127.0.0.1:8000/welcome/default/index > Give me an exception (ticket), that goes like this: > > Traceback (most recent call last): > File "/home/guruyaya/python/web2py-read-only/gluon/restricted.py", > line 184, in restricted > exec ccode in environment > File "/home/guruyaya/python/web2py-read-only/applications/welcome/ > models/db.py", line 31, in <module> > auth.define_tables() # creates all needed > tables > File "/home/guruyaya/python/web2py-read-only/gluon/tools.py", line > 788, in define_tables > self.settings.table_membership_name, migrate)) > File "/home/guruyaya/python/web2py-read-only/gluon/sql.py", line > 1206, in define_table > query = t._create(migrate=migrate, fake_migrate=fake_migrate) > File "/home/guruyaya/python/web2py-read-only/gluon/sql.py", line > 1535, in _create > costraint_name = '%s_%s__constraint' % (table_name, field_name) > NameError: global name 'table_name' is not defined > > On Nov 13, 7:53 pm, mdipierro <[email protected]> wrote: > > > Grrr. You are rit. The view was not being version controlled. I now > > added. Please check. > > > Massimo > > > On Nov 13, 11:47 am, Thadeus Burgess <[email protected]> wrote: > > > > tagging.png <http://static.thadeusb.com/tagging.png> > > > 13-Nov-2009 09:45 235K > > > > -Thadeus > > > > On Fri, Nov 13, 2009 at 11:47 AM, Thadeus Burgess > > > <[email protected]>wrote: > > > > > web2py_plugin.png <http://static.thadeusb.com/web2py_plugin.png> > > > > 13-Nov-2009 09:45 235K > > > > plugins.png <http://static.thadeusb.com/plugins.png> > > > > 13-Nov-2009 09:45 231K > > > > > web2py_web_editor.png > > > > <http://static.thadeusb.com/web2py_web_editor.png> 24-Oct-2009 11:05 > > > > 238K > > > > > -Thadeus > > > > > On Fri, Nov 13, 2009 at 9:11 AM, mdipierro > > > > <[email protected]>wrote: > > > > >> Any chance you can email me a scree shot including the url you are > > > >> looking at. I cannot reproduce this. What os? > > > > >> On Nov 13, 8:39 am, guruyaya <[email protected]> wrote: > > > >> > Recreating the bug: > > > >> > 1. Creating a new app (say: yayaapp) > > > >> > 2. Creating a file in the model section, with plugin in it's name > > > >> > (say: plugin_yayaplug) > > > >> > 3. Save > > > >> > 4. Go to Edit on the top menu: > > > >> > 5. click on the plugin by the name you chose: (say yayaplug) > > > >> > 6. Expect to see all models, controllers and view of this app: > > > >> > 7. Be surprised to see: > > > > >> > app > > > >> > : > > > >> > yayaapp > > > >> > controllers > > > >> > : > > > >> > crontab > > > >> > : > > > >> > /home/guruyaya/python/web2py-read-only/applications/yayaapp/cron/ > > > >> > crontab > > > >> > defines > > > >> > : > > > >> > db.py > > > >> > : > > > >> > menu.py > > > >> > : > > > >> > plugin_yayaplug.py > > > >> > : > > > >> > extend > > > >> > : > > > >> > appadmin.html > > > >> > : > > > >> > layout.html > > > >> > default/index.html > > > >> > : > > > >> > layout.html > > > >> > default/user.html > > > >> > : > > > >> > layout.html > > > >> > generic.html > > > >> > : > > > >> > layout.html > > > >> > functions > > > >> > : > > > >> > appadmin.py > > > >> > : > > > >> > index > > > >> > insert > > > >> > download > > > >> > csv > > > >> > select > > > >> > update > > > >> > state > > > >> > default.py > > > >> > : > > > >> > index > > > >> > user > > > >> > download > > > >> > call > > > >> > include > > > >> > : > > > >> > appadmin.html > > > >> > : > > > >> > default/index.html > > > >> > : > > > >> > default/user.html > > > >> > : > > > >> > generic.html > > > >> > : > > > >> > generic.json > > > >> > : > > > >> > generic.rss > > > >> > : > > > >> > generic.xml > > > >> > : > > > >> > layout.html > > > >> > : > > > >> > web2py_ajax.html > > > >> > web2py_ajax.html > > > >> > : > > > >> > languages > > > >> > : > > > >> > es-es.py > > > >> > fr-fr.py > > > >> > hi-hi.py > > > >> > it-it.py > > > >> > it.py > > > >> > pl-pl.py > > > >> > pl.py > > > >> > pt-br.py > > > >> > pt-pt.py > > > >> > pt.py > > > >> > ru-ru.py > > > >> > models > > > >> > : > > > >> > plugin_yayaplug.py > > > >> > modules > > > >> > : > > > >> > statics > > > >> > : > > > >> > views > > > >> > : > > > > >> > On Nov 13, 8:51 am, mdipierro <[email protected]> wrote: > > > > >> > > Please explain to me in some detail what you do. I do this all the > > > >> > > time. There is a vimeo video about it. It is possible it is a bug > > > >> > > but > > > >> > > I do not understand what the problem is. > > > > >> > > On Nov 13, 12:35 am, guruyaya <[email protected]> wrote: > > > > >> > > > Yep - I got the latest SVN too. > > > > >> > > > On Nov 13, 4:13 am, Thadeus Burgess <[email protected]> > > > >> > > > wrote: > > > > >> > > > > I am not able to edit plug-ins with web2py admin either, > > > >> > > > > running > > > >> on latest > > > >> > > > > revision SVN 1421 > > > > >> > > > > -Thadeus > > > > >> > > > > On Thu, Nov 12, 2009 at 6:03 PM, mdipierro < > > > >> [email protected]> wrote: > > > > >> > > > > > Assuming you have the latest admin. At the bottom of th > > > >> > > > > > design > > > >> page > > > >> > > > > > you should be able to click on plugin, see and edit the > > > >> > > > > > plugin > > > >> files. > > > > >> > > > > > On Nov 12, 6:01 pm, guruyaya <[email protected]> wrote: > > > >> > > > > > > Is it possible to edit a plugin file, after I created it? > > > >> Clicking on > > > >> > > > > > > the plugin from the app menu, just gives me the list of the > > > >> projects > > > >> > > > > > > files. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

