web2py not working

157 views
Skip to first unread message

goome

unread,
May 15, 2013, 4:42:28 AM5/15/13
to web...@googlegroups.com
Hello
i use ubuntu 13.04 (server version)
uname -a
Linux ubu 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i686 GNU/Linux
I upgraded python from 2.7.3 to 2.7.4 (because of the known problem with 2.7.3 :
Now i don't getException AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",))
Now this problem with the tread is disappeared but still web2py is not working.
From the shell i got:
 GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

Any suggestion?
Thanks

Niphlod

unread,
May 15, 2013, 4:56:07 AM5/15/13
to web...@googlegroups.com
are you sure it's not a problem on starting firefox ?

what happens if you try to start web2py with web2py.py -a arandompassword ?

Marcello Console

unread,
May 15, 2013, 5:11:26 AM5/15/13
to web...@googlegroups.com
i tried with web2py.py -a arandompassword
I didn't get the previos message, and got instedad
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2013
Version 2.4.6-stable+timestamp.2013.04.06.17.37.38
Database drivers available: SQLite(sqlite3), MySQL(pymysql), MySQL(MySQLdb), PostgreSQL(psycopg2), PostgreSQL(pg8000), MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), IMAP(imaplib)
please visit:
        http://127.0.0.1:8000/
use "kill -SIGTERM 3230" to shutdown the web2py server
"""
which i suppose mean that web2py should be working. But still is not accesible,neither with firefox, nor w3m nor telnet:
 w3m http://127.0.0.1:8000/
w3m: Can't load http://127.0.0.1:8000/.
 telnet localhost 8000
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection timed out



2013/5/15 Niphlod <nip...@gmail.com>

--
 
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/A4hAEvwl1-U/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Niphlod

unread,
May 15, 2013, 7:04:43 AM5/15/13
to web...@googlegroups.com
perfect, so that traceback was for starting firefox..... now, a further step: are connections to 8000 allowed by your firewall ?

goome

unread,
May 16, 2013, 6:36:05 AM5/16/13
to web...@googlegroups.com

You got the point! It was the firewall.Well, i have not yet understood why i have to open manually the port, it seems to me that it should be already open, (as far as i see with iptables -L. Maybe in ubuntu there are rules that are not set and not listed by iptables?).

When i start web2py WITH the password (default), i still got that messsage i mentioned (GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed), but web2py seems working anyway.
Thanks a lot
and i beg your pardon for my post

Monte Milanuk

unread,
May 17, 2013, 11:53:51 PM5/17/13
to web...@googlegroups.com
I'm getting a very similar error when starting web2py from the CLI in Xubuntu 13.04:

monte@machin-shin:~/web2py$ python web2py.py 
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2013
Version 2.4.6-stable+timestamp.2013.04.06.17.37.38
Database drivers available: SQLite(sqlite3), MySQL(pymysql), PostgreSQL(pg8000), IMAP(imaplib)
starting browser...

(process:20509): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed


web2py appears to start and run normally, with no noticeable problems.

Ricardo Pedroso

unread,
May 18, 2013, 7:14:01 AM5/18/13
to web...@googlegroups.com

It's a firefox bug, no worries... There are bug reports in mozilla and ubuntu.
So probably next time you update firefox it will be fixed.

Ricardo


--
 
---
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+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages