Awesome ! Just the lost web2py tool! ^^
On 26 jul, 12:07, Stef Mientki <stef.mien...@gmail.com> wrote: > thanks for your efforts Massimo, > indeed the "invitation" is gone now, > but it still crashes when trying to accept an invitation > > 2. > 3. > 4. > 5. > 6. > > Traceback (most recent call last): > File "gluon/restricted.py", line 178, in restricted > File > "S:\Python_26\web2py_win\web2py\applications\Chat3/views\default/index.html", > line 76, in <module> > File "gluon/sql.py", line 667, in __getattr__ > KeyError: 'name' > > As you said it was an old application, > maybe it's better to remove the application from your site, > and I'll try to build the application bottom up, instead of modifying an too > old application. > > thanks again, > Stef Mientki > > On 26-07-2010 01:04, mdipierro wrote: > > > please try again. I uploaded it again. I did not try but there should > > not any invitation in the code any more. > > > On Jul 25, 5:43 pm, Stef Mientki <stef.mien...@gmail.com> wrote: > >> sorry Massimo, > > >> but it still gives exactly the same error (a quick file comparison, didn't > >> show any differences, did > >> you upload a new version ?) > >> ( the invitation is received by the second person, but if the second > >> person clicks on the > >> invitation, the error pops up) > > >> thanks for your quick efforts, > >> Stef > > >> On 25-07-2010 19:28, mdipierro wrote:I reposted it. Please try again > > >>> On Jul 25, 6:15 am, Stef Mientki <stef.mien...@gmail.com> wrote: > >>>> thanks Massimo, > >>>> loging in /out now works, > >>>> but inviting other people to a chatroom doesn't work. > >>>> I get an error: > >>>> Traceback (most recent call last): > >>>> File "gluon/restricted.py", line 178, in restricted > >>>> File > >>>> "S:/Python_26/web2py_win/web2py/applications/kat/controllers/default.py" > >>>> </admin/default/edit/kat/controllers/default.py>, line 72, in <module> > >>>> File "gluon/globals.py", line 96, in <lambda> > >>>> File "gluon/tools.py", line 2192, in f > >>>> File > >>>> "S:/Python_26/web2py_win/web2py/applications/kat/controllers/default.py" > >>>> </admin/default/edit/kat/controllers/default.py>, line 30, in accept > >>>> NameError: global name 'invitation' is not defined > >>>> and I've no idea where the global invitation should come from. > >>>> another question, is there something like a debugging console, where you > >>>> "print" or equivalent statements can be collected ? > >>>> thanks, > >>>> Stef > >>>> On 24-07-2010 15:48, mdipierro wrote: > >>>>> I posted yet another rewrite. The previous one did not use jQuery and > >>>>> did not update the list of members in real time. > >>>>> On Jul 24, 2:53 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > >>>>>> For the record.... I just changed the auth method and layout. I did > >>>>>> not look at the actual chatting code. It uses a lot of joins which > >>>>>> makes it slow (for lots of chats) and is un-necessary. As written it > >>>>>> does not work on GAE. It also does not use the full power of jQuery. > >>>>>> It should be possible to streamline the code a make it a lot better. > >>>>>> On Jul 24, 2:47 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > >>>>>>> I looked at it. that app is really really old and uses its own > >>>>>>> (broken) authentication mechanism. > >>>>>>> I looked at it and think I fixed it. > >>>>>>> http://web2py.com/appliances/default/show/34 > >>>>>>> Give it a try and report any problem. > >>>>>>> Massimo > >>>>>>> On Jul 23, 5:15 pm, Stef Mientki <stef.mien...@gmail.com> wrote: > >>>>>>>> hello, > >>>>>>>> I just started with web2py (after a long period of doubt, which to > >>>>>>>> choose, Django or Web2Py) > >>>>>>>> and it looks really great, although the first steps looks difficult. > >>>>>>>> I tried to install the appliance chat (did anyone used this > >>>>>>>> application already?) > >>>>>>>> At first sight chat looked great, > >>>>>>>> but after logging out, I couldn't log in anymore. > >>>>>>>> I retried and the same effect occurred. > >>>>>>>> So I went to another computer, > >>>>>>>> and made a fresh install of chat, > >>>>>>>> now chat didn't have any layout. > >>>>>>>> Can anyone enlighten me on the above problems ? > >>>>>>>> btw, is there somekind of filebrowser / viewer, I feel very > >>>>>>>> uncomfortable with so many files ;-) > >>>>>>>> thanks, > >>>>>>>> Stef Mientki