[Thread Prev][Thread Next][Thread Index]

Re: [PilotMgr] error: modification of a read-only ... line 2665



Allan, I added the three lines you suggested as shown below to my pilotmgr.pm 
code, but still get the same error message:

    &fullStatus("Pilot Manager", "Retrieving User Information", 0);
  $userInfo->{"name"} = "Arthur G. Black";
  $userInfo->{"userID"} = "355926017";
  $dlp->setUserInfo($userInfo);

    eval
    {

	$userInfo = $dlp->getUserInfo();
    };
    if ($@)
    {
	msg("Synchronization cancelled on Pilot\n");

After doing this operation, the Palm Vx Hotsync screen did show my name in the 
upper right corner.  I assume this indicates information was transferred to the 
Palm.  But it did not update my user info in the Palm Pref->Owner panel.

Another clue, last weekend when I did the resync with my Palm III, Pilotmgr did 
recognize that it was dealing with a new user.  It asked me if I wanted to 
rewrite the user info.  I pretty sure I also got this same query when I 
attempted a resync of the Palm Vx that day.  From that, I would conclude the 
problem is after the point of realizing uer info does not match.

	
>X-Unix-From: Alan.Harder@xxxxxxxxxxxx  Mon Sep 11 09:51:01 2000
>X-Authentication-Warning: moshpit.Corp.Sun.COM: majordomo set sender to 
owner-pilotmgr@xxxxxxxxxxxxxxxxxxxxx using -f
>Date: Mon, 11 Sep 2000 09:49:57 -0700 (PDT)
>From: Alan Harder <Alan.Harder@xxxxxxxxxxxx>
>Subject: Re: [PilotMgr] error:  modification of a read-only ... line 2665
>To: derekp@xxxxxxxx, pilotmgr@xxxxxxxxxxxxxxxxxxxx, Curt.Crosby@xxxxxxxxxxxx
>
>> Not as easy as it sounds...if it is a NEW palm, it doesn't have
>> a user owner, and the Sun system, via pilotmaster, is looking for
>> a PREVIOUS palm with a user NUMBER, when you try to do a sync for
>> the first time. It appears this user # CAN'T be changed, unless 
>> someone has figured out how to delete or change it on the Sun through 
>> Pilotmaster...
>
>I don't have a palmos 3.5.x device (or any time to do testing anyway)
>but it sounds to me like:
>
>Pilotmgr/perl5.003 on Sun/sparc has a problem reading the userinfo
>from a new/blank palm device.
>Pilotmanager first tries to read the existing user name/id when doing a
>hotsync.. this is the operation that fails.  (if it can read these values
>and finds they don't match your old values pilotmgr *will* offer to write
>the userinfo to the palm for you.. however it isn't getting that far).
>
>The install-user program from pilot-link is write-only.. it doesn't try
>to read the userinfo so I guess it works fine.
>
>Perhaps someone could try this:
>Look at your ~/.pilotmgr/preferences file and search for "userinfo".
>In this section you'll find the "name" and "userID" previously used when
>you hotsynced (presumably with an older palm device).
>
>Edit your PilotMgr.pm file and find the line that calls "getUserInfo()".
>Just above this line put this text:
>  $userInfo->{"name"} = "<name from preferences>";
>  $userInfo->{"userID"} = "<userID from preferences>";
>  $dlp->setUserInfo($userInfo);
>
>Substitute the correct values for name and userID above.
>Then try a hotsync.. remove these lines from PilotMgr.pm after this hotsync.
>
>I don't know if this will work, but it's worth a shot.
>anyone willing to try and give us a report?
>
>	- Alan
>
>
>> > X-Authentication-Warning: moshpit.Corp.Sun.COM: majordomo set sender to 
>> owner-pilotmgr@xxxxxxxxxxxxxxxxxxxxx using -f
>> > X-Accept-Language: en
>> > Mime-Version: 1.0
>> > To: owner-pilotmgr@xxxxxxxxxxxxxxxxxxxx
>> > Cc: Arthur Black <Arthur.Black@xxxxxxxxxxx>, pilotmgr@xxxxxxxxxxxxxxxxxxxx, 
>> Maurice Oomen <maurice.oomen@xxxxxxxxxxxxxxx>
>> > Subject: Re: [PilotMgr] error:  modification of a read-only ... line 2665
>> > Content-Transfer-Encoding: 7bit
>> > 
>> > To change the username on the PDA, go to "Prefs", and select the "Owner" 
>> dropdown.
>> > This will show who the current owner is, and allow you to change it.
>> > 
>> > I believe this is the user value that is used for HotSyncing.
>> > 
>> > - Derek
>> > 
>> > 
>> > "Perley B. C. Mears Jr." wrote:
>> > 
>> > > Arthur,
>> > >
>> > >         More and more it looks to me from feedback that this has to do 
>with 
>> the
>> > > HotSync name or user name in the Palm. Also, early reports indicate that
>> > > this problem may be fixed in the 3.5.2 OS release. So, either try
>> > > updating your Palm Vx to 3.5.2, or try pre-setting the username to your
>> > > previous value, using "install-user" from the pilot-link suite to set
>> > > the HotSync name, or some similar method. I recall someone else on this
>> > > alias indicated you can set the username on the Palm itself, via
>> > > preferences or something, although I don't recall exactly how to do it.
>> > > Please let us know what works, as I'm sure something will.
>> > >
>> > > Arthur Black wrote:
>> > > >
>> > > > Thanks for the suggestions from various people.  But unfortunately I 
>still 
>> have
>> > > > not been able to get pilotmgr to do an install or sync with my Vx.
>> > > >
>> > > > I finally gave up and borrowed a Palm III.  I was able to immediately 
do 
>> an
>> > > > install and then a sync with that unit.  That unit has version 3.0 of 
>the 
>> Palm
>> > > > operating system.  I would conclude that something broke with pilotmgr 
>> between
>> > > > version 3.0 and 3.5.0 of the Palm operating system.
>> > > >
>> > > > The last fixes I tried with my Palm Vx were:
>> > > >
>> > > > -do a hard reset of the Palm Vx.  Then sync it with my PC
>> > > > -tried to do an install with pilotmgr, got the "modification of .." 
>error
>> > > > message
>> > > > -did a hard reset of the Palm III.  Then did an install with pilotmgr.  
>> Worked
>> > > > fine, no problems.
>> > > >
>> > > > Art Black
>> > > >
>> > > > >X-Unix-From: arthurb@xxxxxxxxxxxxxxxxxxxxx  Fri Sep  8 09:53:35 2000
>> > > > >X-Authentication-Warning: moshpit.Corp.Sun.COM: majordomo set sender 
to
>> > > > owner-pilotmgr@xxxxxxxxxxxxxxxxxxxxx using -f
>> > > > >Date: Fri, 8 Sep 2000 09:52:45 -0700 (PDT)
>> > > > >From: Arthur Black <arthurb@xxxxxxxxxxxxxxxxxxxxx>
>> > > > >To: pilotmgr@xxxxxxxxxxxxxxxxxxxxxx
>> > > > >Subject: [PilotMgr] error:  modification of a read-only ... line 2665
>> > > > >
>> > > > >I'm running into the same problem reported by others on the upgrade 
>issue 
>> and
>> > > > need some help.  My old PalmPilot died recently, so I bought a Palm Vx 
>as 
>> a
>> > > > replacement.  But I have not be able to get Pilotmgr to talk to it.
>> > > > >
>> > > > >When people talk about the fix of using the Install conduit to load a 
>new 
>> ap,
>> > > > are you using the PilotManager File->Installer menu, or are you using 
>> another
>> > > > technique?
>> > > > >
>> > > > >I have gone through the following sequence, but none have fixed the 
>> problem:
>> > > > >
>> > > > >-first tried syncing with pilotmgr.  Got the "modification of .." 
error 
>> message
>> > > > >-sync'ed the Palm Vx on my home PC.  Everything worked fine.
>> > > > >-tried syncing with pilotmgr, got the "modification of .." error 
>message
>> > > > >-using my home PC, upgraded the Palm Vx OS from 3.5.0 to 3.5.2
>> > > > >-tried syncing with pilotmgr, got the "modification of .." error 
>message
>> > > > >-tried using the PilotManager File->Installer menu to install a file 
on 
>> the
>> > > > Pilot.  Again got the same  "modification of .." error message
>> > > > >
>> > > > >The version of perl installed on our shared file system is perl,V5.003
>> > > > >
>> > > > >thanks for any help,
>> > > > >
>> > > > >
>> > > > >Art Black
>> > > > >
>> > > > >
>> > > > >
>> > > > 
>>------------------------------------------------------------------------
>> > > > >***********************************************************
>> > > > >*             This is a public mailing list!              *
>> > > > >* Please do not publish Sun proprietary information here! *
>> > > > >*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
>> > > > >* MoreInfo/Unsubscribe @  http://www.moshpit.org/pilotmgr *
>> > > > >***********************************************************
>> > > >
>> > > > 
------------------------------------------------------------------------
>> > > > ***********************************************************
>> > > > *             This is a public mailing list!              *
>> > > > * Please do not publish Sun proprietary information here! *
>> > > > *        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
>> > > > * MoreInfo/Unsubscribe @  http://www.moshpit.org/pilotmgr *
>> > > > ***********************************************************
>> > >
>> > > --
>> > >
>> > > --------------------------------------------------
>> > >      /\      Perley B. C. Mears Jr.
>> > >     \\ \     Technology Engineer
>> > >    \ \\ /    Sun Microsystems Inc.
>> > >   / \/ / /   6 New England Executive Park
>> > >  / /   \//\  Burlington, MA 01803-5018 USA
>> > >  \//\   / /
>> > >   / / /\ /         E-Mail: perley.mears@xxxxxxxxxxxx
>> > >    / \\ \          Phone: 781.270-6358                 )
>> > >     \ \\    (__    FAX:   781.270-7210                ((
>> > >      \/   &____)   Mobile: 617.513.7838             C|~~|
>> > >            \__/    Internal: http://cocacola.east    `--'
>> > >            '  `                                     `----'
>> > >            JINI                                      Java
>> > > ---------------------------------------------------
>> > >
>> > > 'Unless' - The Lorax
>> > 
>> > ------------------------------------------------------------------------
>> > ***********************************************************
>> > *             This is a public mailing list!              *
>> > * Please do not publish Sun proprietary information here! *
>> > *        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
>> > * MoreInfo/Unsubscribe @  http://www.moshpit.org/pilotmgr *
>> > ***********************************************************
>> 
>> Regards,					
>> 
>> Curt 
>> 
>> 
>
>------------------------------------------------------------------------
>***********************************************************
>*             This is a public mailing list!              *
>* Please do not publish Sun proprietary information here! *
>*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
>* MoreInfo/Unsubscribe @  http://www.moshpit.org/pilotmgr *
>***********************************************************

Arthur Black
Power Conversion Engineering Manager
650-786-5307
650-482-6778 (fax)
http://analog.eng.sun.com/power/



SourceForge.net Logo