I added all old gluon directory code to the site-packages directory and
made it to work.
maanantai, 20. elokuuta 2012 15.08.27 UTC+3 mmstud kirjoitti:
>
> Is it possible to create easy to use standalone web2py application for mac
> and win users? I have registry application and remote
;gluon/custom_import.py", line 78, in __call__
ImportError: No module named htmlextended
I placed whole gluon directory to the web2py root, maybe it needs to be
imported somewhere? I'm using gluon/htmlextended.py library on forms.py
model file...
-Marko
maanantai, 20. elokuuta 2012 15.08
Maybe this is all I need, is documentation update?
http://web2py.com/books/default/chapter/29/14#How-to-distribute-your-applications-as-binaries
maanantai, 20. elokuuta 2012 15.08.27 UTC+3 mmstud kirjoitti:
>
> Is it possible to create easy to use standalone web2py application for mac
>
Is it possible to create easy to use standalone web2py application for mac
and win users? I have registry application and remote database which should
be available for clients. I'm searching for a solution where user just
clicks the application icon and then browser (maybe internal?) starts up t
Server provider had changed nameservers but didn't update them to my
server. That caused the problem and its solved now. -Marko
maanantai, 7. toukokuuta 2012 10.18.13 UTC+3 mmstud kirjoitti:
>
> Hi,
>
> just when I was thinking to move my app to other server, which should
>
gluon
directory?
Thanks for patience.
-Marko
maanantai, 7. toukokuuta 2012 13.38.05 UTC+3 mmstud kirjoitti:
>
> Sorry, it seems gluon.htmlextended was my own script...
>
> maanantai, 7. toukokuuta 2012 10.42.40 UTC+3 mmstud kirjoitti:
>>
>> Sorry to multiple posts recently. I&
Sorry, it seems gluon.htmlextended was my own script...
maanantai, 7. toukokuuta 2012 10.42.40 UTC+3 mmstud kirjoitti:
>
> Sorry to multiple posts recently. I'm trying to update web2py app, and my
> next problem is, that gluon module seems to have updated so its not working
>
plication to new server ? if you did as root check
> file permissions.
>
> On Mon, May 7, 2012 at 7:18 AM, mmstud wrote:
>
>> Hi,
>>
>> just when I was thinking to move my app to other server, which should
>> happen in a month, I countered this sudden problem. Curren
Sorry to multiple posts recently. I'm trying to update web2py app, and my
next problem is, that gluon module seems to have updated so its not working
with my old app now. I'm importing with next lines:
from gluon.htmlextended import TableForm, DivForm, INPUT, SubmitButton,
ResetButton, InputBut
Hi,
just when I was thinking to move my app to other server, which should
happen in a month, I countered this sudden problem. Current application is
not responding for some unknown reason. I don't get any error logs or debug
messages on console, so I'm struggled, what is the reason for this. Wh
Thanks for your answers, I just needed a little bit reassurance. So I'm
going to set up a new server with python and web2py, should it be new
version too, yes I think so, because application did transfer well to my
local machine. I have a mysql database, that I'm using, which is not hard
to rep
Hi,
I need to move my 2-3 years old web2py app to other server. Its pretty
simple member and magazine subscriber database working over https. I'd like
to move it to the other server, either dedicated or cloud environment.
Whats should I do to get current sqlite database and application moved
w
Hi,
I have a simple question in turn. How is it possible to make keyword
search criteria dynamic? For example:
db(Orders.id==id).update(Keyword+n = checked)
where n is any number?
I am using just default settings after downloading source. So it must
be cherry and sqlite?
Or I dont know, this is a web2py start up log:
macbook:web2py-read-only mmstud$ python web2py.py
WARNING:root:unable to import dbhash
default applications appear to be installed already
web2py Enterprise
Got it captured. Actually upload process fails quite often with Safari
(4.0.3):
http://www.screencast.com/users/mmstud/folders/Jing/media/bc50ae72-c826-4184-af40-4dcad5c95517
On Aug 25, 9:44 am, mmstud wrote:
> Didnt happen with Firefox yesterday. I try today with Safari again.
>
>
Didnt happen with Firefox yesterday. I try today with Safari again.
On Aug 24, 8:53 pm, mdipierro wrote:
> It should not be a problem.
>
> On Aug 24, 12:02 pm,mmstud wrote:
>
>
>
> > I've been using Safari. Can try some hours with Firefox. One thing Im
> >
I have seen this happening every 3-5 file upload. Im using admin
"panel" to upload static files. After 2-4 succesful upload this
happens:
Error traceback
Traceback (most recent call last):
File "/Users/mmstud/Downloads/web2py-read-only/gluon/main.py", line
320,
problem. Do you get the probelm
> with both the source and binary? Can you reproduce it on different
> browsers? Which ones?
>
> Massimo
>
> On Aug 24, 11:48 am, mmstud wrote:
>
>
>
> > I have seen this happening every 3-5 file upload. Im using admin
> > &quo
Uh, sorry blindness... works now.
On Aug 24, 7:28 pm, mdipierro wrote:
> {{=T("Uutiset")}}{{=T
> ('Tapahtumat')}}
>
> On Aug 24, 11:18 am, mmstud wrote:
>
>
>
> > Hi,
>
> > is there something I do wrong, because I have:
>
> > {
Hi,
is there something I do wrong, because I have:
{{T("Uutiset")}}{{T
('Tapahtumat')}}
on view, but result is empty. But when I use T() from controller, pass
it to view, it seems to work.
Regards,
-Marko
--~--~-~--~~~---~--~~
You received this message because y
On 30 joulu, 18:55, dhmorgan wrote:
> from Charter, goals section:
>
> > 2. Certify the knowledge and ethical standards of its members
>
> I'm wondering what that might look like.
Thou shalt not condemn other coders.
And if coder requests help for one line, give him two.
But seriously, im inter
I could think a lot of different ways to mark null "value": n/a, NA,
n.a., None, NULL and so on. If csv file is used on another
applications than on import data to web2py itself, then there should
be a way to manually decide, how null should be marked and which data
should be interpreted as null.
Have you ever considered using libevent based server (FAPWS2)? I
realized the excellence of libevent (what comes to performance and
concurrency) year or so ago and to my glad just found, that there has
been python projects, that uses it.
-Marko
On 22 joulu, 12:18, vince wrote:
> sure will do.
>
I would just make sure, css file is loaded at all and check out the
path of the css file from html source, does it point to correct
location.
-Marko
On 22 joulu, 04:02, pmate wrote:
> Hi all,
> in my static/styles.css i added:
>
> /*User Information*/
> #logged { width:100%; height:14px; color
patch to cherrypy.
>
> Massimo
>
> On Dec 21, 4:37 am, mmstud wrote:
>
> > I had to modify main.py:~288
>
> > #method, path, req_protocol = request_line.strip().split(" ", 2)
> > _reg = request_line.strip().split(" ")
> > method, path,
though to
get it surely right:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.2
-Marko
On 20 joulu, 17:27, mmstud wrote:
> Im getting this error when playing with spaces on url:
>
> Traceback (most recent call last):
> File "/***/web2py/gluon/wsgiserver.py&quo
Im getting this error when playing with spaces on url:
Traceback (most recent call last):
File "/***/web2py/gluon/wsgiserver.py", line 762, in communicate
req.parse_request()
File "/***/web2py/gluon/wsgiserver.py", line 258, in parse_request
self._parse_request()
File "/***/web2py/g
t;
> I have a proposal that could make everybody happy. What if any " " or
> %20 in the URL were automatically replaced by a '_'?
If i think of this, how the url shows up on html page, how it shows up
actual browser url and how args shows up on controller in case of t
it should redirect you tohttp://mdp.cti.depaul.edu/which is the
> official site
>
> On Dec 20, 2:06 am, Grahack wrote:
>
> > Not here. Is it already fixed?
>
> > On 20 déc, 09:02, mmstud wrote:
>
> > > When i try to open web2py.com domain it redirects to ano
When i try to open web2py.com domain it redirects to another domain
and open a file download, huh?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web
Please could you clarify, what kind of security issues it woud raise?
On 20 joulu, 09:07, mdipierro wrote:
> This will not supported. You can change the regex_url in main.py but
> this may cause security issues.
>
> Massimo
>
> On Dec 19, 3:13 pm, mmstud wrote:
>
>
web based pointy clicky stuff ;)
>
> > On Fri, Dec 19, 2008 at 11:45 AM, mmstud wrote:
>
> > > By the way, have you thought to open / join irc channel for web2py
> > > discussion? #web2py dozens of small questions could be easily and fast
> > > answered there, w
The reason for need of spaces on url traces to my tests over SEO urls.
_ under_lined words does not rank as well as -con-cate-nated strings.
And finally it seems properly encoded space character works best. So i
really need this to work. Also query part of the url is not, where i
want to set my ke
By the way, have you thought to open / join irc channel for web2py
discussion? #web2py dozens of small questions could be easily and fast
answered there, what do you think? pylons and turbogears has a quite
nice and active channel, if i remember some time back.
-Marko
--~--~-~--~~
How can i accept spaces in a form of %20 in url?
domain.com/app/default/index/my%20space%20word
at the moment i get invalid request from web2py
-Marko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Fra
For a start i tried something like: words = db(db.words.key in
['news', 'sports', 'arts']).select(db.words.id, db.words.key,
db.words.parent)
but i think i halted my server wih that..
On 19 joulu, 10:19, mmstud wrote:
> Im using mysql backend and like to do thi
Im using mysql backend and like to do this sort of query, is it
possible with DAL?
SELECT w1.key, (SELECT COUNT(*) FROM words w2 WHERE w2.parent = w1.id)
AS childs
FROM words w1
WHERE w1.key IN ('key1', 'key2', 'key3')
--~--~-~--~~~---~--~~
You received this me
So im in a point of using routes to simplify my urls on my app, but
since i have not done it before, i prefer to ask your advice.
If i have understood correctly, i need to use web2py/routes.example.py
-> routes.py and create mappings to routes_in. So far my application
has a simple urls:
domain.
>
> The reason this works is that there is no conversion when you convert
> to or from BLOB columns.
>
> On Dec 18, 1:48 pm, mmstud wrote:
>
> > Tables are not made by web2py... is it possible to change table
> > encoding afterwards? Now schema description says
encoding.
> Check the data in the db. Do a select from the console or a mysqldump
> and inspect the file.
>
> On Dec 18, 1:03 pm, mmstud wrote:
>
> > Im using MySQL. Same data is retrieved correctly on php side and there
> > are no problems showing it on ui. Using php&#
dled.
> Generally, if all is well, you should not be doing any encode/decode-
> ing (unless your data is broken in the first place).
>
> On Dec 18, 12:21 pm, mmstud wrote:
>
> > Hi,
>
> > a lot of wuestions ahs risen after using web2py, if i just got time to
> &g
What is the logic defining some html element classes and not defining
some anyway? I have created my own library of html elements, that i
use on web2py, which at least tries to follow standard html
specification.
-Marko
On 17 joulu, 17:42, DenesL wrote:
> You can create it using the TAG helper.
Hi,
a lot of wuestions ahs risen after using web2py, if i just got time to
write them here. One of the latest is, that id like to know, how to
retrieve data with correct encoding from database. My situatio is,
that i have a php serialized data field, which i want to get to web2py
application. I h
Hi,
id like to hear your suggestions on how to design the case im facing
at the moment.
I have a library, stock and online shop, which should work together.
Stock has compositions (books) and other variable items, that are both
rented and selled.
So how would you link ShopItems to either compos
And of cource it is same with self._getAttributes() I wanted to
separate them (content, attributes) to individual methods because
there are tags that do not need them both, like self closing tags,
etc. I dont know, if it is a performance issue though.
On Dec 4, 7:12 pm, mmstud <[EMAIL PROTEC
Sorry for confusion and mix.
self._getContent() is my own private method on parent class (STYLE,
SCRIPT -> DIV) but what it does is basically:
co=''.join([xmlescape(component) for component in self.components])
html.py:157
then
self.tag_name = self.tag
and
NEWLINE = '\n' is global constant
I created a new swfobject html helper class to manage embedded flash
media. I want to share it both for a review and to motivate contribute
great tips and content to this framework. I also have some questions
like: how to create static links right way? Im using my own Script
(and Style) helpers he
abase((field == value) & (table.id !=
self.record_id)).select(limitby=(0, 1))
else:
# in case of inserting new record, there shouldnt be any
rows found
rows = database(field == value).select(limitby=(0, 1))
if len(rows) > 0:
return (value, self
On Nov 29, 9:55 pm, mmstud <[EMAIL PROTECTED]> wrote:
> Im trying to get this working:
>
> db=SQLDB('mysql://[EMAIL PROTECTED]/web2py_test')
> db2=SQLDB('mysql://[EMAIL PROTECTED]/web2py_test2')
>
> then i defined tables db... and db2... but found,
Im trying to get this working:
db=SQLDB('mysql://[EMAIL PROTECTED]/web2py_test')
db2=SQLDB('mysql://[EMAIL PROTECTED]/web2py_test2')
then i defined tables db... and db2... but found, that all tables were
created under one database, the first one (web2py_test). So how this
should work?
Thanks,
-
Do you think it would be possible and not too much work to do such a
form checker, that takes field names like:
and does automatic value population, submit validation, perhaps even
insert/update with those fields? Is there somekind of connection pool,
that could be used to pass to form creat
How would you do such a validation, that when one field is filled, for
should check, that another field is filled also? That means one field
is dependent on another field.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
I need optgroup and caption elements on my forms, so i had to add them
to html.py, but wouldnt it be nice to have all standard elements
supported by web2py?
http://www.htmlhelp.com/reference/html40/alist.html
--~--~-~--~~~---~--~~
You received this message becaus
On Nov 24, 3:40 am, mdipierro <[EMAIL PROTECTED]> wrote:
> db.t2_person.exposes=['name','email','password'] ## add the fields you
> need.
What is the difference between exposes=[] and SQLFORM(fields=[]), btw?
>
> On Nov 23, 6:22 pm, Oscar <[EMAIL PROTECTED]> wrote:
>
> > Which is the best way of
Im thinking to create an insert and update form with fields taken from
multiple tables. Person has address, email and phone instances on
separate tables, but for simple interaction, they should be present on
same form view. What is the best way to solve this kind of situation
at the moment, does S
It must have been edited, i can't believe, huh...
On Nov 21, 3:03 am, kaj <[EMAIL PROTECTED]> wrote:
> and thanks Massimo for such a good bargain!
>
> Btw folks, take a look at this video - it aint over until its over! -
> and this guy certainly proved that for sure,
> completely amazing...
>
> h
Never mind, it was supported already exactly the way i was thinking it
should. So passing "%(id)s, %(firstname)s %(lastname)s" as a label
gives: "1, My Name"
-Marko
On Nov 20, 9:11 pm, mmstud <[EMAIL PROTECTED]> wrote:
> how big change on IS_IN_DB validato
how big change on IS_IN_DB validator would it be to support more
complicated label? My label would be something like:
label = "%(id)s, %(firstname)s %(lastname)s" -> "1, My Name"
That would prevent ambiguity, that is case, when listing persons with
one label only...
I tried to create new argume
AIL PROTECTED]> wrote:
> If you send me some example of elixir models I can add a layer to
> support them. I did that alredy for Django and SQLAlchemy.
>
> Massimo
>
> On Nov 17, 1:40 am, mmstud <[EMAIL PROTECTED]> wrote:
>
> > Earlier this year i made a web app wi
p thru' the model and see
> "users" populated with an SQLTable. In the controller/action, I look
> in Globals and see "user" containing an SQLTable. But when I hit the
> line print users.fields then I get the abover error. I don't
> unnerstan - can someo
Earlier this year i made a web app with Pylons using Elixir as ORM
front layer. I got a project lately and browsed to Pylons, Django and
Turbogears sites to find, if there are any updates. Finally on some
point using Google i found web2py mentioned. I dont remember, that i
had read it last year, w
Was it only column names? I tried to import csv file, got parse errors
althought i had column names... Finally i got tired of trying to
import with web2py and did import data with Navicat. Same csv file and
it worked well. But now my character encodings are wrong...
Actually i did one test, where
known is a table exist if web2py created it.
>
> Massimo
>
> On Nov 14, 2:24 am, mmstud <[EMAIL PROTECTED]> wrote:
>
> > I dont know how this should be, but in my case, i have a table
> > 'Members' already created on database having inserted rows and data to
&g
I dont know how this should be, but in my case, i have a table
'Members' already created on database having inserted rows and data to
use in my application. But when i try 'database administration' it
seems web2py tries to create a new table, although i think it should
just see, if table definitio
64 matches
Mail list logo