windows - How to fix RSS feeds in OSQA? -
when trying access rss link in windows installation of osqa, error log shows following error:
c:\python27\lib\site-packages\django\core\handlers\base.py time: 2013-05-09 17:46:37,956 msg: base.py:handle_uncaught_exception:209 internal server error: /feeds/rss traceback (most recent call last): file "c:\python27\lib\site-packages\django\core\handlers\base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) file "c:\inetpub\wwwroot\osqa\[mysite.com]\forum\views\readers.py", line 73, in feed settings.app_description)(request) file "c:\python27\lib\site-packages\django\contrib\syndication\views.py", line 37, in __call__ feedgen = self.get_feed(obj, request) file "c:\python27\lib\site-packages\django\contrib\syndication\views.py", line 97, in get_feed current_site = get_current_site(request) file "c:\python27\lib\site-packages\django\contrib\sites\models.py", line 92, in get_current_site current_site = site.objects.get_current() file "c:\python27\lib\site-packages\django\contrib\sites\models.py", line 25, in get_current current_site = self.get(pk=sid) file "c:\python27\lib\site-packages\django\db\models\manager.py", line 132, in return self.get_query_set().get(*args, **kwargs) file "c:\python27\lib\site-packages\django\db\models\query.py", line 349, in % self.model._meta.object_name) doesnotexist: site matching query not exist. c:\inetpub\wwwroot\osqa\[mysite.com]\forum\views\meta.py time: 2013-05-09 17:46:37,960 msg: meta.py:error_handler:200 error executing request: path: /feeds/rss user: fadder111 (60) method: post parameters: none parameters: none http headers: auth_type: wsgi.multiprocess: false https_server_issuer: http_cookie: greeting_set=true; csrftoken=482ec461eee5e692b60276b05ae2c41f; sessionid=49ed4088169860ce5f7abb10c573a999; __utma=87189386.1808482846.1368120178.1368120178.1368120178.1; __utmb=87189386.13.10.1368120179; __utmc=87189386; __utmz=87189386.1368120179.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) wsgi.multithread: false server_software: microsoft-iis/7.5 script_name: local_addr: 10.0.2.144 query_string: request_method: remote_user: path_info: /feeds/rss server_protocol: http/1.1 cert_cookie: auth_password: content_length: 0 http_accept_charset: iso-8859-1,utf-8;q=0.7,*;q=0.3 appl_physical_path: c:\inetpub\wwwroot\osqa\[mysite.com]\ http_connection: keep-alive http_referer: http://[mysite.com]/ server_name: [mysite.com] remote_addr: 69.157.47.xxx appl_md_path: /lm/w3svc/38/root instance_id: 38 https_keysize: server_port: 80 request_uri: /feeds/rss cert_serialnumber: http_accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 https_server_subject: url: /feeds/rss https_secretkeysize: script_filename: c:\inetpub\wwwroot\osqa\[mysite.com]\feeds\rss wsgi.input: <__main__.inputstream object @ 0x02bca1d0> http_user_agent: mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.31 (khtml, gecko) chrome/26.0.1410.64 safari/537.31 http_host: [mysite.com] https: off server_port_secure: 0 cert_subject: cert_issuer: cert_flags: path_translated: c:\inetpub\wwwroot\osqa\[mysite.com]\feeds\rss wsgi.version: (1, 0) gateway_interface: cgi/1.1 wsgi.run_once: false csrf_cookie: 482ec461eee5e692b60276b05ae2c41f wsgi.errors: <__main__.teeoutputstream object @ 0x0298e9d0> remote_port: 54728 http_accept_language: en-us,en;q=0.8 appl_path: logon_user: instance_name: [mysite.com] content_type: instance_meta_path: /lm/w3svc/38 auth_user: document_root: c:\inetpub\wwwroot\osqa\[mysite.com]\ remote_host: 69.157.47.121 http_accept_encoding: gzip,deflate,sdch wsgi.url_scheme: http
in windows, created environment variable django_settings_module=mysite.settings returns error indicating not import settings - on sys.apth?
my osqa installation in c:inetpub\wwwroot\osqa\osqa.community.site (the dir name has periods in it).
how can working?
thanks
current osqa version created using old version django (1.3) need make fixes work current version (1.5.4 right now). or check out forks on github, mine. https://github.com/8c1/osqa
Comments
Post a Comment