[Zope] Installing ZPatterns: The Beat Goes On...:

Steve Spicklemire steve@spvi.com
Fri, 16 Nov 2001 10:11:24 -0500


Hi Kamal,

	Hmm.. I thought zpasswd.py was in all Zope distros! Can you do a 
"find" for it?

-steve

On Friday, November 16, 2001, at 07:01 AM, <hamzatk@3dresearch.com> 
wrote:

>> Hi Kamal,
>>
>> No.... try:
>>
>> cd c:\website
>>
>> the type:
>>
>> c:\website\bin\python.exe zpasswd.py access
>>
>> I don't run windows much.. so this is from memory... details are
>> suspect!
>>
> Hello,
>
> Thanks for your support.
>
> It didn't work the error is :can't open file 'zpasswd.py'
>
> regards.
> kamal
>> -steve
>>
>>
>>
>> On Friday, November 16, 2001, at 06:12 AM, <hamzatk@3dresearch.com>
>> wrote:
>>
>>> Hi,
>>> I try to do what you suggested
>>>
>>>> Hi kamal,
>>>>
>>>> Ahh.. this is easy:
>>>>
>>>> in the root of zope run:
>>>>
>>>> python.exe zpasswd.py access
>>>>
>>>> set a username an password for the "emergency" user.
>>>>
>>>> -steve
>>>  Hi,
>>> I tried it and get error :bad command or file name.
>>>
>>> I later discovered that the zpasswd.py is located at C:\website while
>>> the
>>> python.exe is located at c:\website\bin
>>>
>>> I am thinking may be I should copy zpasswd.py into \bin directory but
>>> I  am
>>> scared, I am already nervous and I just don't want to do something
>>> that  can
>>> add to it.
>>>
>>> thanks.
>>>
>>>
>>>>
>>>> On Friday, November 16, 2001, at 04:18 AM, <hamzatk@3dresearch.com>
>>>> wrote:
>>>>
>>>>> At 01:51 PM 11/14/01 -0500, you wrote:
>>>>>
>>>>> I thought the latest TransactionAgents (0.0.4) included
>>>>> DynPersist.pyd
>>>>>  (the
>>>>> compiled form). I know because I contributed it! Check and make sure
>>>>> you have the latest version.
>>>>>
>>>>> -steve
>>>>>
>>>>> Hi steve,
>>>>> I actually saw the DynPersist.pyd in the TransactionAgents (0.0.4)
>>>>> and
>>>>>  the
>>>>> ZPatterns is not given any problem again. Then my problem still
>>>>> remain because after extracted the TransactionAgents the Login
>>>>> Manager is still given this problem :-
>>>>>
>>>>> Import Traceback
>>>>> Traceback (most recent call last):
>>>>>   File "C:\Program Files\WebSite\lib\python\OFS\Application.py",
>>>>>   line
>>>>> 552,
>>>>> in import_product
>>>>>     product=__import__(pname, global_dict, global_dict, silly)
>>>>>   File "C:\Program
>>>>> Files\WebSite\lib\python\Products\LoginManager\__init__.py", line 1,
>>>>> in ?
>>>>>     import LoginManager, LoginMethods, UserSources
>>>>>   File "C:\Program
>>>>> Files\WebSite\lib\python\Products\LoginManager\LoginManager.py",
>>>>> line 121,
>>>>> in ?
>>>>>     raise 'InstallError', (
>>>>> InstallError: No access file found at C:\Program Files\WebSite - see
>>>>> INSTALL.txt
>>>>>
>>>>> While I continue to see what I can do, I still so much rely on your
>>>>> assistance to finanlly see me through.
>>>>>
>>>>> kamal.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, November 14, 2001, at 01:46 PM, Hamzat kamal wrote:
>>>>>
>>>>>
>>>>> At 01:17 PM 11/14/01 -0500, you wrote:
>>>>>
>>>>> Hi Kamal,
>>>>>
>>>>>         Did you get DynPersist.pyd in your "ZPatterns" directory?
>>>>>
>>>>>
>>>>> No what I have their is DynPersist.c
>>>>> kamal.
>>>>>
>>>>>
>>>>>
>>>>> -steve
>>>>>
>>>>> On Wednesday, November 14, 2001, at 12:59 PM, Hamzat kamal wrote:
>>>>>
>>>>>
>>>>> At 05:49 AM 11/14/01 -0500, you wrote:
>>>>>
>>>>> Hi folks,
>>>>>
>>>>> There's a new version of TransactionAgents available here:
>>>>>
>>>>>   http://cat-box.net/steve/TransactionAgents-0.0.4.tar.gz
>>>>>
>>>>>
>>>>> Hello Steve,
>>>>>
>>>>> I just extracted the new version of TransactionAgents and this is
>>>>> the trace back error display when I clicked on the Login manager in
>>>>> the products directory;
>>>>>
>>>>> Import Traceback
>>>>> Traceback (most recent call last):
>>>>>   File "C:\Program Files\WebSite\lib\python\OFS\Application.py",
>>>>>   line
>>>>> 552,
>>>>> in import_product
>>>>>     product=__import__(pname, global_dict, global_dict, silly)
>>>>>   File "C:\Program
>>>>> Files\WebSite\lib\python\Products\LoginManager\__init__.py", line 1,
>>>>> in ?
>>>>>     import LoginManager, LoginMethods, UserSources
>>>>>   File "C:\Program
>>>>> Files\WebSite\lib\python\Products\LoginManager\LoginManager.py",
>>>>> line 8, in ?
>>>>>     from Products.ZPatterns.Specialists import Specialist
>>>>>   File "C:\Program
>>>>> Files\WebSite\lib\python\Products\ZPatterns\__init__.py", line 1, in
>>>>> ?
>>>>>     import Rack, Specialists, Customizers, AttributeProviders,
>>>>> SheetProviders
>>>>>   File "C:\Program
>>>>>   Files\WebSite\lib\python\Products\ZPatterns\Rack.py",
>>>>> line 8, in ?
>>>>>     from DataSkins import DataSkin
>>>>>   File "C:\Program
>>>>> Files\WebSite\lib\python\Products\ZPatterns\DataSkins.py", line 1,
>>>>> in ?
>>>>>     from DynPersist import DynPersist
>>>>> ImportError: No module named DynPersist
>>>>>
>>>>> Initially I was unable to download the
>>>>> TransactionAgents-0.0.4.tar.gz with
>>>>> my winzip, each time I clicked on it, it gives me
>>>>> "Error reading header after processing 0 entries" then I have to
>>>>> change  the
>>>>> ext to ".tgz" before I could downloaded it.
>>>>>
>>>>> Could this be the part of the problems?
>>>>>
>>>>> I am using win 98 zope 2.4, pythin 2.1.
>>>>>
>>>>> Regards.
>>>>> kamal
>
>