POS question

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

POS question

Tim Frosh
Hi dear all,
I want to print POS receipts, but after searching in the mailing list, i could not find a solution. I got a regular printer - not  Star TSP600 or Epson TM-T88III :(
I'd like to know is it possible to generate a A5 pdf file, similar to null printer receipt layout? If possible which services to use for it ? May be sendPrintFromScreen?
Is there other ways to print(safe) a POS receipt with a regular printer ?
Thanks for your time.
    Tim



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

Reply | Threaded
Open this post in threaded view
|

SVN Update ROLLBACK?

peter-230

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
 

Reply | Threaded
Open this post in threaded view
|

Re: SVN Update ROLLBACK?

hans_bakker
do another update and specify a revision number:

example:
svn up -r12345

regards,
Hans

On Tuesday 01 May 2007 07:36, [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

RE: SVN Update ROLLBACK?

peter-230
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:[hidden email]]
Sent: 01 May 2007 02:10
To: [hidden email]
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, [hidden email] 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

Reply | Threaded
Open this post in threaded view
|

RE: SVN Update ROLLBACK?

Kenneth Porter
On Tuesday, May 01, 2007 2:25 AM +0100 [hidden email] 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.)


Reply | Threaded
Open this post in threaded view
|

Party Manager 'Details' Error

peter-230
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:[hidden email]]
Sent: 01 May 2007 02:43
To: [hidden email]
Cc: [hidden email]
Subject: RE: SVN Update ROLLBACK?

On Tuesday, May 01, 2007 2:25 AM +0100 [hidden email] 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.)


Reply | Threaded
Open this post in threaded view
|

Re: Party Manager 'Details' Error

cjhowe
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
--- [hidden email] 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:[hidden email]]
> Sent: 01 May 2007 02:43
> To: [hidden email]
> Cc: [hidden email]
> Subject: RE: SVN Update ROLLBACK?
>
> On Tuesday, May 01, 2007 2:25 AM +0100 [hidden email] 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.)
>
>
>

Reply | Threaded
Open this post in threaded view
|

RE: Party Manager 'Details' Error

peter-230
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:[hidden email]]
Sent: 01 May 2007 03:08
To: [hidden email]; [hidden email]
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
--- [hidden email] 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:[hidden email]]
> Sent: 01 May 2007 02:43
> To: [hidden email]
> Cc: [hidden email]
> Subject: RE: SVN Update ROLLBACK?
>
> On Tuesday, May 01, 2007 2:25 AM +0100 [hidden email] 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.)
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Party Manager 'Details' Error

Anurag Meshram
  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, [hidden email] <[hidden email]> 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:[hidden email]]
> Sent: 01 May 2007 03:08
> To: [hidden email]; [hidden email]
> 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
> --- [hidden email] 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:[hidden email]]
> > Sent: 01 May 2007 02:43
> > To: [hidden email]
> > Cc: [hidden email]
> > Subject: RE: SVN Update ROLLBACK?
> >
> > On Tuesday, May 01, 2007 2:25 AM +0100 [hidden email] 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
[hidden email]
__________________________________
Office          :  509.855.4113
Cellphone    :  +919425313511
Reply | Threaded
Open this post in threaded view
|

Re: POS question

Jacques Le Roux
Administrator
In reply to this post by Tim Frosh
Tim,

AFAIK, there is nothing currently dealing with regular printers in POS.
But of course you may create a PDF file, using a service like
sendPrintFromScreen, from the POS ...

Jacques

----- Message d'origine -----
De : "Tim Frosh" <[hidden email]>
À : <[hidden email]>
Envoyé : mardi 1 mai 2007 01:47
Objet : POS question


> Hi dear all,
> I want to print POS receipts, but after searching in the mailing list,
i could not find a solution. I got a regular printer - not  Star TSP600
or Epson TM-T88III :(
> I'd like to know is it possible to generate a A5 pdf file, similar to
null printer receipt layout? If possible which services to use for it ?
May be sendPrintFromScreen?
> Is there other ways to print(safe) a POS receipt with a regular
printer ?
> Thanks for your time.
>     Tim
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

Reply | Threaded
Open this post in threaded view
|

Re: POS question

Tim Frosh
In reply to this post by Tim Frosh
Thank You Jacques for answering.
Then i will do a receipt screen and call sendPrintFromScreen with ECA after an order is created. Do you think this is a good idea ? One drawback in this case is that i cannot use reprint POS button.
Also when i tried to see the order pdf from order manager, i get an error and cannot see the pdf. This happens only when the order is created from POS. If the order is created from ecommerce or ordermanager i can see the pdf.
if you think that this is a bug, here is the console log:

ERROR:  'null:82:44: Error(82/44): fo:table-row is missing child elements.
     [java] Required Content Model: (table-cell+)'
     [java] 2007-05-01 15:36:21,187 (http-0.0.0.0-8443-Processor2) [             FONode.java:322:WARN ] Warning(79/12): fo:table, table-layout="auto" is currently not supported by FOP
     [java] 2007-05-01 15:36:21,187 (http-0.0.0.0-8443-Processor2) [ScreenFopViewHandler.java:118:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:82:44: Error(82/44): fo:table-row is missing child elements.
     [java] Required Content Model: (table-cell+)
     [java] 2007-05-01 15:36:21,187 (http-0.0.0.0-8443-Processor2) [     ControlServlet.java:192:ERROR]
     [java] ---- exception report ----------------------------------------------------------
     [java] Error in request handler:
     [java] Exception: javax.xml.transform.TransformerException
     [java] Message: org.apache.fop.fo.ValidationException: null:82:44: Error(82/44): fo:table-row is missing child elements.
     [java] Required Content Model: (table-cell+)
     [java] ---- cause ---------------------------------------------------------------------
     [java] Exception: org.apache.fop.fo.ValidationException
     [java] Message: null:82:44: Error(82/44): fo:table-row is missing child elements.
     [java] Required Content Model: (table-cell+)
     [java] ---- stack trace ---------------------------------------------------------------
     [java] org.apache.fop.fo.ValidationException: null:82:44: Error(82/44): fo:table-row is missing child elements.
     [java] Required Content Model: (table-cell+)
     [java] org.apache.fop.fo.FONode.missingChildElementError(FONode.java:407)
     [java] org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:174)
     [java] org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
     [java] org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
     [java] com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(Unknown Source)
     [java] org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
     [java] org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
     [java] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
     [java] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     [java] org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [java] org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [java] org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     [java] org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     [java] com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown Source)
     [java] com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
     [java] com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
     [java] org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:100)
     [java] org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:644)
     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:428)
     [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
     [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     [java] org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
     [java] org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
     [java] org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     [java] org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     [java] java.lang.Thread.run(Unknown Source)



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

Reply | Threaded
Open this post in threaded view
|

RE: Party Manager 'Details' Error

peter-230
In reply to this post by Anurag Meshram
Hi Anurag Meshram,


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

Thanks & Regards,

Peter


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf
Of Anurag Meshram
Sent: 01 May 2007 04:38
To: [hidden email]; [hidden email]
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, [hidden email] <[hidden email]> 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:[hidden email]]
> Sent: 01 May 2007 03:08
> To: [hidden email]; [hidden email]
> 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
> --- [hidden email] 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:[hidden email]]
> > Sent: 01 May 2007 02:43
> > To: [hidden email]
> > Cc: [hidden email]
> > Subject: RE: SVN Update ROLLBACK?
> >
> > On Tuesday, May 01, 2007 2:25 AM +0100 [hidden email] 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
[hidden email]
__________________________________
Office          :  509.855.4113
Cellphone    :  +919425313511

Reply | Threaded
Open this post in threaded view
|

Re: POS question

Schorsch
In reply to this post by Jacques Le Roux
Hi,

I'm a newbie and want to know how I can bind the sendPrintFromScreen to the button?

Hoping for answers,

Schorsch

jacques.le.roux wrote
Tim,

AFAIK, there is nothing currently dealing with regular printers in POS.
But of course you may create a PDF file, using a service like
sendPrintFromScreen, from the POS ...

Jacques
Reply | Threaded
Open this post in threaded view
|

RE: POS question

SkipDever
It is REALLY easy to print to regular printers, i.e. printing invoices etc.
I did not see the original post, but if this is what you want to do, I can
point you at some code that I put in JIRA.

Skip

-----Original Message-----
From: Schorsch [mailto:[hidden email]]
Sent: Tuesday, January 08, 2008 9:15 AM
To: [hidden email]
Subject: Re: POS question



Hi,

I'm a newbie and want to know how I can bind the sendPrintFromScreen to the
button?

Hoping for answers,

Schorsch


jacques.le.roux wrote:
>
> Tim,
>
> AFAIK, there is nothing currently dealing with regular printers in POS.
> But of course you may create a PDF file, using a service like
> sendPrintFromScreen, from the POS ...
>
> Jacques
>

--
View this message in context:
http://www.nabble.com/POS-question-tp10262572p14694213.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: POS question

Jacques Le Roux
Administrator
Thanks Skip :o)

Jacques

From: "Skip" <[hidden email]>

> It is REALLY easy to print to regular printers, i.e. printing invoices etc.
> I did not see the original post, but if this is what you want to do, I can
> point you at some code that I put in JIRA.
>
> Skip
>
> -----Original Message-----
> From: Schorsch [mailto:[hidden email]]
> Sent: Tuesday, January 08, 2008 9:15 AM
> To: [hidden email]
> Subject: Re: POS question
>
>
>
> Hi,
>
> I'm a newbie and want to know how I can bind the sendPrintFromScreen to the
> button?
>
> Hoping for answers,
>
> Schorsch
>
>
> jacques.le.roux wrote:
>>
>> Tim,
>>
>> AFAIK, there is nothing currently dealing with regular printers in POS.
>> But of course you may create a PDF file, using a service like
>> sendPrintFromScreen, from the POS ...
>>
>> Jacques
>>
>
> --
> View this message in context:
> http://www.nabble.com/POS-question-tp10262572p14694213.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>
Reply | Threaded
Open this post in threaded view
|

Odd Error

SkipDever
I have left the normal Ofbiz realm for a time and am attempting to use the
framework for a mainframe project prototype.  In doing so, I deleted all the
applications except part of party.  I have no errors in the build logs.

However, when I attempt to log in, I get this exception:

Exception in thread "default-invoker-Thread-9" java.lang.RuntimeException:
Error
 while updating: [GenericEntity:RecurrenceInfo][createdStamp,2008-01-08
13:04:13
.297(java.sql.Timestamp)][createdTxStamp,2008-01-08
13:04:13.296(java.sql.Timest
amp)][exceptionDateTimes,null()][exceptionRuleId,null()][lastUpdatedStamp,20
08-0
1-08 13:06:22.906(java.sql.Timestamp)][lastUpdatedTxStamp,2008-01-08
13:06:22.90
6(java.sql.Timestamp)][recurrenceCount,1(java.lang.Long)][recurrenceDateTime
s,nu
ll()][recurrenceInfoId,270(java.lang.String)][recurrenceRuleId,270(java.lang
.Str
ing)][startDateTime,2000-01-01 00:00:00.0(java.sql.Timestamp)] (SQL
Exception wh
ile executing the following:UPDATE OFBIZ.RECURRENCE_INFO SET
START_DATE_TIME=?,
EXCEPTION_DATE_TIMES=?, RECURRENCE_DATE_TIMES=?, EXCEPTION_RULE_ID=?,
RECURRENCE
_RULE_ID=?, RECURRENCE_COUNT=?, LAST_UPDATED_STAMP=?,
LAST_UPDATED_TX_STAMP=?, C
REATED_STAMP=?, CREATED_TX_STAMP=? WHERE RECURRENCE_INFO_ID=? (Schema
'OFBIZ' do
es not exist))
        at
org.ofbiz.service.job.PersistedServiceJob.init(PersistedServiceJob.ja
va:136)

Note that it sez "Schema 'OFBIZ' does not exist"

Here is a snipit from the ant run-install-seed log:

DatabaseUtil.java:356:INFO ] Created table [OFBIZ.RECURRENCE_INFO]

Anyone have a clue what this is?


I am running Ofbiz as java -jar ofbiz.jar sc

The "sc" is a specialpurpose application that is successfully connecting to
a mainframe.  I can see it coming up on a monitor application.



Skip

Reply | Threaded
Open this post in threaded view
|

Re: Odd Error

David E Jones

The database you are using may not be schema-aware, but allows a "."  
in the table name.

In the entityengine.xml file try turning off the schema (don't specify  
a schema name in the datasource element).

You may have to rebuild the database when you do this.

Which database are you using, BTW? It may be that someone on the list  
has some experience with it...

-David


On Jan 8, 2008, at 2:22 PM, Skip wrote:

> I have left the normal Ofbiz realm for a time and am attempting to  
> use the
> framework for a mainframe project prototype.  In doing so, I deleted  
> all the
> applications except part of party.  I have no errors in the build  
> logs.
>
> However, when I attempt to log in, I get this exception:
>
> Exception in thread "default-invoker-Thread-9"  
> java.lang.RuntimeException:
> Error
> while updating: [GenericEntity:RecurrenceInfo][createdStamp,2008-01-08
> 13:04:13
> .297(java.sql.Timestamp)][createdTxStamp,2008-01-08
> 13:04:13.296(java.sql.Timest
> amp)][exceptionDateTimes,null()][exceptionRuleId,null()]
> [lastUpdatedStamp,20
> 08-0
> 1-08 13:06:22.906(java.sql.Timestamp)][lastUpdatedTxStamp,2008-01-08
> 13:06:22.90
> 6(java.sql.Timestamp)][recurrenceCount,1(java.lang.Long)]
> [recurrenceDateTime
> s,nu
> ll()][recurrenceInfoId,270(java.lang.String)][recurrenceRuleId,
> 270(java.lang
> .Str
> ing)][startDateTime,2000-01-01 00:00:00.0(java.sql.Timestamp)] (SQL
> Exception wh
> ile executing the following:UPDATE OFBIZ.RECURRENCE_INFO SET
> START_DATE_TIME=?,
> EXCEPTION_DATE_TIMES=?, RECURRENCE_DATE_TIMES=?, EXCEPTION_RULE_ID=?,
> RECURRENCE
> _RULE_ID=?, RECURRENCE_COUNT=?, LAST_UPDATED_STAMP=?,
> LAST_UPDATED_TX_STAMP=?, C
> REATED_STAMP=?, CREATED_TX_STAMP=? WHERE RECURRENCE_INFO_ID=? (Schema
> 'OFBIZ' do
> es not exist))
>        at
> org.ofbiz.service.job.PersistedServiceJob.init(PersistedServiceJob.ja
> va:136)
>
> Note that it sez "Schema 'OFBIZ' does not exist"
>
> Here is a snipit from the ant run-install-seed log:
>
> DatabaseUtil.java:356:INFO ] Created table [OFBIZ.RECURRENCE_INFO]
>
> Anyone have a clue what this is?
>
>
> I am running Ofbiz as java -jar ofbiz.jar sc
>
> The "sc" is a specialpurpose application that is successfully  
> connecting to
> a mainframe.  I can see it coming up on a monitor application.
>
>
>
> Skip
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Odd Error

SkipDever
This is using derby ootb and a two week old ofbiz with the framework
unmodified.

I am just now downloading postgres to see if I can figure it out better with
it.

Skip

-----Original Message-----
From: David E Jones [mailto:[hidden email]]
Sent: Tuesday, January 08, 2008 1:22 PM
To: [hidden email]
Subject: Re: Odd Error



The database you are using may not be schema-aware, but allows a "."
in the table name.

In the entityengine.xml file try turning off the schema (don't specify
a schema name in the datasource element).

You may have to rebuild the database when you do this.

Which database are you using, BTW? It may be that someone on the list
has some experience with it...

-David


On Jan 8, 2008, at 2:22 PM, Skip wrote:

> I have left the normal Ofbiz realm for a time and am attempting to
> use the
> framework for a mainframe project prototype.  In doing so, I deleted
> all the
> applications except part of party.  I have no errors in the build
> logs.
>
> However, when I attempt to log in, I get this exception:
>
> Exception in thread "default-invoker-Thread-9"
> java.lang.RuntimeException:
> Error
> while updating: [GenericEntity:RecurrenceInfo][createdStamp,2008-01-08
> 13:04:13
> .297(java.sql.Timestamp)][createdTxStamp,2008-01-08
> 13:04:13.296(java.sql.Timest
> amp)][exceptionDateTimes,null()][exceptionRuleId,null()]
> [lastUpdatedStamp,20
> 08-0
> 1-08 13:06:22.906(java.sql.Timestamp)][lastUpdatedTxStamp,2008-01-08
> 13:06:22.90
> 6(java.sql.Timestamp)][recurrenceCount,1(java.lang.Long)]
> [recurrenceDateTime
> s,nu
> ll()][recurrenceInfoId,270(java.lang.String)][recurrenceRuleId,
> 270(java.lang
> .Str
> ing)][startDateTime,2000-01-01 00:00:00.0(java.sql.Timestamp)] (SQL
> Exception wh
> ile executing the following:UPDATE OFBIZ.RECURRENCE_INFO SET
> START_DATE_TIME=?,
> EXCEPTION_DATE_TIMES=?, RECURRENCE_DATE_TIMES=?, EXCEPTION_RULE_ID=?,
> RECURRENCE
> _RULE_ID=?, RECURRENCE_COUNT=?, LAST_UPDATED_STAMP=?,
> LAST_UPDATED_TX_STAMP=?, C
> REATED_STAMP=?, CREATED_TX_STAMP=? WHERE RECURRENCE_INFO_ID=? (Schema
> 'OFBIZ' do
> es not exist))
>        at
> org.ofbiz.service.job.PersistedServiceJob.init(PersistedServiceJob.ja
> va:136)
>
> Note that it sez "Schema 'OFBIZ' does not exist"
>
> Here is a snipit from the ant run-install-seed log:
>
> DatabaseUtil.java:356:INFO ] Created table [OFBIZ.RECURRENCE_INFO]
>
> Anyone have a clue what this is?
>
>
> I am running Ofbiz as java -jar ofbiz.jar sc
>
> The "sc" is a specialpurpose application that is successfully
> connecting to
> a mainframe.  I can see it coming up on a monitor application.
>
>
>
> Skip
>