Why dont you use a javascript library for the graph? This way you dont have problems with with windows/linux
2013/3/6 Alec Taylor <alec.tayl...@gmail.com> > For Windows PyDot is the native Python solution; which unlike > PyGraphViz; doesn't require C extensions built. > > Will have a go at abstracting the implementation so either can be used > first chance I get (probably not starting for another 7 days) > > On Wed, Mar 6, 2013 at 6:16 AM, Derek <sp1d...@gmail.com> wrote: > > Eh, I'd rather have it not shown unless it actually does something. It's > > poor software design if you have a button which just gives you an error > > message. > > > > > > On Tuesday, March 5, 2013 10:48:27 AM UTC-7, LightDot wrote: > >> > >> I know of some users that made it work on windows, so it wouldn't be > >> enough to just check the OS. Also, if the button is hidden in case the > lib > >> import fails, then new users would never see it and be reminded that > they > >> can install the library and use it. > >> > >> In both cases, the button serves a cause, IMHO. > >> > >> Regards, > >> Ales > >> > >> On Tuesday, March 5, 2013 6:27:09 PM UTC+1, Derek wrote: > >>> > >>> Tried to 'graph models' on a windows machine, old apps get the error: > >>> > >>>> invalid function (appadmin/graph_model) > >>> > >>> > >>> Created a new app from the wizard, clicked 'graph models' > >>> > >>>> pygraphviz library not found > >>> > >>> > >>> Tried to install pygraphviz on Windows (after installing Graphviz), get > >>> this message: > >>> > >>>> Your Graphviz installation could not be found. > >>> > >>> > >>> And the reason why: > >>> > >>>> 3) You are using Windows > >>>> There are no PyGraphviz binary packages for Windows but you might > be > >>>> able to build it from this source. See > >>>> http://networkx.lanl.gov/pygraphviz/reference/faq.html > >>> > >>> > >>> So, can we have it disable the 'graph models' if you are running on > >>> Windows? > >>> > >>> Thanks! > >>> > >>> On Sunday, March 3, 2013 8:38:19 PM UTC-7, Massimo Di Pierro wrote: > >>>> > >>>> The book will be out shortly describing this version. > >>>> I am sure there are some corners to iron but I could not wait any > >>>> longer. > >>>> > >>>> Changelog: > >>>> > >>>> - 2D GEO API: geoPoint, getLine, geoPolygon > >>>> - support for 'json' field type in DAL > >>>> - schema export with db.as_json/as_xml, thanks Alan > >>>> - graph representation of models > >>>> - admin based on bootstrap, thanks Paolo > >>>> - support for semantic versioning > >>>> - new bootstrap based admin, thanks Paolo > >>>> - improved scheduler (and change in scheduler field names), thanks > >>>> Niphlod > >>>> - graphiz support added to adm, thanks Jose > >>>> - on_failure in grid > >>>> - db.table.field.abs() > >>>> - better wiki > >>>> - geoPoint, getLine, geoPolygon > >>>> - better reporting of 500 ajax errors > >>>> - better grid > >>>> - improved/fixed mongodb support > >>>> - improved parse_as_rest(patterns=...), thanks Denes > >>>> - improved IMAP DAL support, thanks Alan > >>>> - improved security when cookies in sessions > >>>> - Row.as_xml, as_json, as_dict, as_yaml thanks Alan > >>>> - smarted custom_import > >>>> - setup-ubuntu-12-04-redmine-unicorn-web2py-uwsgi-nginx.sh > >>>> - added support for motor and pulsar servers, thanks Niphlod > >>>> - added json-rpc2 support > >>>> - added pypyodbc.py driver > >>>> - allow auth.settings.ondelete='CASCADE' > >>>> - new syntax IS_EXPR(lambda value: ... > >>>> - using google for QR codes (although Graph API will be deprecated in > >>>> 2015) > >>>> - upgraded fpdf to 1.7.1 > >>>> - bug fixes (including issues with calendar.js and archive tables) > > > > -- > > > > --- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to web2py+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.