Site Network:

How to run projecthq aftter installation

I have created a folder named ProjectHQ in my C drive where I have created my config file by following command.

paster make-config projecthq config.ini

It create a config file .

I changed the confile file for MySql setting.

I have created index.wsgi file and copied the content given in the manual.

In index.wsgi file I have put the app_path = C:\projecthq

I have done the installtion described in the installtion manual but I am not able to see the projecthq from web browser.

I have changed my httpd_vhost_conf file for the requested setting.

In the above file I put the server name as projecthq.prg.

WSGIScriptAlias = path to index.wsgi file

can anyone give me your gmail id so that he can help me by gtalk. Please receive thanks in advance.

 

Re: How to run projecthq aftter installation

I'm afraid I don't use Windows as a desktop, never mind a server, so I don't know how to set up mod_wsgi on Windows. Have a look at the mod_wsgi on Windows documentation and see if that'll help you.

Re: How to run projecthq aftter installation

raoul, I have installed precompiled binary available on the net. I have copied the file in the apache Modules directory. I also add the following line in the httpd.conf file

LoadModule wsgi_module Modules/mod_wsgi.so

I want to ask you on thing. in the index.wsgi file what should be the vaule for the app_path variable?

I have created a directory projecthq in C drive and create the config.ini file in this directory.. I have given the value C:/projecthq for the app_path.

Re: How to run projecthq aftter installation

That looks correct to me, but I don't use Windows, so I can't say for certain.

Re: How to run projecthq aftter installation

Noq other thing gets resolved.

but now when I am trying to open projecthq from web browser by giving following command.

http://localhost/projecthq

I got the following error in the apache error log .

[Tue Apr 20 17:10:21 2010] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Tue Apr 20 17:10:21 2010] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Tue Apr 20 17:10:21 2010] [notice] Child 9476: Child process is running
[Tue Apr 20 17:10:21 2010] [notice] Child 9476: Acquired the start mutex.
[Tue Apr 20 17:10:21 2010] [notice] Child 9476: Starting 64 worker threads.
[Tue Apr 20 17:10:21 2010] [notice] Child 9476: Starting thread to listen on port 80.
[Tue Apr 20 17:11:01 2010] [error] C:\\Python26\\lib\\site-packages\\sqlalchemy-0.6beta3-py2.6.egg\\sqlalchemy\\types.py:486: SADeprecationWarning: The Binary type has been renamed to LargeBinary.
[Tue Apr 20 17:11:01 2010] [error]   return typeobj()

 

Can anybody help me in this case?

Please receive thanks in advance for your valuabe support and time.

Re: How to run projecthq aftter installation

It looks like you might have an incompatible version of SQLAlchemy. Project HQ requires SQLAlchemy 0.5, and I'll take a guess that you have SQLAlchemy 0.6 installed.

easy_install SQLAlchemy==0.5.8

Re: How to run projecthq aftter installation

I didnot install any.. It has been install automatically when I install the projecthq .egg file and looks that the version is 0.6. Now what should I do?

 

Re: How to run projecthq aftter installation

I already told you in my previous post.

Re: How to run projecthq aftter installation

I have installed the versuion u told me. now I am able to open the login page.

Once i submit the login informationas below

login: admin@projecthq.org

password: administrator

It logsin in the projecthq. But when i click in any of the link it will show internal server error on the browser and following error in the apache error log.

C:\\Python26\\lib\\site-packages\\projecthq-0.1.3dev-py2.6.egg\\projecthq\\controllers\\member.py:195: DeprecationWarning: redirect_to is deprecated, use redirect(url(*args, **kwargs)) instead.
[Tue Apr 20 18:32:20 2010] [error]   h.redirect_to('/member/login/')
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10] mod_wsgi (pid=9456): Exception occurred processing WSGI script 'C:/ProjectHQ/index.wsgi'., referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10] Traceback (most recent call last):, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:/ProjectHQ/index.wsgi", line 13, in application, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return _application(environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\paste-1.7.3-py2.6.egg\\paste\\cascade.py", line 130, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return self.apps[-1](environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\paste-1.7.3-py2.6.egg\\paste\\registry.py", line 375, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     app_iter = self.application(environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\beaker-1.5.3-py2.6.egg\\beaker\\middleware.py", line 73, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return self.app(environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\beaker-1.5.3-py2.6.egg\\beaker\\middleware.py", line 152, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return self.wrap_app(environ, session_start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\routes-1.12.1-py2.6.egg\\routes\\middleware.py", line 131, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     response = self.app(environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\paste-1.7.3-py2.6.egg\\paste\\httpexceptions.py", line 633, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return self.application(environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\wsgiapp.py", line 124, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     response = self.dispatch(controller, environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\wsgiapp.py", line 327, in dispatch, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return controller(environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\projecthq-0.1.3dev-py2.6.egg\\projecthq\\lib\\base.py", line 81, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return WSGIController.__call__(self, environ, start_response), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\controllers\\core.py", line 225, in __call__, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     response = self._dispatch_call(), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\controllers\\core.py", line 176, in _dispatch_call, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     response = self._inspect_call(func), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\controllers\\core.py", line 108, in _inspect_call, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     result = self._perform_call(func, args), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\controllers\\core.py", line 60, in _perform_call, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return func(**args), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\projecthq-0.1.3dev-py2.6.egg\\projecthq\\controllers\\dashboard.py", line 91, in profile, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return render('/dashboard/profile.mako'), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\templating.py", line 274, in render_mako, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     cache_type=cache_type, cache_expire=cache_expire), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\templating.py", line 249, in cached_template, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return render_func(), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\pylons-0.10rc1-py2.6.egg\\pylons\\templating.py", line 271, in render_template, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return literal(template.render_unicode(**globs)), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\template.py", line 198, in render_unicode, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     as_unicode=True), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 403, in _render, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data)), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 434, in _render_context, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     _exec_template(inherit, lclcontext, args=args, kwargs=kwargs), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 452, in _exec_template, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     _render_error(template, context, e), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 462, in _render_error, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     result = template.error_handler(context, error), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 450, in _exec_template, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     callable_(context, *args, **kwargs), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\ProjectHQ\\data\\templates\\base.mako.py", line 129, in render_body, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     __M_writer(escape(next.body())), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 278, in <lambda>, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     return lambda *args, **kwargs:callable_(self.context, *args, **kwargs), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\ProjectHQ\\data\\templates\\dashboard\\profile.mako.py", line 37, in render_body, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     __M_writer(escape(h.url_for(action='profile_save'))), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]   File "C:\\Python26\\lib\\site-packages\\routes-1.12.1-py2.6.egg\\routes\\util.py", line 269, in url_for, referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10]     (args, kargs)), referer: http://192.168.1.9/
[Tue Apr 20 18:34:17 2010] [error] [client 192.168.1.10] GenerationException: url_for could not generate URL. Called with args: () {'action': 'profile_save'}, referer: http://192.168.1.9/

 Is I am putting the right info against loinid and password?

 

Re: How to run projecthq aftter installation

Hmmm... I haven't updated Project HQ to work with the latest version of Pylons, and it looks like the latest version of Pylons was downloaded (which I didn't cater for in Project HQ). Try installing the older version of Pylons too:

easy_install Pylons==0.9.7

I'm planning on releasing an update to Project HQ fairly soon, which should hopefully fix up all these issues.

Re: How to run projecthq aftter installation

Ok,

I will do the same what you suggested to me.

I am confused with the login id.

Is it admin@projecthq.org or one we supplied in config file( the MySql username)?

Re: How to run projecthq aftter installation

Yes, you are correct.

Re: How to run projecthq aftter installation

I have installed the pylons 0.9.7 as you suggested.

easy_install pylons==0.9.7

When I installed pylons0.9.7, Its has removed the previous version of pylons and installed this version and made an entry in the easy-install.pth file. but when i have given the following command to check the current version of pylons it is saying that not installed.

>>> import pylons
>>> pylons.__version__
'(not installed)'

Is pylons installed successfully?

Once I login with the admin@projecthq.org . But after entering into the project hq system, If I click any link like milestone,task list , profile. I got the Internal Server Error and the following entry in the apache error log file.

[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1] mod_wsgi (pid=2860): Exception occurred processing WSGI script 'C:/ProjectHQ/index.wsgi'., referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1] Traceback (most recent call last):, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:/ProjectHQ/index.wsgi", line 13, in application, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return _application(environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\paste-1.7.3-py2.6.egg\\paste\\cascade.py", line 130, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return self.apps[-1](environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\paste-1.7.3-py2.6.egg\\paste\\registry.py", line 375, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     app_iter = self.application(environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\beaker-1.5.3-py2.6.egg\\beaker\\middleware.py", line 73, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return self.app(environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\beaker-1.5.3-py2.6.egg\\beaker\\middleware.py", line 152, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return self.wrap_app(environ, session_start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\routes-1.12.1-py2.6.egg\\routes\\middleware.py", line 131, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     response = self.app(environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\paste-1.7.3-py2.6.egg\\paste\\httpexceptions.py", line 633, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return self.application(environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\wsgiapp.py", line 125, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     response = self.dispatch(controller, environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\wsgiapp.py", line 324, in dispatch, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return controller(environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\projecthq-0.1.3dev-py2.6.egg\\projecthq\\lib\\base.py", line 81, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return WSGIController.__call__(self, environ, start_response), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\controllers\\core.py", line 221, in __call__, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     response = self._dispatch_call(), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\controllers\\core.py", line 172, in _dispatch_call, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     response = self._inspect_call(func), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\controllers\\core.py", line 107, in _inspect_call, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     result = self._perform_call(func, args), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\controllers\\core.py", line 60, in _perform_call, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return func(**args), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\projecthq-0.1.3dev-py2.6.egg\\projecthq\\controllers\\dashboard.py", line 91, in profile, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return render('/dashboard/profile.mako'), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\templating.py", line 274, in render_mako, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     cache_type=cache_type, cache_expire=cache_expire), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\templating.py", line 249, in cached_template, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return render_func(), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\pylons-0.9.7-py2.6.egg\\pylons\\templating.py", line 271, in render_template, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return literal(template.render_unicode(**globs)), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\template.py", line 198, in render_unicode, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     as_unicode=True), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 403, in _render, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data)), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 434, in _render_context, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     _exec_template(inherit, lclcontext, args=args, kwargs=kwargs), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 452, in _exec_template, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     _render_error(template, context, e), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 462, in _render_error, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     result = template.error_handler(context, error), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 450, in _exec_template, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     callable_(context, *args, **kwargs), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\ProjectHQ\\data\\templates\\base.mako.py", line 129, in render_body, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     __M_writer(escape(next.body())), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\mako-0.3.2-py2.6.egg\\mako\\runtime.py", line 278, in <lambda>, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     return lambda *args, **kwargs:callable_(self.context, *args, **kwargs), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\ProjectHQ\\data\\templates\\dashboard\\profile.mako.py", line 37, in render_body, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     __M_writer(escape(h.url_for(action='profile_save'))), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]   File "C:\\Python26\\lib\\site-packages\\routes-1.12.1-py2.6.egg\\routes\\util.py", line 269, in url_for, referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1]     (args, kargs)), referer: http://localhost/dashboard/
[Fri Apr 23 18:58:06 2010] [error] [client 127.0.0.1] GenerationException: url_for could not generate URL. Called with args: () {'action': 'profile_save'}, referer: http://localhost/dashboard/

Please help me in this.

Re: How to run projecthq aftter installation

Could anyone please help me in this. Please suggest me solution for the last problem.

Re: How to run projecthq aftter installation

Did you install Project HQ from the download on the downloads page, or from the source code in the repository?

Re: How to run projecthq aftter installation

I have taken the source code from the link given on the download page and make an .egg file by build the source code.

python setup.py bdist_egg

then install that .egg from dist folder by applying the command.

easy_install <eggfile name>

I am following the installtion manual.

Re: How to run projecthq aftter installation

The code in the repository is partially broken at the moment, please use the downloadable .egg file.

I'm also busy moving Project HQ over to Launchpad, so there are a few things that are changing in the repository, so it's best at this stage to use the downloadable egg files.

Re: How to run projecthq aftter installation

ok, How I can uninstall the projectHQ so that I can install the .egg file again?

 

Re: How to run projecthq aftter installation

Just install the egg as per the documentation, and it'll overwrite the previous one.

Re: How to run projecthq aftter installation

I am using the ProjectHQ egg from the download, always have been. Have moved PHQ to its own root now.

I too am experiencing this exact problem. After logging in (which works fine) if I click on anything I get an Error 500.

UWSGI traceback is the following:

<code>

Traceback (most recent call last):
File "/var/Workspace/ProjectHQ/projecthq_wsgi.py", line 16, in application
return _application(environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Paste-1.7.3.1-py2.6.egg/paste/cascade.py", line 130, in __call__
return self.apps[-1](environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Paste-1.7.3.1-py2.6.egg/paste/registry.py", line 375, in __call__
app_iter = self.application(environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Beaker-1.5.1-py2.6.egg/beaker/middleware.py", line 73, in __call__
return self.app(environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Beaker-1.5.1-py2.6.egg/beaker/middleware.py", line 152, in __call__
return self.wrap_app(environ, session_start_response)
File "/usr/local/lib/python2.6/dist-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py", line 131, in __call__
response = self.app(environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Paste-1.7.3.1-py2.6.egg/paste/httpexceptions.py", line 633, in __call__
return self.application(environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/wsgiapp.py", line 125, in __call__
response = self.dispatch(controller, environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/wsgiapp.py", line 324, in dispatch
return controller(environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/ProjectHQ-0.1.3dev_r149-py2.6.egg/projecthq/lib/base.py", line 81, in __call__
return WSGIController.__call__(self, environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/controllers/core.py", line 221, in __call__
response = self._dispatch_call()
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/controllers/core.py", line 172, in _dispatch_call
response = self._inspect_call(func)
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/controllers/core.py", line 107, in _inspect_call
result = self._perform_call(func, args)
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/controllers/core.py", line 60, in _perform_call
return func(**args)
File "/usr/local/lib/python2.6/dist-packages/ProjectHQ-0.1.3dev_r149-py2.6.egg/projecthq/controllers/dashboard.py", line 91, in profile
return render('/dashboard/profile.mako')
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/templating.py", line 274, in render_mako
cache_type=cache_type, cache_expire=cache_expire)
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/templating.py", line 249, in cached_template
return render_func()
File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/templating.py", line 271, in render_template
return literal(template.render_unicode(**globs))
File "/usr/lib/pymodules/python2.6/mako/template.py", line 138, in render_unicode
return runtime._render(self, self.callable_, args, data, as_unicode=True)
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 364, in _render
_render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 381, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 405, in _exec_template
result = template.error_handler(context, error)
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 397, in _exec_template
callable_(context, *args, **kwargs)
File "/var/Workspace/ProjectHQ/data/templates/base.mako.py", line 119, in render_body
__M_writer(escape(next.body()))
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 255, in <lambda>
return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
File "/var/Workspace/ProjectHQ/data/templates/dashboard/profile.mako.py", line 36, in render_body
__M_writer(escape(h.url_for(action='profile_save')))
File "/usr/local/lib/python2.6/dist-packages/Routes-1.12.3-py2.6.egg/routes/util.py", line 269, in url_for
(args, kargs))
routes.util.GenerationException: url_for could not generate URL. Called with args: () {'action': 'profile_save'}
</code>

 

EDIT:

Just to clarify, my SQLAlchemy & Pylons versions are as stated previously.

Could be an issue with the Mako or Routes version by any chance? I'm struggling with identifying the issue from the traceback

Re: How to run projecthq aftter installation

Hi AlexD, it looks like it's a Routes issue. Which version do you have installed? I currently have 1.10 installed.

I'm busy upgrading Project HQ to use Pylons 1.0, and I should hopefully get rid of all these issues, there are just unfortunately a few other things I need to do as well in the process, so it's going to take a little while before there's a new release I'm afraid.

Re: How to run projecthq aftter installation

Totally understandable. Dependencies are a pain to maintain.

After downgrading to 1.10.3 ProjectHQ worked fine.

 

I've created a virtual environment to run PHQ so no issues at all.

 

Thanks Raoul