[web2py] Re: Plugin providing a Location picker widget for geometry fields

2016-09-22 Thread Donald McClymont
Just for reference I have hacked about with this a bit at the following link: https://github.com/DonaldMcC/w2p_location_widget It now provides an example app with reverse geocoding, ability to pickup users location per html5 and a method of working with non-geospatial databases by moving the

[web2py] Re: plugin for handsontable

2015-08-03 Thread pang
El lunes, 3 de agosto de 2015, 12:11:13 (UTC+2), Tim Richardson escribió: > > Lazy question ... how easy is it to theme like web2py widgets / menus etc? > The plugin just adds a big handsontable with two buttons. I used the handsontable-bootstrap compatibility, and that's about all I know about

[web2py] Re: plugin for handsontable

2015-08-03 Thread Tim Richardson
Lazy question ... how easy is it to theme like web2py widgets / menus etc? On Thursday, 30 July 2015 02:59:27 UTC+10, Pablo Angulo wrote: > > I have packaged a plugin with one possible use of the great library > handsontable: > > > http://www.web2pyslices.com/slice/show/2042/handsontable-plugin-

[web2py] Re: plugin for handsontable

2015-07-29 Thread Massimo Di Pierro
Fantastic. I a big fun of handontable. On Wednesday, 29 July 2015 11:59:27 UTC-5, Pablo Angulo wrote: > > I have packaged a plugin with one possible use of the great library > handsontable: > > > http://www.web2pyslices.com/slice/show/2042/handsontable-plugin-for-a-spreadsheet > > You may commen

[web2py] Re: plugin google map

2013-10-01 Thread Massimo Di Pierro
I believe the google map API have changed. That plugin is obsolete. I think we need a new one. Anyway look into applications/welcome/views/generic.map Anyway On Tuesday, 1 October 2013 09:57:38 UTC-5, Gael Princivalle wrote: > > Hi Massimo. > > Sorry but I've don't understand how I can use t

[web2py] Re: plugin google map

2013-10-01 Thread Gael Princivalle
Hi Massimo. Sorry but I've don't understand how I can use this plug-in. >plugin_gmap.set=db(db.auth_user.id>0) ### change this to a query that lists records with latitude and longitute Do I have to create another table with one field, and make two records, one with latitude and another with long

[web2py] Re: plugin jqmobile shows a white screen

2013-03-09 Thread Massimo Di Pierro
Your step 2 is wrong because the posted plugin online is old and broken (I need to fix it). now a working version of plugin jquery comes with web2py. It is in admin. On Saturday, 9 March 2013 07:44:52 UTC-6, mweissen wrote: > > I wanted to learn more about the jqmobile plugin, but I always get a

Re: [web2py] Re: plugin to drag and drop upload of a file

2013-01-07 Thread Derek
I don't see it as an issue, but I'd consider merging those css files into one, to reduce the amount of requests that need to be made. The fact that they are CSS files and not hard-coded means that you aren't mixing them up, since they are still separate. On Monday, January 7, 2013 6:23:22 AM UT

Re: [web2py] Re: plugin to drag and drop upload of a file

2013-01-07 Thread Vincenzo Ampolo
On 01/07/2013 02:39 AM, Alan Etkin wrote: Are the .css files added to the ajax response? In that case, I doubt they will affect the document. I'd add the css files to response.files in the plugin model instead, so they are appended to the app layout. | # models/plugin_file_upload.py response.f

[web2py] Re: plugin to drag and drop upload of a file

2013-01-06 Thread Alan Etkin
> > How can I address this issue ? > > -- > Vincenzo Ampolo > > Are the .css files added to the ajax response? In that case, I doubt they will affect the document. I'd add the css files to response.files in the plugin model instead, so they are appended to the app layout. # models/plugin_fil

Re: [web2py] Re: plugin wiki issues

2012-05-08 Thread villas
:-) On Tuesday, 8 May 2012 21:37:52 UTC+1, Larry Wapnitsky wrote: > > if I recreate the database from scratch, then re-import my data, it works > fine. > > On Tuesday, May 8, 2012 4:33:54 PM UTC-4, Larry Wapnitsky wrote: >> >> even tried it as rootno dice. >> >> >> On 5/8/2012 4:25 PM, villa

Re: [web2py] Re: plugin wiki issues

2012-05-08 Thread Larry Wapnitsky
if I recreate the database from scratch, then re-import my data, it works fine. On Tuesday, May 8, 2012 4:33:54 PM UTC-4, Larry Wapnitsky wrote: > > even tried it as rootno dice. > > > On 5/8/2012 4:25 PM, villas wrote: > > Hi Larry, it sounds like your DB is not configured properly for y

Re: [web2py] Re: plugin wiki issues

2012-05-08 Thread Larry G. Wapnitsky
even tried it as rootno dice. On 5/8/2012 4:25 PM, villas wrote: Hi Larry, it sounds like your DB is not configured properly for your username. I don't use MySql but maybe this prob sounds familiar to those that do. Anyone? Sorry I can't think of anything more D On Tuesday, 8 May

Re: [web2py] Re: plugin wiki issues

2012-05-08 Thread Larry G. Wapnitsky
nix that last comment...didn't have the plugin loaded. did not work On 5/8/2012 4:25 PM, villas wrote: Hi Larry, it sounds like your DB is not configured properly for your username. I don't use MySql but maybe this prob sounds familiar to those that do. Anyone? Sorry I can't think of anyt

Re: [web2py] Re: plugin wiki issues

2012-05-08 Thread Larry G. Wapnitsky
and it just worked on my test db server with the exact same config.. On 5/8/2012 4:25 PM, villas wrote: Hi Larry, it sounds like your DB is not configured properly for your username. I don't use MySql but maybe this prob sounds familiar to those that do. Anyone? Sorry I can't think of anyt

Re: [web2py] Re: plugin wiki issues

2012-05-08 Thread Larry G. Wapnitsky
It's been working up to this point...not sure why it won't work now... On 5/8/2012 4:25 PM, villas wrote: Hi Larry, it sounds like your DB is not configured properly for your username. I don't use MySql but maybe this prob sounds familiar to those that do. Anyone? Sorry I can't think of any

[web2py] Re: plugin wiki issues

2012-05-08 Thread villas
Hi Larry, it sounds like your DB is not configured properly for your username. I don't use MySql but maybe this prob sounds familiar to those that do. Anyone? Sorry I can't think of anything more D On Tuesday, 8 May 2012 21:16:50 UTC+1, Larry Wapnitsky wrote: > > A new, test app worked

[web2py] Re: plugin wiki issues

2012-05-08 Thread Larry Wapnitsky
restarted web2py. no dice. died immediately when accessing any page (1005, u"Can't create table 'rbl.plugin_wiki_page' (errno: 150)") On Tuesday, May 8, 2012 4:16:50 PM UTC-4, Larry Wapnitsky wrote: > > A new, test app worked with no problems. > > Here is my DAL DB connection string: db = DAL

[web2py] Re: plugin wiki issues

2012-05-08 Thread Larry Wapnitsky
A new, test app worked with no problems. Here is my DAL DB connection string: db = DAL('mysql://user:passw...@dbserer.company.com/dbname') I was getting "can't create table" errors until I added "grant" rights to the remote "user" account. Now, the page just spins... On Tuesday, May 8, 2012

[web2py] Re: plugin wiki issues

2012-05-08 Thread villas
I guess it still didn't work then. At this point [scratching head]: Consider upgrading your web2py. Create a brand new app to test the most basic DB function is there. Delete contents of the databases folder. Change the DAL connection string in db.py Put a simple table def in the db.py Run your a

[web2py] Re: plugin wiki issues

2012-05-08 Thread Larry Wapnitsky
In order: Yes Yes No existing tables Files don't exist migration settings removed Only error message from running web2py that way: WARNING:web2py:import IPython error; use default python shell On Tuesday, May 8, 2012 10:50:38 AM UTC-4, villas wrote: > > Hmm keep trying... > > Check you ha

[web2py] Re: plugin wiki issues

2012-05-08 Thread villas
Hmm keep trying... Check you have appropriate read/write permissions from your host. Connect with your DB management tool and create a test table to make sure your DB server etc is running. Take one single table definition, let's call it 'yourexample'. Make sure there is no yourexample.tabl

[web2py] Re: plugin wiki issues

2012-05-08 Thread Larry Wapnitsky
David- No dice. Still getting the same errors. It does not want to create the tables in my MySQL database. I've made sure the settings are as you stated. These are things I've already done, but just got into the office today and retried them. On Friday, May 4, 2012 5:49:46 PM UTC-4, villas

[web2py] Re: plugin from dev.s-cubism.com question

2012-05-05 Thread CtrlSoft
On Saturday, May 5, 2012 2:40:52 PM UTC+3, kenji4569 wrote: > > I think so, but I don't have any clue for this session problem.. > > 2012年5月5日土曜日 19時58分19秒 UTC+9 CtrlSoft: >> >> on localhost works fine beacause, it is using the same session, but on >> server, when i acces page app creates one se

[web2py] Re: plugin from dev.s-cubism.com question

2012-05-05 Thread kenji4569
I think so, but I don't have any clue for this session problem.. 2012年5月5日土曜日 19時58分19秒 UTC+9 CtrlSoft: > > on localhost works fine beacause, it is using the same session, but on > server, when i acces page app creates one session and when i submit the > upload form it creates another one sessio

[web2py] Re: plugin from dev.s-cubism.com question

2012-05-05 Thread CtrlSoft
on localhost works fine beacause, it is using the same session, but on server, when i acces page app creates one session and when i submit the upload form it creates another one session, i think the problem is that there is different sessions. app remember previous session but form pass another

[web2py] Re: plugin from dev.s-cubism.com question

2012-05-05 Thread kenji4569
The direct submit command "$('.dialog-front').find('form').submit()" still produces the same result. So the problem might be not the uploadify widget but the form processing it self. Could you debug inside the form.accepts method and check its passed variables such as request.vars and session.

[web2py] Re: plugin from dev.s-cubism.com question

2012-05-05 Thread CtrlSoft
u can check above links, still not solved problem

[web2py] Re: plugin from dev.s-cubism.com question

2012-05-05 Thread CtrlSoft
this is my online version > http://agsystem.md/upload/plugin_elrte_widget/index >> >> > local host version can be accesed here: http://89.28.110.232:8100/upload/plugin_elrte_widget/index is the same application

[web2py] Re: plugin from dev.s-cubism.com question

2012-05-04 Thread kenji4569
I'm sorry I couldn't guess what's happened inside. At least for me, I haven't encountered that problem. Could you inspect more details for that (by such as pdb debugger). The process of the uploadify plugin is as follows. First the client uploads a file via ajax using a flash and the server sav

[web2py] Re: plugin wiki issues

2012-05-04 Thread villas
Hi Larry Generating tables is a general thing, not just for the plugin_wiki. As you obviously do not have any data in your plugin_wiki yet, I suggest: 1. Get yourself a DB management tool for your DB. 2. Using the tool, have a look in the DB. If you are using Sqlite, you should

[web2py] Re: plugin wiki issues

2012-05-04 Thread Larry Wapnitsky
It looks as though the database table generation does not automatically take place unless you use the wizard. How can I initiate this and get the plugin active? The "book" doesn't really give great details on that. Thanks On Friday, May 4, 2012 2:38:51 PM UTC-4, villas wrote: > > >>1. *

[web2py] Re: plugin wiki issues

2012-05-04 Thread villas
> > >1. * (1146, >u"Table 'rbl.plugin_wiki_page' doesn't exist"* > > > Sounds like a migration error. Do you have the tables in your DB? If not, make sure you delete plugin_wiki table defs from the databases folder so that they can be created > 2. when loading the plugin

[web2py] Re: plugin google map

2012-02-06 Thread Ntu2ko
Hi mdipierro, I am fairly a newbie to python and sql, I have a task to render a google map as my home page (thereby replacing the default welcome page), and then populating the map with placemarks read from a table I have created in the database. The table already has latitude and longitude as

[web2py] Re: plugin badmin

2012-01-10 Thread Massimo Di Pierro
keep us posted. On Jan 10, 9:37 am, Bruno Rocha wrote: > On Tue, Jan 10, 2012 at 12:39 PM, Ross Peoples wrote: > > > What does it do? There's no description, just that it's an "automatic > > admin". > > It creates a very nice and clean easy customizable admin from db tables > > take a look > > h

Re: [web2py] Re: plugin badmin

2012-01-10 Thread Ovidio Marinho
We are close to a complete tool, so there is still the ease of reporting in web2py. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br ITJP - itjp.net.br 83 8826 9088 - Oi

Re: [web2py] Re: plugin badmin

2012-01-10 Thread Bruno Rocha
On Tue, Jan 10, 2012 at 12:39 PM, Ross Peoples wrote: > What does it do? There's no description, just that it's an "automatic > admin". It creates a very nice and clean easy customizable admin from db tables take a look http://www.diigo.com/item/image/121xl/vsj5?size=o -- Bruno Rocha [http

[web2py] Re: plugin badmin

2012-01-10 Thread Ross Peoples
What does it do? There's no description, just that it's an "automatic admin".

[web2py] Re: Plugin files disappearing during editing

2011-10-20 Thread Matthew
Thank you! On Oct 20, 7:47 pm, Anthony wrote: > Plugin files are shown separately -- scroll to the bottom of the page, and > you should see the plugins listed in the Plugins section. Click on one, and > you'll get a separate page for the plugin files.

[web2py] Re: Plugin files disappearing during editing

2011-10-20 Thread Anthony
Plugin files are shown separately -- scroll to the bottom of the page, and you should see the plugins listed in the Plugins section. Click on one, and you'll get a separate page for the plugin files.

Re: [web2py] Re: Plugin wiki attachaments not working

2011-05-24 Thread Tito Garrido
It's working now... thanks! On Tue, May 24, 2011 at 10:20 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Please try download it again. I think I fixed it. > In any case there will be a new version of plugin wiki next week. The > current one has a vulnerability in jqgrid. > > On May

[web2py] Re: Plugin wiki attachaments not working

2011-05-24 Thread Massimo Di Pierro
Please try download it again. I think I fixed it. In any case there will be a new version of plugin wiki next week. The current one has a vulnerability in jqgrid. On May 24, 7:23 am, Tito Garrido wrote: > Yes, I got the latest last night > > On Mon, May 23, 2011 at 11:41 PM, Massimo Di Pierro < >

Re: [web2py] Re: Plugin wiki attachaments not working

2011-05-24 Thread Tito Garrido
Yes, I got the latest last night On Mon, May 23, 2011 at 11:41 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > This should be fixed in plugin wiki. Do you have the latest? > > Mind that I do not promise backward compatibility for plugin-wiki but > I try to update it as web2py core ch

[web2py] Re: Plugin wiki attachaments not working

2011-05-23 Thread Massimo Di Pierro
This should be fixed in plugin wiki. Do you have the latest? Mind that I do not promise backward compatibility for plugin-wiki but I try to update it as web2py core changes. Massimo On May 23, 6:13 pm, Tito Garrido wrote: > Is it expected? > > > > > > > > > > On Sun, May 22, 2011 at 4:02 PM, Ti

[web2py] Re: Plugin-wiki tagging question

2011-04-02 Thread Massimo Di Pierro
you can do: def tag_record(table,id,tag): db_tag = table.db.plugin_wiki_tag db_link = table.db.plugin_wiki_link tag_name = re.compile('\s+').sub(' ',tag).strip() tag = db(db_tag.name==tag_name).select().first() if not tag: tag = db_tag.insert(name=tag_name, links=1)

Re: [web2py] Re: Plugin comments

2011-01-17 Thread Anthony
This would be fantastic. 'plugins' and 'applications' are obviously well-defined, but I wonder if 'snippets', 'tips', and 'recipes' are sufficiently distinct to warrant separate categories (i.e., it might be difficult to decide if something is a snippet, tip, or recipe, and the user looking f

Re: [web2py] Re: Plugin comments

2011-01-17 Thread Martín Mulone
I'm thinking to modified the exibhition app. With little improve we can adapt it. 2011/1/17 Massimo Di Pierro > It would be great is somebody could improve the appliance app to > handle plugin. Here is the source: > > http://www.web2py.com/appliances/static/web2py.app.appliances.w2p > > Massimo

Re: [web2py] Re: Plugin comments

2011-01-17 Thread Bruno Rocha
2011/1/17 Massimo Di Pierro > It would be great is somebody could improve the appliance app to > handle plugin. Here is the source: > I am working on a new *web2pyslices* my idea besides the new layout is to index every kind of slice related do web2py. I am planning a new layout and main areas

[web2py] Re: Plugin comments

2011-01-17 Thread Massimo Di Pierro
It would be great is somebody could improve the appliance app to handle plugin. Here is the source: http://www.web2py.com/appliances/static/web2py.app.appliances.w2p Massimo

[web2py] Re: [plugin] Plugin comments

2011-01-17 Thread Anthony
You should add it to http://www.web2py.com/plugins/. Actually, we should probably clean up the free plugins list -- maybe archive the outdated ones. On Monday, January 17, 2011 2:20:00 PM UTC-5, Martin.Mulone wrote: > http://martin.tecnodoc.com.ar/myblog/2011/01/17/plugin-comments-for-web2py >

[web2py] Re: Plugin management

2010-12-30 Thread Maurice Ling
Yes, I had been reading this very page and examined the codes in gluon/ tools.py It seems to me that PluginManager class is essentially a dictionary object but I do not see how that translates to how I can use it to allow users to install and uninstall plugins. At best it implies that I should ha

RE: [web2py] Re: plugin model execution order

2010-12-07 Thread Josh Jaques
Hey, Just wanted to say that I also ran into a situation recently where it would have been nice to insert a model before db.py, and I wished it was possible. Would be nice to allow 0_plugin_name folders as well. This communication, including any attachments, does not necessarily represent offi

[web2py] Re: plugin model execution order

2010-12-07 Thread mr.freeze
Ping! On Dec 5, 9:00 pm, "mr.freeze" wrote: > I am trying to create a widget plugin for > this:http://addyosmani.com/blog/the-missing-date-time-selector-for-jquery-ui/ > > I need my plugin model to execute before db.py so that it can be > applied to fields in db.py. > Would you take a patch to a

[web2py] Re: Plugin: many files on static/plugin folder

2010-11-25 Thread mdipierro
Fixed in trunk. Please try it. Massimo On Nov 25, 3:11 am, toan75 wrote: > Hi, > > In Version 1.89.5, I had this error when put many files in to static/ > plugin_xxx folder: > > File E:\web2py-XDCB\applications\admin\views\default\plugin.html in > at line 212 > IndexError: list index out of ran

[web2py] Re: plugin wiki on older aps?

2010-11-10 Thread mart
layout , eh? i"ll give it a go. I assume will be easier then better then me trying the photoshop thing... thanks again Mart :) On Nov 10, 2:10 pm, rochacbruno wrote: > You can try web2py.com/layouts > > Enviado via iPhone > > Em 10/11/2010, às 16:04, mart escreveu: > > > Works great! double t

Re: [web2py] Re: plugin wiki on older aps?

2010-11-10 Thread rochacbruno
You can try web2py.com/layouts Enviado via iPhone Em 10/11/2010, às 16:04, mart escreveu: > Works great! double thanks! she'll be thrilled, now I just need to > change the blueish-green header/footer to purple, then I can walk > away :) > > On Nov 10, 12:51 pm, mart wrote: >> ah, i see it! :

[web2py] Re: plugin wiki on older aps?

2010-11-10 Thread mart
Works great! double thanks! she'll be thrilled, now I just need to change the blueish-green header/footer to purple, then I can walk away :) On Nov 10, 12:51 pm, mart wrote: > ah, i see it! :) Great! I must have declined the "replace file?" while > dropping an updated filesset. > > thank you very

[web2py] Re: plugin wiki on older aps?

2010-11-10 Thread mart
ah, i see it! :) Great! I must have declined the "replace file?" while dropping an updated filesset. thank you very much for that! :) On Nov 10, 12:35 pm, Bruno Rocha wrote: > The newest > versionhttp://code.google.com/p/web2py/source/browse/applications/welcome/vi... > > 2010/11/10 Bruno Rocha

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-10-07 Thread ron_m
I have it working here and worked on it to improve the dictionary. It needs more work in the id field area because they are converted to an integer, also boolean fields which get represented as char(1) would become string. My testing has been to take the database produced by my model files and run

Re: [web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-10-07 Thread Ivan Matveev
>2010/10/7 DJ : > The legacy database to Web2py conversion would be a great add-on. I > get the following errors when I tried this script on a database with > tables having primary key 'id' set to autoincrement. > > C:\Program Files (x86)\web2py\scripts>extract_mysql_models.py > bio:b...@nrcf > Tra

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-10-06 Thread DJ
The legacy database to Web2py conversion would be a great add-on. I get the following errors when I tried this script on a database with tables having primary key 'id' set to autoincrement. C:\Program Files (x86)\web2py\scripts>extract_mysql_models.py bio:b...@nrcf Traceback (most recent call last

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-17 Thread ron_m
Program mysqldump produces a line like this for an id field `id` int(11) NOT NULL AUTO_INCREMENT, and because there is no special case processing int becomes integer. It looks like a possible solution would be to recognise AUTO_INCREMENT and for that case over ride the int translation to 'inte

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-17 Thread mdipierro
I see a problem here: Field('id','integer'), should be Field('id','id'), On Sep 9, 12:01 am, ron_m wrote: > On Sep 8, 1:30 pm, mdipierro wrote: > > > > So maybe tonight do you want me to go through the manual and find all > > > the missing datatypes and try to add them to the map? > >

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-17 Thread ron_m
The size of the data in the database shouldn't matter, it runs mysql to get the table list and then mysqldump on each table using the first output. This script needs some testing but the only way to test is pass more databases through it. It works well on my particular DB but yours has a new case

Re: [web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-16 Thread Johann Spies
How do I use this script? I gave a fairly complex and relatively large database (few hunderd thousand records) to try and use with web2py. When I run this script (the version that came with 1.85.2) I get: $ python extract_mysql_models.py user:pas...@kbase Traceback (most recent call last): Fi

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-10 Thread selecta
then GPL2 is fine with me On Sep 10, 4:19 pm, mdipierro wrote: > If the license is GPL3 I will not include it web2py. Can you make it > GPL2 or BSD? > > GPL3 conflicts with GPL2 becuase would not allow the use of the code > as a service and that is what web2py is about. > > Massimo > > On Sep 10,

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-10 Thread mdipierro
If the license is GPL3 I will not include it web2py. Can you make it GPL2 or BSD? GPL3 conflicts with GPL2 becuase would not allow the use of the code as a service and that is what web2py is about. Massimo On Sep 10, 8:11 am, selecta wrote: > > I turned this into a script in web2py/scripts in t

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-10 Thread selecta
wow I am impressed with the work you put into that little script that was just a byproduct for moving my legacy mysqldb to web2py :) thank you On Sep 9, 7:01 am, ron_m wrote: > On Sep 8, 1:30 pm, mdipierro wrote: > > > > So maybe tonight do you want me to go through the manual and find all > > >

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-10 Thread selecta
> I turned this into a script in web2py/scripts in trunk. What is the > license? I assume it is GPL or BSD but it should be stated. nice license is GPL3 or above ... actually I just use GPL all the time because I do not have a lawyer here to tell me the differences between the licences :) it should

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-08 Thread ron_m
On Sep 8, 1:30 pm, mdipierro wrote: > > So maybe tonight do you want me to go through the manual and find all > > the missing datatypes and try to add them to the map? > > I would not stop you. ;-) > Here is a replacement data_type_map, it was shuffled a bit to put like types together for easie

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-08 Thread mdipierro
> So maybe tonight do you want me to go through the manual and find all > the missing datatypes and try to add them to the map? I would not stop you. ;-) > There are > possibly some types that are not supported by web2py so not sure what > to do there. The other possible problem I see is fields

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-08 Thread ron_m
On Sep 8, 11:56 am, mdipierro wrote: > I think I fixed these. One more try? > I did a temporary add of the key "longtext," to get it to run further and found a key error mediumtext which also is at end of line with a comma so the regular expression parsing the line pulls out "mediumtext," as th

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-08 Thread ron_m
On Sep 8, 11:56 am, mdipierro wrote: > I think I fixed these. One more try? > > On Sep 8, 10:30 am, ron_m wrote: I think the re match still has a problem but it is closer. The fault is on a key error for "longtext," which should not be trying to match on the field type including the comma. Th

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-08 Thread mdipierro
I think I fixed these. One more try? On Sep 8, 10:30 am, ron_m wrote: > On Sep 8, 5:40 am, mdipierro wrote: > > > I think I fixed some of this in trunk. Could you print form me the > > line offending hit? If i see it I can fix the regular expression too. > > Thanks. > > I ran the new version fro

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-08 Thread ron_m
On Sep 8, 5:40 am, mdipierro wrote: > I think I fixed some of this in trunk. Could you print form me the > line offending hit? If i see it I can fix the regular expression too. > Thanks. > I ran the new version from trunk. The if hit!=None: line added at line 74 covers up the problem so now I ge

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-08 Thread mdipierro
I think I fixed some of this in trunk. Could you print form me the line offending hit? If i see it I can fix the regular expression too. Thanks. On Sep 8, 3:03 am, ron_m wrote: > On Sep 7, 5:10 pm, mdipierro wrote: > > > If you have a mysql database running locally, please help me test it. > > F

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-08 Thread ron_m
On Sep 7, 5:10 pm, mdipierro wrote: > If you have a mysql database running locally, please help me test it. > First problem I ran into Last line parameters are out of order on mysql() call so it outputs incorrect database URL string $ python scripts/extract_mysql_models.py user:p...@db_name use

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-07 Thread mdipierro
If you have a mysql database running locally, please help me test it. python script/extract_mysql_models.py username:passw...@database_name > applications/myapp/models/db_from_mysql.py Check applications/myapp/models/db_from_mysql.py. Did it work? On Sep 7, 5:47 pm, mdipierro wrote: > I turned

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-09-07 Thread mdipierro
I turned this into a script in web2py/scripts in trunk. What is the license? I assume it is GPL or BSD but it should be stated. Massimo On Aug 26, 5:36 pm, selecta wrote: > Create the web2py code needed to access yourmysqllegacydb. > > To make this work all thelegacytables you want to access nee

[web2py] Re: plugin wiki

2010-09-01 Thread david.waldrop
I am using web2py Version 1.82.1 (2010-08-05 01:00:12) . Will look at cube2py. does it replace theplugin wiki? On Aug 31, 9:16 am, Bruno Rocha wrote: > What is your web2py version? > > did you try cloning cube2py?http://code.google.com/p/cube2py/ > > 2010/8/31 david.waldrop > > > > > > > after

[web2py] Re: plugin wiki

2010-09-01 Thread mart
sounds good :) found trailmix (internotes wasn't compatible with my firefox version)... was thinking smething a little more "web2py app-ish" in the sense that i would be able to parse/view routing history with maybe something where I could search by "stop-over" (a semantic approach ?) like: {{high

Re: [web2py] Re: plugin wiki

2010-09-01 Thread Bruno Rocha
I am using InterNote firefox extension ( https://addons.mozilla.org/en-US/firefox/addon/2011/) it is a "post-it" tool, which you can include notes to webpages, alows various notes per page, I am using a lot to remind things in web2py.com/book You just have to keep your own "backup" of the notes!

[web2py] Re: plugin wiki

2010-09-01 Thread mart
Thanks to the both of you ! :) I remember seeing that there was a video a while back but seemed it was taken offline (my bad, should have checked again). So again, thanks for both the video and and pointer to the doc location which will help (wasn't up to chapter 13 yet ;) but will be now). BTW Ma

Re: [web2py] Re: plugin wiki

2010-09-01 Thread Bruno Rocha
plugin_wiki and cube2py has a list of widgets, there are "load_action" which made an ajax call to a Python function defined in the running app. per example, if you have an action in your controllers called 'list_names' in any page of plugin_wiki you can call this action using `` name: load_actio

[web2py] Re: plugin wiki

2010-09-01 Thread mdipierro
http://vimeo.com/13485916 On Sep 1, 9:11 am, mart wrote: > since we have a cube2py thread... thought I'd ask my here... I read > somewhere that we could integrate with existing web2py applications > (or it may have been with T3?). SO, the question is how do you do > that? can we, for example embe

[web2py] Re: plugin wiki

2010-09-01 Thread mart
since we have a cube2py thread... thought I'd ask my here... I read somewhere that we could integrate with existing web2py applications (or it may have been with T3?). SO, the question is how do you do that? can we, for example embed an existing app within the cube2py body (as opposed to redirectin

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-08-27 Thread mr.freeze
Nice! On Aug 26, 5:36 pm, selecta wrote: > Create the web2py code needed to access your mysql legacy db. > > To make this work all the legacy tables you want to access need to > have an "id" field. > > This plugin needs: > mysql > mysqldump > installed and globally available. > > Under Windows yo

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-08-27 Thread Dalen Kruse
Excellent! I was just coming up on a personal project that requires me to use a legacy database. I wasn't looking forward to writing the models myself. Thanks for this plugin. Dalen On Aug 26, 5:36 pm, selecta wrote: > Create the web2py code needed to access your mysql legacy db. > > To make

[web2py] Re: Plugin example

2010-08-20 Thread mdipierro
Please use the {{=plugin_wiki.widget('comments',)}} from plugin wiki instead. On Aug 20, 10:50 am, "lddn...@gmail.com" wrote: > I try the plugin comments example but it loads the content 2 times in > the same page. Dont know how to remove it.

[web2py] Re: plugin force-directed js graph

2010-05-03 Thread mdipierro
Nice. I can use this myself. On May 3, 8:53 am, selecta wrote: > I am proud to give you a plugin for displaying force directed graph > layouts > > The main code was written by my colleague Marvin (who is by now a > web2py adept). I wrapped it into a plugin. > > So far I found only two js packages

[web2py] Re: Plugin Attachments & mmodal

2010-04-15 Thread mdipierro
The location of the button is in html generated by models/ plugin_attachments.py you can edit it. The plugin should eventually be made more customizable. On Apr 15, 11:23 am, toan75 wrote: > Hi all, > > I love this plugin:http://web2py.com/plugins/default/attachments > How i can change for this

[web2py] Re: plugin tablewizard

2010-03-09 Thread mdipierro
nice On Mar 9, 4:57 am, selecta wrote: > Hi there, > I had the idea of creating a table wizard but after creating part of > it I realized that I will not need it after all. It is unfinished and > does not actually do much beyond showing the source code and the table > form. Lots of things to not

Re: [web2py] Re: Plugin system status

2010-03-07 Thread Thadeus Burgess
Good for me as well. -Thadeus On Sun, Mar 7, 2010 at 8:44 PM, mr.freeze wrote: > Perfect for me. > > On Mar 7, 8:43 pm, mdipierro wrote: >> Tuesday evening. What about 10pm Central Time? >> >> On Mar 7, 8:32 pm, "mr.freeze" wrote: >> >> > Are we still on for Tuesday? What time? I am anxiou

[web2py] Re: Plugin system status

2010-03-07 Thread mr.freeze
Perfect for me. On Mar 7, 8:43 pm, mdipierro wrote: > Tuesday evening. What about 10pm Central Time? > > On Mar 7, 8:32 pm, "mr.freeze" wrote: > > > Are we still on for Tuesday? What time? I am anxious to get the plugin > > spec finalized! > > > On Mar 2, 6:04 pm, "mr.freeze" wrote: > > > > Sou

[web2py] Re: Plugin system status

2010-03-07 Thread mdipierro
Tuesday evening. What about 10pm Central Time? On Mar 7, 8:32 pm, "mr.freeze" wrote: > Are we still on for Tuesday? What time? I am anxious to get the plugin > spec finalized! > > On Mar 2, 6:04 pm, "mr.freeze" wrote: > > > Sounds good to me. I'm available anytime after 6pm CST. > > > On Mar 2,

[web2py] Re: Plugin system status

2010-03-07 Thread mr.freeze
Are we still on for Tuesday? What time? I am anxious to get the plugin spec finalized! On Mar 2, 6:04 pm, "mr.freeze" wrote: > Sounds good to me. I'm available anytime after 6pm CST. > > On Mar 2, 1:19 pm, mdipierro wrote: > > > OK, let do this next week. It will be better for everybody. Tuesday

[web2py] Re: Plugin system status

2010-03-02 Thread mr.freeze
Sounds good to me. I'm available anytime after 6pm CST. On Mar 2, 1:19 pm, mdipierro wrote: > OK, let do this next week. It will be better for everybody. Tuesday > night? > > On Mar 2, 10:44 am, Thadeus Burgess wrote: > > > I too am swamped during the days. I would have to get permission from >

[web2py] Re: Plugin system status

2010-03-02 Thread mdipierro
OK, let do this next week. It will be better for everybody. Tuesday night? On Mar 2, 10:44 am, Thadeus Burgess wrote: > I too am swamped during the days. I would have to get permission from > the powers at be to participant in an afternoon chat. > > Evenings would be best, the later the better. I

Re: [web2py] Re: Plugin system status

2010-03-02 Thread Thadeus Burgess
I too am swamped during the days. I would have to get permission from the powers at be to participant in an afternoon chat. Evenings would be best, the later the better. I just moved, so I have not got my PC back up and running (hopefully I will by Friday) -Thadeus On Tue, Mar 2, 2010 at 6:2

[web2py] Re: Plugin system status

2010-03-01 Thread mr.freeze
Would it be possible to do in the evening or on the weekend? I'm hosed during business hours (even lunch). No worries if not, I can just send you my notes on some discoveries I've made while coding my own folder based plugin system. On Mar 1, 10:31 pm, mdipierro wrote: > It is a bad week. Probab

  1   2   >