Massimo has a makefile, I believe, which mirrors his launchpad checkins to
subversion.
Subversion would not allow others to contribute as easily, but has more
mature GUI clients - so is convenient for a large population of users as
opposed to contributors.

There should be no difference in the web2py you get.

On Sun, Dec 7, 2008 at 9:21 AM, billf <[EMAIL PROTECTED]> wrote:

>
> Well I deleted my web2py directory, re-installed web2py from the same
> source and everything seems fine and dandy.
>
> Basically, I don't know how I picked up an old version of default.py
> (and probably other files) but it all happened after I tried to
> download trunk from google code using a subversion client so it's
> probably my ignorance of svn.
>
> Can someone remind me what is the difference between google code and
> launchpad in the context of web2py?
>
> On Dec 6, 10:28 pm, "Yarko Tymciurak" <[EMAIL PROTECTED]> wrote:
> > in applications/admin/controllers ?
> > Looking athttp://
> bazaar.launchpad.net/~mdipierro/web2py/devel/annotate/247?file...
> >
> > (which matches mine)
> >
> > I see  ... see attached image....   line numbers don't match yours, and
> > there is no space in these...
> >
> > Also, looking at the launchpad link (above), neither of these 3 lines
> appear
> > to have changed in any revision...
> >
> > Perhaps time for a fresh checkout?
> >
> > Regards,
> > Yarko
> >
> > On Sat, Dec 6, 2008 at 4:14 PM, billf <[EMAIL PROTECTED]>
> wrote:
> >
> > > The problem is in line 278 of default.py in the edit() method
> >
> > > response.flash=T("file saved on % (time)s",dict(time=time.ctime()))
> >
> > > remove the space between % and (time) and it all works fine
> >
> > > On Dec 6, 9:28 pm, billf <[EMAIL PROTECTED]> wrote:
> > > > The problem occurs because the format string passed to lazyT.__str__
> > > > has a space between the first % and the (.
> >
> > > > If you run
> >
> > > >  python -c "print '% (time)s' % dict(time='test')"
> >
> > > > you get the same unsupported format error.  I haven't yet identified
> > > > where the space comes from.
> >
> > > > On Dec 6, 8:43 pm, billf <[EMAIL PROTECTED]> wrote:
> >
> > > > > yup
> >
> > > > > On Dec 6, 4:11 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> >
> > > > > > Bill,
> >
> > > > > > is this the compiled version or source? Which version of python
> >
> > > > > > Can you run this for me?
> >
> > > > > > python -c "print '%(time)s' % dict(time='test')"
> >
> > > > > > does it print test?
> >
> > > > > > Massimo
> >
> > > > > > On Dec 6, 6:20 am, billf <[EMAIL PROTECTED]> wrote:
> >
> > > > > > > I have installed web2py (Version 1.52 (2008-12-02 16:14:02)).
> >
> > > > > > > Now when I edit any code (whether changes made or not) and save
> I
> > > get
> > > > > > > a ticket thrown by edit.html
> >
> > > > > > > Traceback (most recent call last):
> > > > > > >   File "E:\DevTools\web2py\gluon\restricted.py", line 62, in
> > > > > > > restricted
> > > > > > >     exec ccode in environment
> > > > > > >   File "E:\DevTools\web2py\applications\admin/views/default/
> > > > > > > edit.html", line 45, in <module>
> > > > > > >   File "E:\DevTools\web2py\gluon\globals.py", line 59, in write
> > > > > > >     else: self.body.write(xmlescape(data))
> > > > > > >   File "E:\DevTools\web2py\gluon\html.py", line 17, in
> xmlescape
> > > > > > >     return data.xml()
> > > > > > >   File "E:\DevTools\web2py\gluon\languages.py", line 38, in xml
> > > > > > >     return cgi.escape(str(self))
> > > > > > >   File "E:\DevTools\web2py\gluon\languages.py", line 35, in
> __str__
> > > > > > >     if self.s: return m % self.s
> > > > > > > ValueError: unsupported format character '(' (0x28) at index 16
> >
> > > > > > > This is the same whether I am saving my code or web2py code,
> e.g.
> > > > > > > welcome.  Any ideas?
> >
> >
> >
> >  admin_edit.jpg
> > 48KViewDownload
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to