recovery from screwed up monticello package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

recovery from screwed up monticello package

Markus Lampert
When I try to save my package with Monticello I get this error:

Error: Reading a number failed: a digit between 0 and 9 expected

It seems I screwed up my last save (accidently edited the name instead of the
log message). Checking the history reveals the following list:

<working_copy>
Added RulerMorph, no values display yet.
Rockie-ml.10
Rockie-ml.9
Rockie-ml.8
Rockie-ml.7
Rockie-ml.6
Rockie-ml.5
Rockie-ml.4
Rockie-ml.3
Rockie-ml.2
Rockie-ml.1

Does anybody know how I can recover from this?

Thanks,
Markus




Reply | Threaded
Open this post in threaded view
|

Re: recovery from screwed up monticello package

Andreas.Raab
On 12/22/2010 12:39 PM, Markus Lampert wrote:
> Does anybody know how I can recover from this?

Here is what I would do:
1) Make a backup copy of the image
2) In the Monticello browser, select the package, choose "delete working
copy"
3) Load the last correct version (Rockie-ml.10) in Monticello
4) Copy any code that you've added in later version from the backup image

Hope this helps,
   - Andreas


Reply | Threaded
Open this post in threaded view
|

Re: recovery from screwed up monticello package

Markus Lampert
Thanks Andreas, that worked!

I did...
     - 'fileOut' on the package (Rockie.st)
  - saved a new version of the image
  - used Monticello to 'revert' to the last correct version (Rockie-ml.10)
  - filed in Rockie.st (small hickup, see below)
  - saved new version with Monticello (Rockie-ml.11)


Filing Rockie.st in I encountered a gotcha. After opening the file I found an
entry in the popup menu 'fileIn entire file' which failed with the error:

MessageNotUnderstood: ByteString>>fullName

This happens in SimpleServiceEntry>>getArgumentsFrom:. Unfortunately I don't
understand what is happening there ....

Anyway, selecting all the contents and using 'fileIn Selection (G)' worked.

Thanks again, I learned a lot!
Markus



----- Original Message ----

> From: Andreas Raab <[hidden email]>
> To: The general-purpose Squeak developers list
><[hidden email]>
> Sent: Wed, December 22, 2010 12:49:55 PM
> Subject: [squeak-dev] Re: recovery from screwed up monticello package
>
> On 12/22/2010 12:39 PM, Markus Lampert wrote:
> > Does anybody know how I  can recover from this?
>
> Here is what I would do:
> 1) Make a backup copy  of the image
> 2) In the Monticello browser, select the package, choose "delete  working
copy"
> 3) Load the last correct version (Rockie-ml.10) in  Monticello
> 4) Copy any code that you've added in later version from the  backup image
>
> Hope this helps,
>   - Andreas
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: recovery from screwed up monticello package

Bert Freudenberg
In reply to this post by Andreas.Raab

On 22.12.2010, at 21:49, Andreas Raab wrote:

> On 12/22/2010 12:39 PM, Markus Lampert wrote:
>> Does anybody know how I can recover from this?
>
> Here is what I would do:
> 1) Make a backup copy of the image
> 2) In the Monticello browser, select the package, choose "delete working copy"
> 3) Load the last correct version (Rockie-ml.10) in Monticello
> 4) Copy any code that you've added in later version from the backup image
>
> Hope this helps,
>  - Andreas

Even simpler:

3) Create a new package named "Rockie"
4) Select the latest correct version (Rockie-ml.10) and click "Adopt"

- Bert -