Re: Problem viewing /WK/admin

Jesse Lawrence <lawrence_jesse-FFYn/[email protected]> Thu, 27 May 2004 18:18:10 -0300
Newsgroups gmane.comp.web.syncato.general
Message-ID <[email protected]>
darryl wrote:

> Jesse Lawrence wrote:
>
>> Hello folks,
>>
>> I'm very interested in giving Syncato a try, but have come across a 
>> problem.  I'm running it on Mac OS X Panther, using mod_webkit and 
>> the file-based database.
>>
>> When I look at http://localhost/WK/blog, I get:
>>  front-page
>>
>> And when I look at http://localhost/WK/admin, I get the following error:
>>
>> Traceback (most recent call last):
>>
>>  File "WebKit/Application.py", line 415, in dispatchRequest
>>  File "WebKit/Application.py", line 567, in handleGoodURL
>>  File "WebKit/Application.py", line 776, in respond
>>  File "WebKit/Transaction.py", line 105, in respond
>>  File "WebKit/HTTPServlet.py", line 38, in respond
>>  File 
>> "/Users/jesselawrence/software/syncato/dist/servlets/closed/Main.py", 
>> line 29, in respondToGet
>>    content = self.weblog.db.runTransform("<dummy/>", "admin/edit", "")
>>  File "../dist/scripts/lib/BaseDatabase.py", line 97, in runTransform
>>    style.freeStylesheet()
>> AttributeError: 'NoneType' object has no attribute 'freeStylesheet'
>>
>> I'm not really certain what's going on here.  I've been playing 
>> around with the runTransform function, and it seems like there might 
>> be a problem importing a stylesheet, something like the following 
>> error: xsl:import : unable to load ../dist/stylesheets/layout.xsl
>>
>> Of course, I could be completely off base here.  Has anyone got any 
>> suggestions or advice as to what the problem might be, and how to fix 
>> it?
>>
>> Thanks a million,
>>
>> Jesse Lawrence
>>
> Jesse,
>
> Are you saying that when you pull up
> http://yourhost/WK/blog
>
> all you get is:
> front-page


Yes.  Strange isn't it.

>
> ?
>
> If so, my guess is something is wrong with your config somewhere. The 
> file based database is easy
> to get up and running. Is this a recent cvs checkout your trying out?
>
Well, it's not that easy!!  (I'm by no means a newbie, either).  I've 
gone through the whole configuration again, following the directions to 
a tee.  No progress.

Still looking for clues.  Anyone?

Thanks,

Jesse Lawrence


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click