Why are my product code changes being ignored?
Hi, I've been writing products for months... I really thought I knew how this stuff works. I'm running Zope 2.1.3 in debug mode. I make changes to a source file in a product, restart Zope, and the change is ignored. I stop Zope, delete all .pyc files in the product, start Zope - still nothing. I rename the source file, start Zope - sure enough, it complains that it can't find the file. Rename the file back, start Zope - it's still complaining about not finding the file. Happy 1900 Itai -- Itai Tavor -- "Je sautille, donc je suis." -- itavor@vic.bigpond.net.au -- - Kermit the Frog -- -- "What he needs now is understanding... and a confederate victory" -- -- Dr. Jacobi, Twin Peaks --
On Wed, Feb 09, 2000 at 04:49:37PM +1100, Itai Tavor wrote:
I've been writing products for months... I really thought I knew how this stuff works. I'm running Zope 2.1.3 in debug mode. I make changes to a source file in a product, restart Zope, and the change is ignored. I stop Zope, delete all .pyc files in the product, start Zope - still nothing. I rename the source file, start Zope - sure enough, it complains that it can't find the file. Rename the file back, start Zope - it's still complaining about not finding the file.
Did you delete the product from control panel ? -Petru
I've been writing products for months... I really thought I knew how this stuff works. I'm running Zope 2.1.3 in debug mode. I make changes to a source file in a product, restart Zope, and the change
Are you sure that Zope is restarted? I have to ./start hit ctrl+c ./start To make it restart properly. Otherwise I have the same problems as you, I dont know if it was reloaded or not... Would be really nice if this bug could be fixed. It's been in the collector for a while now. /Magnus Heino
Itai Tavor wrote:
I've been writing products for months... I really thought I knew how this stuff works. I'm running Zope 2.1.3 in debug mode. I make changes to a source file in a product, restart Zope, and the change is ignored. I stop Zope, delete all .pyc files in the product, start Zope - still nothing. I rename the source file, start Zope - sure enough, it complains that it can't find the file. Rename the file back, start Zope - it's still complaining about not finding the file.
We're having the same porblem with CVS. Delete the Product, restart Zope, and it'll work. Make sure you don't delete Products with ZClasses though! -- Itamar S.T. itamars@ibm.net
Itai Tavor wrote:
I've been writing products for months... I really thought I knew how this stuff works. I'm running Zope 2.1.3 in debug mode. I make changes to a source file in a product, restart Zope, and the change is ignored. I stop Zope, delete all .pyc files in the product, start Zope - still nothing. I rename the source file, start Zope - sure enough, it complains that it can't find the file. Rename the file back, start Zope - it's still complaining about not finding the file.
Apologies. My mistake, and a stupid one. I knew this shouldn't be so hard... my registerClass call had a typo, for some reason the product got loaded once but ignored after that. It works fine now. -- Itai Tavor -- "Je sautille, donc je suis." -- itavor@vic.bigpond.net.au -- - Kermit the Frog -- -- "What he needs now is understanding... and a confederate victory" -- -- Dr. Jacobi, Twin Peaks --
participants (4)
-
Itai Tavor -
Itamar Shtull-Trauring -
Magnus Heino -
Petru Paler