I want to connect a python script with webkit on the commandline
for generating
images out of websites. This works fine for the normal MacOSX 10.5
version on my Mac
but not on the server variant.
You already got some replies. But I don't really understand the
above. Do you mean that your script fails on Mac OS X server while
it works when run on Mac OS X client under exactly the same
circumstances?
Could you elaborate?
I think that the more likely situation is that on the 'client machine
he is trying things out when he is logged in (thus there is a Window
server available). If you look at the last bit of the error he is
getting you will see this line:
So one of the calls he is making (probably indirectly) on AppKit
needs to create a Window (possibly off-screen) to do some compositing
work, and is failing when it realizes that it can't create windows.
I looked at using another section of WebKit before (the JavaScript
section) and found that the WebKit version of it required a connection
to a live WindowServer as well. This makes some sense for WebKit
(since it is dedicated to creating WebBrowsers which need a display,
but makes it hard to pirate things out for faceless scripts that run
on servers.
--
Karl Kuehn
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden