You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by pe...@ec4b.com on 2007/05/01 02:36:39 UTC

SVN Update ROLLBACK?

Hi,
 

I have performed an 'svn update' it has done some damage to my system, does
anyone know how to rollback an svn update.


Thanks & Regards,

Peter
 


RE: Party Manager 'Details' Error

Posted by pe...@ec4b.com.
Hi Anurag Meshram,


Will try that, thanks for the advise. Will let you know how it goes.
 

Thanks & Regards,

Peter


-----Original Message-----
From: meshram.anurag@gmail.com [mailto:meshram.anurag@gmail.com] On Behalf
Of Anurag Meshram
Sent: 01 May 2007 04:38
To: user@ofbiz.apache.org; peter@ec4b.com
Subject: Re: Party Manager 'Details' Error

  Hi Peter,
  I have seen your problem and analyze it and come to the conclusion that
your viewprofile.bsh have following problemetic entry...
<<context.put("contentPurposes", contentPurposes); in line 112 ,coloum 1
so remove the (<<) symbol from this....
Thanks and Regards
Anurag Meshram

On 5/1/07, peter@ec4b.com <pe...@ec4b.com> wrote:
>
> Hi Chris,
>
>
> What would be the solution? Simpily edit the file to correct that syntax
> or
> do another SVN UPDATE?
>
>
> Thanks & Regards,
>
> Peter
>
>
> -----Original Message-----
> From: Chris Howe [mailto:cjhowe76013@yahoo.com]
> Sent: 01 May 2007 03:08
> To: user@ofbiz.apache.org; peter@ec4b.com
> Subject: Re: Party Manager 'Details' Error
>
> That's from a failed merge from SVN.  If you edit that file you'll see
> it broken between a <<mine and << rev xxxx and <<rev xxxy
> --- peter@ec4b.com wrote:
>
> > Hi,
> >
> >
> > I am in 'Party Manager' and I press the 'Details' button and I get
> > the
> > following error/issue. Has anyone seen this problem before?
> >
> >
> > org.ofbiz.base.util.GeneralException: Error rendering screen
> > [component://party/widget/partymgr/PartyScreens.xml#viewprofile]:
> > org.ofbiz.base.util.GeneralException: Error running BSH script at
> > location
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > org.ofbiz.base.util.GeneralException: Error parsing BSH script at
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > (In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > ) (Error parsing BSH script at
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > (In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > )) (Error running BSH script at location
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > org.ofbiz.base.util.GeneralException: Error parsing BSH script at
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > (In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > ) (Error parsing BSH script at
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > (In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > )))
> >
> >
> > Thanks & Regards,
> >
> > Peter
> >
> >
> > -----Original Message-----
> > From: Kenneth Porter [mailto:shiva@sewingwitch.com]
> > Sent: 01 May 2007 02:43
> > To: user@ofbiz.apache.org
> > Cc: peter@ec4b.com
> > Subject: RE: SVN Update ROLLBACK?
> >
> > On Tuesday, May 01, 2007 2:25 AM +0100 peter@ec4b.com wrote:
> >
> > > I am using OpenTaps and I am on;
> > >  revision 923 in '/usr/local/opentaps/pilot/'
> > >  revision 617 in '/usr/local/opentaps/pilot/hot-deploy/crmsfa'
> > >
> > > What about using an 'svn revert'?
> >
> > "svn revert" undoes a local edit to a file in the repository. It
> > doesn't
> > change from one revision to another.
> >
> > "svn update" doesn't require that the new revision must be higher.
> > You can
> > "update" backwards in time, too. (Note that this won't back out your
> > own
> > data changes, so you may need to manually undo data structure updates
> >
> > implemented by later code.)
> >
> >
> >
>
>


-- 
Thanks & Regards
Anurag Meshram
Aditisoft Technology Laboratory
http://www.adititechlabs.com
anurag@adititechlabs.com
__________________________________
Office          :  509.855.4113
Cellphone    :  +919425313511


Re: Party Manager 'Details' Error

Posted by Anurag Meshram <an...@adititechlabs.com>.
  Hi Peter,
  I have seen your problem and analyze it and come to the conclusion that
your viewprofile.bsh have following problemetic entry...
<<context.put("contentPurposes", contentPurposes); in line 112 ,coloum 1
so remove the (<<) symbol from this....
Thanks and Regards
Anurag Meshram

On 5/1/07, peter@ec4b.com <pe...@ec4b.com> wrote:
>
> Hi Chris,
>
>
> What would be the solution? Simpily edit the file to correct that syntax
> or
> do another SVN UPDATE?
>
>
> Thanks & Regards,
>
> Peter
>
>
> -----Original Message-----
> From: Chris Howe [mailto:cjhowe76013@yahoo.com]
> Sent: 01 May 2007 03:08
> To: user@ofbiz.apache.org; peter@ec4b.com
> Subject: Re: Party Manager 'Details' Error
>
> That's from a failed merge from SVN.  If you edit that file you'll see
> it broken between a <<mine and << rev xxxx and <<rev xxxy
> --- peter@ec4b.com wrote:
>
> > Hi,
> >
> >
> > I am in 'Party Manager' and I press the 'Details' button and I get
> > the
> > following error/issue. Has anyone seen this problem before?
> >
> >
> > org.ofbiz.base.util.GeneralException: Error rendering screen
> > [component://party/widget/partymgr/PartyScreens.xml#viewprofile]:
> > org.ofbiz.base.util.GeneralException: Error running BSH script at
> > location
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > org.ofbiz.base.util.GeneralException: Error parsing BSH script at
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > (In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > ) (Error parsing BSH script at
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > (In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > )) (Error running BSH script at location
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > org.ofbiz.base.util.GeneralException: Error parsing BSH script at
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > (In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > ) (Error parsing BSH script at
> >
> [component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> > In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > (In file:
> >
> component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> > Encountered "<<" at line 112, column 1.
> > )))
> >
> >
> > Thanks & Regards,
> >
> > Peter
> >
> >
> > -----Original Message-----
> > From: Kenneth Porter [mailto:shiva@sewingwitch.com]
> > Sent: 01 May 2007 02:43
> > To: user@ofbiz.apache.org
> > Cc: peter@ec4b.com
> > Subject: RE: SVN Update ROLLBACK?
> >
> > On Tuesday, May 01, 2007 2:25 AM +0100 peter@ec4b.com wrote:
> >
> > > I am using OpenTaps and I am on;
> > >  revision 923 in '/usr/local/opentaps/pilot/'
> > >  revision 617 in '/usr/local/opentaps/pilot/hot-deploy/crmsfa'
> > >
> > > What about using an 'svn revert'?
> >
> > "svn revert" undoes a local edit to a file in the repository. It
> > doesn't
> > change from one revision to another.
> >
> > "svn update" doesn't require that the new revision must be higher.
> > You can
> > "update" backwards in time, too. (Note that this won't back out your
> > own
> > data changes, so you may need to manually undo data structure updates
> >
> > implemented by later code.)
> >
> >
> >
>
>


-- 
Thanks & Regards
Anurag Meshram
Aditisoft Technology Laboratory
http://www.adititechlabs.com
anurag@adititechlabs.com
__________________________________
Office          :  509.855.4113
Cellphone    :  +919425313511

RE: Party Manager 'Details' Error

Posted by pe...@ec4b.com.
Hi Chris,


What would be the solution? Simpily edit the file to correct that syntax or
do another SVN UPDATE? 
 

Thanks & Regards,

Peter


-----Original Message-----
From: Chris Howe [mailto:cjhowe76013@yahoo.com] 
Sent: 01 May 2007 03:08
To: user@ofbiz.apache.org; peter@ec4b.com
Subject: Re: Party Manager 'Details' Error

That's from a failed merge from SVN.  If you edit that file you'll see
it broken between a <<mine and << rev xxxx and <<rev xxxy
--- peter@ec4b.com wrote:

> Hi,
> 
> 
> I am in 'Party Manager' and I press the 'Details' button and I get
> the
> following error/issue. Has anyone seen this problem before?
> 
>  
> org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://party/widget/partymgr/PartyScreens.xml#viewprofile]:
> org.ofbiz.base.util.GeneralException: Error running BSH script at
> location
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> org.ofbiz.base.util.GeneralException: Error parsing BSH script at
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> (In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> ) (Error parsing BSH script at
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> (In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> )) (Error running BSH script at location
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> org.ofbiz.base.util.GeneralException: Error parsing BSH script at
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> (In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> ) (Error parsing BSH script at
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> (In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> )))
>  
> 
> Thanks & Regards,
> 
> Peter
> 
> 
> -----Original Message-----
> From: Kenneth Porter [mailto:shiva@sewingwitch.com] 
> Sent: 01 May 2007 02:43
> To: user@ofbiz.apache.org
> Cc: peter@ec4b.com
> Subject: RE: SVN Update ROLLBACK?
> 
> On Tuesday, May 01, 2007 2:25 AM +0100 peter@ec4b.com wrote:
> 
> > I am using OpenTaps and I am on;
> >  revision 923 in '/usr/local/opentaps/pilot/'
> >  revision 617 in '/usr/local/opentaps/pilot/hot-deploy/crmsfa'
> >
> > What about using an 'svn revert'?
> 
> "svn revert" undoes a local edit to a file in the repository. It
> doesn't 
> change from one revision to another.
> 
> "svn update" doesn't require that the new revision must be higher.
> You can 
> "update" backwards in time, too. (Note that this won't back out your
> own 
> data changes, so you may need to manually undo data structure updates
> 
> implemented by later code.)
> 
> 
> 


Re: Party Manager 'Details' Error

Posted by Chris Howe <cj...@yahoo.com>.
That's from a failed merge from SVN.  If you edit that file you'll see
it broken between a <<mine and << rev xxxx and <<rev xxxy
--- peter@ec4b.com wrote:

> Hi,
> 
> 
> I am in 'Party Manager' and I press the 'Details' button and I get
> the
> following error/issue. Has anyone seen this problem before?
> 
>  
> org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://party/widget/partymgr/PartyScreens.xml#viewprofile]:
> org.ofbiz.base.util.GeneralException: Error running BSH script at
> location
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> org.ofbiz.base.util.GeneralException: Error parsing BSH script at
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> (In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> ) (Error parsing BSH script at
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> (In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> )) (Error running BSH script at location
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> org.ofbiz.base.util.GeneralException: Error parsing BSH script at
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> (In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> ) (Error parsing BSH script at
>
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
> In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> (In file:
>
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
> Encountered "<<" at line 112, column 1.
> )))
>  
> 
> Thanks & Regards,
> 
> Peter
> 
> 
> -----Original Message-----
> From: Kenneth Porter [mailto:shiva@sewingwitch.com] 
> Sent: 01 May 2007 02:43
> To: user@ofbiz.apache.org
> Cc: peter@ec4b.com
> Subject: RE: SVN Update ROLLBACK?
> 
> On Tuesday, May 01, 2007 2:25 AM +0100 peter@ec4b.com wrote:
> 
> > I am using OpenTaps and I am on;
> >  revision 923 in '/usr/local/opentaps/pilot/'
> >  revision 617 in '/usr/local/opentaps/pilot/hot-deploy/crmsfa'
> >
> > What about using an 'svn revert'?
> 
> "svn revert" undoes a local edit to a file in the repository. It
> doesn't 
> change from one revision to another.
> 
> "svn update" doesn't require that the new revision must be higher.
> You can 
> "update" backwards in time, too. (Note that this won't back out your
> own 
> data changes, so you may need to manually undo data structure updates
> 
> implemented by later code.)
> 
> 
> 


Party Manager 'Details' Error

Posted by pe...@ec4b.com.
Hi,


I am in 'Party Manager' and I press the 'Details' button and I get the
following error/issue. Has anyone seen this problem before?

 
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://party/widget/partymgr/PartyScreens.xml#viewprofile]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
org.ofbiz.base.util.GeneralException: Error parsing BSH script at
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
In file:
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
Encountered "<<" at line 112, column 1.
(In file:
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
Encountered "<<" at line 112, column 1.
) (Error parsing BSH script at
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
In file:
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
Encountered "<<" at line 112, column 1.
(In file:
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
Encountered "<<" at line 112, column 1.
)) (Error running BSH script at location
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
org.ofbiz.base.util.GeneralException: Error parsing BSH script at
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
In file:
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
Encountered "<<" at line 112, column 1.
(In file:
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
Encountered "<<" at line 112, column 1.
) (Error parsing BSH script at
[component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh]:
In file:
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
Encountered "<<" at line 112, column 1.
(In file:
component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
Encountered "<<" at line 112, column 1.
)))
 

Thanks & Regards,

Peter


-----Original Message-----
From: Kenneth Porter [mailto:shiva@sewingwitch.com] 
Sent: 01 May 2007 02:43
To: user@ofbiz.apache.org
Cc: peter@ec4b.com
Subject: RE: SVN Update ROLLBACK?

On Tuesday, May 01, 2007 2:25 AM +0100 peter@ec4b.com wrote:

> I am using OpenTaps and I am on;
>  revision 923 in '/usr/local/opentaps/pilot/'
>  revision 617 in '/usr/local/opentaps/pilot/hot-deploy/crmsfa'
>
> What about using an 'svn revert'?

"svn revert" undoes a local edit to a file in the repository. It doesn't 
change from one revision to another.

"svn update" doesn't require that the new revision must be higher. You can 
"update" backwards in time, too. (Note that this won't back out your own 
data changes, so you may need to manually undo data structure updates 
implemented by later code.)



RE: SVN Update ROLLBACK?

Posted by Kenneth Porter <sh...@sewingwitch.com>.
On Tuesday, May 01, 2007 2:25 AM +0100 peter@ec4b.com wrote:

> I am using OpenTaps and I am on;
>  revision 923 in '/usr/local/opentaps/pilot/'
>  revision 617 in '/usr/local/opentaps/pilot/hot-deploy/crmsfa'
>
> What about using an 'svn revert'?

"svn revert" undoes a local edit to a file in the repository. It doesn't 
change from one revision to another.

"svn update" doesn't require that the new revision must be higher. You can 
"update" backwards in time, too. (Note that this won't back out your own 
data changes, so you may need to manually undo data structure updates 
implemented by later code.)



RE: SVN Update ROLLBACK?

Posted by pe...@ec4b.com.
Hi,


I am using OpenTaps and I am on;
 revision 923 in '/usr/local/opentaps/pilot/'
 revision 617 in '/usr/local/opentaps/pilot/hot-deploy/crmsfa'
 
What about using an 'svn revert'? 


Thanks & Regards,

Peter


-----Original Message-----
From: Hans Bakker [mailto:mailinglist@antwebsystems.com] 
Sent: 01 May 2007 02:10
To: user@ofbiz.apache.org
Subject: Re: SVN Update ROLLBACK?

do another update and specify a revision number:

example:
svn up -r12345

regards,
Hans

On Tuesday 01 May 2007 07:36, peter@ec4b.com wrote:
> Hi,
>
>
> I have performed an 'svn update' it has done some damage to my system,
does
> anyone know how to rollback an svn update.
>
>
> Thanks & Regards,
>
> Peter


Re: SVN Update ROLLBACK?

Posted by Hans Bakker <ma...@antwebsystems.com>.
do another update and specify a revision number:

example:
svn up -r12345

regards,
Hans

On Tuesday 01 May 2007 07:36, peter@ec4b.com wrote:
> Hi,
>
>
> I have performed an 'svn update' it has done some damage to my system, does
> anyone know how to rollback an svn update.
>
>
> Thanks & Regards,
>
> Peter