Using trunk, please try the -Q option. No more splash screen. On Dec 29, 12:23 pm, Delaney <delaneygilli...@gmail.com> wrote: > My testing show that having a "taskbar=True" in the options.py results > in thesplashscreen and the taskbar icon > However using 'web2py_no_console.exe -t -L options.py ' results in not > having thesplashscreen but also not the taskbar icon as well. Task > Manager shows the exe actually running in the background. > > With my limited understanding of the web2py source it looks like its > only being called from web2py/gluon/widget.py from 273-302 and I'm not > seeing anything the would disable it because of using the command > line versus the options.py file. Not sure where to go with this. > > On a seperate note are there any instructions/guides on how to use > py2exe with the web2py source? Doesn't seem like 'python setup_exe.py > py2exe' works out of the box. > > On Dec 28, 3:25 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > It is hard to test this for me since I do not have windows. There > > should not be asplashscreen when running with -t if options.py is > > present. I would take a patch to fix this. > > > On Dec 28, 2:21 pm, Delaney <delaneygilli...@gmail.com> wrote: > > > > That doesn't seem to be true if you combine with -t option. For > > > web2py.exe as well. > > > > On Dec 28, 11:32 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > Not sure if this is what you are asking but if you run web2py.exe with > > > > -a 'password' there will be nosplashscreen. Not sure about > > > > web2py_no_console.exe since i do not use windows and I never tried it > > > > myself. > > > > > Massimo > > > > > On Dec 28, 1:04 pm, Delaney <delaneygilli...@gmail.com> wrote: > > > > > > Yep, with a few more things (profiler_filename, ssl, etc) the options > > > > > file works! > > > > > > On last thing. Since this is a backend that a non-techy will run (as > > > > > the 'server' at a expo kiosk) is there anyway to either disable or > > > > > modify thesplashscreen for the web2py_no_console.exe -t at > > > > > startup. I have no problem having a 'Powered by Web2py on thesplash > > > > > screen but having no control to show its 'my app' USING web2py makes > > > > > it confusing and not as finished a project. Also would be nice to be > > > > > able to change the icon displayed as well, which I know is hardcoded > > > > > at the moment. > > > > > > Any thoughts Massimo? > > > > > > On Dec 28, 10:40 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > > you need these in options.py > > > > > > > extcron = None > > > > > > nocron = None > > > > > > > On Dec 28, 12:20 pm, Delaney <delaneygilli...@gmail.com> wrote: > > > > > > > > Thanks... This works as a param on the command line ''' start > > > > > > > web2py_no_console.exe -t -a "<recycle>" -p 80 -i 0.0.0.0 ''' > > > > > > > > But if create a options.py with > > > > > > > > import socket,os > > > > > > > ip = '0.0.0.0' > > > > > > > port = 80 > > > > > > > taskbar = True > > > > > > > password = '<recycle>' > > > > > > > folder = os.getcwd() > > > > > > > server_name = socket.gethostname() > > > > > > > > I get... > > > > > > > > >web2py.exe -L options.py > > > > > > > > default applications appear to be installed already > > > > > > > web2py Enterprise Web Framework > > > > > > > Created by Massimo Di Pierro, Copyright 2007-2009 > > > > > > > Version 1.72.3 (2009-11-10 09:17:13) > > > > > > > Database drivers available: SQLite3, MySQL > > > > > > > Starting cron... > > > > > > > Traceback (most recent call last): > > > > > > > File "web2py.py", line 5, in <module> > > > > > > > File "gluon/widget.py", line 779, in start > > > > > > > AttributeError: 'module' object has no attribute 'extcron' > > > > > > > > Note this happens with a options.py with even just 'port=80' in > > > > > > > it. > > > > > > > Is there something else I'm missing? > > > > > > > > On Dec 28, 9:57 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > > > > If you use the built-in web server, when you start it, serve > > > > > > > > from > > > > > > > > 0.0.0.0 > > > > > > > > > On Dec 28, 11:39 am, Delaney <delaneygilli...@gmail.com> wrote: > > > > > > > > > > I'm using web2py for an intranet but notice that in the > > > > > > > > > default config > > > > > > > > > web2py does not handle all requests to the port you serve > > > > > > > > > from. > > > > > > > > > Basically I want to accept connections from > > > > > > > > > 'localhost','127.0.0.1','whatevermyhostnameis','etc' all on > > > > > > > > > say port > > > > > > > > > 80 of the server. I know how to set this up but can't seem > > > > > > > > > to find > > > > > > > > > the right page explaining it in the manual. I see on page > > > > > > > > > 111 it > > > > > > > > > talks about the 'options_std.py' file but doesn't explain if > > > > > > > > > for > > > > > > > > > example you can set the ip to for example > > > > > > > > > ['127.0.0.1','192.168.0.1'] > > > > > > > > > or hostname to [socket.gethostname(),'localhost'] > > > > > > > > > > Any help would be appreciated... Thanks! > >
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.