Syntax error hp-setup line 112 after python3 ..(pseudo Closed)

Please advise how to change python3 to point to python2 to eliminate the setup error in hp-setup.
The /usr/bin/hp-setup is reported to have a syntax error on line 112.
I assume this is caused by the python3 change.
Moderator:  Changed title so to avoid confusion.  The title said closed, but the thread is really still open.
Last edited by lilsirecho (2011-01-08 00:49:40)

jazen wrote:
I too have these problems (both printing in inverted colors and hplip not working). My printer is configured via CUPS and I have the hp 6980DT which is very similar to your 6940 model.
I get the following message when I try and run hp-setup.
warning: Qt/PyQt 4 initialization failed.
This occurs on both my 32 bit and my 64 bit system, both of which are up to date.
I had same error with hp-systray and I've seen that hplip doesn't install by default python2-qt4 : this both commands are graphical user interfaces, thus they need this package.
To see other optional packages, see : http://www.archlinux.org/packages/extra/i686/hplip/

Similar Messages

  • Syntax error in program "CL_HTTP_SERVER=CP " after EHP4 Upgrade

    Hi All,
    Iam getting ABAP dumps after upgrading my system to EHP4  Windows ABAP+JAVA stack,
    Syntax error in program "CL_HTTP_SERVER================CP ".
    Error in the ABAP Application Program
    The current ABAP program "SAPLHTTP_RUNTIME" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program
    "CL_HTTP_SERVER================CP " in include
    "CL_HTTP_SERVER================CM00F " in
    line 15:
    "Field "C_IS_SHOW_SERVER_HEADER" is unknown. It is neither in one of th"
    "e specified tables nor defined by a "DATA" statement. ."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    The current ABAP program "SAPLHTTP_RUNTIME" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
        Please eliminate the error by performing a syntax check
        (or an extended program check) on the program "CL_HTTP_SERVER================CP
        You can also perform the syntax check from the ABAP Editor.
        If the problem persists, proceed as follows:
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        The following syntax error was found in the program
         CL_HTTP_SERVER================CP :
        "Field "C_IS_SHOW_SERVER_HEADER" is unknown. It is neither in one of th"
        "e specified tables nor defined by a "DATA" statement. ."
    Regards
    Uday

    Hi,
    SPDD should be performed before ACT_UPG phase when system prompts you for SPDD. But now you cannot do SPDD phase. All the objects that came during SPDD phase has been resetted to new objects which SAP has delivered with EHP4.
    SPAU you can perform after upgrade and that too with in 14 days when upgrade finished without object key.
    I should suggest you to read upgrade guide on http://service.sap.com/erp-ehp.
    Thanks
    Sunny

  • IDOC Syntax Error E0072 with status 26 after upgrade to ECC6.0

    Hi
    We have upgraded SAP R/3 from 4.6C to ECC6.0. After upgrade, when we create PO and output EDI, we are seeing this IDOC syntax error E0072 for Mandatory Segment E1EDK01. In 4.6C it was working fine with no issues, only after upgrade this problem started. It says E1EDK01 is missing which is mandatory. We are using basic type ORDERS01 with no extensions. When we see WE30 it looks fine, WE20 settings looks fine.
    Order of the segments got scrambled in upgraded version. First segment is E1EDP19001, this is supposed to be under E1EDP01 segment. There are two E1EDP19001 segments created but there were no sub segments to E1EDP01.
    Any help in this regard is highly appreciated.
    Thanks
    Pandiri

    User Exit activation and fixing the issue in user exit fixed this issue.

  • MySQl syntax error near " at line 1 and Unknown column. Please help

    Hello again,
    I have another question. Just to refresh I am using DWCS3 with MAMP on my MBP Leopard 10.5.6.
    I have created a form with the form wizard and a Transitional <!DOCTYPE>
    I have added the php validation code pages 481 to 485 The Essential Guide to Dreamweaver.
    I saved it and uploaded it to the testing server clicked the "insert form" button,and  I got;
    You have an error in your SQL syntax; Check the manual that corresponds to your MySQL server version for the right syntax to use near " at line 1
    The MySQL version I am using is 5.0.37. I have gone over and over the code and I can't find what is wrong with it.
    Also for the username column, I am now getting a message;
    'Unknown column'  'ella1' in 'where clause'
    I have researched it on the web and possible answers are that my columns are misspelled, the column doesn't exist or username is not in the query.
    I have checked all of these and I really can't see the problem, but there obviously is one.
    Please can someone help.
    Thanks again.
    P.S. I have attached the page in a .zip file if anyone wouldn't mind having a look.

    No, I'm talking about the dot before.
    Change this
    .$row_detailsRS[$details_prodID] . "";
    to this
    . $row_detailsRS[$details_prodID] . "";
    in both places.

  • Predictive Analysis error message "[Sybase][ODBC Drivers][Sybase IQ]Syntax error near ',' on line 1

    Hello,
    I have a custom R component with a function that reads data from a hard configured file.
    No database operations but I get this ODBC error that, I suppose, originates from PA talking to the IQ server it runs.
    How can I find more about what PA tries to do, especially can I get a trace of the SQL it tries to execute?
    Best regards,
    Andreas

    Hi Andreas,
    You could start by looking at the logfiles that SAP PA produces.
    From your Windows Explorer go to the directory: %temp%\sapvi\logs
    Here you will find the logfiles that PA creates - as an example:
    If this information is not covering your requirements turn to the SAP PA manuel on page 11, section 5.4 configuring logs where it is described how to do a custom tracing.
    Good luck.
    Best regards,
    Kurt Holst

  • Error REP-0159: Syntax error on command line

    Hi
    I have a report where one of the paramers it recieved is PV_WHERE. The PV_WHERE is the next one (the problems is in the date value):
    WHERE CPV_CLIENT=2 AND CPV_DIVCLI='000001' AND CPV_ACCION='000001' And CPV_FECREC>='15-02-2007 00:00:00' And CPV_FECREC <= '02-03-2007 23:59:59' AND CPV_ALMACE='01' AND CPV_CLIENT IN ( SELECT CEM_CODCLI FROM CLIENTES_EMPRESAS WHERE CEM_CODEMP ='1') AND ( NOT EXISTS ( SELECT 'X' FROM ACCIONES WHERE ACC_ESTADO = 'BL'
    AND ACC_CODCLI = CPV_CLIENT AND ACC_CODDIV = CPV_DIVCLI AND ACC_CODACC = CPV_ACCION) OR CPV_ACCION IS NULL) AND ( NOT EXISTS ( SELECT 'X' FROM DIVISIONES WHERE DIV_ESTADO = 'BL'
    AND DIV_CODCLI = CPV_CLIENT AND DIV_CODDIV = CPV_DIVCLI) OR CPV_DIVCLI IS NULL) AND NOT EXISTS ( SELECT 'X' FROM CLIENTES WHERE CLI_ESTADO = 'BL'
    AND CLI_CODCLI = CPV_CLIENT)
    With this where, the report ,called from the form, crash . But if i change the where and delete the hour,seconds,minutes from the date, the report works.
    The select, with hour-minute-seconds included, works if i execute it from SQ-plus or from the report runtime directly.
    I dont know why the same select works in reports directly or in SQL-plus and not from the form
    ANy advice?
    Thanks

    Well, looks like there could be little conflict.
    Check that the parameter is date/time. Also try setting the format of the date/time so that there is little ambiguity. Use to_char or something like that.
    HTHs
    L :-)

  • REP-159: Syntax error on command line [Internet Browser]

    Hi All,
    I am running Oracle forms in Internet Explorer with Sun Plug-in. When I m trying to invoke the report for voucher slip having the following parameters like
    &para_cluster, &para_company, &para_site, &para_user, &para_je_voucher_id. The URL is converted as given below:
    http://localhost:8889/reports/rwservlet?report=D:\iERP\product\1.0.1\GL\reports\01_GL_Voucher_Slip_Report.rdf&desformat=pdf&destype=cache&userid=abc/abc@orcl&paramform=no¶_cluster=100¶_company=1000¶_site=10000¶_user=scott¶_je_voucher_id=2¶_je_voucher_cat=BPV
    What I discovered is that the string +&para+ is implicitly converted by ¶ into Browser. I don't know what to do with it. Can anyone help me in this regards.
    Thanks in advance
    Bilal

    Hello,
    Try to "URL encode" the character & : %26
    Regards

  • N1SM 1.3.3 OS Load gives syntax error and drops into interactive install

    Hi
    I am trying to load Solaris 10 u4 onto a T1000 and a X4100.
    This is my first installation of N1SM.
    When I give the load command the T1000 will boot off the network, but after a while I very
    briefly see a syntax error and a line about using US Keyboards, then the installation goes
    into interactive mode rather than unattended.
    This is very frustrating.
    Does anyone have any ideas as to what could be going wrong?
    I have installed N1SM on Solaris 10 U4 x86 and have the recommended patch bundle installed.
    Thanks

    No ... it will stay as IDR (Interim Diagnostic Relief - http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=IDR+site%3Asun.com ) afaik
    If you want it, ask Sun for it ... official patch will not be released for it yet ... and I wouldn't count on official patch so soon ...
    If you have a support for N1SM ... ask for the IDR , it's no. is IDR137229-01 (x86) & IDR137228-01 (sparc) , not sure about the linux one ...
    hth
    L

  • DataExport Syntax Error in Business Rules

    I am having issues trying to create a data export business rule in version 9.3.1. The syntax works fine as a calc script but when I copied it to a business rule I get a syntax error at the first bracket ({) after the 'DATAEXPORTOPTIONS.'  The error says it was expecting "\", "]]", <SUBST_VARIABLE>...
    The script is pretty simple:
    SET DATAEXPORTOPTIONS
    DataExportColFormat ON;
    DataExportColHeader "Account";
    DataExportOverwriteFile ON;
    FIX(&ActYear, "Plan","Working.DIV","Local","USD","EUR""HSP_InputValue",@LEVMBRS("Entity",0),"Patch_US","Total Employees")
    FIX(@REMOVE(&LastClosedMonth:"Dec",&LastClosedMonth))
    FIX("RegularWages","MeritInc","FICATax","FUTATax","SUTATax","IntlTax",@DESCENDANTS("HCFT"),@DESCENDANTS("HCPT"),@DESCENDANTS("HCInt"))
    DATAEXPORT "File" "," "F:\Hyperion\AnalyticServices\app\AOLWFP\WrkForce\Exp_WrkForce_ActYear.txt";
    ENDFIX
    ENDFIX
    ENDFIX
    I know the data export would not work with business rules unless you have at least patch version 9.3.1.1.5. This shouldn't be an issue:
    EAS - 9.3.1.4
    BR - 9.3.1.1.11
    Planning - 9.3.1.1.12.5
    Has anyone come across this before? Any help would be greatly appreciated.
    -John

    Thank you for pointing this out.
    I'm currently browsing metalink kb but "7021469 - Business Rules should support dataexport and dataimportbin functionality" provides no results.
    hbr_93300_readme.pdf refers indeee to that issue but I cannot upgrade to that version (because, as stated in that pdf, I should upgrade all prouducts to 9.3.3)
    You said it might be solved in Administration Services release 9.3.1.5 (I believe 9.3.1.1.5 was a typo), but the readme does not mention it...

  • Syntax error fix needed for "...getHelperForLanguage: function(language) null,..."

    Getting the syntax error, and having limited technical experience, I do not know how to fix the problem. This is in regard to a web site asset, an mp3 file. I am having problems getting such files to play within Chrome (though they play in Internet Explorer, for instance), so I am trying to troubleshoot from within Dreamweaver, as well as from the Chrome extensions side.
    Here is the line including the syntax error, with additional lines
        getInterfaces: function(countRef) {
            var interfaces = [Ci.nsIDOMGeoPositionCoords, Ci.nsIClassInfo, Ci.nsISupports];
            countRef.value = interfaces.length;
            return interfaces;
    getHelperForLanguage: function(language) null,
        contractID: "",
    Thanks for help.

    Use HTML5 <audio>. 
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Audio Demo</title>
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    </head>
    <body>
    <audio controls>
    <source src="path/yourSong.ogg" type="audio/ogg">
    <source src="path/yourSong.mp3" type="audio/mp3">
    <p>Ooooops.  Looks like your browser is out of date and doesn't support the audio tag.  Please upgrade to a modern browser.</p>
    </audio>
    </body>
    </html>
    Nancy O.

  • Syntax Error in Login Code PHP

    Hello,
    I am currently building my first log-in page and have come to the following issue. I am getting Syntax Error's on lines 39 & 49.
    I'm sure it's something simple that I am missing here?
    NOTE* Excuse me if I didn't post the code correctly, I am new to the forums.
    Click here to enter the members area";         $_SESSION{'username'}=dbusername;             }     else         echo"Incorrect Password";     }         else         die "that username doesnt exist";                 } else     die ("Please Enter a username and password");     } ?>

    Thanks for the reply!
    I fixed what you noted above and will look into not using the "die" command, I understand what you are saying about not using it and why
    However, here is where I am getting the syntax errors specifically:
    $_SESSION{'username'}=$dbusername;
    else
    echo"Incorrect Password";
    <syntax Error>
    else
    die "that username doesnt exist";
    else
    die ("Please Enter a username and password");
    }       <syntax Error>
    ?>

  • Reg: syntax error

    hi ,
    when i go with syntax check with method ENRICH_COMPONENT_WITH_ED_DATA in the class interface CL_IM_OIH_MIGO_BADI, got syntax error as:
    "The line type of the table "CT_GOCOMP" is not compatible with field symbol type "<FS_OIH_GOCOMP>"."
    pls suggest..how to correct this
    regards
    chandra

    Hi,
    please check the type of "<FS_OIH_GOCOMP>".
    if the parameter of the method requires a table to be passed then the field symbol should be declared as
    field-symbols : <FS_OIH_GOCOMP> type any table.
    otherwise if it requires to be a line type then  the declaration should be as follows
    field-symbols : <FS_OIH_GOCOMP> type any
    if this doesn't work then try giving the
    field-symbols : <FS_OIH_GOCOMP> type/like  CT_GOCOMP.
    hope this helps you
    Regards,
    Siddarth

  • Derby - Syntax error, why?

    Hello,
    I'm stumped as to why this doesn't work (the commented part works fine)
        try { String connn = "jdbc:derby:test;create=true"; Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); Connection connect = DriverManager.getConnection( connn ); //     Statement stat; // stat = connect.createStatement(); // stat.executeUpdate( "CREATE TABLE City ( NAME VARCHAR(35) NOT NULL )" ); // // Statement st; // st = connect.createStatement(); // st.executeUpdate("INSERT INTO City( Name ) " + // "VALUES( 'Amsterdam' )" ); // // PreparedStatement statement = connect.prepareStatement("SELECT Name FROM City"); // ResultSet resultSet = statement.executeQuery(); // while (resultSet.next()) { // System.out.println( resultSet.getString("Name") ); // }     Statement stat; stat = connect.createStatement(); stat.executeUpdate( "CREATE TABLE  weerstations ( "+ "stationsnummer VARCHAR(5) NOT NULL,  "+ "voortzetting  VARCHAR(5),"+ "naam          String NOT NULL,  "+ "positie        string NOT NULL,  "+ "terreinhoogte  DOUBLE(2, 1),  "+ "karakteristiek string NOT NULL,  "+ "grondsoort    string NOT NULL,  "+ "barometer      DOUBLE(3, 1),  "+ "windmeetmast  INT(2)" ); }     catch( Exception e ) {     e.printStackTrace();     }     finally{     System.exit( 1);     }
    The error it throws is
    java.sql.SQLSyntaxErrorException: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown Source) at Database.<init>(Database.java:49) at DatumSelectiePanel.<init>(DatumSelectiePanel.java:25) at WeerApp.<init>(WeerApp.java:88) at Test.createAndShowGUI(Test.java:32) at Test.access$0(Test.java:25) at Test$1.run(Test.java:49) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Caused by: java.sql.SQLException: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ... 22 more Caused by: ERROR 42X01: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) at org.apache.derby.impl.sql.compile.ParserImpl.parseStatement(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source) at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source) ... 16 more
    (line 49 is stat.executeUpdate()

    Ah yes, cut off the parenthesis by accident while removing an extra line that was in there while it was still intended for sqlite.
    Which is also why the datatypes are a mess, which I really need to fix as this is supposed to run on postgresql and mysql as well.
    Anyhow.. it looks like this now stat.executeUpdate(
         "CREATE TABLE    weerstations ( "+
         " stationsnummer VARCHAR(5) NOT NULL,"+
         " voortzetting   VARCHAR(5),"+
         " naam           VARCHAR(255) NOT NULL,"+
         " positie        VARCHAR(255) NOT NULL,"+
         " terreinhoogte  DOUBLE(2, 1), "+
         " karakteristiek VARCHAR(255) NOT NULL,"+
         " grondsoort     VARCHAR(255) NOT NULL,"+
         " barometer      DOUBLE(3, 1),"+
         " windmeetmast   INT(2)" +
    );Which looks correct to me, but it's throwing
    java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at line 1, column 194.[edit]:
    Thinking "I need this working" more than "I need this working properly" I also attempted                stat.executeUpdate(
                        "CREATE TABLE    weerstations ( "+
                        " stationsnummer VARCHAR NOT NULL,"+
                        " voortzetting   VARCHAR,"+
                        " naam           VARCHAR NOT NULL,"+
                        " positie        VARCHAR NOT NULL,"+
                        " terreinhoogte  DOUBLE(2, 1), "+
                        " karakteristiek VARCHAR NOT NULL,"+
                        " grondsoort     VARCHAR NOT NULL,"+
                        " barometer      DOUBLE(3, 1),"+
                        " windmeetmast   INT" +
                   );Which gets me a java.sql.SQLSyntaxErrorException: Syntax error: Encountered "NOT" at line 1, column 56.Edited by: Axeia on May 21, 2009 12:28 PM

  • Inserting Flash Video - Syntax Error

    Hello,
    I used the Insert menu to add a flash video file to my page. There is some kinf of syntax error on this line:
    swfobject.registerObject("FLVPlayer");
    I am validating for HTML4.
    The video plays in preview, but not when uplaoded. Any ideas?
    Mike

    I am so embarassed. The problem? my extension was .FLV, not .flv. I changed the case and everythng works now. I had no idea that extensions are case-sensitive.
    Thanks so much for all your help. Like I said, I am embarassed and apologize that I wasted your time.
    But I do wonder why case didn't matter when previewing. Could that be a domain server setting?
    Mike

  • Include program gives a syntax error

    Hello experts,
    I have a code piece as follows:
    REPORT  z_obj_emp.
    INCLUDE z_class_emp.
    z_class_emp is another z report.
    When I compile the report z_obj_emp, I get an syntax error:
    "Each ABAP program can contain only one "REPORT", "PROGRAM", "FUNCTION-POOL" statement."
    Could you please help me out to rectify this issue?
    Thanks,
    Mohit.

    Hello Sachin,
    Thanks for the reply. I have done as you have mentioned. Now when I execute the report z_obj_emp,
    I get a syntax error at the line:
    create object obj_emp.
    It says: "Statement is not accessible."
    The whole code of z_obj_emp is:
    REPORT  Z_OBJ_EMP.
    INCLUDE Z_CLASS_EMP.
    data: p_name type string,
          p_designation type string,
          obj_emp type ref to c_employee.
    create object obj_emp.
    p_name = 'EMP1'.
    p_designation = 'ACCOUNTANT'.
    call method obj_emp->set_attributes exporting
                         im_name = p_name,
                         im_designation = p_designation.
    call method obj_emp->display_attributes.
    call method c_employee=>display_count.
    The code of include z_class_emp is:
    *&  Include           Z_CLASS_EMP
    class c_employee  definition.
    defining the access specifiers.
      public section.
        constants: position type i value 30.
    parameterized method
        methods: set_attributes importing im_name type string
                                          im_designation type string.
    method
        methods: display_attributes.
    static method.
       class-methods: display_count.
      private section.
        data: name           type string,
                  designation type string.
    static variable.
       class-data: st_count type i.
    endclass.
    class Implementation
    class c_employee  Implementation.
    presenting the logic the methods.
       method set_attributes.
         name               = im_name.
         designation     = im_designation.
         st_count          = st_count + 1.
       endmethod.
       method display_attributes.
         write: / 'Name of Employee: '(001), at position name.
                / u2018Designation:'(002), at position designation.
       endmethod.
      method display_count.
       write: / 'Total Number of Employees ',
                             at position st_count left-justified.
      endmethod.
    endclass.
    Could you please let me know what the problem is now?
    Thanks,
    Mohit.

Maybe you are looking for

  • How to have double click on trackpad in Lion?

    I am not sure how to enable double click on trackpad in apple as i am used to?

  • Invocation JVM and JNI library communication

    How do I communicate between my application that creates a VM, and the JNI libraries (with native functions) loaded by classes within the invoked VM?

  • Is it possible to change the hash algorithm when I renew the Root CA

    My Root CA is installed on a Windows Server 2008. The Hash algorithm of Root CA in my environment is MD5. I would like to renew the Root CA and change the Hash algorithm to SHA1. Is it possible to change it? Regards, Terry | My Blog: http://terrytlsl

  • RABAX_STATE error on CHECKBOX_GROUP

    Dear experts, I've got a few issues with PC 10.0. When I start e.g. "Control Monitoring History with Ratings" I get a RABAX_STATE error: Error in CHECKBOX_GROUP "REGULATION_CHECKBOX" of view "GRPC_REPORT_SELECTION.SELECTION": Value "0" is not permitt

  • Zenworks installation cd with PXE boot

    Hi! Excuse my english, swedish is my native language. When i use pxeboot i thought everything worked, BUT, when i think imaging is starting, following comes up: "Could not find Zenworks installation CD. Activating manual setup program". Then i cant u