Hi all

Imdbpy installed, sql databse installed, i'm trying to start it with
imdbpykit, corresponding with
https://bitbucket.org/alberanid/imdbpykit/src/tip/docs/README.txt

SGIUtils (http://pypi.python.org/pypi/WSGIUtils/)  You can install
this package via easy_install.  Copy the sample file for imdbpykit.ini
to any directory, comment out  the section:main part for the Paste
Script server and run the command:    paster serve imdbpykit.ini



as result:


 paster serve imdbpykit.ini
/usr/local/lib/python2.6/dist-packages/paste/urlparser.py:104:
DeprecationWarning: The global_conf argument to URLParser is
deprecated; either pass in None or {}, or use make_url_parser
  DeprecationWarning)
Starting server in PID 11907.
Starting HTTP server on http://127.0.0.1:8085


Error - <type 'exceptions.ImportError'>: cannot import name CONFIG
127.0.0.1 - - [27/Nov/2012:12:09:18 +0200] "GET / HTTP/1.0" 500 - "-"
"Lynx/2.8.8dev.5 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/2.8.6"

in lynx http://127.0.0.1:8085/
......
......
  Module ?:21 in <module>


   <<  import os


       from paste import wsgilib


       from imdbpykit.sitepage import CONFIG





       def urlparser_hook(environ):>>  from imdbpykit.sitepage import
CONFIG

   Module ?:25 in <module>


   <<


       from WebKit.Page import Page


       from paste.deploy import CONFIG


       from paste.url import URL>>  from paste.deploy import CONFIG


   ImportError: cannot import name CONFIG


CGI Variables


   HTTP_ACCEPT          'text/html, text/plain, text/css, text/sgml,
*/*;q=0.01'

   HTTP_ACCEPT_ENCODING 'gzip, compress, bzip2'


   HTTP_ACCEPT_LANGUAGE 'en'


   HTTP_HOST            '127.0.0.1:8085'


   HTTP_USER_AGENT      'Lynx/2.8.8dev.5 libwww-FM/2.14 SSL-MM/1.4.1
GNUTLS/2.8.6'

   PATH_INFO            '/'


   REMOTE_ADDR          '127.0.0.1'


   REQUEST_METHOD       'GET'


   SERVER_NAME          '127.0.0.1'


   SERVER_PORT          '8085'


   SERVER_PROTOCOL      'HTTP/1.0'



Configuration


   __file__     '/root/imdbpykit/imdbpykit.ini'


   here         '/root/imdbpykit'


   maxtime      '3600'


   output       'xml'

   pretty_print 'on'


   style        'imdbpyweb'



WSGI Variables


   application                      <paste.session.SessionMiddleware object
at 0xf1a850>

   paste.expected_exceptions        [<class
'paste.httpexceptions.HTTPException'>]


   paste.httpexceptions
<paste.httpexceptions.HTTPExceptionHandler object at 0xe99810>


   paste.printdebug_listeners       [<cStringIO.StringO object at
0xfdfa40>, <open file '<stderr>', mode 'w' at 0x7f325871c1e0>]

   paste.recursive.forward          <paste.recursive.Forwarder from />


   paste.recursive.include          <paste.recursive.Includer from />


   paste.recursive.include_app_iter <paste.recursive.IncluderAppIter from
/>

   paste.recursive.script_name      ''


   paste.remove_printdebug          <function remove_printdebug at
0xf92578>

   paste.session.factory            <paste.session.SessionFactory object at
0xfe1610>

   paste.throw_errors               True


   paste.urlparser.base_python_name 'imdbpykit.web'


   wsgi process                     'Multithreaded'





   URL: http://127.0.0.1:8085/



So, could you point me !? What i'm doing wrong ?

Thanks
Sergey
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to