On Mon, Jun 7, 2010 at 04:10, Iceberg wrote:
> Just for your information:
> http://html5test.com/
>
> I tried these on Windows XP:
> Chrome5: 142 out of 160
> IE8: 19 out of 160
> Firefox3: 31 out of 160
Firefox 3.6.3 on Ubuntu 10.04: 101 / 160
--
Álvaro Justen - Turicas
http://blog.justen.eng
Firefox 3.6.4 also score 101/160, failing mostly in patented/
proprietary codec (h264 etc) support.
On Jun 7, 3:11 pm, Álvaro Justen wrote:
> On Mon, Jun 7, 2010 at 04:10, Iceberg wrote:
> > Just for your information:
> >http://html5test.com/
>
> > I tried these on Windows XP:
> > Chrome5: 142
rekonq and arora, which are webkit based, (tested on Linux, KDE 4.4.4)
score 116/160
On Jun 7, 3:11 pm, Álvaro Justen wrote:
> On Mon, Jun 7, 2010 at 04:10, Iceberg wrote:
> > Just for your information:
> >http://html5test.com/
>
> > I tried these on Windows XP:
> > Chrome5: 142 out of 160
> >
On Jun 7, 1:05 pm, Rahul wrote:
> Hi Anand,
> Yes that's a good idea, we can collaborate. But I am not
> familiar with translations. Also, I can provide help as and when time
> permits. Its a real busy schedule for me here. Let me know what you
> think.
Yes, that's a good start. Any m
Safari 4.0.5 : 115 0ut of 160
Failing on: Geolocation, Forms and User interaction.
Annet.
Pycon APAC 2010 is scheduled to run from 9th to 11th in Singapore.
On the 10th June, 11:10am we have a talk :
"Electronic Laboratory Notebook on the Web2Py Framework (Yong Yao Ng,
Maurice HT Ling) "
Maurice Ling is a staff member of the local (Republic) Polytechnic and
the Conference Chair.
htt
Hi everyone. when I do it a sql request and show in a view the name of
a table is write. how I eliminate???
my code is something like that:
in a view:
{{=show}}
and the result is
person.id person.name
1 pepe
2 jhon
How I eliminated person.id and person.name
Off topic: The last commit of chinese translation of admin app somehow
missed the
word "shell". No wonder I can't find the [shell] feature in chinese
UI. It happened before and it will probably happen in the future. So,
instead of just patching the missing translation, I suggest Massimo to
adjust t
I've successful by patch the ldap_auth.py after search google.
conn.set_option(ldap.OPT_PROTOCOL_VERSION, 3)
conn.set_option(ldap.OPT_REFERRALS, 0) # this line is the KEY, but I
don't know why
On 6月7日, 下午2時49分, dlin wrote:
> I'm trying AD auth. But, failed.
>
> After insert some debug print c
But, I've tried it, after insert this line.
There is no IndexError exception when try to search invalid user name
in AD.
On 6月7日, 下午4時05分, dlin wrote:
> I've successful by patch the ldap_auth.py after search google.
>
> conn.set_option(ldap.OPT_PROTOCOL_VERSION, 3)
> conn.set_option(ldap.OPT_REFE
I change my question. when I do it a sql request and show in a view
the name of
a table is write. how I change that???
my code is something like that:
in a view:
{{=show}}
and the result is
person.id person.name
1 pepe
2 jhon
How I cant change pers
I am using this:
form[0].insert(21,TR(H4('Text')))
to insert headers between rows. The header is being inserted in the
first column of the form. I would like to insert an explanatory text
into the second column of a particular row, is that possible using
this syntax, if so, what is the correct sy
In your table definitions (in db.py) you could set a label on the
fields:
db.person.id.label='Person's ID'
db.person.name.label='Person's Name'
Kind regards,
Annet.
can someone give an complate examples of jqGrid (with add, delete,
edit function) ?
I write a project, so I absolutely need. I can not continue
thanks & regards
Tomy
Is there a way change the account fast instead to log off and on?
After upgrading to 1.79.1 I can't change any sources with the admin
interface because of a communication error.
Hi,
Using the auth/email functionality. I use the code below (extracted
from my default.py controller) and executing testmail function send
emails but it appears not to set up the "From:..." header in the
message. When the email arrives in my inbox, Outlook put the message
striaght into the junk
This was fixed in 1.78.3. Do you have an earlier version?
On Jun 7, 2:11 am, Paul Gerrard wrote:
> Hi,
>
> Using the auth/email functionality. I use the code below (extracted
> from my default.py controller) and executing testmail function send
> emails but it appears not to set up the "From:...
Creating a custom crud.read form and I would like to show the
field.requires=IS_IN_DB field rather than the table.id . Sorry if that
doesn't make much sense. I have two related tables.
db.define_table('employee', Field('firstName'), Field('lastName'),
Field('dept_id'))
db.define_table('department'
Eban Software has a pretty nice web2py plugin with out-of-the-box
inline editing configured.
http://app.ebansoftware.net/editable_jqgrid/default/index
Install plugin and use with
# Controller
def show_grid():
return
dict(jqgrid=plugin_editable_jqgrid(db.shout,grid_name='test',db_name='db')
I have a form:
form=SQLFORM(db.signup_auth)
in which I don't want some of the labels to show, I tried:
db.signup_auth.akkoord_incasso.label=None
but that doesn't work, is there a way to disable labels on fields?
Kind regards,
Annet
Hi,
I'm having problems with UTF8 words and databases...
Now I'm using postgres with web2py. I used a xml-rpc script, just for
testing, to insert into a table the word 'testé', apparently
everything worked well, but when I try to get the info from the table
I receive an error, 'cant decode unicod
Thanks Jason. I have already this plug-in(inline edit) used, but
validation(for Date and Time) is not working well. Do you have already
used this plug-in or do you have a solution for validation?
On 7 Jun., 16:33, Jason Lotz wrote:
> Eban Software has a pretty nice web2py plugin with out-of-t
Try this:
form=SQLFORM(db.signup_auth,labels=dict(akkoord_incasso=''))
On Jun 7, 9:34 am, annet wrote:
> I have a form:
>
> form=SQLFORM(db.signup_auth)
>
> in which I don't want some of the labels to show, I tried:
>
> db.signup_auth.akkoord_incasso.label=None
>
> but that doesn't work, is there
I don't think your model is not setup with the correct reference
fields. Try this:
db.define_table('department',
Field('dept_id'),
Field('dept_name'),format='%(name)s')
db.define_table('employee',
Field('firstName'),
Field('lastName'),
Field('dept_id', db.department))
Passing
You can modify users in the database administration section of
appadmin and click on the auth_user table.
http://127.0.0.1:8000/your_app/appadmin/index
On Jun 7, 7:50 am, Sverre wrote:
> Is there a way change the account fast instead to log off and on?
There is an auth.impersonate function. It is not documented
unfortunately but perhaps you can try look at the source code in
gluon.tools.py
On Jun 7, 7:50 am, Sverre wrote:
> Is there a way change the account fast instead to log off and on?
I have an image stored in the database as db.comment.file and I'm
trying to view it by using its location in application/My_App_Name/
uploads using
When looking at the page source the filename is correct but the image
doesn't render. Is my path wrong for a view in My_App_Name/views/
default or a
this is a no-no. If you see a .. in a path, something is wrong. This
is how you do it
you must have the 'download' action in default.py
On Jun 7, 11:26 am, Aaron Crowe wrote:
> I have an image stored in the database as db.comment.file and I'm
> trying to view it by using its location in applic
Ahhh thank you so much. That solves a major headache for me.
On Jun 7, 12:29 pm, mdipierro wrote:
> this is a no-no. If you see a .. in a path, something is wrong. This
> is how you do it
>
> src="{{=URL(request.application,'default','download',args=row.file)}}" /
>
>
>
> you must have the 'down
In general you should never hard code URLs in web2py, but use the URL
function to generate them. This provides routing, reverse routing and
makes user the links do not break if the app gets moved/renamed.
On Jun 7, 11:34 am, Aaron Crowe wrote:
> Ahhh thank you so much. That solves a major headach
I'm new to web2py and python (currently evaluating python frameworks
to replace Ruby on Rails on production servers by July 4th weekend.)
PROBLEM:
* Saving a file using the admin interface displays a red
"communication error" in the "Last Saved On" field. However, when I
click Reload in the bro
Does it work without ssl? Which browser are you using? Have you tried
other browsers?
Massimo
On Jun 7, 11:47 am, Salvor Hardin wrote:
> I'm new to web2py and python (currently evaluating python frameworks
> to replace Ruby on Rails on production servers by July 4th weekend.)
>
> PROBLEM:
>
> *
I tried latest stable Firefox and Chrome browsers, both running on
Vista.
I'll try using SSH tunnel next and access using plain HTTP, to see if
problem goes away when not using SSL.
On Jun 7, 11:58 am, mdipierro wrote:
> Does it work without ssl? Which browser are you using? Have you tried
> oth
Here's what I tried:
* I setup SSH tunnel from my Vista desktop's localhost:8080 to
ubuntu.private.lan:80.
* I modified Apache2's to enable access to /admin
The new non-HTTPS, ssh-tunneled, remote URL to ubuntu.private.lan is:
http://localhost:8080/admin/default/edit/myblog/views/default/
try the following. delete all your tickets app/errors/*
reproduce the problem and see if you find a new ticket file. If so,
please email it to me.
On Jun 7, 12:43 pm, Salvor Hardin wrote:
> Here's what I tried:
>
> * I setup SSH tunnel from my Vista desktop's localhost:8080 to
> ubuntu.private.l
right. uploading to trunk now.
On Jun 7, 1:16 am, kike wrote:
> thank for your help. I think if include something like None in
> truncate is a good idea. It is only my sugestion.
> thank again
>
> On Jun 7, 7:55 am, mdipierro wrote:
>
> > sorry not. But you can choose a very large value like 10*
send us some slides when done.
On Jun 7, 2:29 am, Anand Vaidya wrote:
> Pycon APAC 2010 is scheduled to run from 9th to 11th in Singapore.
>
> On the 10th June, 11:10am we have a talk :
>
> "Electronic Laboratory Notebook on the Web2Py Framework (Yong Yao Ng,
> Maurice HT Ling) "
>
> Maurice Ling
I also get the same problem using Rocket, using plain HTTP from Chrome
5.0.375.55 and Firefox 3.6.3.
Files get saved, but "Last Saved On" field shows "communication error"
in red background color every time "Save" button is clicked.
Here's what I tried:
* I setup SSH tunnel from my Vista deskto
On Jun 7, 2:28 am, annet wrote:
> Safari 4.0.5 : 115 0ut of 160
On OS/X 10.6.3:
Chrome 5.0.375.55: 142
Safari 4.0.5: 120
Opera 10.53:102
Firefox 3.6.3:101
Not sure how complete this test is (has anyone reviewed the test? -
from just glancing a
Not sure I understand. This should be already the default behavior.
On Jun 7, 2:59 am, Iceberg wrote:
> Off topic: The last commit of chinese translation of admin app somehow
> missed the
> word "shell". No wonder I can't find the [shell] feature in chinese
> UI. It happened before and it will pr
... I missed that this is being developed, open, by Niels:
http://github.com/NielsLeenheer/html5test
...opne to contributions
On Jun 7, 1:10 pm, Yarko Tymciurak
wrote:
> On Jun 7, 2:28 am, annet wrote:
>
> > Safari 4.0.5 : 115 0ut of 160
>
> On OS/X 10.6.3:
>
> Chrome 5.0.375.55: 142
> Safa
form[0] #table
form[0][21] # 22nd row
form[0][21][1] # second column of above row
form[0][21][1].insert(0,H4('Text'))
but it should be easier to do
form.element('input[name=xxx]').parent.insert(0,H4('Text'))
where 'xxx' is the name of the field variable.
On Jun 7, 4:24 am, annet wrote:
> I am
No, the bales do not affect column headers because column headers may
not be fields but computed values.
{{=SQLTABLE(rows,columns=['person.id','person.name'],headers={'person.id':'ID','person.name':'Name'})
}}
On Jun 7, 4:27 am, annet wrote:
> In your table definitions (in db.py) you could set
you upgraded from what?
On Jun 7, 8:21 am, Sverre wrote:
> After upgrading to 1.79.1 I can't change any sources with the admin
> interface because of a communication error.
hmmm, please try
bd[tab].insert(nome=u'testé')
or
bd[tab].insert(nome='testé'.encode('utf8'))
On Jun 7, 9:49 am, Felipe wrote:
> Hi,
>
> I'm having problems with UTF8 words and databases...
>
> Now I'm using postgres with web2py. I used a xml-rpc script, just for
> testing, to insert into a ta
I'm sorry, there are no error tickets generated from this. And I
didn't see any errors in javascript consoles in Chrome and Firefox
+Firebug.
I only got 1 ticket yesterday while setting up apache due to file
permission error. Deleted that ticket. No errors today at all.
When using Apache 2 wit
this is a best practice in web2py, especially if you are going later to play
with routes (both in and out)
Hi.
First, sorry about my english, I'm from Argentina. I'm a user from the
group of spanish users. I've written in that group, but I did't get
any answer.
My problem is "exactly" the same that the one reported by Salvor
Hardin.
I'm using Ubuntu 9.10, with the last version of web2py (Version 1.79.
More info:
This problem does not occur on web2py 1.79.1 running on Vista.
All is well using web2py.exe, and web2py src using both Python 2.5.4
and Python 2.6.5 in Vista (32-bit .MSI installer versions at
python.org.)
So, the problem happens when web2py is running in Ubuntu Server 10.04
LTS (Apach
Iceberg: could you debug / trace? I too thought the behavior you
asked for was already the case, so it is probably getting "short
circuited" somewhere - would be good to see where.
- Yarko
On Jun 7, 1:11 pm, mdipierro wrote:
> Not sure I understand. This should be already the default behavio
I just tried web2py 1.78.3 on Ubuntu Server 10.04 using Rocket and
there is no "communication error" message.
This problem appears to be introduced in 1.79.1 for some operating
systems. It works fine in Windows, but not in Ubuntu Server 10.04 for
me, and Ubuntu 9.10 for Lisandro.
On Jun 7, 1:41
*leaves gedit / netbeans world to test said bug*
It does not work for me either. No tickets are generated however a 500
internal server error is caused when looking at firebug.
Ubuntu 10.4, firefox 3.6.3 or Epiphany
Quite strange, I can't figure out what is causing the error =/
*goes back to ge
can you add some print statements in the admin/controller/default.py
edit action check whether the
POST http://127.0.0.1:8000/admin/default/edit/
is calling the action or not?
On Jun 7, 2:15 pm, Thadeus Burgess wrote:
> *leaves gedit / netbeans world to test said bug*
>
> It does not work for m
correction
of course it is calling it since it saves the file. Can you figure out
what it returns?
On Jun 7, 2:34 pm, mdipierro wrote:
> can you add some print statements in the admin/controller/default.py
> edit action check whether the
>
> POSThttp://127.0.0.1:8000/admin/default/edit/
>
>
Hi,
I am trying to define table with foreign key to the table stored in
different database on same server (MySQL).
db_sys # db_sys on localhost mysql
db_cs # db_cs on localhost mysql
db_sys.define_table('item',
Field('id_producer', db_sys.producer, requires=IS_IN_DB(db_sys,
'producer.id', '%(n
Technically speaking, you cannot do it, and *should* not do it.
However you can hack around this by using a integer type instead of a
FK relationship. Basically store your integer without FK status, and
then you manually handle all of the relationships.
--
Thadeus
On Mon, Jun 7, 2010 at 2:38
Note that even if you use 'integer' you can still set the IS_IN_DB
validator to force the reference at the web2py level for input and
update forms.
On Jun 7, 2:47 pm, Thadeus Burgess wrote:
> Technically speaking, you cannot do it, and *should* not do it.
>
> However you can hack around this by u
I would like to install web2py with the minimal footprint on an embedded
Arm system. The embedded Arm system already has Python 2.6 installed.
What files do I need to install for web2py to run?
What do you expect the total MB size to be?
Is their a list of Python Modules that need to be installe
you only needs web2py.py and gluon/*
On Jun 7, 1:55 pm, ed wrote:
> I would like to install web2py with the minimal footprint on an embedded
> Arm system. The embedded Arm system already has Python 2.6 installed.
>
> What files do I need to install for web2py to run?
> What do you expect the to
~2MB
On Jun 7, 3:58 pm, mdipierro wrote:
> you only needs web2py.py and gluon/*
>
> On Jun 7, 1:55 pm, ed wrote:
>
> > I would like to install web2py with the minimal footprint on an embedded
> > Arm system. The embedded Arm system already has Python 2.6 installed.
>
> > What files do I need to
On Mon, Jun 7, 2010 at 15:10, Salvor Hardin wrote:
> * I ran using:
> sudo -u www-data python web2py -p
You are running web2py with user www-data. Please check if this user
have *all permissions* in the whole web2py directory. To be fast:
chown -R www-data /path/to/web2py/
--
Álvaro Jus
see:
http://chardet.feedparser.org/
2010/6/7 mdipierro
> Amazing. Very similar. One thing that web2py TAG is missing it the
> ability to guess encoding. It fails and.or does mistakes if the source
> is not UTF8 encoded.
>
> On Jun 6, 10:57 pm, Álvaro Justen wrote:
> > This project:http://githu
Try also:
http://code.activestate.com/recipes/52257/
2010/6/7 mdipierro
> Amazing. Very similar. One thing that web2py TAG is missing it the
> ability to guess encoding. It fails and.or does mistakes if the source
> is not UTF8 encoded.
>
> On Jun 6, 10:57 pm, Álvaro Justen wrote:
> > This pro
Thank maximo is exactly that you wrote, thank annet too for your help
On Jun 7, 2:16 pm, mdipierro wrote:
> No, the bales do not affect column headers because column headers may
> not be fields but computed values.
>
> {{=SQLTABLE(rows,columns=['person.id','person.name'],headers={'person.id':'ID'
Hi I need a form to search, and in that form a field with some
database values, I wrote the following
vul.authors.name.requires=IS_IN_DB(vul,vul.authors.name)
f=SQLFORM.factory(vul.authors.name)
that work perfect but my problems is in my database exist several
authors with the same name,
Hi,
Ahh - I'm on 1.76.5 - I'll upgrade and watch out for that next time.
Sorry.
Paul.
On Jun 7, 2:37 pm, mdipierro wrote:
> This was fixed in 1.78.3. Do you have an earlier version?
>
> On Jun 7, 2:11 am, Paul Gerrard wrote:
>
>
>
> > Hi,
>
> > Using the auth/email functionality. I use the co
I will include this in web2py. Thank you
On Jun 7, 5:12 pm, Alexandre Andrade wrote:
> Try also:
>
> http://code.activestate.com/recipes/52257/
>
> 2010/6/7 mdipierro
>
> > Amazing. Very similar. One thing that web2py TAG is missing it the
> > ability to guess encoding. It fails and.or does mist
haha. I think we need to add a groupby option to IS_IN_DB.
On Jun 7, 5:16 pm, kike wrote:
> Hi I need a form to search, and in that form a field with some
> database values, I wrote the following
>
> vul.authors.name.requires=IS_IN_DB(vul,vul.authors.name)
> f=SQLFORM.factory(vul.authors.
On 6 jun, 23:58, mdipierro wrote:
> I depends on whether the data is different for each user of shared
> between users.
> In the latter case Thadeus is right: cache it. You can store any
> object in cache.ram
>
> value=cache.ram('key',lambda:function_that_computes_value(),expiration_time)
>
> If
Good suggestion. I tried this, restarted web2py, and the
"communication error" in "Last Saved On" field still appears when
clicking Save button.
So far, this is what I know about this problem:
Problem: web2py 1.79.1 on Ubuntu 10.04 (also Ubuntu 9.10 reported by
someone else)
No problem: web2py
I'll add the fact that the version 1.78.3 works fine in Ubuntu 9.10.
2010/6/7 Salvor Hardin
> Good suggestion. I tried this, restarted web2py, and the
> "communication error" in "Last Saved On" field still appears when
> clicking Save button.
>
> So far, this is what I know about this problem:
Sorry, I have not used the plug-in with inline editing.
On 06/07/2010 11:53 PM, Tomy wrote:
Thanks Jason. I have already this plug-in(inline edit) used, but
validation(for Date and Time) is not working well. Do you have already
used this plug-in or do you have a solution for validation?
On
My upgrade method is just unzip all source to my exist web2py
directory.
I've compare the new welcome source with my application.
I found in welcome/db.py
auth.settings.hmac_key=''
Is that the problem?
If I want to solve this problem, I should drop all my tables by
sqlite3 directly.
What's the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The problem seems to be that the .table contents of the databases dir
are gone and the welcome app is trying to recreate them - but it finds
that the default sqlite db already has the databases defined in your
code. Setting migrate = False might fix yo
doesn't seem to be available yet - try asking Julio:
http://www.techfuel.net/zblog/default/contact
FYI he is also working on another project:
http://www.techfuel.net/zblog/blog/view/26
And both these domains currently redirect to techfuel.net:
pystack.com
pyshowcase.org
On Jun 7, 2:16 pm, mdipi
that would be a lot of work.
There are a number of existing examples here that you could add to:
http://web2pyslices.com (currently seems to be down)
On Jun 7, 11:17 am, NetAdmin wrote:
> Perfect!
>
> Thanks so much!
>
> One thing I've been thinking about, is putting together a reference
> data
I have a problem.
I have this in the database
Field("whopper_id", "string", default=None, unique=True),
The thing with whopper_id is it always stores numbers. Said numbers
are anywhere from 2 to 6.
Also upon entering a new entry, I do the following
last_whopper_id = db(db.table.id
Thanks mr.freeze!! That got me in the right direction.
The dept_id comes from long time with Oracle and M$ SQLServer, also I
thought it would be nice to make the database structure easily
compatible with other platforms. I don't know about PostgreSQL but from
what I understand, MySQL doesn't a
I'm sorry, I looked in the wrong directory and made a mistake with
Firebug.
I found this in admin/errors/ and hope you find it useful:
Traceback (most recent call last):
File "gluon/restricted.py", line 178, in restricted
exec ccode in environment
File "/srv/web2py/applications/admin/cont
web2py creates a auto-incrementing primary key ID field on all tables
so it will work with any supported database. There is an ondelete
attribute on Field that defaults to CASCADE. I think you can change it
to SET NULL to get the desired behavior. It's applicable only for
reference and upload fiel
Interesting, I know SQLite engine auto creates a rowid (primary_key id).
Didn't realize web2py does this for all db platforms. Good to know! :)
I will look into the ondelete attr, that would be very usefull!!
Thanks again mr.freeze!!
On 06/08/2010 11:25 AM, mr.freeze wrote:
web2py creates a
I'm not even going to ask how you got in this situation :) Could you?:
0) Create a patch to Field for an autoincrement field type
1) Create a new table (whopper_temp) on your database with an id field
that is NOT set to auto-increment (yet)
2) Copy all records from the table in question to whopper
welcome is the scaffoling app. Do you have data in it? If not just
delete everything in welcome/databases and create an empty file
web2py/NEWINSTALL
On Jun 7, 8:00 pm, Praneeth wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> The problem seems to be that the .table contents of the d
aha. json problem. We upgraded to the latest simplejson. Yo may have
an older version installed in your system that is conflicting with
it.
user easy_install to upgrade simplejson
On Jun 7, 9:21 pm, Salvor Hardin wrote:
> I'm sorry, I looked in the wrong directory and made a mistake with
> Fireb
So I'm writing a plugin to handle scheduling of tasks with a dynamic
granularity of a second or less, and I went to use PluginManger per
it's definition in tools.py:
class PluginManager(dict):
"""
This object stored parameters to configure plugins (if they need
configuration)
In models/
I just started using web2py and am on Ubuntu 10.04 386 Desktop.
Browser is Firefox and I get this error. Looking for the error tickets
I found them under the admin user and was making the first mods to the
db.py file for a connection string to MySQL.
Here is the traceback from the ticket
Error t
yes. 2.6 ships with an older version of simplejson than the 2.1.1 that
ships with web2py and they seem to conflict. I will look into a
solution.
On Jun 7, 6:52 pm, ron_m wrote:
> I just started using web2py and am on Ubuntu 10.04 386 Desktop.
> Browser is Firefox and I get this error. Looking for
Here is a fix.
in gluon/contrib/simplejson/encoder.py
def _import_speedups():
try:
+raise ImportError
from simplejson import _speedups
return _speedups.encode_basestring_ascii,
_speedups.make_encoder
except ImportError:
return None, None
and in
I'm having a problem with my VPS. Hopefully it will be back up soon.
On Jun 7, 8:32 pm, Richard wrote:
> that would be a lot of work.
>
> There are a number of existing examples here that you could add
> to:http://web2pyslices.com(currently seems to be down)
>
> On Jun 7, 11:17 am, NetAdmin wro
I think I was just bitten by a naming bug... I named my application
starting with a number and for a few days everything worked fine until
that fateful night when i tried to local_import something...
Traceback (most recent call last):
File "C:\4x2-server\web2py\gluon\restricted.py", line 178, in
here is a project for anybody here interested. appadmin is old. It
does not use SQLFORM.factory and does not validate all its input. It
would be a simple and nice project to go over the source line by line
and rewrite controller/default.py and views/default/*.html to use
SQLFORM.factory. This proce
Thank you!
Your suggestion fixed the "communication error" on Ubuntu Server 10.04
when saving files using ajax editor.
Here are the 3 steps in case you want to cut/paste to FAQ:
1. sudo aptitude install python-setuptools
2. sudo easy_install simplejson
3. sudo /etc/init.d/apache2 restart
Speaki
On Jun 7, 11:30 pm, Salvor Hardin wrote:
> Thank you!
>
> Your suggestion fixed the "communication error" on Ubuntu Server 10.04
> when saving files using ajax editor.
>
> Here are the 3 steps in case you want to cut/paste to FAQ:
>
> 1. sudo aptitude install python-setuptools
> 2. sudo easy_ins
Legacy systems =) The database was already in place as this,
unfortunately when I migrated from access to postgres I kept the same
schema as I was under a time crunch to get *something* running And
now it bites me in the butt.
The thing is... I cannot do this
``db(db.table.id==3).update(db.tab
Yes, starting with a number is NOT valid python...
This is why I use
A_py
B_py
C_py
instead of
0_...py
1_...py
2_...py
--
Thadeus
On Mon, Jun 7, 2010 at 11:08 PM, Doug Warren wrote:
> I think I was just bitten by a naming bug... I named my application
> starting with a numbe
I'm upgraded from the version before.
On 7 Jun, 20:16, mdipierro wrote:
> you upgraded from what?
>
> On Jun 7, 8:21 am, Sverre wrote:> After upgrading
> to 1.79.1 I can't change any sources with the admin
> > interface because of a communication error.
By the way, this is for PostgreSQL that I need this. I think that
autoincrement needs to be implemented for each database type natively.
The *other* guys have autoincrement already... curious as to why it is
left out of web2py.
As always, the sooner the better >.<
--
Thadeus
On Mon, Jun 7,
Thanks for getting back so quickly.
I tried the edits you suggested on a clean Ubuntu 10.04 install with
web2py 1.79.1 and adding the three raise ImportError statements works
- no more communication error notifications. The file always saved
correctly looking at the target file from a different ed
Massimo,
Indeed it was easier to use form.element(...), thanks for providing me
with this solution.
Annet.
On Jun 7, 8:13 pm, mdipierro wrote:
> form[0] #table
> form[0][21] # 22nd row
> form[0][21][1] # second column of above row
> form[0][21][1].insert(0,H4('Text'))
>
> but it should be eas
1 - 100 of 101 matches
Mail list logo