keeleysam / munkireport

Automatically exported from code.google.com/p/munkireport
Other
0 stars 0 forks source link

Python errors when launching munkireport #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run ./start.sh from the munkireport directory

What is the expected output? What do you see instead?

I expect to see :

Starting server in PID xxxx.
serving on http://xxx.xxx.xxx.xxx:8444

Instead I get:

start.sh launching MunkiReport
/Library/Python/2.6/site-packages/ToscaWidgets-0.9.7.1-py2.6.egg/tw/core/view.py
:222: DeprecationWarning: object.__new__() takes no parameters
  obj = object.__new__(cls, *args, **kw)
Starting server in PID 13720.
serving on http://192.168.100.6:8444
/Library/Python/2.6/site-packages/TurboGears2-2.1-py2.6.egg/tg/render.py:202: 
DeprecationWarning: The attribute 'config.package' has moved to the 
pylons.config dictionary: Please access it via pylons.config['package']
  tg_vars = _get_tg_vars()

Munkireport works fine otherwise, but I think these errors are preventing my 
launchd job from running. When I start my launchd job, I get this in system.log:

com.xxxx.munkireport[13611]: /Users/locadmin/MunkiReport-0.7.0.82/start.sh: 
line 20: exec: paster: not found] (com.xxxx.munkireport[13611]): Exited with 
exit code: 127

Which MunkiReport version are you using?

0.7.0.82

Which Munki version are you using?

0.7.1 Build 1173

Which operating system version are you running MunkiReport on?

Mac OS X Server 10.6.7

Please provide any additional information below.

Original issue reported on code.google.com by eyem...@gmail.com on 17 Jun 2011 at 2:06

GoogleCodeExporter commented 9 years ago
I haven't been able to reproduce this, I'm running it on 10.6.7 without seeing 
this issue. paster not being found probably means that the virtualenv isn't set 
up properly.

Original comment by MagerV...@gmail.com on 22 Jun 2011 at 1:47

GoogleCodeExporter commented 9 years ago
Yep, that was it. Not sure what happened - I just ran setup.sh again and got it 
working. Thanks!

Original comment by eyem...@gmail.com on 12 Jul 2011 at 7:56

GoogleCodeExporter commented 9 years ago
Great, closing the bug.

Original comment by MagerV...@gmail.com on 12 Jul 2011 at 9:31