Skip to content

Instantly share code, notes, and snippets.

View byroncorrales's full-sized avatar

Byron Corrales byroncorrales

View GitHub Profile
python manage.py migrate --all
Running migrations for blog:
- Migrating forwards to 0002_auto__del_fotoportada.
> blog:0002_auto__del_fotoportada
! Error found during real run of migration! Aborting.
! Since you have a database that does not support running
! schema-altering statements in transactions, we have had
! to leave it in an interim state between migrations.
@import url(jquery.autocomplete.css);body{background:#FFF;font-size:14px;line-height:150%;margin:0;padding:0;color:#000;font-family:Arial}div{margin:0 auto;padding:0}h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,form,img,p{margin:0;padding:0;border:0}label{vertical-align:middle}hr{border:0;border-top:1px dashed #ccccce}input,select{vertical-align:middle;font-family:Trebuchet MS,"segoe ui",Helvetica,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;margin-left:0}textarea:focus,input:focus{outline:0}iframe{border:0}p{font-size:14px;line-height:140%;margin-bottom:6px}a{color:#1b79bd;text-decoration:none;cursor:pointer}h2{font-size:21px;padding:3px 0 3px 5px}h3{font-size:19px;padding:3px 0 3px 5px}ul{list-style:disc;margin-left:20px;padding-left:0;margin-bottom:1em}ol{list-style:decimal;margin-left:30px;margin-bottom:1em;padding-left:0}td ul{vertical-align:middle}li input{margin:3px 3px 4px 3px}pre{font-family:Consolas,Monaco,Liberation Mono,Lucida Console,Monospace;font-size:100%;margin-bottom:10px;background-color:#f5f5f5;pa
test_user_18 subscribed to followed questions
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Library/Python/2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
[9:11:24] bcorrales:askbot-devel git:(master) $ askbot-setup
Deploying Askbot - Django Q&A forum application
Problems installing? -> please email admin@askbot.org
To CANCEL - hit Ctr-C at any time
Where deploy the forum (directory)? Ctrl-C to quit. /Users/bcorrales/code/django/personal/askbot-mac
Please enter a value for database password:root
Please enter a value for database name:askbotmac
Please enter a value for domain name:localhost
AttributeError at /
'NoneType' object has no attribute 'endswith'
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.3.1
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'endswith'
Exception Location: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py in join, line 68
Python Executable: /usr/bin/python
error at /accounts/register/
[Errno 61] Connection refused
Request Method: POST
Request URL: http://localhost:8000/accounts/register/
Django Version: 1.3.1
Exception Type: error
Exception Value:
[Errno 61] Connection refused
Exception Location: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py in create_connection, line 571
Python Executable: /usr/bin/python
[13:21:18] bcorrales:simas $ sudo chown bcorrales:staff oxfam
Password:
[13:28:35] bcorrales:simas $ sudo chmod -R 644 oxfam
[13:29:05] bcorrales:simas $ cd oxfam
cd:cd:10: permission denied: oxfam
[13:29:08] bcorrales:simas $ ls -l
total 25848
-rwxrwxrwx 1 bcorrales staff 50723 Oct 1 2010 20101001_SummerTemperatures.pdf
drwxr-xr-x 2 bcorrales staff 68 Jan 16 15:45 MonitoreoSimas
-rwxrwxrwx 1 bcorrales staff 839466 Jul 30 2010 achuapa.sql
[13:21:17] bcorrales:simas $ ls -l
total 25848
-rwxrwxrwx 1 bcorrales staff 50723 Oct 1 2010 20101001_SummerTemperatures.pdf
drwxr-xr-x 2 bcorrales staff 68 Jan 16 15:45 MonitoreoSimas
-rwxrwxrwx 1 bcorrales staff 839466 Jul 30 2010 achuapa.sql
drwxrwxrwx 8 bcorrales staff 272 Oct 11 15:00 acicafoc
drwxrwxrwx 6 bcorrales staff 204 Mar 28 2011 addac
drwxrwxrwx 5 bcorrales staff 170 Dec 17 2010 aguasan
-rwxrwxrwx 1 bcorrales staff 122416 Jun 15 2010 aguasan15-jun.sql
drwxrwxrwx 46 bcorrales staff 1564 Dec 17 2010 albastryde
[13:18:34] bcorrales:simas $ chmod -R 644 oxfam
chmod: oxfam/.git: Permission denied
chmod: oxfam/.gitignore: Permission denied
chmod: oxfam/.project: Permission denied
chmod: oxfam/.pydevproject: Permission denied
chmod: oxfam/AUTHORS: Permission denied
chmod: oxfam/oxfam: Permission denied
chmod: oxfam/README: Permission denied
chmod: oxfam/requirements.txt: Permission denied
chmod: oxfam: Permission denied
[13:11:46] bcorrales:oxfam git:(master*) $ git diff
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/.project b/.project
old mode 100644
new mode 100755
diff --git a/.pydevproject b/.pydevproject
old mode 100644
new mode 100755