Re: [web2py] Re: Help on Authentication with Janrain

2011-07-18 Thread Offray Vladimir Luna Cárdenas

Hi,

There is also an experimental single login method from mozilla:

https://browserid.org/users

Cheers,

Offray


El 21/02/11 16:57, Anthony escribió:

Janrain is probably the simplest way to do third party authentication, but
you can also integrate directly with OpenID and OAuth providers. See this
section of the book for details:
http://web2py.com/book/default/chapter/08#Other-Login-Methods-and-Login-Forms

Anthony

On Monday, February 21, 2011 4:43:35 PM UTC-5, Pystar wrote:


I am thinking of including third party authentication mechanisms like
Twitter and facebook onto my site, but according to web2py
documentation I have to register with Janrain before I can use it.
Here's the catch, this is a new website, no income yet from it, but
according to Janrain, the free version they are offering only supports
2,500 unique users, I do hope that my site picks up and gets more than
2500 users, now I am a little sceptical, I would like to know if they
are other methods I can use to include 3rd party authentication and
authorization mechanisms onto my site?
Thanks
Pystar








[web2py] Am I asking wrong? (I got no aswers)

2011-02-09 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I'm really interested in learning web2py for developing some ideas. But
this is the third time I get no answer from the community. The first two
posts were about how to deal with an error on Instant Press installing
(in Spanish and English mailing list) and the last one was about making
a plugin_wiki the default page instead of the usual one, using
routes.py. None of them got a proper answer and I know that this is a
newbie friendly community where people help/comment on a voluntary
basis, but I'm starting to wonder if I'm making something wrong to get
my mails ignored collectively with that regularity. May be people
doesn't have time or want to answer, but I see another questions got
answered and the talk is running more easily while mines are not. May be
is because I'm too newbie, may be I'm making the wrong questions or may
be is because I'm not a developer and I'm more interested in
understanding the social practices through web2py that web2py itself,
but If I'm making something wrong and that's why I got no answers I will
be willing to help the proper way.

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNUs4DAAoJEGiex2828ICw4zYH/RkPbLgE1sz+qyvMjRq8wnrF
f1Jm5sruLyhcsBS5ZhAwTI5qOcgiDLqkY2643hMjFFgzXcdPfyelm3dySpmjKnSm
+PAw3ykuU/qGcdCWLJPmoEDi6MktsL5r5UcoSj+vLaKk/yT1druzO6qxFOEnod4q
0FgM6IEPSBzpqYnvnJTispErxo3NqErXy5pQSG7ql4UPHtTHcDhgpvB/qF0ctE6+
HDm7M4wTIA78+eJ0izCUeP9esr3VOPvY461nbo2mr9PExqIdm2ef9E/ejLQ4wcBa
xKmi8+X9Du2GI0M6bf3+jr4UscFrGB0UQwNVbEqCXEmRpQlhGbOW3uUt02U6k/8=
=l4+q
-END PGP SIGNATURE-


Re: [web2py] Re: web2py tutorial at PyCon 2011 - important

2011-02-08 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 08/02/11 05:25, Nico de Groot escribió:
> I'm curious, what is the state on Pycon 2011? By the look of it, on
> the Pycon website the tutorial is still 'on'. I'm thinking of going
> there, I would like to meet other web2py developers and especially
> discuss the LMS project. But before booking I would like to make sure
> it is worthwhile for me (and my employer, Tilburg University
> Netherlands)...
> 
> Anyone else going? Possibilities of a Web2py get-together?
> 
> Nico de Groot



I just want to point that I'm interested in web2py from an educational
perspective. We have been working away of the LMS paradigm and better
using the Communities of Practice[2], digital habitats[1] powered by
social software in Cynin[3]

[1]
http://www.amazon.com/gp/product/0982503601?ie=UTF8&tag=etieweng-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0982503601
[2]
http://www.amazon.com/gp/product/0521663636?ie=UTF8&tag=etieweng-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0521663636
[3] http://www.cynapse.com/cynin

Now we're thinking in some kind of digital identity router made in
web2py that can be connected to several social networks and cynin, as a
probe of concept. I can not be in pycon 2011, but may be we can start
part of this conversation in this list or some place.

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNUdEyAAoJEGiex2828ICwM3YIAJjpNTvRDoVNzGqUm7GZLuDK
7gZkLmKYvnJHm0ktl8FvUI7m8YlgBbusH0q0d/GGossKvwj7IUa4d3Zlm+EltiLe
27NNVWrIvn+D/gGP6xZ7ja9K7/34oxkhpC8HWjOCIlVg/IWtZZPRbVu0bsVdv3G7
1yS1HjUtwh2QlyfQzMdRtmQLICAhx4gA7NGzn0fxacWlm6ZWvBDE8y/WJn8LpWGX
4lp8DVJiwt3i9ho3bJBoRe2+8xlkSTKaNVTjrUjdJaaATIrDE/f49Wn7uHZ+C2Nb
TUkW+ubSuryrB9Xr2ThrBGlaFJC6KQh7zquVDilnHJ6iQVsNsWHTEX52ZJvc/ds=
=dvVX
-END PGP SIGNATURE-


Re: [web2py] Trying to use a plugin_wiki page as default for a web2py site

2011-02-07 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi again,

I have an error:


El 07/02/11 19:58, Offray Vladimir Luna Cárdenas escribió:


[]
> --->
> default_application = 'welcome'# ordinarily set in base routes.py
> default_controller = 'plugin_wiki'  # ordinarily set in app-specific
> routes.py
> default_function = 'page'   # ordinarily set in app-specific..
> <---
> 
> and it shows the page for pages creation with all the created ones. If I
> tryed adding parenthesis to "page" function, making it "page()" and it
> shows a more specif message for page creation. 


> When I tried
> "page(test)", using a previously created "test" page, web2py send me an
> error message of the form:
> 
> invalid function (plugin_wiki/page(test))


Is not true (bad memory). default_function = 'index', shows the form
with all the created pages and default_function = 'page' shows the more
specific message for a page creation. default_function = 'page()' gives
the same error message that trying with a specific page name. Also when
I tried default_funtion = 'page/test' for example.

Thanks,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNUJf3AAoJEGiex2828ICwb5sH/0QvGsdpnhM2JUwJiepTPeLo
puNNTOyXrhaifpuW21BEBnVVgyEjfEtRo/vJrlF8lDGZ3eacxCr0WoR5lSWpnkcT
TKYy8lCb2CrW/BuwBHaPsX3qZVjvLGBm7SyxiS0pD+jj4xgBiGqiQmIcabSjs82s
HBwEkeChbakAmOG2R8W6TW30J0VdVsgfDRiI/zdJ4O48ffT4s1LlhKApPn9VFlt7
CKhox9it/4aFMMpzmrjEtgyL+Gc4zJmx1KKhTYrRnKniC5TA91jX5HqhUKlFuXHT
2OX3mBpkL0rdqoy21aus0/TATDazf32I/Z/yC52/EAgOD4MsF0R+ivd9q6iZ0cg=
=5CZF
-END PGP SIGNATURE-


[web2py] Trying to use a plugin_wiki page as default for a web2py site

2011-02-07 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I'm trying to use plugin_wiki as my first approach to having a
functional web2py site and using it to publish easily some info. I tried
also Instant Press but it doesn't installed because a time out error a
got no feedback on the Spanish or English list and I would like to test
more plugin_wiki for a more techie approach to publishing in web2py even
making a blog on it (but I plan to go to Instant Press again for some
not technical inclined friends who I want to introduce to web2py).

Anyway I'm trying to make a page in plugin_wiki a default page when
people load the web2py powered site, so I modified the routes.example.py
naming it routes.py and restarted cherokee. My change was this:

- --->
default_application = 'welcome'# ordinarily set in base routes.py
default_controller = 'plugin_wiki'  # ordinarily set in app-specific
routes.py
default_function = 'page'   # ordinarily set in app-specific..
<---

and it shows the page for pages creation with all the created ones. If I
tryed adding parenthesis to "page" function, making it "page()" and it
shows a more specif message for page creation. When I tried
"page(test)", using a previously created "test" page, web2py send me an
error message of the form:

invalid function (plugin_wiki/page(test))

May be I'm understanding wrong about how to use routes.py or calling a
specific pages as an argument of page function. Any advice about how to
make a specific plugin_wiki default home page will be appreciated.

Thanks in advance,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNUJUvAAoJEGiex2828ICwAQUH/jDyi+ppJ/B35IJqeHfp8VGK
wpOhXLRldBqq2UfEQJfnR1YqIRYAeJX2kgGuyo0A4L8emF+ELeld1/de86R51E/2
M+IvMTtovfoCfA0mQf+hiHQU/vHLgX+IEv6LPJXvvSK2BoFnNq5mT9Fs9LA/ukdv
3x8Vor5jfANW9CHEndDZzUf34UrB0ZkmPJSYyOypkpdOvoVP/vzufBmWwbE1G1n5
lhusdbdauHagiKDx9ZpnvKXduMQSeX2yWbAreo59mUaaQ+w4jGUwx+vUAXZDqik8
NoleBeGsCXvuQzYH4RZCg0cG43ODI/K6o24v/mrB/dTdEKgg0wOPwopOkg5ZuOA=
=ZiUF
-END PGP SIGNATURE-


Conceptual web2py (was Re: [web2py] Re: Kudos for web2py!)

2011-02-02 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 01/02/11 19:58, mikech escribió:
> Ok a link would be useful: 
> http://smalltalkzen.wordpress.com/2011/02/01/a-secret-passion-and-your-choice-of-web-framework/
> 

Thanks for the link and the quote from it. It touch my experience in
some kind of special way. I think that Squeak/Smalltalk and web2py share
as a key feature the idea of being designed with learning in mind. In
fact my background teaching "Informatics" (not "computer science") in
this part of the world deals with learning using computers as cognitive
devices to create and make explicit models in your head. That's why I
have being using Scheme, Python and Squeak/Scratch to freshmen in their
"introduction to informatics" courses. My biggest interest is not
programming per se, but instead modeling and we see this in a richer
context that includes social correlates on informatics (piracy,
copyright, copyleft, creative commons and so on), so we never go deep in
programming and I don't consider myself a programmer but more like an
eternal newbie.

Coming from my experience with Smalltalk/Squeak and having to deal with
making models in my mind explicit in a web environment, I consider
Seaside for a while, but choose finally web2py for the reasons tell in
the article you reference that to me are an expression of the key
features of web2py: self-contained, minimalist, complete, extensible and
learning-oriented. I think that is the only one web framework that is
designed taking into account the digital divide, as introduction says
and this is not a minor feature, but a major concern about how
technology can make lives better, no matter where you live.

One of the things that I have being thinking is about the future of
web2py, even more now that Massimo is thinking in the "py" part of it
and this is related with another piece of the article you refer:

- --->
"Then what am I doing here? Why isn’t this blog called “web2py Zen”?
Because, I believe that the features that make web2py fantastic (like
comprehensive documentation, out-of-the-box authentication and user
management, ease of use and diversity of persistence options, amazing
error logging capabilities, etc) can be added to Seaside – with some
effort, but it’s not impossible. Whereas the key features of Seaside
(the continuations, the reuse and embedding of components, Halos and the
debugging process) cannot be easily (or at all) added to web2py.
Smalltalk (and Seaside) is fundamentally “upstream” to Python, in the
sense that Paul Graham writes about"
<---

I would like to have some kind of philosophical discussion on this
issues. Maybe the real future of computing is more related with things
like COLA (Collaborative Object Lambda Architecture)[1][2][3] and what
you could build on them, without sacrifice for example the syntax and
semantics you know but without being limited by them and even trying to
build "one language to rule them all" instead of having to learn python,
CSS, HTML, Javascript, databases as in the web programming world of today.

One of the things that surprise me more is on one hand the physics
background of Massimo and in the other the friendly character of this
community, so I think that this kind of conceptual discussions are not
away of this list even if newbies like me don't understand the technical
details of the day to day talks about databases and programming.

Thanks,

Offray

[1] Getting The Message Steps Toward The Reinvention of Programming A
Compact And Practical Model of Personal Computing As A
Self-Exploratorium By Alan Kay, Dan Ingalls, Yoshiki Ohshima, Ian
Piumarta, Andreas Raab. http://irbseminars.intel-research.net/AlanKayNSF.pdf

[2] An evolving whitepaper about the "combined object-lambda
abstractions" http://piumarta.com/papers/colas-whitepaper.pdf

[3] Ian Piumarta Slides Pdf
http://piumarta.com/papers/EE380-2007-slides.pdf
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNSXTgAAoJEGiex2828ICwB/oH/0i3Jqb8XmZgooNc8E2Lpd8S
ynpwPp69AeE1XhuvSqW8TC6mhotIY3DTJh2X8hSrJKw5QK2WQrsiBChSJjSEuqlh
10jOJAc/SSnUj5qO0sV/4Q1OwhIy41KCbawFiuLy+JtGPmkctLrIorquZNU1++77
6Kn+FK5KPcLiFd6D1HGKzQs4MGBK8JeJzpWACHxmRdHxuZZzJUYc11HfvGbOxLp+
kwMfIJhnxkYpgSKZs3+BhO/W3ItWZWpyyalTL7P+rupvPvgud7zUWh7+8uG64swf
2v83hacrfLzqlGilXoysiiAGrAOCPMYtNxJm7z+h7tnWGvoyMwtO1MxxPMcktAE=
=T0wz
-END PGP SIGNATURE-


[web2py] The web of connected p2p web2py apps ? (or a new kind of social network)

2011-01-26 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I'm looking for which will be the app that I will do to learn web2py. I
like of web2py the self-contained minimalistic nature of it, and I
imagine a web made of web2py p2p sites that share content, but give the
people the ability to create apps and connect them in different ways
using this self-contained minimalistic framework. Today I have seen
Appleseed[1], Couchit[2], Analogue[3] and Scratchpad[4] and I like the
potential distributed p2p nature of them (the last 3 using the
distributed NoSQL database CouchDB).

In the view of small web2py apps connected, for example some create a
url shorter, some other an image gallery app, a wiki, a blog engine, and
so on, and you can install them on single or several web2py servers and
they talk each other transparently. Even, you can mount your own server
and import your interactions in these other sites and/or extend them
with your own developments. I don't know if I'm making myself clear, but
I think that in the context of a new kind of social network, this kind
of innovative appliances and visions are important and I think that the
self contained nature of web2py can be the key of this new kind of
network if we can provide easy way of making transparent p2p of web2py
apps talk each other, even if they are not online all the time or in the
same server, almost as easy as is to learn/use web2py.

[1] http://opensource.appleseedproject.org/docs/future/appleseed/
[2] http://couch.it/about
[3] http://www.anologue.com/
[4] http://scratchpad.cmlenz.net/about/

The thing is that you will need something like a NoSQL database or DCVS
as CouchDB or Fossil respectively as a storage back-end in that
scenario, instead of the usual SQL Database provided by DAL in web2py.
¿Can this kind of thing be made on web2py?

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNQKvXAAoJEGiex2828ICwU+sIANV9IA2K0IFZ9RqDge68Qr7C
0XCGoVK1TYzKATXKBWRPuVJWQyLHglnU9IxkVnZQmsbZ43tS85cqRONQHKSzn+Hx
IuVUgQE8y6WF3MXpHFGhDd7nFesktTRkWj5MTrCKtfcNHZfOcHgtXeCGJ+TnzE0/
2cvlWVDU+4abt4QBC7hJlN3mgZ6f0tfzrVQKvElztAbv+7rpleuvSslQr8+6feWE
FSMzYKUfdgga4bSqTOXwyVO4mtZk/VwhrwNx15bt8NWiTzzAFlOC70ms9tbgPTop
Jb9XHzZjOAywt73CgoiqyIftbjLjdtx3AoUPS+Z41rX5DjQnAr1OZTWcax68ECM=
=bWow
-END PGP SIGNATURE-


Re: [web2py] Re: T-Shirts web2py

2011-01-26 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 26/01/11 09:24, Massimo Di Pierro escribió:
> How about 
> 
> "get it done!" or "build the web!"
> 
> "get the things done" seems too long. I would buy some T-shirts. :-)
> 

I like "build the web" or may be "Get the web done" :-), just to combine
both of them.

Cheers,

Offray

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNQIRmAAoJEGiex2828ICwsw0IALuX8tWRHvDbREKFM3oLWhra
02cIyuJg4BK1Wnj6drd8KSqGhmCzNehT2CU1of7sy8JYnfV92Om33+H5L4/LcW3g
hHerpW0AK97xSKID+fj5sNqrwCZlSs0W0pk4unsHLa4s8OOwFfoKuBDkNwscR8SZ
aeAo2RDqBJ+mCtcWbnL2/Z6XMh2ln3bYHrkwlobqer68fvvEDEWLGkhBW36yU65f
rlI/jrX1kwGt3dtoj5qeLUsF0He+EIbbepz7wb1zEhe0F6HCRecArWs8Z+BOZqty
V/YbWCRgyKP8wDGk9lzC/VTc9wju3ej+AkULFYVCgNwXzqQ2Ieg/XmGbbKfeHwc=
=B3x7
-END PGP SIGNATURE-


Re: [web2py] cherokee and web2py

2011-01-26 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I tried the book also, but it didn't work for me. May be you can try
Cherokee + Web2py + uWSGI from

http://web2pyslices.com/main/slices/take_slice/110

that was the one that worked for me.

Cheers,

Offray

El 26/01/11 08:51, pr64 escribió:
> Hi,
> 
> New with web2py and cherokee (fastcgi), I'm trying to setup the
> welcome app.
> 
> I followed the http://web2py.com/book/default/chapter/11#Cherokee-with-FastGGI
> but when I point to my http://localhost:8080/ it redirects to
> http://localhost:8080/welcome/default/index but : The requested URL /
> welcome/default/index was not found on this server (404)
> 
> My directory structure is:
> 
> /cherokee/www
>   - web2py (containing startweb2py.sh and the fcgi
> python handler)
> 
> Everything seems to be launched correctly as I can see the processes
> (ps aux | grep cherokee)
> 
> I already read several mail list messages but could not make it
> work
> 
> Any idea ?
> 
> Thanks for your time,
> 
> Pierre
> 
> 
> Here's my cherokee.conf file:
> 
> config!version = 99039
> server!bind!2!port = 8080
> server!group = www-data
> server!ipv6 = 1
> server!keepalive = 1
> server!keepalive_max_requests = 500
> server!panic_action = /usr/share/cherokee/cherokee-panic
> server!pid_file = /var/run/cherokee.pid
> server!server_tokens = full
> server!timeout = 15
> server!user = www-data
> vserver!10!collect_statistics = 0
> vserver!10!collector!enabled = 0
> vserver!10!document_root = /cherokee/www/
> vserver!10!error_writer!filename = /var/log/cherokee/cherokee.error
> vserver!10!error_writer!type = file
> vserver!10!keepalive = 1
> vserver!10!logger = combined
> vserver!10!logger!access!filename = /var/log/cherokee/cherokee.access
> vserver!10!logger!access!type = file
> vserver!10!logger!x_real_ip_access_all = 0
> vserver!10!logger!x_real_ip_enabled = 0
> vserver!10!nick = default
> vserver!10!rule!500!disabled = 0
> vserver!10!rule!500!encoder!gzip = 1
> vserver!10!rule!500!handler = server_info
> vserver!10!rule!500!handler!type = just_about
> vserver!10!rule!500!match = directory
> vserver!10!rule!500!match!directory = /about
> vserver!10!rule!500!match!final = 1
> vserver!10!rule!400!disabled = 0
> vserver!10!rule!400!document_root = /usr/lib/cgi-bin
> vserver!10!rule!400!handler = cgi
> vserver!10!rule!400!match = directory
> vserver!10!rule!400!match!directory = /cgi-bin
> vserver!10!rule!400!match!final = 1
> vserver!10!rule!300!disabled = 0
> vserver!10!rule!300!document_root = /usr/share/cherokee/themes
> vserver!10!rule!300!handler = file
> vserver!10!rule!300!match = directory
> vserver!10!rule!300!match!directory = /cherokee_themes
> vserver!10!rule!300!match!final = 1
> vserver!10!rule!200!disabled = 0
> vserver!10!rule!200!document_root = /usr/share/cherokee/icons
> vserver!10!rule!200!handler = file
> vserver!10!rule!200!match = directory
> vserver!10!rule!200!match!directory = /icons
> vserver!10!rule!200!match!final = 1
> vserver!10!rule!100!disabled = 0
> vserver!10!rule!100!encoder!deflate = 0
> vserver!10!rule!100!encoder!gzip = 0
> vserver!10!rule!100!handler = fcgi
> vserver!10!rule!100!handler!balancer = round_robin
> vserver!10!rule!100!handler!balancer!source!1 = 1
> vserver!10!rule!100!handler!change_user = 0
> vserver!10!rule!100!handler!check_file = 1
> vserver!10!rule!100!handler!error_handler = 1
> vserver!10!rule!100!handler!pass_req_headers = 1
> vserver!10!rule!100!handler!x_real_ip_access_all = 1
> vserver!10!rule!100!handler!x_real_ip_enabled = 1
> vserver!10!rule!100!handler!xsendfile = 0
> vserver!10!rule!100!match = default
> vserver!10!rule!100!match!final = 1
> vserver!10!rule!100!no_log = 0
> vserver!10!rule!100!only_secure = 0
> source!1!env_inherited = 1
> source!1!host = /tmp/fcgi.sock
> source!1!interpreter = /cherokee/www/web2py/startweb2py.sh
> source!1!nick = web2py
> source!1!type = interpreter
> icons!default = page_white.png
> icons!directory = folder.png
> icons!file!bomb.png = core
> icons!file!page_white_go.png = *README*
> icons!parent_directory = arrow_turn_left.png
> icons!suffix!camera.png = jpg,jpeg,jpe
> etc...
> 
> 
> Cherokee: 0.99.39
> Default WWW:  /cherokee/www/
> 
> Web2py: 1.91.6
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNQGgqAAoJEGiex2828ICwT0IH/jj1tl5FNu4kUvmgSirzdnSO
WEPlxTI5FQf8oqJlUJ2N/osxEWyrIp+HPd1q5SLq6O/VzbHkAL2jLFlxpX0qrtds
UXyIWO5qOV1aOQyaWU0WLcFzXraz9Aa6F8681hRQO795i7NiCv0SsXXedGLRfId0
jjAdi+b8UtIXCGm7fVceKDLvraichmcU89WUEE3H/IXYg8D4BHWQwrr1c9/BpHzG
W4BOiCab31R6o9Mp608WRk1+/kiS0gu60nWcFbUDD3xUA38+323SY7gJM9gki5kI
vB+fNSjP8FLAweQBfAfl9TEGYteyRC8aPRUnzbR7Aae43PThjxczbdpLel+7c5g=
=EUkQ
-END PGP SIGNATURE-


Re: [web2py] Fresh Wizard install and plugin wiki not working...

2011-01-26 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 26/01/11 02:15, encompass escribió:
> I installed the plugin wiki and when I try to access application_name/
> plugin_wiki/ and login it tells me access denied.  Did I do something
> wrong?
> 

I have the same behavior. You need to add the user who is trying to use
the plugin_wiki to the "editor" group, which you need probably create
too. For that you can use the admin interface and use the database
administrator to make this two operations (create the "editor" group,
and add a user to that group).

Next thing you will try to do is making plugin_wiki readable by
anonymous users (that's where I'm now).

Hope that helps,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNQGd/AAoJEGiex2828ICwTDMIALZ5tcdTAd6RAJdiWyrA3Xbx
LtGT9lnKEOq9+m1Usv3Kf9/dhSUS82bT+YTKZhmDAJEaL+aHeQ7MaWC0FB+M76ol
tRSFSDoFTrB7Way58KREeorgFwAZuLnUYsrrAmdmnWFPLuXYACgojqWMCMnAmSyX
BuZ6WQJmXmofKftPyBqFxlUmWTMcWAjeHFxEmb3jFtJ94BH7KvRZCsduNMC3Wnbi
8wqIpx0WMBhZZh/85h6j5tvsA7jkZ6A802LxopKndJLz/LT3r69seRfHMuZHuVoD
EXJccmgC6Bygqbsims5u4HjxTYJ3AG0UjtyZfkFKGL0sdyZplgaA24M01NRneZA=
=Sogb
-END PGP SIGNATURE-


[web2py] Problems installing Instant Press

2011-01-24 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

Now I'm trying to install Instant Press in the web2py instance I have
online, but I have not success. I get the error message that I posted
below. I tried to install something different like the cookbook
appliance and it went without any problem. The only significant
difference I see between the two appliances is their size. Instant Press
is ten times bigger that cookbook, but my local test (without using wsgi
on my local machine) let me install instant press without any problem. I
asked in the Spanish list and posted the error message and there they
told me that it was a web2py related problem, but don't provide any
extra information to know which problem or how to solve it.

Any advice is appreciated.

Cheers,

Offray


Error log on web2py trying to install Instant Press follows:

VERSION
web2py? Version 1.91.6 (2011-01-03 17:55:14)
Python  Python 2.7.1: /usr/bin/python2
TRACEBACK
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Traceback (most recent call last):
  File "/opt/Portico/Web2py/1.91.6/gluon/main.py", line 403, in wsgibase
parse_get_post_vars(request, environ)
  File "/opt/Portico/Web2py/1.91.6/gluon/main.py", line 254, in
parse_get_post_vars
request.body = copystream_progress(request) ### stores request body
  File "/opt/Portico/Web2py/1.91.6/gluon/main.py", line 127, in
copystream_progress
copystream(source, dest, size, chunk_size)
  File "/opt/Portico/Web2py/1.91.6/gluon/fileutils.py", line 331, in
copystream
data = src.read(chunk_size)
  File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
timeout: timed out
ERROR SNAPSHOT
(timed out)

inspect attributes

Frames
File /opt/Portico/Web2py/1.91.6/gluon/main.py in wsgibase at line 403
code

arguments

variables

File /opt/Portico/Web2py/1.91.6/gluon/main.py in parse_get_post_vars at
line 254
code

arguments

variables

File /opt/Portico/Web2py/1.91.6/gluon/main.py in copystream_progress at
line 127
code

arguments

variables

File /opt/Portico/Web2py/1.91.6/gluon/fileutils.py in copystream at line
331
code

arguments

variables

File /usr/lib/python2.7/socket.py in read at line 380
code

arguments

variables

Function argument list
(self=, size=10)

Code listing
375.
376.
377.
378.
379.
380.

381.
382.
383.
384.
# parameter even though it often returns much less data
# than that.  The returned data string is short lived
# as we copy it into a StringIO and free it.  This avoids
# fragmentation issues on many platforms.
try:
data = self._sock.recv(left)

except error, e:
if e.args[0] == EINTR:
continue
raise
Variables
self._sock.recv 
self._sock  
self
dataundefined
left2552
Context
locals

request

session

response

IN FILE: FRAMEWORK
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNPbBHAAoJEGiex2828ICwY7kIAIkuCXZ34dxcoq1RuG/oT5S/
3GzZEwjOPJ9o0M58rmv2FEvxdtOyTMrNskxAMkP7ER7MigJLLx2kAHrRq/zeUM5c
a0QhxwI1wqL66rYSoWXWbOygk2gx7eeIVmlN69GRbFoO/k21pkMbovDPEHd1WFjt
+j9f/2VdB6j0N0XgfhFBO8wieojnlUAgOo7ft/d8X4CUKkKXbft9tINlN59zGo1b
1d352lKuBHcMLRf4K1vgeFhdPSu0U+Vm0/Ztt6FoeK5nudn4nvSlwzRYvGkqceC+
JDSDOSsdBEYyKQO8KdRSX1ilgrGskobfJY02Z62Pd2HwiE98zeAJEmsqk3CmTl8=
=oHeM
-END PGP SIGNATURE-


Re: [web2py] Re: Adding restructuredtext support for plugin_wiki or translating to markmin

2011-01-23 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 23/01/11 09:25, Offray Vladimir Luna Cárdenas escribió:
> Hi,
> 
> El 23/01/11 04:29, mart escribió:
>> its not markmin, but perhaps a place to start?
> 
>> http://code.google.com/p/rst2pdf/
> 
> 
>> Mart
> 
> Thanks Mart I will take a look (and thanks Massimo too ;-).
> 
> Cheers,
> 
> Offray
> 

Seems that the best way is to hack docutils[1], trying to extend the
"rst2" family to support a new markup language and reading about that I
have found another nice minimal markup language txt2tags[2][3]. The
first idea would be just to write a rst2markmin converter, although I
been thinking in rst -> txt2tags and then txt2tags -> markmin, because
txt2tags is a project only concerned with the markup language and
they're trying to give support to a lot of exporting options, being like
some kind of rosseta stone for markups, if we add a something to
txt2tags converter. while markmin is somekind of spin-off project that
doesn't have much attention (may be it doesn't need more and is making
it's designed function just as is).

Anyaway hacking docutils seems like a good amount of work for a newbie
just to have his legacy reST docs supported in web2py wiki, but if I'm
going to start it, I would like to know more about the features of
Markmin, for example about its support for footnotes and how it can be
extended (or changed).

Thanks,

Offray

[1] http://docutils.sourceforge.net/docs/dev/hacking.html

[2] http://txt2tags.org/

[3] http://txt2tags.org/features.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNPH1oAAoJEGiex2828ICwjNkH/Rm+bBaEwB9uU5kOUxqiUGJw
3vAdaXzkRrL+KXdQha+YoO5YZh1FVEhUccDf1eMK4N+lgVejqgVHkihTDUet/kOg
1AZZaTtRdSNlYsURc9Y2YZpxLXd7rEgBqXu9bwnCR4Rtc8odF/7oIj0Y2/LyP32x
A26RXgu5Mhvh4YQBsG3XFdbs270GQbXt0Zc+GXI0VNQbnBjt6lfQlw5Pr+Old7lA
t9kIPB+IJaylWcss/3NUS6pq1Wh1wg9gXlm6wWy4Z8kj1yPf/TVNNtgSbYRq00q7
pG6dQpcJQ2ykC8pkzu+mbASPSfit3uwktVMA7GRnTdmr6/k4T9xsiTchHyL84Ng=
=UkhU
-END PGP SIGNATURE-


Re: [web2py] Re: Adding restructuredtext support for plugin_wiki or translating to markmin

2011-01-23 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 23/01/11 04:29, mart escribió:
> its not markmin, but perhaps a place to start?
> 
> http://code.google.com/p/rst2pdf/
> 
> 
> Mart

Thanks Mart I will take a look (and thanks Massimo too ;-).

Cheers,

Offray

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNPDplAAoJEGiex2828ICww2cH/iVNKI2yMPhO9zsq3Y3cRw19
A53vidf4bp0CKIrELOrmOPRTD4tmZt3sgzEHDcjvoKs5uFSKK9dK2jrW/EWUquo3
9EvdUd7LBUcP+fcEDqNfWp0eU8PGKha51m8cGdxYuqznpA/9wj1Welp693VM9PuF
SBy4mFsCE3PjKI4sWq6UYvmVuq7XXa2rKI8Wlccms6S45E1ot1crrfkrzL3CrPtN
nd3o4aD8uwavNczWJQ+GMwtnr4pWWEISMFSmNkyL8abhGG8kyZym1LV1oZ28N9sP
VwIVGVdmZi0zsDFKqxQObp/orEQnD8QN9U3S9uvE8mNkDMgRuC+7gb/++I7uCic=
=Yff1
-END PGP SIGNATURE-


Re: [web2py] Re: Adding restructuredtext support for plugin_wiki or translating to markmin

2011-01-22 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 22/01/11 19:28, Massimo Di Pierro escribió:
> I cannot find that code any longer. Anyway, it is as easy as I thought
> because the extensions are critical to make plugin wiki work and
> although both markmin and a rest can be extended, there are
> differences that are difficult to reconcile (think of cross page
> references).
> 

I don't understand:

* it is easy because diferences are difficult to reconciliate ?

or

* it is _not_ easy because diferences are difficult to reconciliate ?

In later case is better try to write a rest2markmin converter? (maybe I
can use Pandoc to convert from rest to markdown wich is more similar to
markmin and after that make some manual tweaking).

As always, any advice or comments is appreciated.

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNO6ZzAAoJEGiex2828ICwsgsH/0udsXkqdcbVV3BvgVYpIibV
skqmWCCmwx3WBqRrE0mMTYCPZ5TXeik679BDQVuwe1YBLEJoM8ihmXM/cioP99P+
ja3OVt7DxrRhvPru6/yDSym9NTZQsdpc2NiWc8JMqchwfKb9efx3zZ9xalaUhk//
1A4wnAqSL9InkDqg7QFfZBls4/P+D4nAZkX1bqDqPDp3/qQ5hV8ms/CdNnRpAr5K
LjBp/cJ/kWqECdV7sNWbDJM/zLbzaGQ3TPRQEH7C81GH0nrSXwpfyQJgZKAm0wXi
OaimSLEU3Fxx3Btm095nyIs6NHzIuhhRgLxTKTpdGutkB89IHnvMuD+7mSCkjOE=
=DQzj
-END PGP SIGNATURE-


Re: [web2py] Re: Adding restructuredtext support for plugin_wiki or translating to markmin

2011-01-22 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 21/01/11 12:54, Massimo Di Pierro escribió:
> Actually, yes, there is an easy way but I am not home and I do not
> have immediate access to my files. Will post a solution asap.
> 
> On Jan 21, 10:46 am, mart  wrote:
>> As I recently learned...
>>
>> I made a script that takes lists (or a list of lists) which gets
>> converted to a Markmin table. Works great! took me a half a day to
>> make sure the recursion was just right, etc...
>>
>> Then Massimo comes in and says "I would have simply done
>> {{=rows}}" ... I would wait and see what Massimo says, I'm sure he has
>> a quick answer to this well (just my gut though) :)
>>
>> On Jan 21, 11:30 am, Offray Vladimir Luna Cárdenas 
>> wrote:
>>

Thanks Mart and Massimo. I will be waiting for the easy solution to be
posted (hopefully soon :-) )

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNOuYEAAoJEGiex2828ICwKRwIALhPLZ316HnM6TKOwc6f3d1O
SfZ3iL4zoSiTAv59K+hIfPPsGUAY/Fk58EishehIUxQ5ofCCA7SyW66av/d+nO/2
K896iJfF09jLCrMsIe8VMHczi1M6lKJhlin/RkU5tC0+yak8s+C1nnKmUxsGXOUb
GBtQgX3vC+tzUvrSO/WkUXBLhZUPwFs69PcbKGX07MCAQsLZYfQjN0xxIm44uaOo
UgxsOkC2gzMpINK0iossen8IGg3acYaP6rrutevxYkSqpYBE0VJQULhJyhHnYm8G
PUYGv8Y90Eg2o1S9pBU87NFB8J+Cw8Z9zN+Ur8ezMAKcgOsLBDIP+LEqwclHXdU=
=P45F
-END PGP SIGNATURE-


Re: [web2py] Re: web2pyslices migration

2011-01-21 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I'm pretty interested in the unifying view of this project and also the
idea of forking or public editing of certain slices. Seems a lot like
other idea I proposed, not only oriented to developers, but I lack the
expertise of the people who is behind this new version of Web2pyslices
and I would like to learn from them and contribute when I have more
knowledge. Will be this project free software (as in freedom)?

Cheers,

Offray

El 21/01/11 13:18, Bruno Rocha escribió:
> 2011/1/21 contatogilson...@gmail.com 
> 
>> What do you think of having a wiki on the framework and its libraries in
>> web2pyslices?
> 
> 
> I don't know if a wiki is needed, in web2pyslices we are planning to have a
> follow system, so people will be able to follow slices, and people will be
> able to fork slices, Slices can be anything (it is like a post), but it is a
> post specifically categorized and with exclusive features for each category.
> 
> We can add the functionality to make a slice public, so anyone can edit a
> slice (option-able by the creator of the slice)
> 
> Slices will be connected itself with other slices (slices follows slices),
> so we finish having a tree of related stuff.
> 
> Imagine the workflow:
> 
> Enter web2pyslices
> Search keyword 'form'
> results shows :
> 5 last people who recently have 'form' on his actions
> 5 latest recipes/tutorials tagged and with 'form' on content
> 5 lates plugins related to form
> 5 latest slices that follows any other slice related to 'form'
> plus:
> 5 results from web2py source with the 'form' keyword'
> 5 latest google groups threads related to form
> and so...
> 
> The idea is ONE PLACE for web2py related stuff.
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNOgpCAAoJEGiex2828ICw3D8H/iZVnYKRbhycNOWAFFjoeewV
rmXN/XuhIJg62qqjAeXvT4fcKvNtpewHjjE+v6A+5+y9zcjwLPEm3M0TGpHjUvUH
CQylt3o4d8vAw73U69RcOqt3ebAmrxwzGo4svFt5auLrZPjhe8LkWl9jqsIOV3e/
bm91AIFMD0K8O9wk3q3OKeuWd4I4g0YnmIl6i99ynYo3QnBHHLop5xjyhK8E6MJv
mUyJ3tSYEg3jJdznKMBfpUFoCApvMNAcY1ataTqHf3JLSPTtZGx8PD0ovcjIiE0c
KNHcp8G9hdqQmOFGu9O+mvAIyQRdHRqXYNsgoL1tgdKFHJgebo4MHCjReH3Y7q0=
=CxtY
-END PGP SIGNATURE-


Re: [web2py] Adding restructuredtext support for plugin_wiki or translating to markmin

2011-01-21 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 20/01/11 19:53, Offray Vladimir Luna Cárdenas escribió:
> Hi all,
> 
> It has been a lot of fun getting my web2py server on-line. I have tried
> before Zope/Plone/Cynin and MoinMoin as places for collective memory and
> interaction, but definitively I feel more comfortable with web2py over
> others and now I would like to share the documentation about this or
> other things using, of course, web2py appliances and plugins, specially
> plugin_wiki.
> 
> The problem is that my documentation is in ReStructuredText (ReST)
> format, so I would like to know if there is a way to convert from ReST
> to markmin or even better if there is a way to add several markup
> languages to markmin (for example I would like to explore also
> txt2tags[1]). Until now my search on the web is not helping me a lot,
> except for Pandoc, but it has no support for markmin.
> 
> Thanks,
> 
> Offray
> 
> [1] http://txt2tags.org/markup.html

Seems that the best way is trying to install the web2py-wiki[1] from
bazaar (it doesn't have any download for a w2p file) and see how this
gives support to restructured text and try to compare with how
plugin_wiki gives support to markmin and see if they can be integrated.
I will keep you posted.

[1] https://launchpad.net/web2py-wiki

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNObS+AAoJEGiex2828ICw5ekIALbrhXpOj41xrSdHiVDMqkO3
r/H7Rz19wHlzKZgW0uoVXU3ecLBbbSaB404uVrrBLIddqRYqMSBHnSXJvLGN7EvX
zKYNE7jirkK2c5DiRFDGUPMpEBb0i1P5nrbZSEXH3IOfL7y+k0EjrA287y/KxIcg
YE1uIpdysM8eM+DcxL3h4ulipFWivWFU8mr1WkCIk+DUbY/ETe3Yjkxm80k8sVlG
thT38jB7KyJDI2IS3sPsucAkm66cn9cTs5t6ezrWDe70WVevRbadBfOY/HFD63ZP
JmK7mfEFkPCjt66m1Ai4PUjjIqpLeG8sSplNJ9GGqf6pI61DagoYqzbLWOsYNpI=
=g8a/
-END PGP SIGNATURE-


[web2py] Adding restructuredtext support for plugin_wiki or translating to markmin

2011-01-20 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

It has been a lot of fun getting my web2py server on-line. I have tried
before Zope/Plone/Cynin and MoinMoin as places for collective memory and
interaction, but definitively I feel more comfortable with web2py over
others and now I would like to share the documentation about this or
other things using, of course, web2py appliances and plugins, specially
plugin_wiki.

The problem is that my documentation is in ReStructuredText (ReST)
format, so I would like to know if there is a way to convert from ReST
to markmin or even better if there is a way to add several markup
languages to markmin (for example I would like to explore also
txt2tags[1]). Until now my search on the web is not helping me a lot,
except for Pandoc, but it has no support for markmin.

Thanks,

Offray

[1] http://txt2tags.org/markup.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNONkhAAoJEGiex2828ICwgUEIAI+Aj/XTFiRX6Jdl5weC/8GV
5Fu2mji2sL6sdBoYHBIiG7y8wp3vgh7MfXIQlD+iD24kg+80oCH+7i2Stdv9lgoj
cFilgVmFlCpU7VL/5jpH3uKIJ1duB7kMkZUmM1euyJWNPD+zNV6iSOG27D0EvC4p
5bZ35K7884HTaxsJRPKu54WJ+asZWz3bhQzI5qwaZsrfw6Nu/vVnXaYjvC4hQ9O4
8FL4jKRb4IdE0q+24i9Rs2aGCRMszf4Yda4YgHzaCUguyELicv2PmkgzTFvLeciN
cWcxQcn4dZGJHmjkEBq482ZmtmrzdJiGvpcDMuegrf6nRRsyjIA4PwNiZ4nW8tA=
=2EZ8
-END PGP SIGNATURE-


Re: [web2py] web2pyslices migration

2011-01-20 Thread Offray Vladimir Luna Cárdenas
Hi Bruno,

Thanks for your work. I will insist on my idea :) of creating a web2py
minimalist self-contained distributed network using it with fossil-scm
and recommend keep us updated with your advances so newbies like me can
learn from that process.

Cheers,

Offray

El 18/01/11 20:16, Bruno Rocha escribió:
> Hello everyone.
> 
> web2pyslices server is being migrated from Nathan server for
> my server, so the site can be down for a while, I'll try to put it
> to work as quickly as possible. Max tomorrow evening the site will
> be back and running on my new server, no change and keeping the same
> data and users.
> 
> Me and Martin have begun work on a new site for web2pyslices, we plan this
> to bea sort of central resource for developers working with
> web2py, and a kind of social network of
> programmers that will contain recipes, plugins, applications,
> tips, videos, tutorials and people for sharing information about web2py. (we
> have some other secret ideas for the site)
> 
> We will try to integrate the most from the book, from the official site, the
> group and the most used social networking(facebook, twitter, bitbucket,
> github, etc).
> 
> But this is a hard work and certainly take
> us a bit of time, web2pyslices continue working until when we're
> ready to migrate all the existing content to the new site.
> 
> For now we are working to establish the foundations of this new
> application and any hint, suggestion, idea will be thoroughly evaluated.
> 
> Thanks and sorry if it goes off for some time.
> 
> ---
> Bruno Rocha
> http://about.me/rochacbruno/bio
> 



Re: [web2py] Re: Use the source, Luca

2011-01-18 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

El 18/01/11 16:12, Jonathan Lundell escribió:
> I could also be persuaded that the cookbook should have a briefer section on 
> source browsing--just pointers to where to look--and the more detailed 
> roadmap should be a more dynamic online document.
> 
> That way it'd be easier to keep the source roadmap up to date (and add new 
> material), and the roadmap itself wouldn't get tied up in the book's 
> copyright.
> 
> 

I like most this option. As a newbie, I find your contribution to
documentation really valuable and a good reading once I get more
understanding about the basics.

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNNhOTAAoJEGiex2828ICw0AYH/3MxvfFXmRrWARsn8J92hLn4
hXYQa37z5//JN9102IAcXY47ELiwDdxvGQhxOmfD/ZdiogAdq0kDpBjLcrqerUfS
8QzeMX6vRzz84alp3EUv7t60WQ/ejRhaQTzxrLM6exxPtBSPmwtRRYts5uIfwcPa
Kk/lAIIfNBXECV5cTb0jK5Vs8Ve8YnEgDpM/K0bAgPW3ekQGfZYd8VCpCIy4T6gP
+j/lhna+7lzkKMeqy4YOcbUJu7cFPNYuUJsMibt+gcGX08EPrfQUz/EtGxzr4VUo
9iAJFq/zkwy3WJhi3WwLMbHMGnFaCUvWpZwYiDwjcSA+hCFflyGA7lGAQuTvAHQ=
=JrPI
-END PGP SIGNATURE-


Re: [web2py] Re: Url for References in the Spanish book

2011-01-18 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Thanks Anthony and Kenneth for your answers. There is any way to
integrate the human translation of Latinux instead of the automatic
google translated one in the website of the book?

Cheers,

Offray

El 18/01/11 14:22, Anthony escribió:
> Note, I think the Spanish (and German, French, and Russian) translations 
> available at http://web2py.com/book/ are actually automated Google Translate 
> translations (via plugin_translate). I think the Spanish translation at 
> http://www.latinuxpress.com/books/drafts/web2py/index.html, on the other 
> hand, is actually a human translation (at least, it's not the same as the 
> Google Translate version), so probably preferable to the version at 
> web2py.com.
>  
> Anthony
> 
> On Tuesday, January 18, 2011 1:43:05 PM UTC-5, Offray Vladimir Luna Cárdenas 
> wrote:
> 
> Hi.
> 
> I would like to share some thought of web2py introduction via identi.ca.
> Quote something and add the short url of the on-line Book, Spanish
> edition. There is one Spanish version hosted by Latinux-Press but is not
> so nicely formated like the one you get when you enter o
> http://web2py.com/book and select "Spanish" from the drop down language
> menu. But when I made this, I don't get any change in the url showning
> the language, so, may be if I share the url via microblogs people will
> get the English version. There is any way to indicate the language in
> the url of the online book edition?
> 
> Cheers,
> 
> Offray
>>
>>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNNgtyAAoJEGiex2828ICw+hIIAItM9bAIr1eDKZdtok/KV3EV
8UlK2YTMHR43kkNAfAY7cjRZVuKwZwP3Bj8p6AeaBlJx3ZiK6sIclIwaeXAIs6/W
xO6wU3ayb7qU9ExvYtKryyueRzwRgmzjhZFVZsit7xs63hQIoFNnljjOLq+cRWoN
ZIByuV058Hn8xi0u5JtUtrhATqplp/PELkKRYzkdl7LpVCOJ+7kZgNwjbTdWGYCJ
wxX8CwJT4rWc/2XFbQ5gEGPwMdH3gG1PnliZ4nx+4uk7xeOA07vtfipEqlKvVTJ3
XVioX5hP7S6SNMSo/7ul0szKnkptJogoaWPIL5flks8mOgZ5KY2RoGElAj1sQDw=
=vF4+
-END PGP SIGNATURE-


[web2py] Url for References in the Spanish book

2011-01-18 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

I would like to share some thought of web2py introduction via identi.ca.
Quote something and add the short url of the on-line Book, Spanish
edition. There is one Spanish version hosted by Latinux-Press but is not
so nicely formated like the one you get when you enter o
http://web2py.com/book and select "Spanish" from the drop down language
menu. But when I made this, I don't get any change in the url showning
the language, so, may be if I share the url via microblogs people will
get the English version. There is any way to indicate the language in
the url of the online book edition?

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNNd85AAoJEGiex2828ICwhHoH/3PB5QMhIl9V13JOqz8X/gvN
BmeDcVWtII1O2YlUi+mdnBtuyxCgbIRwcJ/W72Swx3IhDYbQbHDvq/xMDGuzfN3l
fMrtnf8PNA+tm8oEQ9R/9cb6O3RLTpIORn76gD2c76MsLpbpRzOeXp9hdciwOnOc
v9aESWzM7n0aBwBwxUTaaKWg+z+F6o7os7QMNmLyMhIggJEwW/6KssKZ2RV5EZ/Z
MHsC9U3h7hQQqQmPhrXpVThQj6V/FfkefM5+9t7/X797LMBEkcYxn3fg26rICNs5
+hedCfYNII0EDQTyZmWdNA2fcAJUke+zTs8Dp7jRDsqBTVyaEU2P5AZ0l1v5vp4=
=pti/
-END PGP SIGNATURE-


Re: [web2py] social network idea

2011-01-17 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

This discussion is in perfect timing for me. I'm coming back to this
community and still I'm learning the basics, but I have already thought
some project to make in order to learn web2py that are similar with this
idea. I would talk about this projects and how they have changed, so
this thought path may help to the discussion on this idea (none of them
is actualy implemented or explored and I have just putting web2py online
after exploring

* My first project was trying to make a url shorter with social
features, like tagging and sharing and some personalized information for
registered users. The advantage was that I have not to create a a new
social network but just "connect" the new one (url shorter) with the
existing ones of microblogging (twitter, identica, etc). The problem
here is to make explicit the added value of the social url shorter in
the wide range of available options (not many of them have social
features and are free software). The idea was adding some kind of p2p
architecture to solve the main complain about url shorters as a single
point of failure for web addresses. (For Spanish readers in [1] is the
detailed description).

[1]
http://holonica.net/home/libertica/un-acortador-de-direcciones-diferente-distribuido-y-con-valor-agregado

* The second project I thought was something like {Google Buzz / Soupio}
+ {Gitorius}. I don't like social networks, really I don't, because
they're not designed for collective creation like wikis or code
repositories, just socialization, which is fine, but not enough. That's
why I use identi.ca frequently but I still am searching for something
that has the dynamism of microblog/soupio/buzz but still let you fork or
co-create things with the people you follow. I was thinking in something
distributed, portable, self-contained and minimal as a back end, and
that's why I asked about fossil-scm + web2py integration and pointed to
the unhosted[2] project. I imagine flows of content being created,
published, shared, forked and recombined by the users of this network. I
have not seen something distributed that combines social networking and
collective creation (diaspora is more like a distributed and privacy
aware facebook).

[2] http://unhosted.org/

Of course this are just newbie ideas and I don't know how difficult
they're to implement or how valuable are for the rest of the community,
but now that we're on brainstorming I want to put this on the table.

Thanks,

Offray


El 17/01/11 14:43, Massimo Di Pierro escribió:
> Most social network assue you know who your friends are and allow you
> to share info with your friends. How about the opposite? Something
> like a bookmarking app that tells me who my friends should be based on
> physical distance and recent common bookmarks?
> 
> It seems to me the main problem to me is that a lot of people are
> alone they because do not necessarily share interests with their
> colleagues and family members. Facebook is popular because it allows
> people to connect with people that they knew and therefore assume had
> something in common. Until people find out time has passed by and
> there is not really much to talk about. You can be a scientist and
> soon find your page polluted with somebody's horoscope.
> 
> - a bookmarking system like http://radbox.me/
> - when you bookmark something you tag with fixed categories
> - a way to sort/organize and rate own bookmarks using mouse drag and
> drop.
> - you have a profile and public pages showing your bookmarks only (can
> be used by a prof to share links with students for example)
> - Once logged in you can see other users nearby that bookmarked -
> independently - the same links, and filter then by location, gender,
> age, bookmark category (could compete with match.com too)
> - You can then choose to be notified when a given person bookmarks
> something new (like twitter)
> - You can check who is following your bookmarks.
> 
> Massimo
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNNRH5AAoJEGiex2828ICw9UcIAKy0b4c96CKI+Km0kOTkYZtG
2cyZNOHpNv2U9UK5IeRkKXzIIpZ7kmxfMZzZhyXEdlJUohyv1KmEvNHYUldgGd+B
G2gjmLHbaCRRTiey0XJnj0yPaNGMBcrwZKu+LpAwpcq2IQhZSqeCHC4oyo4+3bob
cCih8kqvwTQia999m4IxBbxzBJFIJ+zVk14Sk+KRcvUJ3Ectx19/vs7vKuRLu2AL
IDswumDY1oLTaebmt8v7xgTObQWeH4+jlnJOWeYYnYVTwKUUn0sb7vrYrIyDxab8
WeuWMzRx8t7Fw3e2WmPOVvi5Pf+bZucvd2qb0KSQ81dq+KAkiyQmHwOkANYYUWo=
=hkQu
-END PGP SIGNATURE-


[web2py] Problems with the list Appliances in the Web2py site

2011-01-17 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

When I try to load some of the pages of the appliances I get messages
like this on several of them:

http://web2py.com/appliances/default/show/31

Internal error

Ticket issued:
appliances/190.157.197.120.2011-01-17.23-02-20.20e32423-67f9-4fa2-b843-8fc55502a40d

I want to show web2py and its appliances to members of my local free
software community here so any help is appreciated.

Cheers,

Offray
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNNMmWAAoJEGiex2828ICwED4IANHaf8CBYNsp5PAQgJDGUR5C
hJCgdP5y16BdD/CxslFVF+Tj2c37pkx00olQBUv2ebaCGr3H69CB0BsUHwZlukO/
Yv6Xni/ttlDXh/5sCD8QnjBDv1gcHudFlyQYxgKy512aGxoacNYSEf8ukL+1F8N6
B7tMEByerdPyhLfhvZ8Yow2SgnTDvkUED85fjY7jaY0xebLw5VeKEKOl8GTcOCxr
ZFHbG7mRSnqJNc2Jknoy7veDN1jlZ18dRXgdtO22NVHeCAzwVdEiNzlBgk1/GfIB
FcinD8Gut+32H01yMFio+96w/I54VN2LxdNGbLMWij3RRnEXFxt5yfAfCfK9imE=
=p85t
-END PGP SIGNATURE-


Re: [web2py] Problems with ssh tunnel to run cherokee-admin and configure web2py

2011-01-10 Thread Offray Vladimir Luna Cárdenas
Hi,

El 10/01/11 14:38, pbreit escribió:
> I'm not sure why '-N' would be necessary. I don't seem to need it on 
> RackSpace Cloud Ubuntu 10.04.
> 
> The '-b' flag defeats the purpose. '-b' enables you to connect to Cherokee 
> admin over any port (ie, http://173.230.137.80/admin). Omitting '-b' is what 
> requires tunneling through localhost which is a security precaution.
> 

After restarting the graphical mode I can use ssh tunneling for login
into cherokee-admin without any problem or additional flags. I don't
know what was happening in first place, but now all is working as in the
slice.

Thanks,

Offray


Re: [web2py] Problems with ssh tunnel to run cherokee-admin and configure web2py

2011-01-10 Thread Offray Vladimir Luna Cárdenas
Hi again,

El 10/01/11 13:13, Offray Vladimir Luna Cárdenas escribió:
> Hi all,
> 
> 
> I have being testing cherokee + uWSGI for serving web2py. Locally they
> work fine, so I decided to put it under my virtual host (a linode VPS).
> I was following the intructions on [1] and so I imagine that I need to do:
> 
> ssh -L 9090:localhost:9090 r...@173.230.137.80
> 
> and:
> 
> ssh -L 9090:127.0.0.1:9090 r...@173.230.137.80
> 
> but in both cases, after putting my root's password I get:
> 
> channel 3: open failed: connect failed: Connection refused
> 
> At this moment I'm looking how to get this working on archlinux, seeing
> if may be is something in the configuration at the VPS, but any help or
> pointer to a solution will be appreciated.
> 
> Cheers,
> 


I solved the problem. It was just a minor flags needed in the command.
If I launch "cherokee-admin -b" and do:

ssh -L 9090:localhost:9090 r...@173.230.137.80 -N


it works without any problem. (notice the "-b" and "-N" flags
respectively) as reported in [1]

[1]
http://library.linode.com/web-servers/cherokee/installing-cherokee-debian-5-lenny

Cheers,

Offray



[web2py] Problems with ssh tunnel to run cherokee-admin and configure web2py

2011-01-10 Thread Offray Vladimir Luna Cárdenas
Hi all,


I have being testing cherokee + uWSGI for serving web2py. Locally they
work fine, so I decided to put it under my virtual host (a linode VPS).
I was following the intructions on [1] and so I imagine that I need to do:

ssh -L 9090:localhost:9090 r...@173.230.137.80

and:

ssh -L 9090:127.0.0.1:9090 r...@173.230.137.80

but in both cases, after putting my root's password I get:

channel 3: open failed: connect failed: Connection refused

At this moment I'm looking how to get this working on archlinux, seeing
if may be is something in the configuration at the VPS, but any help or
pointer to a solution will be appreciated.

Cheers,

Offray


References:
==

[1] http://web2pyslices.com/main/slices/take_slice/110


Re: [web2py] Re: Using fossil-scm as a distributed backed for web2py and unhosted (on-linf off-line) apps.

2011-01-06 Thread Offray Vladimir Luna Cárdenas
Hi,

El 06/01/11 05:43, cjrh escribió:
> On Jan 6, 2:02 am, Offray Vladimir Luna Cárdenas 
> wrote:
>> I imagine some
>> kind of webapp that can be used off-line and synchronized to a website
>> using a DVCS like fossil.
> 
> Git for VCS and Fabric for deployment.  FTW.
> 

I think that Fossil is more self contained, portable and easy to learn
that Git, from a newbie point of view:

http://www.fossil-scm.org/index.html/doc/trunk/www/fossil-v-git.wiki

By Fabric do you mean [1]?

[1] http://docs.fabfile.org/0.9.3/

Cheers,

Offray


Re: [web2py] Re: Newbie Problems with Cherokee + Web2py

2011-01-06 Thread Offray Vladimir Luna Cárdenas
Hi,

El 05/01/11 19:12, John-Kim Murphy escribió:
> Try using the most recent instructions for getting Web2Py working with 
> Cherokee
> . 
> I  documented the steps I took about two weeks ago. The other 
> instructionsare very 
> recent, too.


Thanks a lot. The last one is working like a charm. I made some minor
changes to the slice to run it as a different user and group (soon I
will publish it, hopefully under my own web2py wiki). Now when I put
"localhost" it automatically loads and shows the web2py welcome
interface, after starting cherokee. I get an error related with proper
permissions for accessing the admin interface, that I'll study further
but is a good step in the proper direction

> It's not clear what steps you used to set up Cherokee + Web2Py because your 
> reference just shows "[1]"


Sorry. It was:

[1] http://web2py.com/book/default/chapter/11#Cherokee-with-FastGGI

Cheers,

Offray


[web2py] Using fossil-scm as a distributed backed for web2py and unhosted (on-linf off-line) apps.

2011-01-05 Thread Offray Vladimir Luna Cárdenas
Hi all,

I'm just enjoying my time as a newbie in this community and maybe
because I don't know so much (no even how to publish web2py sites under
cherokee) I imagine possibilities for web2py that I don't even know if
are impossible.

Some time ago I discovered Fossil-scm[1] a distributed source code
management system minimalist, self-contained (with support for tickets,
wiki pages and of course code hosting, forking, merging and so on). The
author of fossil is the same of sqlite and I was wondering if is
possible to make something that uses fossil as a distributed back-end in
web2py for having some kind of unhosted applications[2]. I imagine some
kind of webapp that can be used off-line and synchronized to a website
using a DVCS like fossil.

Just and idea, let me think what you know.

[1] http://www.fossil-scm.org
[2] http://unhosted.org

Cheers,

Offray


Re: [web2py] Newbie Problems with Cherokee + Web2py

2011-01-05 Thread Offray Vladimir Luna Cárdenas
Hi all again,

Some other test. When I put "http" as the user and group for executing
cherokee I get a 503 error. The documentation of cherokee says that is
probably because cherokee can not find the defined source or have not
the proper permissions to execute it (if I understand well). I hope this
helps to help me :-P

Cheers,

Offray

El 05/01/11 17:03, Offray Vladimir Luna Cárdenas escribió:
> Hi all,
> 
> This is my first post to the list, after a long time (a couple of years
> maybe) without being here. In that moment I have not the time for
> learning web2py and keeping the peace with the list, so I unsubscribed
> myself. But now I want to re-enable my participation here. I have
> installed Instant Press Appliance and the plugin_wiki and now I want to
> publish it in the web using cherokee, following the instructions on [1]
> and making some minor variations. So I have ran this small bash script:
> 
>#!/bin/bash
>version=1.91.4
>proyecto=Portico
>usuariow2p=offray
>sudo groupadd w2padmin
>sudo mkdir -p /opt/$proyecto/Web2py/$version
>sudo chown :w2padmin /opt/$proyecto/Web2py/
>sudo chmod -R g+rwx /opt/$proyecto/Web2py/
>sudo usermod -a -G w2padmin $usuariow2p
> 
> After that I defined the data source and the virtual server according to
> the docs (changing the path by my own one), but is not working. Even I
> have changed the path by the one in the docs (/var/web2py/) but still is
> not working. When I load localhost in the machine where I'm running the
> test, it automatically becomes "http://localhost/welcome/default/index";
> but here I get:
> 
> -
> 404 Not Found
> The requested URL /welcome/default/index was not found on this server.
> 
> Cherokee web server 1.0.15 (Arch Linux), Port 80
> -
> 
> When I see the process running to see what's happening with
> startweb2py.sh I get:
> 
> -
> [In] ps aux | grep web2py
> [Out]
> offray3650  2.4  0.4  26780 12684 ?SN   09:33   0:01 python2
> /var/web2py/fcgihandler.py
> offray3656  2.4  0.4  18580 12664 ?SN   09:33   0:01 python2
> /var/web2py/fcgihandler.py
> offray3671  2.4  0.4  18580 12664 ?SN   09:33   0:01 python2
> /var/web2py/fcgihandler.py
> offray3681  2.4  0.4  26776 12684 ?SN   09:33   0:01 python2
> /var/web2py/fcgihandler.py
> offray3893  0.0  0.0   4236   852 pts/2SN+  09:34   0:00 grep web2py
> -
> 
> Si cargo la dirección "localhost:8000" tradicional de web2py, me dice
> que no logra establecer conexión con el servidor. No sé si el
> fcgihandler.py debería levantar automáticamente web2py o si es necesario
> hacer algo más o si el problema es querer ejecutar el servidor virtual
> como un usuario diferente al root (sin embargo coloqué estos parámetros
> del usuario en Cherokee).
> 
> When I load the usual "localhost:8000" of web2py it says that it cannot
> stablish a connexion with the server. I imagine that fcgihandler.py
> should load web2py automatically or if is something related with trying
> to run web2py under a different non-root user (but I have told cherokee
> this properly).
> 
> 
> Any pointer to a solution will be appreciated.
> 
> Thanks in advance,
> 
> Offray
> 



[web2py] Newbie Problems with Cherokee + Web2py

2011-01-05 Thread Offray Vladimir Luna Cárdenas
Hi all,

This is my first post to the list, after a long time (a couple of years
maybe) without being here. In that moment I have not the time for
learning web2py and keeping the peace with the list, so I unsubscribed
myself. But now I want to re-enable my participation here. I have
installed Instant Press Appliance and the plugin_wiki and now I want to
publish it in the web using cherokee, following the instructions on [1]
and making some minor variations. So I have ran this small bash script:

   #!/bin/bash
   version=1.91.4
   proyecto=Portico
   usuariow2p=offray
   sudo groupadd w2padmin
   sudo mkdir -p /opt/$proyecto/Web2py/$version
   sudo chown :w2padmin /opt/$proyecto/Web2py/
   sudo chmod -R g+rwx /opt/$proyecto/Web2py/
   sudo usermod -a -G w2padmin $usuariow2p

After that I defined the data source and the virtual server according to
the docs (changing the path by my own one), but is not working. Even I
have changed the path by the one in the docs (/var/web2py/) but still is
not working. When I load localhost in the machine where I'm running the
test, it automatically becomes "http://localhost/welcome/default/index";
but here I get:

-
404 Not Found
The requested URL /welcome/default/index was not found on this server.

Cherokee web server 1.0.15 (Arch Linux), Port 80
-

When I see the process running to see what's happening with
startweb2py.sh I get:

-
[In] ps aux | grep web2py
[Out]
offray3650  2.4  0.4  26780 12684 ?SN   09:33   0:01 python2
/var/web2py/fcgihandler.py
offray3656  2.4  0.4  18580 12664 ?SN   09:33   0:01 python2
/var/web2py/fcgihandler.py
offray3671  2.4  0.4  18580 12664 ?SN   09:33   0:01 python2
/var/web2py/fcgihandler.py
offray3681  2.4  0.4  26776 12684 ?SN   09:33   0:01 python2
/var/web2py/fcgihandler.py
offray3893  0.0  0.0   4236   852 pts/2SN+  09:34   0:00 grep web2py
-

Si cargo la dirección "localhost:8000" tradicional de web2py, me dice
que no logra establecer conexión con el servidor. No sé si el
fcgihandler.py debería levantar automáticamente web2py o si es necesario
hacer algo más o si el problema es querer ejecutar el servidor virtual
como un usuario diferente al root (sin embargo coloqué estos parámetros
del usuario en Cherokee).

When I load the usual "localhost:8000" of web2py it says that it cannot
stablish a connexion with the server. I imagine that fcgihandler.py
should load web2py automatically or if is something related with trying
to run web2py under a different non-root user (but I have told cherokee
this properly).


Any pointer to a solution will be appreciated.

Thanks in advance,

Offray


[web2py:37031] Unsubscribe is not working

2009-12-11 Thread Offray Vladimir Luna Cárdenas
Hi all,

First, thanks for all the learning. I think that web2py is a wonderful 
web application framework, but now my endeavors are oriented back to 
Zope + Plone, because of the Cyn.in web app. So I'm not reading actively 
this mailing list. I have tried unsubscribing following the instructions 
for google groups but I still get mails and this is a traffic I can not 
manage for a project where I'm not active. Could someone with admin 
privileges  please unsubscribe me?

Thanks,

Offray

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.




[web2py:32414] Re: Microapps on microblogs using web2py + OAuth (the cyborg approach for apps)

2009-10-07 Thread Offray Vladimir Luna Cárdenas

Hi,

I made an omission. Here is the original phrase:

Offray Vladimir Luna Cárdenas escribió:

> The idea of microapps on top of microblog engines is some kind of 
> cyborg approach. We can build a wrapper on top of any infraestructure 
> and replace with progressive as we progress, so we can, for example, 
> extend django powered jaiku engine with web2py. 
It was:

The idea of microapps on top of microblog engines is some kind of 
"cyborg approach". We can build a wrapper on top of any infraestructure 
and replace with progressive layers down to the base as we progress, so 
we can, for example, extend django powered jaiku engine with web2py.

Cheers,

Offray

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[web2py:32410] Microapps on microblogs using web2py + OAuth (the cyborg approach for apps)

2009-10-07 Thread Offray Vladimir Luna Cárdenas

Hi all,

There is an idea about using small apps that can be created on top of 
microblog engines[1]. I would like to create that apps in web2py. The 
specific idea is to enrich a microblogging engine putting 
metainformation on messages to make it more accurate in educative 
context in similar way to what philtro[2] does for twitter. The idea is 
to get statistics, richer tags an even another interface. We tested 
several open source  microblog engines like Jaiku (which runs on top of 
the restrictive GAE --exclusion by countries, powered by google) and 
Yonkly (but running asp.net + SQL Express on Linux was the long way to 
go), so, for the moment, we're using present.ly as a microblogging app, 
because is the one with most of the features we want, the best user 
interface and has and API made using OAuth[3], so we can taker care 
about of things like data portability and other issues of a free/open 
web. The idea of microapps on top of microblog engines is some kind of 
cyborg approach. We can build a wrapper on top of any infraestructure 
and replace with progressive as we progress, so we can, for example, 
extend django powered jaiku engine with web2py. I previously had made 
some attempts to start with web2py, but this is the one that seems more 
interesting to me so any pointer about this idea would be appreciated.

[1] 
http://www.louisgray.com/live/2008/10/openmicroblogger-monetizes-with.html
[2] http://philtro.com/
[3] 
http://hueniverse.com/2007/10/beginners-guide-to-oauth-part-ii-protocol-workflow/


Thanks,

Offray

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[web2py:26737] New Learning project

2009-07-17 Thread Offray Vladimir Luna Cárdenas

Hi all,

The semester is beginning again, so is a good time to restart the web2py 
learning. This time (besides finishing my old exercises portal) I would 
like to start a project creating something like Tiddlyspot[1]. The idea 
is to have a web2py site where people can create, upload and manage 
microwikis made with tiddlywiki[2]. For the moment the idea is that 
people create a user and after that the user choose a name for his/her 
microwiki and get a url with that name with the microwiki ready to use 
(tiddlywiki is contained in just one html file).

[1] www.tiddlyspot.com
[2] http://www.tiddlywiki.com/

Of course the login part is already managed by web2py, but I don't know 
how to put files that serve as templates for the microwikis and make 
them available at that url. Any pointer about how to start this project 
would be really appreciated.

Cheers,

Offray

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[web2py:23077] Still not luck with cross references in input forms.

2009-06-01 Thread Offray Vladimir Luna Cárdenas

Hi all,

I send a mail this morning:

http://groups.google.com/group/web2py/browse_thread/thread/a439333f2d2c5f0b#*

*I'm still stuck with the same problem. Any hint?

Thanks,

Offray
*
*

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[web2py:23048] Question about input forms with "cross" references

2009-06-01 Thread Offray Vladimir Luna Cárdenas

Hi Massimo,

Sorry to bother you again. I send this mail this morning and seems that 
still is not on the list. I'm reading it using Mark mail and there is 
still nothing from June, may be is a refresh problem, maybe mine is the 
first post of the month, may be is something else, but I can't see my 
mail and any answer (all the previous ones can be reading only if they 
have an answer). This thing about being forced to have a google account 
to be part of open communities is really inconvenient. Is not your fault 
but google's. All other communities I belong that are hosted in google 
need some kind of admin intervention to work smoothly. I miss the old 
days of mailing list (... and use freelist.org for my communities).

Thanks and sorry again. I know that you have more important things to do 
that being my "gateway" to the community.

Cheers,

Offray

Here comes the message:



Hi all,

My first Web2py app is almost done and with this framework I can even 
take a break and still being productive and nos slaved by development 
:-) (and I'm not a developers so is great to see how web2py brings 
development to common folks). Now I want to create a richer input form 
using rows which information is gathered from two different tables, but 
still I'm not there. I have created a helper SQLObjects for cross 
references between tables. You can see the complete model here:

http://offray.tiddlyspot.com/#Web2pySolucionarioModelo

but the important new parts are this

[1] fuentes_autor=(db.fuentes.autor_id==db.autor.id)
[2] 
fuentes_ediciones=((db.ediciones.fuente_id==db.fuentes.id)&(db.fuentes.autor_id==db.autor.id))
 


[1] gives information about authors and sources and [2] adds information 
about different editions of the same sources (for example two students 
can be solving exercises from two different editions of the same book).

The editions table is related with the sources one. Here is each one:

(sources/fuentes):
db.define_table('fuentes',
   SQLField('autor_id',db.autor),
   SQLField('titulo','string',length=128),
   SQLField('url_web','string'),
   SQLField('tema_id',db.temas))

(editions/ediciones):
db.define_table('ediciones',
   SQLField('fuente_id',db.fuentes),
   SQLField('fecha','string'),
   SQLField('edicion','string'))

This are two conditions for the form to add editions:

 db.ediciones.fecha.requires=IS_NOT_EMPTY()
[3]  
db.ediciones.fuente_id.requires=IS_IN_DB(db,'fuentes.id','fuentes.titulo')

But with the second one I only get the title of the source and I would 
like the Title and the Author, which is in another table. I tried with 
the helper SQLObject [1] replacing [3] with:

db.ediciones.fuente_id.requires=IS_IN_DB(db(fuentes_autor),'db(fuentes_autor).select(db.fuentes.id)','%(db(fuentes_autor).select(db.fuentes.titulo))s
 
%(db(fuentes_autor).select(db.autor.apellido))s')

But I get the error message:

File 
"/home/offray/Programas/Web2py/1.62.3/applications/solucionario/models/db.py" 
, 
line 85, in 
   
db.ediciones.fuente_id.requires=IS_IN_DB(db(fuentes_autor),'db(fuentes_autor).select(db.fuentes.id)','%(db(fuentes_autor).select(db.fuentes.titulo))s
 
%(db(fuentes_autor).select(db.autor.apellido))s')
 File "/home/offray/Programas/Web2py/1.62.3/gluon/validators.py", line 
214, in __init__
   (ktable, kfield) = str(self.field).split('.')
ValueError: too many values to unpack


So, I think that I'm almost done trying to use helper SQLObjects to make 
a better input form, but I'm missing something. Any help would be 
appreciated.

Cheers,

Offray

Ps: If I solved this soon, tonight I will try to publish this first app 
to the world (well basically my students, but open to anyone). This will 
be the first of many Web2py apps, some of them pretty more complex. So I 
can not be grateful enough, but you have a new "evangelist" for Spanish 
speakers and Iberoamerica :-P



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[web2py:23033] My first app almost done. Question about input forms with "cross" references

2009-06-01 Thread Offray Vladimir Luna Cárdenas

Hi all,

My first Web2py app is almost done and with this framework I can even 
take a break and still being productive and nos slaved by development 
:-) (and I'm not a developers so is great to see how web2py brings 
development to common folks). Now I want to create a richer input form 
using rows which information is gathered from two different tables, but 
still I'm not there. I have created a helper SQLObjects for cross 
references between tables. You can see the complete model here:

http://offray.tiddlyspot.com/#Web2pySolucionarioModelo

but the important new parts are this

[1] fuentes_autor=(db.fuentes.autor_id==db.autor.id)
[2] 
fuentes_ediciones=((db.ediciones.fuente_id==db.fuentes.id)&(db.fuentes.autor_id==db.autor.id))

[1] gives information about authors and sources and [2] adds information 
about different editions of the same sources (for example two students 
can be solving exercises from two different editions of the same book).

The editions table is related with the sources one. Here is each one:

(sources/fuentes):
db.define_table('fuentes',
SQLField('autor_id',db.autor),
SQLField('titulo','string',length=128),
SQLField('url_web','string'),
SQLField('tema_id',db.temas))

(editions/ediciones):
db.define_table('ediciones',
SQLField('fuente_id',db.fuentes),
SQLField('fecha','string'),
SQLField('edicion','string'))

This are two conditions for the form to add editions:

  db.ediciones.fecha.requires=IS_NOT_EMPTY()
[3]  
db.ediciones.fuente_id.requires=IS_IN_DB(db,'fuentes.id','fuentes.titulo')

But with the second one I only get the title of the source and I would 
like the Title and the Author, which is in another table. I tried with 
the helper SQLObject [1] replacing [3] with:

db.ediciones.fuente_id.requires=IS_IN_DB(db(fuentes_autor),'db(fuentes_autor).select(db.fuentes.id)','%(db(fuentes_autor).select(db.fuentes.titulo))s
 
%(db(fuentes_autor).select(db.autor.apellido))s')

But I get the error message:

File 
"/home/offray/Programas/Web2py/1.62.3/applications/solucionario/models/db.py" 
, line 85, 
in 

db.ediciones.fuente_id.requires=IS_IN_DB(db(fuentes_autor),'db(fuentes_autor).select(db.fuentes.id)','%(db(fuentes_autor).select(db.fuentes.titulo))s
 %(db(fuentes_autor).select(db.autor.apellido))s')
  File "/home/offray/Programas/Web2py/1.62.3/gluon/validators.py", line 214, in 
__init__
(ktable, kfield) = str(self.field).split('.')
ValueError: too many values to unpack


So, I think that I'm almost done trying to use helper SQLObjects to make 
a better input form, but I'm missing something. Any help would be 
appreciated.

Cheers,

Offray

Ps: If I solved this soon, tonight I will try to publish this first app 
to the world (well basically my students, but open to anyone). This will 
be the first of many Web2py apps, some of them pretty more complex. So I 
can not be grateful enough, but you have a new "evangelist" for Spanish 
speakers and Iberoamerica :-P

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[web2py:22762] Problems with the controller for the Soved Exercises

2009-05-27 Thread Offray Vladimir Luna Cárdenas

Hi all,

Sorry for not putting this in the proper thread, but google groups seems 
not behave nicely for people without google accounts, so I'm not getting 
your answers in my inbox, despite of the fact that I'm a register user 
and I can post to the list. I tried the suggestion about using

db.ejercicios.resuelto_por.requires=IS_IN_DB 
(db,'resolutores.id','% 
(apellido)s %(nombre)s')



to get the last and first name of the solver in the exercise form but I  
got an error in the controller of Publish Exercise, which calls the form 
for input the information. The error code is here:

http://pastebin.ca/1436461

I will be reading your mails from Mark Mail (which is better for google 
outsiders for reading google groups).

Thanks a lot,

Offray

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[web2py:22692] [Fwd: Questions about my first Web2py App]

2009-05-26 Thread Offray Vladimir Luna Cárdenas
Hi all,

It seems that the first try doesn't make it, so it comes again.

Thanks a lot,

Offray

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---

--- Begin Message ---
Hi all,

First, thanks for Web2py. Even for novices in development as me is 
really a joy to make things on this framework and is nice to see also 
this fast, minimalist and self contained approach. I have been exploring 
previously Zope and Django and made some examples with them, but with 
Web2py I can go from examples to my own app in just hours the first time 
and for my second time it will be just minutes.

I'm making my first Web2py app. Is a place where students can publish 
their solved exercises  for the class of Linear Algebra. The idea is 
that a student need to make the following things, according to this menu:

* "Resuelto por" (solved by): This is the data of the student. They put 
their information here so they can associate a solver to a solved exercise.
* "Agregar autor" (add author): This is the data of the author of the 
exercise, usually the people who wrote Linear Algebra books and other 
material for students.
* "Agregar fuente" (add Source): This is the data of the writing which 
contains one or more problems to be solved (usually the books wrote by 
authors of the previous item).
* "Agregar edición" (add edition): One source can have multiple 
editions. Because from year to year new editions of books contain new 
exercises and change the number of the old ones is good to have info 
about the different editions of one source to be associated with the 
solved exercise.
* "Publicar ejercicio" (Publish exercise): Here the student can upload 
two files the source file (tex for LaTex, tm for TeXmacs, and lyx for 
LyX) with the solution for future editing (corrections, extensions an so 
on),   and the pdf file for people who doesn't have the proper free 
software yet to edit it or doesn't want or just want to read it. In this 
place they can also put extra information about the exercise, number, 
page, a drop down menus for:
** the solver data,
** source-edition

Its almost done. In this address you will find the model (which is in 
db.py):

http://offray.tiddlyspot.com/#Web2pySolucionarioModelo

But I would like to improve some things:

* In the drop down menus. At this moment I only get one information, for 
example the second name of the student, and I would like to have first 
name also (they are in different fields in the "resolutores" (solvers) 
table), but if I try things like:

db.ejercicios.resuelto_por.requires=IS_IN_DB(db,'resolutores.id','resolutores.apellido'+'resolutores.nombre')

it doesn't work. Same for year + Title of the sources.

* I would like to have longer Titles for sources, because some books 
have really long titles, theres any way to specify this for the string type?
* There is any way to have a date field with only this year as default?
* I have being looking for places to publish this app. First with 
Star-nix, but I contacted them just yesterday (when I finished my one 
day app) and I have not answered and now I'm trying with gandi free 
test. This is my fist published app, so I don't know if there is an 
special requirement or thing to have in mind in places like the ones i 
referred.

I will be waiting for your answer. Thanks again for such great framework 
and vital community.

Cheers,

Offray

--- End Message ---


[web2py:22666] Questions about my first Web2py App

2009-05-26 Thread Offray Vladimir Luna Cárdenas

Hi all,

First, thanks for Web2py. Even for novices in development as me is 
really a joy to make things on this framework and is nice to see also 
this fast, minimalist and self contained approach. I have been exploring 
previously Zope and Django and made some examples with them, but with 
Web2py I can go from examples to my own app in just hours the first time 
and for my second time it will be just minutes.

I'm making my first Web2py app. Is a place where students can publish 
their solved exercises  for the class of Linear Algebra. The idea is 
that a student need to make the following things, according to this menu:

* "Resuelto por" (solved by): This is the data of the student. They put 
their information here so they can associate a solver to a solved exercise.
* "Agregar autor" (add author): This is the data of the author of the 
exercise, usually the people who wrote Linear Algebra books and other 
material for students.
* "Agregar fuente" (add Source): This is the data of the writing which 
contains one or more problems to be solved (usually the books wrote by 
authors of the previous item).
* "Agregar edición" (add edition): One source can have multiple 
editions. Because from year to year new editions of books contain new 
exercises and change the number of the old ones is good to have info 
about the different editions of one source to be associated with the 
solved exercise.
* "Publicar ejercicio" (Publish exercise): Here the student can upload 
two files the source file (tex for LaTex, tm for TeXmacs, and lyx for 
LyX) with the solution for future editing (corrections, extensions an so 
on),   and the pdf file for people who doesn't have the proper free 
software yet to edit it or doesn't want or just want to read it. In this 
place they can also put extra information about the exercise, number, 
page, a drop down menus for:
** the solver data,
** source-edition

Its almost done. In this address you will find the model (which is in 
db.py):

http://offray.tiddlyspot.com/#Web2pySolucionarioModelo

But I would like to improve some things:

* In the drop down menus. At this moment I only get one information, for 
example the second name of the student, and I would like to have first 
name also (they are in different fields in the "resolutores" (solvers) 
table), but if I try things like:

db.ejercicios.resuelto_por.requires=IS_IN_DB(db,'resolutores.id','resolutores.apellido'+'resolutores.nombre')

it doesn't work. Same for year + Title of the sources.

* I would like to have longer Titles for sources, because some books 
have really long titles, theres any way to specify this for the string type?
* There is any way to have a date field with only this year as default?
* I have being looking for places to publish this app. First with 
Star-nix, but I contacted them just yesterday (when I finished my one 
day app) and I have not answered and now I'm trying with gandi free 
test. This is my fist published app, so I don't know if there is an 
special requirement or thing to have in mind in places like the ones i 
referred.

I will be waiting for your answer. Thanks again for such great framework 
and vital community.

Cheers,

Offray

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---