Error When starting new RAPIDSMS PROJECT

31 views
Skip to first unread message

alioune dia

unread,
May 19, 2010, 7:29:49 AM5/19/10
to rapidsms@googlegroups.com rapidsms@googlegroups.com
Hi  all
I got an error  when I 'am trying  to start new  rapidsms  project .
I dont know  what  happen  , can someone  help me please .
Here are the traceback .

best
--
Alioune


alioune@alioune-laptop:~/wara_projects$ rapidsms startproject wara_projects
Traceback (most recent call last):
  File "/usr/local/bin/rapidsms", line 4, in <module>
    import pkg_resources
  File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 2603, in <module>
   
  File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 666, in require
   
  File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 565, in resolve
    error that occurred. Usually this will be a ``DistributionNotFound`` or
pkg_resources.DistributionNotFound: setuptools-git




  



Votre vie privée l'est-elle vraiment ? Internet Explorer 8 vous protège gratuitement !

--
You received this message because you are subscribed to the Google Groups "rapidsms" group.
To post to this group, send email to rapi...@googlegroups.com.
To unsubscribe from this group, send email to rapidsms+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rapidsms?hl=en.

alioune dia

unread,
May 19, 2010, 8:12:21 AM5/19/10
to rapidsms@googlegroups.com rapidsms@googlegroups.com
Hi all

I solved the first problem  that I got , but  now I am on the step
of creating new app  using
 1 .python prapidms  startapp  test
And Get The  following travceback



----
alioune@alioune-laptop:~/WARA_SEMINAIRE/rapidsms$ python rapidsms startapp test

Traceback (most recent call last):
  File "rapidsms", line 30, in <module>
    manager.start(sys.argv)
  File "/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/manager.py", line 134, in start
    handler(conf, *args[2:])
  File "/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/manager.py", line 56, in startapp
    shutil.copytree(self._skeleton("app"), target)
  File "/usr/lib/python2.6/shutil.py", line 140, in copytree
    names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/skeleton/app'
alioune@alioune-laptop:~/WARA_SEMINAIRE/rapidsms$

----

Best


 



Vous voulez protéger votre vie privée ? La solution avec Internet Explorer 8

Ukang'a Dickson

unread,
May 19, 2010, 8:28:49 AM5/19/10
to rapidsms
We got a similar error sometime back and Moses posted the solution on this thread http://tinyurl.com/292h3ep

Regards

Ukang'a Dickson

alioune dia

unread,
May 19, 2010, 8:42:53 AM5/19/10
to rapidsms@googlegroups.com rapidsms@googlegroups.com
Hi  all
Effectivly  when I go to the directory
(/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/skeleton)
I found an slkeleton project  but not an skeleton app .

What is wrong in my new installation?

I put again  the error that I get when starting new application whith

python rapidms  startapp  test



--
alioune@alioune-laptop:~/WARA_SEMINAIRE/rapidsms$ python rapidsms startapp test
Traceback (most recent call last):
  File "rapidsms", line 30, in <module>
    manager.start(sys.argv)
  File "/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/manager.py", line 134, in start
    handler(conf, *args[2:])
  File "/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/manager.py", line 56, in startapp
    shutil.copytree(self._skeleton("app"), target)
  File "/usr/lib/python2.6/shutil.py", line 140, in copytree
    names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/skeleton/app'
alioune@alioune-laptop:~/WARA_SEMINAIRE/rapidsms$



---

Best









Votre vie privée l'est-elle vraiment ? Internet Explorer 8 vous protège gratuitement !

--

alioune dia

unread,
May 19, 2010, 9:19:15 AM5/19/10
to rapidsms@googlegroups.com rapidsms@googlegroups.com
Hi Dickson

Thank , things  works  now

Best
Alioune Dia


Date: Wed, 19 May 2010 15:28:49 +0300
Subject: Re: Error When starting new RAPIDSMS PROJECT
From: uka...@gmail.com
To: rapi...@googlegroups.com

tanmay_iiitd

unread,
Jun 22, 2010, 8:23:29 AM6/22/10
to rapidsms
hi all
even im gettin the same error adn its nt getting resolved by adding
that /skeleton/app*.py
can u help me out??

On May 19, 5:42 pm, alioune dia <dial...@hotmail.com> wrote:
> Hi  all
> Effectivly  when I go to the directory
> (/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/skeleton)
> I found an slkeleton project  but not an skeleton app .
>
> What is wrong in my new installation?
>
> I put again  the error that I get when starting new application whith
>
> python rapidms  startapp  test
>
> --
> alioune@alioune-laptop:~/WARA_SEMINAIRE/rapidsms$ python rapidsms startapp test
> Traceback (most recent call last):
>   File "rapidsms", line 30, in <module>
>     manager.start(sys.argv)
>   File "/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/manager.py", line 134, in start
>     handler(conf, *args[2:])
>   File "/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/manager.py", line 56, in startapp
>     shutil.copytree(self._skeleton("app"), target)
>   File "/usr/lib/python2.6/shutil.py", line 140, in copytree
>     names = os.listdir(src)
> OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/dist-packages/rapidsms-0.1-py2.6.egg/rapidsms/skeleton/app'
> alioune@alioune-laptop:~/WARA_SEMINAIRE/rapidsms$
>
> ---
>
> Best
>
> _________________________________________________________________
> La boîte mail NOW Génération vous permet de réunir toutes vos boîtes mail dans Hotmail !http://www.windowslive.fr/hotmail/nowgeneration/

Cory Zue

unread,
Jun 22, 2010, 9:54:05 AM6/22/10
to rapidsms
Did you try the workaround suggested by Ukang'a?

> We got a similar error sometime back and Moses posted the solution on this thread http://tinyurl.com/292h3ep

Cory

alioune dia

unread,
Jun 22, 2010, 11:11:07 AM6/22/10
to rapi...@googlegroups.com
Hello tanmay

I got a similar Problem , but by doing the fix of Mose and  In  Addition , you should put  _app_  skeleton into your skeleton dir  as you done with  _project_ skeleton .

Cory has given you the link,



2010/6/22 tanmay_iiitd <tanmay...@gmail.com>

hi all
even im gettin the same error adn its nt getting resolved by adding
that /skeleton/app*.py
can u help me out??

Alioune Dia 
Message has been deleted

Alioune Dia

unread,
May 5, 2013, 11:25:57 AM5/5/13
to rapi...@googlegroups.com
Hi


2013/5/5 jewenyene <kuristoc...@gmail.com>
Hi. can you share please how you solved this problem ?
I'm having the same problem.



I'Am not sure , but It seem Like you are working with an old rapidsms
version, this Probleme seem very old and i suspect you are not upgrade
you rapidsms version ? Here is where you can find it .
https://github.com/rapidsms 

—Ad
 

Reply all
Reply to author
Forward
0 new messages