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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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

