Exporting from 1.10.3 to 2.6 (or latest)
PS! Sorry for replying to the "cron" topic, my bad... Here is the same question again slightly modified, with proper topic. A client have a Zope installation (ver. 1.10.3). Now, this installation seems to be, eh, a far bit obsolete. I have no idea why, but even the simplest things that should have worked (while coding DTML) doesnt. Thus, I have installed Zope 2.6 (latest version right) on my Win32 workstation here... I would really have liked to be able to get the client application made in 1.10.3 to work on 2.6. I did a futile attempt on exporting and importing, but eh - even the Zope newbie me figured that only magic could make that happen... Is there anyone with a good clue of how to export from 1.10.3 (i.e. "export.bbe") to this new version? (Or does any of you more experienced users have a good idea of what I would have to do to get this application working on 2.6? ... ) Best regards Robert.
On Tue, 2003-11-11 at 15:12, Robert Restad wrote:
PS! Sorry for replying to the "cron" topic, my bad... Here is the same question again slightly modified, with proper topic.
A client have a Zope installation (ver. 1.10.3). Now, this installation seems to be, eh, a far bit obsolete. I have no idea why, but even the simplest things that should have worked (while coding DTML) doesnt.
Wow, that is *old school*! ;-) Neat.
Thus, I have installed Zope 2.6 (latest version right) on my Win32 workstation here... I would really have liked to be able to get the client application made in 1.10.3 to work on 2.6. I did a futile attempt on exporting and importing, but eh - even the Zope newbie me figured that only magic could make that happen...
Is there anyone with a good clue of how to export from 1.10.3 (i.e. "export.bbe") to this new version?
(Or does any of you more experienced users have a good idea of what I would have to do to get this application working on 2.6? ... )
Well, there is an ancient "bobobase conversion tool" named bbb.py that comes in the utilities directory of Zope 2.6 that converts a bobobase to something that more recent Zopes can understand (a file named 'something.fs' that is a filestorage file you can put in your Zope "var" directory. FWIW, it's being removed in Zope 2.7. I think you can run this like (for example): python bbb.py -f converted.fs data.bbb This should put a converted.fs in the same directory from which you run it, then you can rename it to "Data.fs:, stick it in your Zope var directory, and try to start Zope. This may get you at least part of the way, but I suspect you will run into more problems after you convert the storage file over... - C
Thanks for the suggestions, people. Now, reading the replies it appears to me that the best I can do is simply to manually rewrite the application from 1.10 to 2.6... or, eh, I could eventually rewrite it from Zope to PHP or Java, which is the languages I know better. Is there any particular issues I should be aware of if I decide to "port" the application from 1.10 to 2.6? ... Anything which may cause me big headaches underway? ... The application isnt the most advanced, it doesnt utilize a lot of Python scripting in the code (if at all)... after going through it, major parts seems written in DTML utilizing MySQL as its database. Best regards Robert. ----- Original Message ----- From: "Chris McDonough" <chrism@plope.com> To: "Robert Restad" <rr@quicknet.no> Cc: <zope@zope.org> Sent: Tuesday, November 11, 2003 7:16 PM Subject: Re: [Zope] Exporting from 1.10.3 to 2.6 (or latest)
On Tue, 2003-11-11 at 15:12, Robert Restad wrote:
PS! Sorry for replying to the "cron" topic, my bad... Here is the same question again slightly modified, with proper topic.
A client have a Zope installation (ver. 1.10.3). Now, this installation seems to be, eh, a far bit obsolete. I have no idea why, but even the simplest things that should have worked (while coding DTML) doesnt.
Wow, that is *old school*! ;-) Neat.
Thus, I have installed Zope 2.6 (latest version right) on my Win32 workstation here... I would really have liked to be able to get the client application made in 1.10.3 to work on 2.6. I did a futile attempt on exporting and importing, but eh - even the Zope newbie me figured that only magic could make that happen...
Is there anyone with a good clue of how to export from 1.10.3 (i.e. "export.bbe") to this new version?
(Or does any of you more experienced users have a good idea of what I would have to do to get this application working on 2.6? ... )
Well, there is an ancient "bobobase conversion tool" named bbb.py that comes in the utilities directory of Zope 2.6 that converts a bobobase to something that more recent Zopes can understand (a file named 'something.fs' that is a filestorage file you can put in your Zope "var" directory. FWIW, it's being removed in Zope 2.7.
I think you can run this like (for example):
python bbb.py -f converted.fs data.bbb
This should put a converted.fs in the same directory from which you run it, then you can rename it to "Data.fs:, stick it in your Zope var directory, and try to start Zope.
This may get you at least part of the way, but I suspect you will run into more problems after you convert the storage file over...
- C
A client have a Zope installation (ver. 1.10.3). Now, this installation seems to be, eh, a far bit obsolete. I have no idea why, but even the simplest things that should have worked (while coding DTML) doesnt.
Thus, I have installed Zope 2.6 (latest version right) on my Win32 workstation here... I would really have liked to be able to get the client application made in 1.10.3 to work on 2.6. I did a futile attempt on exporting and importing, but eh - even the Zope newbie me figured that only magic could make that happen...
Is there anyone with a good clue of how to export from 1.10.3 (i.e. "export.bbe") to this new version?
(Or does any of you more experienced users have a good idea of what I would have to do to get this application working on 2.6? ... )
Wow, that's old. For a moment I was even thinking you might have the Zope version numbers confused with some other program. Are all your DTML methods in the SSI format? That's a big big jump. If all else fails -- like the script that Chris mentioned -- you can try to upgrade through each successive major version release. They should all still be available. You'll definitely want to pay attention to the 2.0 step. (I recall having problems moving from 1.10 to 2.0. In fact, I think I gave up, since I didn't have anything important in there.) --jcc -- "Code generators follow the 80/20 rule. They solve most of the problems, but not all of the problems. There are always features and edge cases that will need hand-coding. Even if code generation could build 100 percent of the application, there will still be an endless supply of boring meetings about feature design." (http://www.devx.com/java/editorial/15511)
participants (3)
-
Chris McDonough -
J Cameron Cooper -
Robert Restad