Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-10 Thread Josh Cartmell
No worries, and that sounds good


On Wed, Apr 9, 2014 at 5:59 PM, Kyle Pennell kpenn...@gmail.com wrote:

 This thread is turning into a monster.  I'll start a new one for this
 specific FABRIC question if that's ok.


 On Wednesday, April 9, 2014 7:45:26 PM UTC-5, Kyle Pennell wrote:

 Basically hitting this:

 out: abort: repository /opt/vanilla_mezz/project not found!

 Can't figure out why it can't find it.  Can't figure out the right path
 to set in the PROJECT_NAME

 At least, that's what I think is throwing it off.

 On Wednesday, April 9, 2014 6:27:57 PM UTC-5, Kyle Pennell wrote:

 Sorry for being vague:

 Was thinking something like this:
 ├── deploy
 │   ├── crontab
 │   ├── gunicorn.conf.py
 │   ├── live_settings.py
 │   ├── nginx.conf
 │   └── supervisor.conf
 ├── dev.db
 ├── fabfile.py
 ├── __init__.py
 ├── __init__.pyc
 ├── local_settings.py
 ├── local_settings.pyc
 ├── manage.py
 ├── requirements.txt
 ├── settings.py
 ├── settings.pyc
 ├── static
 │   ├── admin
 │   ├── css
 │   ├── filebrowser
 │   ├── fonts
 │   ├── grappelli
 │   ├── img
 │   ├── js
 │   ├── media
 │   ├── mezzanine
 │   ├── robots.txt
 │   └── test
 ├── urls.py
 ├── urls.pyc
 └── wsgi.py


 Could make the fabric settings even easier.  Make sure I have the app in
 the right place.

 On Wednesday, April 9, 2014 6:21:56 PM UTC-5, Josh Cartmell wrote:

 I'm not sure I understand your question, this is the repo I deployed:
 https://bitbucket.org/joshcartme/vanilla_mezz/src/
 89e8ec26735fa6dade72af9a2cc936052d08fd3f?at=default

 Is that what you were looking for?


 On Wed, Apr 9, 2014 at 4:16 PM, Kyle Pennell kpen...@gmail.com wrote:

 Hey Josh,
 Would it be possible for you to send me the Tree Document Structure
 where Vanilla_mezz is?  I could then double check I have things in the
 right place.


 On Friday, April 4, 2014 2:18:42 PM UTC-6, Josh Cartmell wrote:

 what if you run:

 sudo cat /etc/default/locale

 I'm at a bit of a loss, never seen that error before =/


 On Fri, Apr 4, 2014 at 11:41 AM, Kyle Pennell kpen...@gmail.comwrote:

 fab settings seems to be right there as well:


  REQUIREMENTS_PATH: requirements.txt, # Path to pip
 requirements, relativ$
  GUNICORN_PORT: 8000, # Port gunicorn will listen on
  LOCALE: en_US.UTF-8, # Should end with .UTF-8
  LIVE_HOSTNAME: www.ahalearning.co, # Host for public site.


 On Friday, April 4, 2014 12:09:35 PM UTC-6, Kyle Pennell wrote:

 root@kpennell:/opt/myenv/mezzanine_app# fab all
 [107.170.215.138] Executing task 'all'

 ---
 all
 ---


 ---
 install
 ---


 $ cat /etc/default/locale -


 Fatal error: sudo() encountered an error (return code 1) while
 executing 'cat /etc/default/locale'

 Aborting.
 Disconnecting from 107.170.215.138... done.
 root@kpennell:/opt/myenv/mezzanine_app# nano /etc/default/locale

   GNU nano 2.2.6File: /etc/default/locale


 LANG=en_US.UTF-8





 Here's what I'm seeing.  The file seems to exist.

 On Thursday, April 3, 2014 11:34:24 AM UTC-6, Matthew Summers wrote:

 Does that file exist?

  --
 You received this message because you are subscribed to the Google
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to mezzanine-use...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to the Google
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to mezzanine-use...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-09 Thread Kyle Pennell
Mathew, thank you.  That was totally my bad.  Didn't follow the 
instructions well enough that Josh laid out.  I needed to change root in 
visudo to the user I created.

On Saturday, April 5, 2014 8:54:35 AM UTC-6, Matthew Summers wrote:

 You might also check that the user you connect with via ssh is in the 
 sudoers group and/or file. 


 -- 
 M. Summers 

 ...there are no rules here -- we're trying to accomplish something. 
   - Thomas A. Edison 


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-09 Thread Kyle Pennell
Hey Josh,
Would it be possible for you to send me the Tree Document Structure where 
Vanilla_mezz is?  I could then double check I have things in the right 
place.

On Friday, April 4, 2014 2:18:42 PM UTC-6, Josh Cartmell wrote:

 what if you run:

 sudo cat /etc/default/locale

 I'm at a bit of a loss, never seen that error before =/


 On Fri, Apr 4, 2014 at 11:41 AM, Kyle Pennell kpen...@gmail.comjavascript:
  wrote:

 fab settings seems to be right there as well:


  REQUIREMENTS_PATH: requirements.txt, # Path to pip 
 requirements, relativ$
  GUNICORN_PORT: 8000, # Port gunicorn will listen on
  LOCALE: en_US.UTF-8, # Should end with .UTF-8
  LIVE_HOSTNAME: www.ahalearning.co, # Host for public site.


 On Friday, April 4, 2014 12:09:35 PM UTC-6, Kyle Pennell wrote:

 root@kpennell:/opt/myenv/mezzanine_app# fab all
 [107.170.215.138] Executing task 'all'

 ---
 all
 ---


 ---
 install
 ---


 $ cat /etc/default/locale -


 Fatal error: sudo() encountered an error (return code 1) while executing 
 'cat /etc/default/locale'

 Aborting.
 Disconnecting from 107.170.215.138... done.
 root@kpennell:/opt/myenv/mezzanine_app# nano /etc/default/locale

   GNU nano 2.2.6File: /etc/default/locale   
 

 LANG=en_US.UTF-8





 Here's what I'm seeing.  The file seems to exist.

 On Thursday, April 3, 2014 11:34:24 AM UTC-6, Matthew Summers wrote:

 Does that file exist? 

  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-09 Thread Kyle Pennell
This thread is turning into a monster.  I'll start a new one for this 
specific FABRIC question if that's ok.

On Wednesday, April 9, 2014 7:45:26 PM UTC-5, Kyle Pennell wrote:

 Basically hitting this:

 out: abort: repository /opt/vanilla_mezz/project not found!

 Can't figure out why it can't find it.  Can't figure out the right path to 
 set in the PROJECT_NAME

 At least, that's what I think is throwing it off.

 On Wednesday, April 9, 2014 6:27:57 PM UTC-5, Kyle Pennell wrote:

 Sorry for being vague:

 Was thinking something like this:
 ├── deploy
 │   ├── crontab
 │   ├── gunicorn.conf.py
 │   ├── live_settings.py
 │   ├── nginx.conf
 │   └── supervisor.conf
 ├── dev.db
 ├── fabfile.py
 ├── __init__.py
 ├── __init__.pyc
 ├── local_settings.py
 ├── local_settings.pyc
 ├── manage.py
 ├── requirements.txt
 ├── settings.py
 ├── settings.pyc
 ├── static
 │   ├── admin
 │   ├── css
 │   ├── filebrowser
 │   ├── fonts
 │   ├── grappelli
 │   ├── img
 │   ├── js
 │   ├── media
 │   ├── mezzanine
 │   ├── robots.txt
 │   └── test
 ├── urls.py
 ├── urls.pyc
 └── wsgi.py


 Could make the fabric settings even easier.  Make sure I have the app in 
 the right place.

 On Wednesday, April 9, 2014 6:21:56 PM UTC-5, Josh Cartmell wrote:

 I'm not sure I understand your question, this is the repo I deployed:

 https://bitbucket.org/joshcartme/vanilla_mezz/src/89e8ec26735fa6dade72af9a2cc936052d08fd3f?at=default

 Is that what you were looking for?


 On Wed, Apr 9, 2014 at 4:16 PM, Kyle Pennell kpen...@gmail.com wrote:

 Hey Josh,
 Would it be possible for you to send me the Tree Document Structure 
 where Vanilla_mezz is?  I could then double check I have things in the 
 right place.


 On Friday, April 4, 2014 2:18:42 PM UTC-6, Josh Cartmell wrote:

 what if you run:

 sudo cat /etc/default/locale

 I'm at a bit of a loss, never seen that error before =/


 On Fri, Apr 4, 2014 at 11:41 AM, Kyle Pennell kpen...@gmail.comwrote:

 fab settings seems to be right there as well:


  REQUIREMENTS_PATH: requirements.txt, # Path to pip 
 requirements, relativ$
  GUNICORN_PORT: 8000, # Port gunicorn will listen on
  LOCALE: en_US.UTF-8, # Should end with .UTF-8
  LIVE_HOSTNAME: www.ahalearning.co, # Host for public site.


 On Friday, April 4, 2014 12:09:35 PM UTC-6, Kyle Pennell wrote:

 root@kpennell:/opt/myenv/mezzanine_app# fab all
 [107.170.215.138] Executing task 'all'

 ---
 all
 ---


 ---
 install
 ---


 $ cat /etc/default/locale -


 Fatal error: sudo() encountered an error (return code 1) while 
 executing 'cat /etc/default/locale'

 Aborting.
 Disconnecting from 107.170.215.138... done.
 root@kpennell:/opt/myenv/mezzanine_app# nano /etc/default/locale

   GNU nano 2.2.6File: /etc/default/locale   
 

 LANG=en_US.UTF-8





 Here's what I'm seeing.  The file seems to exist.

 On Thursday, April 3, 2014 11:34:24 AM UTC-6, Matthew Summers wrote:

 Does that file exist? 

  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to mezzanine-use...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to mezzanine-use...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-04 Thread Kyle Pennell
Hey Josh,
The file is there and it seems to be right.

On Thursday, April 3, 2014 10:27:53 AM UTC-6, Josh Cartmell wrote:

 Hmm, I'm not sure about that one, what happens if you manually execute 
 that command on the server?


 On Thu, Apr 3, 2014 at 6:34 AM, Kyle Pennell kpen...@gmail.comjavascript:
  wrote:

 Thanks, Josh. That cleared that.  I'm surprised Googling didn't yield the 
 same advice (pip install future).  Oh well.

 Last problem is this pesky:

 [107.170.215.138] Executing task 'all'

 ---

 all

 ---

 ---

 install

 ---

 $ cat /etc/default/locale -

 Fatal error: sudo() encountered an error (return code 1) while executing 
 'cat /etc/default/locale'



 any ideas why it would have problems with locale?

 On Wednesday, April 2, 2014 3:44:27 PM UTC-6, Josh Cartmell wrote:

 No worries, I would just try reinstalling it and also trying explicitly 
 installing future, so:
 pip install future
 pip install fabric


 On Wed, Apr 2, 2014 at 2:29 PM, Kyle Pennell kpen...@gmail.com wrote:

 Also checked outside of my virtualenv:

 root@kpennell:/opt/myenv/mezzanine_app# python
 Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
 [GCC 4.6.3] on linux2
 Type help, copyright, credits or license for more information.
  

 2.7.3


 Sorry for the non-stop assault of questions, Josh.

 On Wednesday, April 2, 2014 3:18:58 PM UTC-6, Kyle Pennell wrote:

 Removed the discus comment so as to not make more work.

 On Wednesday, April 2, 2014 3:14:55 PM UTC-6, Kyle Pennell wrote:

 I'm using 2.7


 (myenv)root@kpennell:/opt/myenv# python
 Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
 [GCC 4.6.3] on linux2
 Type help, copyright, credits or license for more 
 information.
  


 hmm..


 On Wednesday, April 2, 2014 2:12:13 PM UTC-6, Josh Cartmell wrote:

 Are you using Python 3?  If so you can't use it with fabric and need 
 to use 2.  If you are using python 2 try reinstalling fabric, 
 deactivating 
 and reactivating your virtualenv.


 On Wed, Apr 2, 2014 at 11:37 AM, Kyle Pennell kpen...@gmail.comwrote:

 Hey Josh,
 I just hit this after running that tutorial.  Any idea what I might 
 need to change?


 On Friday, March 21, 2014 3:05:23 PM UTC-6, Josh Cartmell wrote:

 Hey Ziwei, you are correct, fabric doesn't currently support 
 python 3.  Per http://docs.fabfile.org/en/1.8/ is works with 
 2.5-2.7.
  

 On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou ziwe...@gmail.comwrote:

  Hi

 Is the current fabfile.py working in python 3 environment? I 
 tried to run fab under python 2.7 and got the error about 

 Traceback (most recent call last):

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, 
 line 632, in main

 docstring, callables, default = load_fabfile(fabfile)

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, 
 line 164, in load_fabfile

 imported = importer(os.path.splitext(fabfile)[0])

   File /sites/trip/code/tour/fabfile.py, line 3, in module

 from future.builtins import input, open

 *ImportError: No module named future.builtins*

 After I upgrade to python 3.3, fab through out the same error 
 message.  It seems fabric is still not python 3.3 compatible. 

 Anyone has the same issue? 

 Regards,

  -- 
 You received this message because you are subscribed to the 
 Google Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to mezzanine-use...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to mezzanine-use...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to mezzanine-use...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-04 Thread Kyle Pennell
root@kpennell:/opt/myenv/mezzanine_app# fab all
[107.170.215.138] Executing task 'all'

---
all
---


---
install
---


$ cat /etc/default/locale -


Fatal error: sudo() encountered an error (return code 1) while executing 
'cat /etc/default/locale'

Aborting.
Disconnecting from 107.170.215.138... done.
root@kpennell:/opt/myenv/mezzanine_app# nano /etc/default/locale

  GNU nano 2.2.6File: /etc/default/locale   


LANG=en_US.UTF-8





Here's what I'm seeing.  The file seems to exist.

On Thursday, April 3, 2014 11:34:24 AM UTC-6, Matthew Summers wrote:

 Does that file exist? 


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-04 Thread Kyle Pennell
fab settings seems to be right there as well:


  REQUIREMENTS_PATH: requirements.txt, # Path to pip requirements, 
 relativ$
  GUNICORN_PORT: 8000, # Port gunicorn will listen on
  LOCALE: en_US.UTF-8, # Should end with .UTF-8
  LIVE_HOSTNAME: www.ahalearning.co, # Host for public site.


On Friday, April 4, 2014 12:09:35 PM UTC-6, Kyle Pennell wrote:

 root@kpennell:/opt/myenv/mezzanine_app# fab all
 [107.170.215.138] Executing task 'all'

 ---
 all
 ---


 ---
 install
 ---


 $ cat /etc/default/locale -


 Fatal error: sudo() encountered an error (return code 1) while executing 
 'cat /etc/default/locale'

 Aborting.
 Disconnecting from 107.170.215.138... done.
 root@kpennell:/opt/myenv/mezzanine_app# nano /etc/default/locale

   GNU nano 2.2.6File: /etc/default/locale 
   

 LANG=en_US.UTF-8





 Here's what I'm seeing.  The file seems to exist.

 On Thursday, April 3, 2014 11:34:24 AM UTC-6, Matthew Summers wrote:

 Does that file exist? 



-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-04 Thread Josh Cartmell
what if you run:

sudo cat /etc/default/locale

I'm at a bit of a loss, never seen that error before =/


On Fri, Apr 4, 2014 at 11:41 AM, Kyle Pennell kpenn...@gmail.com wrote:

 fab settings seems to be right there as well:


  REQUIREMENTS_PATH: requirements.txt, # Path to pip requirements,
 relativ$
  GUNICORN_PORT: 8000, # Port gunicorn will listen on
  LOCALE: en_US.UTF-8, # Should end with .UTF-8
  LIVE_HOSTNAME: www.ahalearning.co, # Host for public site.


 On Friday, April 4, 2014 12:09:35 PM UTC-6, Kyle Pennell wrote:

 root@kpennell:/opt/myenv/mezzanine_app# fab all
 [107.170.215.138] Executing task 'all'

 ---
 all
 ---


 ---
 install
 ---


 $ cat /etc/default/locale -


 Fatal error: sudo() encountered an error (return code 1) while executing
 'cat /etc/default/locale'

 Aborting.
 Disconnecting from 107.170.215.138... done.
 root@kpennell:/opt/myenv/mezzanine_app# nano /etc/default/locale

   GNU nano 2.2.6File: /etc/default/locale


 LANG=en_US.UTF-8





 Here's what I'm seeing.  The file seems to exist.

 On Thursday, April 3, 2014 11:34:24 AM UTC-6, Matthew Summers wrote:

 Does that file exist?

  --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-03 Thread Kyle Pennell
Thanks, Josh. That cleared that.  I'm surprised Googling didn't yield the 
same advice (pip install future).  Oh well.

Last problem is this pesky:

[107.170.215.138] Executing task 'all'

---

all

---

---

install

---

$ cat /etc/default/locale -

Fatal error: sudo() encountered an error (return code 1) while executing 
'cat /etc/default/locale'



any ideas why it would have problems with locale?

On Wednesday, April 2, 2014 3:44:27 PM UTC-6, Josh Cartmell wrote:

 No worries, I would just try reinstalling it and also trying explicitly 
 installing future, so:
 pip install future
 pip install fabric


 On Wed, Apr 2, 2014 at 2:29 PM, Kyle Pennell kpen...@gmail.comjavascript:
  wrote:

 Also checked outside of my virtualenv:

 root@kpennell:/opt/myenv/mezzanine_app# python
 Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
 [GCC 4.6.3] on linux2
 Type help, copyright, credits or license for more information.
  

 2.7.3


 Sorry for the non-stop assault of questions, Josh.

 On Wednesday, April 2, 2014 3:18:58 PM UTC-6, Kyle Pennell wrote:

 Removed the discus comment so as to not make more work.

 On Wednesday, April 2, 2014 3:14:55 PM UTC-6, Kyle Pennell wrote:

 I'm using 2.7


 (myenv)root@kpennell:/opt/myenv# python
 Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
 [GCC 4.6.3] on linux2
 Type help, copyright, credits or license for more information.
  


 hmm..


 On Wednesday, April 2, 2014 2:12:13 PM UTC-6, Josh Cartmell wrote:

 Are you using Python 3?  If so you can't use it with fabric and need 
 to use 2.  If you are using python 2 try reinstalling fabric, 
 deactivating 
 and reactivating your virtualenv.


 On Wed, Apr 2, 2014 at 11:37 AM, Kyle Pennell kpen...@gmail.comwrote:

 Hey Josh,
 I just hit this after running that tutorial.  Any idea what I might 
 need to change?


 On Friday, March 21, 2014 3:05:23 PM UTC-6, Josh Cartmell wrote:

 Hey Ziwei, you are correct, fabric doesn't currently support python 
 3.  Per http://docs.fabfile.org/en/1.8/ is works with 2.5-2.7.
  

 On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou ziwe...@gmail.comwrote:

  Hi

 Is the current fabfile.py working in python 3 environment? I tried 
 to run fab under python 2.7 and got the error about 

 Traceback (most recent call last):

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, 
 line 632, in main

 docstring, callables, default = load_fabfile(fabfile)

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, 
 line 164, in load_fabfile

 imported = importer(os.path.splitext(fabfile)[0])

   File /sites/trip/code/tour/fabfile.py, line 3, in module

 from future.builtins import input, open

 *ImportError: No module named future.builtins*

 After I upgrade to python 3.3, fab through out the same error 
 message.  It seems fabric is still not python 3.3 compatible. 

 Anyone has the same issue? 

 Regards,

  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to mezzanine-use...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to mezzanine-use...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-03 Thread Matthew Summers
Does that file exist?

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-02 Thread Kyle Pennell
Hey Josh,
I just hit this after running that tutorial.  Any idea what I might need to 
change?

On Friday, March 21, 2014 3:05:23 PM UTC-6, Josh Cartmell wrote:

 Hey Ziwei, you are correct, fabric doesn't currently support python 3.  
 Per http://docs.fabfile.org/en/1.8/ is works with 2.5-2.7.


 On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou ziwe...@gmail.comjavascript:
  wrote:

 Hi

 Is the current fabfile.py working in python 3 environment? I tried to run 
 fab under python 2.7 and got the error about 

 Traceback (most recent call last):

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 632, 
 in main

 docstring, callables, default = load_fabfile(fabfile)

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 164, 
 in load_fabfile

 imported = importer(os.path.splitext(fabfile)[0])

   File /sites/trip/code/tour/fabfile.py, line 3, in module

 from future.builtins import input, open

 *ImportError: No module named future.builtins*

 After I upgrade to python 3.3, fab through out the same error message. 
  It seems fabric is still not python 3.3 compatible. 

 Anyone has the same issue? 

 Regards,

  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-02 Thread Josh Cartmell
Are you using Python 3?  If so you can't use it with fabric and need to use
2.  If you are using python 2 try reinstalling fabric, deactivating and
reactivating your virtualenv.


On Wed, Apr 2, 2014 at 11:37 AM, Kyle Pennell kpenn...@gmail.com wrote:

 Hey Josh,
 I just hit this after running that tutorial.  Any idea what I might need
 to change?


 On Friday, March 21, 2014 3:05:23 PM UTC-6, Josh Cartmell wrote:

 Hey Ziwei, you are correct, fabric doesn't currently support python 3.
 Per http://docs.fabfile.org/en/1.8/ is works with 2.5-2.7.


 On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou ziwe...@gmail.com wrote:

  Hi

 Is the current fabfile.py working in python 3 environment? I tried to
 run fab under python 2.7 and got the error about

 Traceback (most recent call last):

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line
 632, in main

 docstring, callables, default = load_fabfile(fabfile)

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line
 164, in load_fabfile

 imported = importer(os.path.splitext(fabfile)[0])

   File /sites/trip/code/tour/fabfile.py, line 3, in module

 from future.builtins import input, open

 *ImportError: No module named future.builtins*

 After I upgrade to python 3.3, fab through out the same error message.
  It seems fabric is still not python 3.3 compatible.

 Anyone has the same issue?

 Regards,

  --
 You received this message because you are subscribed to the Google
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to mezzanine-use...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-02 Thread Kyle Pennell
I'm using 2.7


 (myenv)root@kpennell:/opt/myenv# python
 Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
 [GCC 4.6.3] on linux2
 Type help, copyright, credits or license for more information.
  


hmm..


On Wednesday, April 2, 2014 2:12:13 PM UTC-6, Josh Cartmell wrote:

 Are you using Python 3?  If so you can't use it with fabric and need to 
 use 2.  If you are using python 2 try reinstalling fabric, deactivating and 
 reactivating your virtualenv.


 On Wed, Apr 2, 2014 at 11:37 AM, Kyle Pennell kpen...@gmail.comjavascript:
  wrote:

 Hey Josh,
 I just hit this after running that tutorial.  Any idea what I might need 
 to change?


 On Friday, March 21, 2014 3:05:23 PM UTC-6, Josh Cartmell wrote:

 Hey Ziwei, you are correct, fabric doesn't currently support python 3.  
 Per http://docs.fabfile.org/en/1.8/ is works with 2.5-2.7.
  

 On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou ziwe...@gmail.com wrote:

  Hi

 Is the current fabfile.py working in python 3 environment? I tried to 
 run fab under python 2.7 and got the error about 

 Traceback (most recent call last):

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 
 632, in main

 docstring, callables, default = load_fabfile(fabfile)

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 
 164, in load_fabfile

 imported = importer(os.path.splitext(fabfile)[0])

   File /sites/trip/code/tour/fabfile.py, line 3, in module

 from future.builtins import input, open

 *ImportError: No module named future.builtins*

 After I upgrade to python 3.3, fab through out the same error message. 
  It seems fabric is still not python 3.3 compatible. 

 Anyone has the same issue? 

 Regards,

  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to mezzanine-use...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-02 Thread Kyle Pennell
Removed the discus comment so as to not make more work.

On Wednesday, April 2, 2014 3:14:55 PM UTC-6, Kyle Pennell wrote:

 I'm using 2.7


 (myenv)root@kpennell:/opt/myenv# python
 Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
 [GCC 4.6.3] on linux2
 Type help, copyright, credits or license for more information.
  


 hmm..


 On Wednesday, April 2, 2014 2:12:13 PM UTC-6, Josh Cartmell wrote:

 Are you using Python 3?  If so you can't use it with fabric and need to 
 use 2.  If you are using python 2 try reinstalling fabric, deactivating and 
 reactivating your virtualenv.


 On Wed, Apr 2, 2014 at 11:37 AM, Kyle Pennell kpen...@gmail.com wrote:

 Hey Josh,
 I just hit this after running that tutorial.  Any idea what I might need 
 to change?


 On Friday, March 21, 2014 3:05:23 PM UTC-6, Josh Cartmell wrote:

 Hey Ziwei, you are correct, fabric doesn't currently support python 3.  
 Per http://docs.fabfile.org/en/1.8/ is works with 2.5-2.7.
  

 On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou ziwe...@gmail.com wrote:

  Hi

 Is the current fabfile.py working in python 3 environment? I tried to 
 run fab under python 2.7 and got the error about 

 Traceback (most recent call last):

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 
 632, in main

 docstring, callables, default = load_fabfile(fabfile)

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 
 164, in load_fabfile

 imported = importer(os.path.splitext(fabfile)[0])

   File /sites/trip/code/tour/fabfile.py, line 3, in module

 from future.builtins import input, open

 *ImportError: No module named future.builtins*

 After I upgrade to python 3.3, fab through out the same error message. 
  It seems fabric is still not python 3.3 compatible. 

 Anyone has the same issue? 

 Regards,

  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to mezzanine-use...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to mezzanine-use...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-02 Thread Kyle Pennell
Also checked outside of my virtualenv:

root@kpennell:/opt/myenv/mezzanine_app# python
Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
[GCC 4.6.3] on linux2
Type help, copyright, credits or license for more information.
 

2.7.3


Sorry for the non-stop assault of questions, Josh.

On Wednesday, April 2, 2014 3:18:58 PM UTC-6, Kyle Pennell wrote:

 Removed the discus comment so as to not make more work.

 On Wednesday, April 2, 2014 3:14:55 PM UTC-6, Kyle Pennell wrote:

 I'm using 2.7


 (myenv)root@kpennell:/opt/myenv# python
 Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
 [GCC 4.6.3] on linux2
 Type help, copyright, credits or license for more information.
  


 hmm..


 On Wednesday, April 2, 2014 2:12:13 PM UTC-6, Josh Cartmell wrote:

 Are you using Python 3?  If so you can't use it with fabric and need to 
 use 2.  If you are using python 2 try reinstalling fabric, deactivating and 
 reactivating your virtualenv.


 On Wed, Apr 2, 2014 at 11:37 AM, Kyle Pennell kpen...@gmail.com wrote:

 Hey Josh,
 I just hit this after running that tutorial.  Any idea what I might 
 need to change?


 On Friday, March 21, 2014 3:05:23 PM UTC-6, Josh Cartmell wrote:

 Hey Ziwei, you are correct, fabric doesn't currently support python 
 3.  Per http://docs.fabfile.org/en/1.8/ is works with 2.5-2.7.
  

 On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou ziwe...@gmail.comwrote:

  Hi

 Is the current fabfile.py working in python 3 environment? I tried to 
 run fab under python 2.7 and got the error about 

 Traceback (most recent call last):

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 
 632, in main

 docstring, callables, default = load_fabfile(fabfile)

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 
 164, in load_fabfile

 imported = importer(os.path.splitext(fabfile)[0])

   File /sites/trip/code/tour/fabfile.py, line 3, in module

 from future.builtins import input, open

 *ImportError: No module named future.builtins*

 After I upgrade to python 3.3, fab through out the same error 
 message.  It seems fabric is still not python 3.3 compatible. 

 Anyone has the same issue? 

 Regards,

  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to mezzanine-use...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  -- 
 You received this message because you are subscribed to the Google 
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to mezzanine-use...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-03-21 Thread Josh Cartmell
Hey Ziwei, you are correct, fabric doesn't currently support python 3.  Per
http://docs.fabfile.org/en/1.8/ is works with 2.5-2.7.


On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou ziweiz...@gmail.com wrote:

 Hi

 Is the current fabfile.py working in python 3 environment? I tried to run
 fab under python 2.7 and got the error about

 Traceback (most recent call last):

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 632,
 in main

 docstring, callables, default = load_fabfile(fabfile)

   File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 164,
 in load_fabfile

 imported = importer(os.path.splitext(fabfile)[0])

   File /sites/trip/code/tour/fabfile.py, line 3, in module

 from future.builtins import input, open

 *ImportError: No module named future.builtins*

 After I upgrade to python 3.3, fab through out the same error message.  It
 seems fabric is still not python 3.3 compatible.

 Anyone has the same issue?

 Regards,

  --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-03-16 Thread Ziwei Zhou
Hi

Is the current fabfile.py working in python 3 environment? I tried to run 
fab under python 2.7 and got the error about 

Traceback (most recent call last):

  File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 632, 
in main

docstring, callables, default = load_fabfile(fabfile)

  File /usr/local/lib/python2.7/dist-packages/fabric/main.py, line 164, 
in load_fabfile

imported = importer(os.path.splitext(fabfile)[0])

  File /sites/trip/code/tour/fabfile.py, line 3, in module

from future.builtins import input, open

*ImportError: No module named future.builtins*

After I upgrade to python 3.3, fab through out the same error message.  It 
seems fabric is still not python 3.3 compatible. 

Anyone has the same issue? 

Regards,

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.