On Mon, 08 Oct 2001 13:22:39 -0700, you wrote:

>At 09:56 PM 10/8/2001 +0200, Vincent Wagelaar wrote:
>>Traceback (most recent call last):
>>   File "WebKit/Application.py", line 341, in dispatchRequest
>>     self.handleGoodURL(transaction)
>>   File "WebKit/Application.py", line 489, in handleGoodURL
>>     self.respond(transaction)
>>   File "WebKit/Application.py", line 610, in respond
>>     transaction.respond()
>>   File "WebKit\Transaction.py", line 93, in respond
>>     self._servlet.respond(self)
>>   File "D:\Webware\WebKit\Examples\Colorize.py", line 31, in respond
>>     from WebKit.DocSupport import py2html
>>ImportError: No module named DocSupport
>
>I experienced this before releasing and then fixed it before the 
>announcement, so I'm surprised to see you have this problem. I just tried 
>again: I downloaded 0.6a1, installed it and went to Examples where I viewed 
>source.
>
>We used to get this problem with __init__.py files that were zero bytes in 
>length because WinZip wouldn't unpack them. However, one in DocSupport/ has 
># and a newline.
>
>My question to you: Do you have an __init__.py in DocSupport/? If so, how 
>many bytes is it and what are the contents?

No, the file was not there, I now created one and view source now
works :) Maybe PowerArchiver doesn't work as expected.

Ok, I tried extracting the files with GNU tar on my linux box. That
solved that problem. PowerArchiver's fault problably.

Two new problems:

Traceback (most recent call last):
  File "WebKit\Application.py", line 341, in dispatchRequest
    self.handleGoodURL(transaction)
  File "WebKit\Application.py", line 489, in handleGoodURL
    self.respond(transaction)
  File "WebKit\Application.py", line 610, in respond
    transaction.respond()
  File "WebKit\Transaction.py", line 93, in respond
    self._servlet.respond(self)
  File "WebKit\HTTPServlet.py", line 38, in respond
    method(self, trans)
  File "WebKit\Page.py", line 34, in respondToGet
    self._respond(transaction)
  File "WebKit\Page.py", line 67, in _respond
    self.writeHTML()
  File "WebKit\Page.py", line 129, in writeHTML
    self.writeBody()
  File
"D:\Webware\WebKit\Cache\PSP\_Webware_PSP_Examples_TrackingExample_psp.py",
line 49, in writeBody
    locationCan =
self.getCan("locationCan","WebKit.Cans.LocationCan","session")
  File "WebKit\Page.py", line 334, in getCan
    instance =
apply(self._transaction.application()._canFactory.createCan,(klass,)+args,kargs)
  File "WebKit\CanFactory.py", line 31, in createCan
    mod = __import__(canName,locals(), globals(), [canName])
ImportError: No module named Cans.LocationCan

This is the version extracted with GNU tar... putting an __init__.py
containing an # in the Cans directory solved that one.

And still getting this error.

Plug-ins list: D:\Webware\WebUtils, D:\Webware\UserKit,
D:\Webware\TaskKit, D:\W
ebware\PSP, D:\Webware\MiscUtils, D:\Webware\MiddleKit,
D:\Webware\COMKit
Loading plug-in: WebUtils at D:\Webware\WebUtils
Loading plug-in: UserKit at D:\Webware\UserKit
Loading plug-in: TaskKit at D:\Webware\TaskKit
Loading plug-in: PSP at D:\Webware\PSP
Loading context: PSPExamples at D:\Webware\PSP\Examples
Loading plug-in: MiscUtils at D:\Webware\MiscUtils
Loading plug-in: MiddleKit at D:\Webware\MiddleKit
-->> WARNING: Cannot locate MiddleKit\WebBrowser.
Loading plug-in: COMKit at D:\Webware\COMKit

There is a __init__ file in that directory.

>Is there any chance you grabbed 0.6a1 before it was announced on the list? 
>(Perhaps you were browsing the "mirror downloads" at .../python/webware/?)
>
I downloaded it after you sent the e-mail to the list...

Maybe a suggestion: make also a release in zip format to solve the
problems with the windows extractors, if you already weren't planning
to do so.

Cheers,
Vincent

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to