[web2py] Re: Running instantpress in GAE: Internal error Ticket issued: unrecoverable

2013-12-05 Thread peibol
No, I didn't find any solution... El jueves, 5 de diciembre de 2013 07:51:07 UTC+1, PRACHI VAKHARIA escribió: > > > > > *Did you find a Solution?* > > *If yes, what is the Solution?* > > > > Thank you. > > > > > > On Thursday, Jun

[web2py] Re: Relative links inside builtin wiki pages

2013-07-17 Thread peibol
ki-menu's > page view, it gets mangled in the drop-down menu itself. > > > On Wednesday, July 17, 2013 6:40:29 AM UTC-5, peibol wrote: >> >> Hi there, simple question... I'd like to embed links inside the wiki >> pages to some views of my application. Is it p

[web2py] Relative links inside builtin wiki pages

2013-07-17 Thread peibol
Hi there, simple question... I'd like to embed links inside the wiki pages to some views of my application. Is it possible to use some kind of helper, or to embed python expressions in {{}} in order to avoid writing absolute urls (which are different in localhost development and maybe dependent

[web2py] FDPF Error with Python 2.7.5 and Web2py 2.5.1 in Windows XP

2013-07-09 Thread peibol
Hi: I have a function just to render a pdf with an image, by means of pfpdf. Everything was running on a PC with Windows 7 64 bits. Now I have to use another PC, same environment but with Windows XP 32 bits. It's pretty similar to this one: https://groups.google.com/forum/#!searchin/web2py/fpdf

[web2py] Re: FPDF add font not working

2013-07-08 Thread peibol
Thanks Alan! pdf.add_font('DejaVuSans', '', os.path.join(request.folder,'static','fonts/DejaVuSans.ttf'), uni=True) It obviously works. El lunes, 8 de julio de 2013 00:53:59 UTC+2, Alan Etkin escribió: > > I'ts supposed we can add fonts from whatever the folder we want to FPDF. >> For example,

[web2py] FPDF add font not working

2013-07-07 Thread peibol
Hi there: I'ts supposed we can add fonts from whatever the folder we want to FPDF. For example, in the static/fonts folder that I've created for this purpose: def numbers(): class MyFPDF(FPDF, HTMLMixin): pass pdf=MyFPDF() pdf.add_page() pdf.add_font('DejaVu', '', URL('static','fonts/DejaVuSans.

[web2py] Re: Strange character encoding after login into administrative interface

2013-07-01 Thread peibol
How? Or are you talking to Alan? El sábado, 29 de junio de 2013 23:56:49 UTC+2, Massimo Di Pierro escribió: > > We replaced codemirror 2 with codemirror 3.13. Can you check with previous > versions? > > On Saturday, 29 June 2013 16:49:31 UTC-5, Alan Etkin wrote: >> >> Just a remark. Notice that

[web2py] Re: Strange character encoding after login into administrative interface

2013-06-29 Thread peibol
Just a remark. Notice that it doesn't fail when saving, but when re-login into the administrative interface and reloading the file. El sábado, 29 de junio de 2013 23:01:14 UTC+2, peibol escribió: > > I'm editing my web2py files directly in the browser, Chrome, Windows 7. > Ju

[web2py] Re: Strange character encoding after login into administrative interface

2013-06-29 Thread peibol
I'm editing my web2py files directly in the browser, Chrome, Windows 7. Just lok at the lines in which appears a '$', those are the characters that fail. def latexfromexercises(exercises,solutions,vsep): #cabecera y comienzo del documento latexworksheet=r"""\documentclass[14pt]{extreport} \u

[web2py] Strange character encoding after login into administrative interface

2013-06-29 Thread peibol
Hi all: I've defined a function inside a model file. It contains a string. This string is raw because it's a LaTeX expression and in order to maintain the escape characters I think it's the way to proceed. This string is latexworksheet. At some moment in the code I have the following line: la

[web2py] Re: How to import a third party module

2013-06-25 Thread peibol
Could it be a bug? If I put it under site-packages and run locally, it works. When running in GAE, fails. If I put it under the modules folder (where I want to put it), it fails both in local and in GAE. El martes, 25 de junio de 2013 16:00:25 UTC+2, peibol escribió: > > Hi there:

[web2py] Re: GAE Database codification issues? Using reveal-slides and wiki pages

2013-06-25 Thread peibol
:58:43 UTC+2, peibol escribió: > > Mmm, more info... I've tested with a hard-coded markmin input (the example > one, that I attach), and it fails also in GAE... Don't know what's > happening cause there is no log in the appengine dashboard (there is even > no wa

[web2py] How to import a third party module

2013-06-25 Thread peibol
Hi there: I know there are some threads about this issue but I don't get the thing. It's supposed that if I put the module into the /myapp/modules subfolder, importing as usual in Python should work (eg, import mymodule or from mymodule import *). I'm trying to use sympy in my app. When I inst

[web2py] Re: GAE Database codification issues? Using reveal-slides and wiki pages

2013-06-24 Thread peibol
the css and js from reveal. Cheers PAblo El domingo, 23 de junio de 2013 19:50:36 UTC+2, peibol escribió: > > Hi all! > I'm adapting the reveal-slides implementation made by Massimo, by using as > input a page from the builtin wiki. Pretty cool! In local, everything runs > g

[web2py] GAE Database codification issues? Using reveal-slides and wiki pages

2013-06-23 Thread peibol
Hi all! I'm adapting the reveal-slides implementation made by Massimo, by using as input a page from the builtin wiki. Pretty cool! In local, everything runs great, but when running in gae, some issue with the codification in the db made the thing weird. There is even no show of the reveal css..

[web2py] Re: Markmin, LaTeX and pdf generation

2013-06-21 Thread peibol
sday, 20 June 2013 16:35:04 UTC-5, peibol wrote: >> >> Could it be feasible to use mathjax to render the latex to be put inside >> the pdf? Or the google api to generates the image and then add it to the >> pdf? >> >> Thanks Massimo >> >> El jueves, 20 d

[web2py] Re: Markmin, LaTeX and pdf generation

2013-06-20 Thread peibol
ink of any other way to render > formulas in PDF without latex. > > On Thursday, 20 June 2013 12:04:18 UTC-5, peibol wrote: >> >> Does it requires pdflatex, doesn't it? I think it's not supported in GAE. >> >> El jueves, 20 de junio de 2013 18:59:44 UTC+2

Re: [web2py] Re: How should we work to sync localhost development with GAE?

2013-06-20 Thread peibol
Thanks El jueves, 20 de junio de 2013 18:22:47 UTC+2, viniciusban escribió: > > The error says you have 2 records with same value in the column "title". > > On Thu, Jun 20, 2013 at 12:56 PM, peibol > > wrote: > > No, I don't think there are two columns

[web2py] Re: Markmin, LaTeX and pdf generation

2013-06-20 Thread peibol
Does it requires pdflatex, doesn't it? I think it's not supported in GAE. El jueves, 20 de junio de 2013 18:59:44 UTC+2, Massimo Di Pierro escribió: > > Why not use markmin2latex or markmin2pdf (itsuses latex inside) > > On Thursday, 20 June 2013 17:53:58 UTC+2, peib

Re: [web2py] Re: How should we work to sync localhost development with GAE?

2013-06-20 Thread peibol
ith the name "title" and therefore the DB does not know what data to > store where. > > On 6/19/13 8:38 , peibol wrote: > > Here is what I get: > > > > > > Error ticket for "myeducenter"Ticket ID > > > > 127.0.0.1.2013-06-19.17-34-43

[web2py] Markmin, LaTeX and pdf generation

2013-06-20 Thread peibol
Hi all I'm getting in love with web2py, but I'm just a newcomer, and need some advice. Take into account that I finally want to deploy my app on GAE (so I can't install pdflatex for example). 1- I have configured my views to use mathjax (in the head section). Is it the right way to proceed wit

Re: [web2py] Re: How should we work to sync localhost development with GAE?

2013-06-19 Thread peibol
Christian Foster Howes escribió: > > I haven't used that code in a long time as my tables are too big. :( > > what's the traceback that you get? > > On 6/19/13 7:23 , peibol wrote: > > Bigtable. I don't have any other models but the standard auth ones and >

Re: [web2py] Re: How should we work to sync localhost development with GAE?

2013-06-19 Thread peibol
at import to BigTable would give an integrity error. > > note that if you are import/export as a controller you will be limited > by what you can do in 128MB of ram and 60 seconds of processing unless > you use larger instance classes and/or backend instances. > > cfh >

[web2py] Re: How should we work to sync localhost development with GAE?

2013-06-19 Thread peibol
Thanks Cristian. What I'm considering is use a export/import function in the app, only visible to the administrator. Because I want to develop a kind of wiki, with its content, on local. So I'll use export_to_csv_file and import_from_csv_file. The export process is working for me right now, bu

[web2py] How should we work to sync localhost development with GAE?

2013-06-18 Thread peibol
et in the local database? Should I import table per table (manually or with a custom script)? Cheers Peibol -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it,

[web2py] Re: Running instantpress in GAE: Internal error Ticket issued: unrecoverable

2013-06-18 Thread peibol
y version, and the GAE SDK version > you are using? i'm currently dealing with some problems with the GAE SDK > version 1.8.1 released 2 days ago. > > On Thursday, June 13, 2013 8:29:35 AM UTC-7, peibol wrote: >> >> Hi all: >> >> Everything is running

[web2py] Running instantpress in GAE: Internal error Ticket issued: unrecoverable

2013-06-13 Thread peibol
Hi all: Everything is running smoothly at localhost, but when deploying a raw instantpress on GAE I get Internal error Ticket issued: unrecoverable when trying to register or login. I'm using python 2.7, but the same thing happens with 2.5. Any hints there? Thanks! -- --- You received thi