Hello,
I'm setting up web2py on a Mac OS X 10.5.8
with Python 2.7.2
I have so far done these steps:
1. create VENV with no_site_packages
2. activate VENV
3. run: pip install web2py
4. run: pip install mercurial
5. run: w2p_clone from VENV
6. launch web2py with: python ./web2py/web2py.py
At step 6 I get this output:
(web2py)mac ~/Data/Envs/web2py: python ./web2py/web2py.py
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2013
Version 2.8.2-stable+timestamp.2013.12.19.20.24.40
Database drivers available: SQLite(sqlite3), MySQL(pymysql),
PostgreSQL(pg8000), MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc),
Ingres(pyodbc), IMAP(imaplib)
Traceback (most recent call last):
File "./web2py/web2py.py", line 33, in <module>
gluon.widget.start(cron=True)
File "/Users/danielnogues/Data/Envs/web2py/web2py/gluon/widget.py", line
1183, in start
master = web2pyDialog(root, options)
File "/Users/danielnogues/Data/Envs/web2py/web2py/gluon/widget.py", line
156, in __init__
self.root.tk.call('wm', 'iconphoto', self.root._w, img)
_tkinter.TclError: bad option "iconphoto": must be aspect, attributes,
client, colormapwindows, command, deiconify, focusmodel, frame, geometry,
grid, group, iconbitmap, iconify, iconmask, iconname, iconposition,
iconwindow, maxsize, minsize, overrideredirect, positionfrom, protocol,
resizable, sizefrom, stackorder, state, title, transient, or withdraw
The code says:
iconphoto = os.path.join('extras','icons','web2py.gif')
if os.path.exists(iconphoto):
img = Tkinter.PhotoImage(file=iconphoto)
self.root.tk.call('wm', 'iconphoto', self.root._w, img)
So I rename web2py.gif to web2py.gif.old and the Framework runs.
Is this a bug ? Do I need to install something in particular in my virtual
environment ? Here's my requirements file:
mercurial==2.8.1
web2py==2.1.1
wsgiref==0.1.2
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.