List Info

Thread: cometd-twisted: No module named path




cometd-twisted: No module named path
country flaguser name
United States
2007-07-11 13:49:09
Hello all,

I am new to cometd and I am having some issues that I am
hopeing
someone can help me with.

I followed the sets listed in the post:
http://groups.google.com/group/
cometd-users/browse_thread/thread/f4b4c4b31d6e12ac

Now when I run:
twistd -noy cometd.tac

or more percisley:
/System/Library/Frameworks/Python.framework/Versions/2.3/bin
/twistd -
noy cometd.tac

I get the following error:
Failed to load application: No module named path

I will post the full output at the bottom of this message.

Does anyone have any clue what is happening and how I can
get this
working?
Thanks in advance!

------

~/Code/ShortBus/trunk/cometd-twisted dallas$
/System/Library/
Frameworks/Python.framework/Versions/2.3/bin/twistd -noy
cometd.tac
2007/07/11 11:48 MST [-] Log opened.
2007/07/11 11:48 MST [-] twistd 2.4.0 (/usr/bin/python
2.3.5) starting
up
2007/07/11 11:48 MST [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2007/07/11 11:48 MST [-] Loading cometd.tac...
2007/07/11 11:48 MST [-] Traceback (most recent call last):
2007/07/11 11:48 MST [-]   File
"/System/Library/Frameworks/
Python.framework/Versions/2.3/lib/python2.3/site-packages/tw
isted/
application/app.py", line 159, in getApplication
2007/07/11 11:48 MST [-]     application =
service.loadApplication(filename, style, passphrase)
2007/07/11 11:48 MST [-]   File
"/System/Library/Frameworks/
Python.framework/Versions/2.3/lib/python2.3/site-packages/tw
isted/
application/service.py", line 301, in loadApplication
2007/07/11 11:48 MST [-]     application =
sob.loadValueFromFile(filename, 'application', passphrase)
2007/07/11 11:48 MST [-]   File
"/System/Library/Frameworks/
Python.framework/Versions/2.3/lib/python2.3/site-packages/tw
isted/
persisted/sob.py", line 206, in loadValueFromFile
2007/07/11 11:48 MST [-]     exec fileObj in d, d
2007/07/11 11:48 MST [-]   File "cometd.tac", line
31, in ?
2007/07/11 11:48 MST [-]     from path import path
2007/07/11 11:48 MST [-] ImportError: No module named path
2007/07/11 11:48 MST [-] Failed to load application: No
module named
path
2007/07/11 11:48 MST [-] Traceback (most recent call last):
          File
"/System/Library/Frameworks/Python.framework/Versions/
2.3/bin/twistd", line 25, in ?
            run()
          File
"/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/scripts/twistd.py&qu
ot;, line 205,
in run
            app.run(runApp, ServerOptions)
          File
"/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/application/app.py&q
uot;, line 278,
in run
            runApp(config)
          File
"/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/scripts/twistd.py&qu
ot;, line 195,
in runApp
            application = app.getApplication(config,
passphrase)
        --- <exception caught here> ---
          File
"/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/application/app.py&q
uot;, line 159,
in getApplication
            application = service.loadApplication(filename,
style,
passphrase)
          File
"/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/application/service.
py", line
301, in loadApplication
            application = sob.loadValueFromFile(filename,
'application', passphrase)
          File
"/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/persisted/sob.py&quo
t;, line 206,
in loadValueFromFile
            exec fileObj in d, d
          File "cometd.tac", line 31, in ?
            from path import path
        exceptions.ImportError: No module named path


Failed to load application: No module named path
2007/07/11 11:48 MST [-]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-users" group.
To post to this group, send email to cometd-usersgooglegroups.com
To unsubscribe from this group, send email to
cometd-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/cometd-users

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---


Re: cometd-twisted: No module named path
user name
2007-07-11 14:16:32
Its probably due to a dead link in setup_dependencies.sh for the path module. (I am also new and had the same problem.) You can find the path module here:
http://cheeseshop.python.org/packages/source/p/path.py/

Install and try again.

Good luck.

mike

On 7/11/07, dbrownport21.com"> dbrownport21.com < dbrownport21.com">dbrownport21.com> wrote:

Hello all,

I am new to cometd and I am having some issues that I am hopeing
someone can help me with.

I followed the sets listed in the post:
http://groups.google.com/group/cometd-users/browse_thread/thread/f4b4c4b31d6e12ac

Now when I run:
twistd -noy cometd.tac

or more percisley:
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/twistd -
noy cometd.tac

I get the following error:
Failed to load application: No module named path

I will post the full output at the bottom of this message.

Does anyone have any clue what is happening and how I can get this
working?
Thanks in advance!

------

~/Code/ShortBus/trunk/cometd-twisted dallas$ /System/Library/
Frameworks/Python.framework/Versions/2.3/bin/twistd -noy cometd.tac
2007/07/11 11:48 MST [-] Log opened.
2007/07/11 11:48 MST [-] twistd 2.4.0 (/usr/bin/python 2.3.5) starting
up
2007/07/11 11:48 MST [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'&gt;
2007/07/11 11:48 MST [-] Loading cometd.tac...
2007/07/11 11:48 MST [-] Traceback (most recent call last):
2007/07/11 11:48 MST [-] &nbsp; File "/System/Library/Frameworks/
Python.framework/Versions/2.3/lib/python2.3/site-packages/twisted/
application/app.py&quot;, line 159, in getApplication
2007/07/11 11:48 MST [-] &nbsp;   application =
service.loadApplication(filename, style, passphrase)
2007/07/11 11:48 MST [-] &nbsp; File "/System/Library/Frameworks/
Python.framework/Versions/2.3/lib/python2.3/site-packages/twisted/
application/service.py", line 301, in loadApplication
2007/07/11 11:48 MST [-] &nbsp;   application =
sob.loadValueFromFile(filename, 'application', passphrase)
2007/07/11 11:48 MST [-] &nbsp; File "/System/Library/Frameworks/
Python.framework/Versions/2.3/lib/python2.3/site-packages/twisted/
persisted/sob.py&quot;, line 206, in loadValueFromFile
2007/07/11 11:48 MST [-] &nbsp;   exec fileObj in d, d
2007/07/11 11:48 MST [-] &nbsp; File " cometd.tac&quot;, line 31, in ?
2007/07/11 11:48 MST [-] &nbsp;   from path import path
2007/07/11 11:48 MST [-] ImportError: No module named path
2007/07/11 11:48 MST [-] Failed to load application: No module named
path
2007/07/11 11:48 MST [-] Traceback (most recent call last):
&nbsp; &nbsp; &nbsp;   ; &nbsp;File "/System/Library/Frameworks/Python.framework/Versions/
2.3/bin/twistd&quot;, line 25, in ?
 &nbsp; &nbsp;   ; &nbsp; &nbsp; run()
 &nbsp;   ; &nbsp; &nbsp; File "/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/scripts/twistd.py&quot;, line 205,
in run
   ; &nbsp; &nbsp; &nbsp; &nbsp; app.run(runApp, ServerOptions)
   ; &nbsp; &nbsp; &nbsp; File "/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/application/app.py&quot;, line 278,
in run
   ; &nbsp; &nbsp; &nbsp; &nbsp; runApp(config)
 &nbsp;   ; &nbsp; &nbsp; File "/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/scripts/twistd.py&quot;, line 195,
in runApp
&nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;application = app.getApplication(config, passphrase)
 &nbsp; &nbsp; &nbsp;  --- <exception caught here> ---
   ; &nbsp; &nbsp; &nbsp; File "/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/application/app.py&quot;, line 159,
in getApplication
   ; &nbsp; &nbsp; &nbsp; &nbsp; application = service.loadApplication(filename, style,
passphrase)
&nbsp; &nbsp;   ; &nbsp; &nbsp;File "/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/application/service.py", line
301, in loadApplication
 ; &nbsp; &nbsp; &nbsp; &nbsp;   ;application = sob.loadValueFromFile(filename,
'application', passphrase)
 &nbsp; &nbsp; &nbsp;   ; File "/System/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/persisted/sob.py&quot;, line 206,
in loadValueFromFile
&nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;exec fileObj in d, d
 &nbsp; &nbsp;   ; &nbsp; File "cometd.tac";, line 31, in ?
 &nbsp; &nbsp;   ; &nbsp; &nbsp; from path import path
 ; &nbsp; &nbsp; &nbsp; exceptions.ImportError: No module named path


Failed to load application: No module named path
2007/07/11 11:48 MST [-]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cometd-users&quot; group.
To post to this group, send email to cometd-usersgooglegroups.com
To unsubscribe from this group, send email to cometd-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/cometd-users

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---

Re: cometd-twisted: No module named path
country flaguser name
United States
2007-07-11 14:51:15
That fixed it!

Thank you!


On Jul 11, 12:16 pm, "Michael Mayfield"
<mmfi...gmail.com> wrote:
> Its probably due to a dead link in
setup_dependencies.sh for the path
> module. (I am also new and had the same problem.) You
can find the path
> module here:http://cheeseshop.python.org/packages/source/p/path.py/
>
> Install and try again.
>
> Good luck.
>
> mike
>
> On 7/11/07, dbr...port21.com <dbr...port21.com> wrote:
>
>
>
> > Hello all,
>
> > I am new to cometd and I am having some issues
that I am hopeing
> > someone can help me with.
>
> > I followed the sets listed in the post:
>
> >http://groups.google.com/group/cometd-us
ers/browse_thread/thread/f4b4...
>
> > Now when I run:
> > twistd -noy cometd.tac
>
> > or more percisley:
> >
/System/Library/Frameworks/Python.framework/Versions/2.3/bin
/twistd -
> > noy cometd.tac
>
> > I get the following error:
> > Failed to load application: No module named path
>
> > I will post the full output at the bottom of this
message.
>
> > Does anyone have any clue what is happening and
how I can get this
> > working?
> > Thanks in advance!
>
> > ------
>
> > ~/Code/ShortBus/trunk/cometd-twisted dallas$
/System/Library/
> >
Frameworks/Python.framework/Versions/2.3/bin/twistd -noy
cometd.tac
> > 2007/07/11 11:48 MST [-] Log opened.
> > 2007/07/11 11:48 MST [-] twistd 2.4.0
(/usr/bin/python 2.3.5) starting
> > up
> > 2007/07/11 11:48 MST [-] reactor class: <class
> >
'twisted.internet.selectreactor.SelectReactor'>
> > 2007/07/11 11:48 MST [-] Loading cometd.tac...
> > 2007/07/11 11:48 MST [-] Traceback (most recent
call last):
> > 2007/07/11 11:48 MST [-]   File
"/System/Library/Frameworks/
> >
Python.framework/Versions/2.3/lib/python2.3/site-packages/tw
isted/
> > application/app.py", line 159, in
getApplication
> > 2007/07/11 11:48 MST [-]     application =
> > service.loadApplication(filename, style,
passphrase)
> > 2007/07/11 11:48 MST [-]   File
"/System/Library/Frameworks/
> >
Python.framework/Versions/2.3/lib/python2.3/site-packages/tw
isted/
> > application/service.py", line 301, in
loadApplication
> > 2007/07/11 11:48 MST [-]     application =
> > sob.loadValueFromFile(filename, 'application',
passphrase)
> > 2007/07/11 11:48 MST [-]   File
"/System/Library/Frameworks/
> >
Python.framework/Versions/2.3/lib/python2.3/site-packages/tw
isted/
> > persisted/sob.py", line 206, in
loadValueFromFile
> > 2007/07/11 11:48 MST [-]     exec fileObj in d, d
> > 2007/07/11 11:48 MST [-]   File
"cometd.tac", line 31, in ?
> > 2007/07/11 11:48 MST [-]     from path import
path
> > 2007/07/11 11:48 MST [-] ImportError: No module
named path
> > 2007/07/11 11:48 MST [-] Failed to load
application: No module named
> > path
> > 2007/07/11 11:48 MST [-] Traceback (most recent
call last):
> >           File
"/System/Library/Frameworks/Python.framework/Versions/
> > 2.3/bin/twistd", line 25, in ?
> >             run()
> >           File
"/System/Library/Frameworks/Python.framework/Versions/
> >
2.3/lib/python2.3/site-packages/twisted/scripts/twistd.py&qu
ot;, line 205,
> > in run
> >             app.run(runApp, ServerOptions)
> >           File
"/System/Library/Frameworks/Python.framework/Versions/
> >
2.3/lib/python2.3/site-packages/twisted/application/app.py&q
uot;, line 278,
> > in run
> >             runApp(config)
> >           File
"/System/Library/Frameworks/Python.framework/Versions/
> >
2.3/lib/python2.3/site-packages/twisted/scripts/twistd.py&qu
ot;, line 195,
> > in runApp
> >             application =
app.getApplication(config, passphrase)
> >         --- <exception caught here> ---
> >           File
"/System/Library/Frameworks/Python.framework/Versions/
> >
2.3/lib/python2.3/site-packages/twisted/application/app.py&q
uot;, line 159,
> > in getApplication
> >             application =
service.loadApplication(filename, style,
> > passphrase)
> >           File
"/System/Library/Frameworks/Python.framework/Versions/
> >
2.3/lib/python2.3/site-packages/twisted/application/service.
py", line
> > 301, in loadApplication
> >             application =
sob.loadValueFromFile(filename,
> > 'application', passphrase)
> >           File
"/System/Library/Frameworks/Python.framework/Versions/
> >
2.3/lib/python2.3/site-packages/twisted/persisted/sob.py&quo
t;, line 206,
> > in loadValueFromFile
> >             exec fileObj in d, d
> >           File "cometd.tac", line 31, in
?
> >             from path import path
> >         exceptions.ImportError: No module named
path
>
> > Failed to load application: No module named path
> > 2007/07/11 11:48 MST [-]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-users" group.
To post to this group, send email to cometd-usersgooglegroups.com
To unsubscribe from this group, send email to
cometd-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/cometd-users

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )