Hi..
I run it from /webcap directory
the content of the directory is dev.cfg, pro.cfg, webcap,
webcap.egg-info, setup.py and webcap-start.py.
I run it (tg-admin update) from correctly directory ?
I'm not sure what is happening your running into this code
227 def run(self):
228 "Updates an existing project"
229 self.name = turbogears.util.get_project_name()
234 currentdir = os.path.basename(os.getcwd())
235 if not currentdir == self.name:
236 print 'it looks like your project dir "%s" is named wrongly. Please rename it to "%s"' %(currentdir, self.name)
237 return
I just run (line by line) in one of my projects and it's working fine.
fire up tg-admin shell and run lines 229 and 234, well the func calls they do.
227 def run(self):
228 "Updates an existing project"
229 self.name = turbogears.util.get_project_name()
234 currentdir = os.path.basename(os.getcwd())
235 if not currentdir == self.name:
236 print 'it looks like your project dir "%s" is named wrongly. Please rename it to "%s"' %(currentdir, self.name)
237 return
I just run (line by line) in one of my projects and it's working fine.
fire up tg-admin shell and run lines 229 and 234, well the func calls they do.
thanks for help.
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr119963cwa;
Mon, 22 May 2006 04:21:57 -0700 (PDT)
X-Google-Token: 14KxGwwAAABYi5qCwHs8S4iD6cuNrYFu
Received: from 200.146.37.218 by i40g2000cwc.googlegroups.com with HTTP;
Mon, 22 May 2006 11:21:57 +0000 (UTC)
From: "Leonardo" < [EMAIL PROTECTED]>
To: "TurboGears" <[email protected]>
Subject: Re: tg-admin update (is named wrongly)
Date: Mon, 22 May 2006 11:21:57 -0000
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: < [EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain
Hi..
I run it from /webcap directory
the content of the directory is dev.cfg, pro.cfg, webcap,
webcap.egg-info, setup.py and webcap-start.py.
I run it (tg-admin update) from correctly directory ?
thanks for help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] Re: tg-admin update (is named wrongly) Jorge Vargas
- [TurboGears] Re: tg-admin update (is named wrongly) Leonardo
- [TurboGears] Re: tg-admin update (is named wrongly) Jorge Vargas
- [TurboGears] Re: tg-admin update (is named wrong... Leonardo
- [TurboGears] Re: tg-admin update (is named w... Jorge Vargas
- [TurboGears] Re: tg-admin update (is na... Tim Lesher
- [TurboGears] Re: tg-admin update (i... Jorge Vargas
- [TurboGears] Re: tg-admin updat... Tim Lesher

