HPLIP: "Syntax error: invalid syntax" installing HP LaserJet 1018

I'm trying to install my HP LaserJet 1018 on my new laptop with fresh arch installation. I have installed Cups and hplip, and now run hp-setup to install the proprietary plugin from HP that will load the firmware to the printer. However, I get an error running hp-setup and so the plugin cannot be installed.
* my printer is plugged in and turned on. In the system log, I can see something is recognized
* I run "hp-setup -i" as root
* Specify that the printer is installed on USB, then proceed to download the plugin. This succeeds
* Then it tries to install the plugin, and that is where it fails, with this message:
| INSTALLING PLUG-IN |
Verifying archive integrity... All good.
Uncompressing HPLIP 3.10.9 Plugin Self Extracting Archive.........................................
  File "./plugin_install.py", line 78
    except ImportError, e:
                      ^
SyntaxError: invalid syntax
error: Python gobject/dbus may be not installed
(I don't really know how to do proper formatting on this forum, but the ^ indicating where the error is is on the comma , after ImportError)
Does anyone know what is going wrong? It seems to me that there is an error in the plugin_install.py-file which then makes the installer believe that the pygobject and dbus-python are not installed, but they both are. Also, "hp-check -t" shows that all dependencies are there. Can anyone help me?

Delete the /usr/bin/python file which is just a link to /usr/bin/python3
Change to /usr/bin folder
Create a new link, this time pointing to python 2.7
The commands
rm -rf /usr/bin/python
cd /usr/bin
ln -s /usr/bin/python2.7 python

Similar Messages

  • Javascript error invalid syntax

    Hii Javaties
    I am a having a jsp page(List.jsp) where i am showing a list of records.
    In this page user can select the number of records per page
    For this i have provided a combo box from which user can select the no of records per page say 10 ,20 ,25,30.
    In this page i also have a functionality for previous and next.
    Now my problem is tht , if user selects 10 or 20 records per page everything is fine, but if he selects anything above 24 i.e 25,30 then there is a problem.
    The list is displayed then also , but if user selects some new criteria say 10 records/page , then i get a javascript error invalid syntax.
    I am getting the list of records in a ArrayList in the servlet and then i am passing this arrayList as a request attribute to the jsp.
    Also i am initiliazing my ArrayList as
    ArrayList company=new ArrayList();
    Can any body tell me about invalid syntax.
    If i am not clear plz tell me .

    Well Mr Brainy,
    I said tht the error is in javscript, but the problem
    i think is in java code.Based on your remarkable powers of deduction?
    Bcz it is working fine when my form has less than 24
    elements, but when it exceeeds this limit, it gives
    me error.
    Can it be due to no of elements in jsp form ?No. It's due to a bug in your code that manifests yourself when you have that number of elements.
    Check on line 57.

  • JavaScript error: Invalid Syntax in Personalization dialog (URL too long)

    When personalizing some of our iviews, we get a javascript error: "Invalid Syntax". Doing a View - Source in the personalization dialog shows a very long URL being generated in the FORM ACTION attribute:
    <form style="margin:0px 0px 0px 0px; " name="htmlb_2151_0"
    id="htmlb_2151_0" method="POST" action="/irj/servlet/prt/portal/prtpos/com!
    252esap!252eportal!252epagebuilder!252eIviewModeProxy!7b!3bpcd!253aportal!
    255fcontent!252fcom!252enexeninc!252efld!255fNEXEN!255fContent!252ffld!
    255finternational!252ffld!255fexec!255fwksp!252ffld!255fsecurity!252ffld!255frot!
    255fscheds!252fcom!252enexeninc!252eiog!252eexec!252ewksp!252ero!
    255fsecurity!255frotation!255fschedule!252fcom!252enexeninc!252eiog!252eexec!
    252ewksp!252ews!255fmy!255fworkspace!255fiog!255fdashboard!252fcom!
    252enexeninc!252eportal!252enavigation!252ews!255fmy!255fworkspace!252ffld!
    255fiog!255fdashboard!252ffld!255fsecurity!252ffld!255frotation!255fschedule!
    252fcom!252enexeninc!252eiog!252eexec!252ewksp!252epg!255frotation!
    255fschedule!255fb14!252fcom!252enexeninc!252eiog!252eexec!252ewksp!252eiv!
    255frotation!255fschedule!255fb14!7d.pcd!253aportal!255fcontent!252fcom!
    252enexeninc!252efld!255fNEXEN!255fContent!252ffld!255finternational!252ffld!
    255fexec!255fwksp!252ffld!255fsecurity!252ffld!255frot!255fscheds!252fcom!
    252enexeninc!252eiog!252eexec!252ewksp!252ero!255fsecurity!255frotation!
    255fschedule!252fcom!252enexeninc!252eiog!252eexec!252ewksp!252ews!255fmy!
    255fworkspace!255fiog!255fdashboard!252fcom!252enexeninc!252eportal!
    252enavigation!252ews!255fmy!255fworkspace!252ffld!255fiog!255fdashboard!252ffld!
    255fsecurity!252ffld!255frotation!255fschedule!252fcom!252enexeninc!252eiog!
    252eexec!252ewksp!252epg!255frotation!255fschedule!255fb14!252fcom!
    252enexeninc!252eiog!252eexec!252ewksp!252eiv!255frotation!255fschedule!
    255fb14!7bedit!7d-/prttarget/pcd!253aportal_content!252fcom!252enexeninc!
    252efld_NEXEN_Content!252ffld_international!252ffld_exec_wksp!252ffld_security!
    252ffld_rot_scheds!252fcom!252enexeninc!252eiog!252eexec!252ewksp!
    252ero_security_rotation_schedule!252fcom!252enexeninc!252eiog!252eexec!
    252ewksp!252ews_my_workspace_iog_dashboard!252fcom!252enexeninc!
    252eportal!252enavigation!252ews_my_workspace!252ffld_iog_dashboard!
    252ffld_security!252ffld_rotation_schedule!252fcom!252enexeninc!252eiog!
    252eexec!252ewksp!252epg_rotation_schedule_b14!252fcom!252enexeninc!
    252eiog!252eexec!252ewksp!
    252eiv_rotation_schedule_b14/prteventname/HtmlbEvent/prtroot/com.sap.portal.pag
    ebuilder.IviewModeProxy" onsubmit="return htmlbCheckSubmit('htmlb_2151_0');"
    ondragover="htmlbFormDragOver()" ondragleave="htmlbFormDragLeave()">
    (Line breaks added for readability.)
    This URL is 2187 chars long - over the <a href="http://support.microsoft.com/kb/208427">limit of 2083 allowed by Internet Explorer 6</a>.
    How can we shorten this URL?
    We can shorten our PCD path (currently 427 chars). But Portal is taking this string and making it 5 times longer; this does not seem reasonable to me.
    Questions:
    1. Can we control how Portal escapes punctuation ( . _ / ) from 1 char into 5 (!252e etc.)? This would save 720 chars.
    2. Can we control how Portal duplicates the PCD path 3 times in this scenario? This would save 1406 chars (approx).
    Tried enabling "Short URLs" - does not affect this length.
    Environment:
    - EP6, SP16.
    - IE 6.0 on XP, SP2

    I think you're stuck. All I can suggest is renaming the ids to shorted the prefixes...
    Otherwise, implement a different personalization capability.

  • No syntax error on syntax check, but syntax error on activation

    Hi all,
    I have a confusing problem.
    I want to default some values on item level of purchase order (ME21N). I added a module call in flow logic of screen 1313 of program SAPLMEGUI. The module itself I added to include LMEVIEWSF01. Here I default some fields of structure MEPO1313. This structure is defined in TOP-include using TABLES.
    Before modification I debugged the transaction and found out, that structure MEPO1313 is accessible during PBO. Changes in debugger are shown as expected on screen.
    Now, syntax check on LMEVIEWSF01 and even on SAPLMEGUI returns no error. But on activation I get syntax error saying MEPO1313 is not know ??
    So, structure MEPO1313 is accessible in debugger, no syntax error on syntax-check, but syntax error on activation ?
    What is going on ??
    Elko

    go to SE80 and Check syantax at package level.
    you might  be checking syantax for other include and problem si somw ehere else, justa  thought.

  • MOF syntax error occurred while installing 2008 SQL server Express on Vista Ultimate

    I have tried cleaning, then installing 2008 SQL server Express on Vista Ultimate 3 times and spent hours on this. I have installed regular SQL server on 2003 server with no issues many times, but I have huge issues with 2008 SQL server Express. I keep getting the proceeding errors.
    Any ideas?
    Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0x0A2FBD17@1211@1
      Configuration error description: A MOF syntax error occurred.
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\Detail.txt
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0x0A2FBD17@1211@1
      Configuration error description: A MOF syntax error occurred.
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\Detail.txt
      Feature:                       Management Tools - Basic
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0x0A2FBD17@1211@1
      Configuration error description: A MOF syntax error occurred.
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\Detail.txt
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\SystemConfigurationCheck_Report.htm

    Similar error (not SQL Express but Enterprise) on my network reveals the following issue (still prevalent after removing and re-adding the machine to the network):
    The kerberos client received a KRB_AP_ERR_MODIFIED error from the server host/machinename.domainname.local. The target name used was cifs/MACHINENAME. This indicates that the password used to encrypt the kerberos service ticket is different than that on the target server. Commonly, this is due to identically named machine accounts in the target realm (DOMAINNAME.LOCAL), and the client realm. Please contact your system administrator.
    ALSO: The session setup from the computer MACHINENAME failed to authenticate. The name(s) of the account(s) referenced in the security database is MACHINENAME$. The following error occurred: Access is denied.
    This default instance (Ent SQL 2008 on Ent Server 64 bit 2003 R2 SP2) failed with the MOF error using a service account to install SQL 2008.  Repair does not work.   "The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature."
    I expected to have more luck with the information here:  http://mark.michaelis.net/Blog/CategoryView.aspx?category=.Net but wound up with result seen in my next post.
    Of note, tried the removal of leftover registry entries after a failed install as in link above, also removed sql folders prior to re-install. Error is the same and rather than list entire log here, there is a portion available below but as is evident, there is a permission error in the registry which verifies what mark michaelis has pointed out:
    "Sco: Compile operation for mof file \etcls.mof.transformed failed. Exit code 3" "Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigNonRC and scenario ConfigNonRC." "A MOF syntax error occurred." "Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigNonRC and scenario ConfigNonRC." Here is more: at Microsoft.SqlServer.Configuration.Sco.WmiProvider.InstallMof() 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.EtwSetup.Install(String strInstanceName, Guid guidInstance, String strPath) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.SetupETW(EffectiveProperties properties) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install_ConfigNonRC_Prepare(EffectiveProperties properties) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SqlFeatureConfigBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream) 2009-03-31 10:51:19 Slp: Exception: Microsoft.SqlServer.Configuration.Sco.ScoException. 2009-03-31 10:51:19 Slp: Source: Microsoft.SqlServer.Configuration.Sco. 2009-03-31 10:51:19 Slp: Message: A MOF syntax error occurred.. 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key
    (And so on - cannot read or write the registry key)...

  • [SOLVED] Installing HP LaserJet 1018

    I've done everything but I can't installed 1018 LaserJet on my system..
    I even install python2 and changed the syntax of hp-setup script from
    /usr/bin/env python
    to
    /usr/bin/enc python2
    ... It still doesn't  works.. gives me following error
    Verifying archive integrity... All good.
    Uncompressing HPLIP 3.11.1 Plugin Self Extracting Archive.........................................
    File "./plugin_install.py", line 78
    except ImportError, e:
    ^
    SyntaxError: invalid syntax
    I tried to install the foo2zjs driver, but it failed to compile saying that dc is missing, install dc.. Can you tell me which dc is it referring to?
    I'm really tired to boot Windows everytime I want to print anything..
    Last edited by tarun.hellknight (2011-02-19 04:58:25)

    use foo2zjs in aur. Sometimes the formware doesnt get uploaded to the printer correctly (via an udev rule) so use this "cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0"

  • Installing Hp Laserjet 1018 on Ubuntu 13.10

    Hplip can't see my printer, but lsusb can what can I do to get it to be found manually?  I can not discover what to enter in the manual discovery options and what format to enter them in.
    output from my terminal console is as follows:
    robert@phenom:~$ sudo hp-setup -i
    HP Linux Imaging and Printing System (ver. 3.14.3)
    Printer/Fax Setup Utility ver. 9.0
    Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
    This software comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to distribute it
    under certain conditions. See COPYING file for more details.
    (Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
    | SELECT CONNECTION (I/O) TYPE |
      Num       Connection  Description                                               
                Type                                                                  
      0*        usb         Universal Serial Bus (USB)                                
      1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
    Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0
    Using connection type: usb
    error: No device selected/specified or that supports this functionality.
    robert@phenom:~$ lsusb
    Bus 001 Device 005: ID 03f0:4117 Hewlett-Packard LaserJet 1018
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 002: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
    Bus 002 Device 002: ID 0c45:6128 Microdia PC Camera (SN9C325 + OM6802)
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    Hi Robert_Steyn,
    Welcome to the HP Forums, I hope you enjoy your experience!
    I understand you are trying to setup the printer on Linux.
    I will be happy to help you.
    I have provided you with the HP LaserJet 1018 Printer Drivers that are available.
    This is a link to the HP Linux Imaging and Printing page.
    Hope this helps.
    Thank you for posting on the HP Forums.
    Have a nice day!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Problems installing HP LaserJet 1018 printer on new MacBook Pro

    Hi all,
    I just entered the wonderful world of Mac and I am really enjoying it. Too bad I waited so long. However, I have a problem installing my printer, an HP LaserJet 1018 printer, on my new MacBook Pro intel based computer. I checked at HP's website and it says that the printer is not supported for the Mac environment. Could there be other possibilities with drivers to download or should I buy a new printer?
    Looking forward to hearing from you.
    Best regards,
    Christian
    MacBook Pro 15", Intel based   Mac OS X (10.4)  

    Hi Crelle,
    When the manufacturer says they don't support something, it's generally best to stay away from it.
    There's almost always 3 ways to do any 1 thing, but you may need you printer to do more than 1 thing and therefore you're going to have issues with all the other things.
    Printing to a printer sounds like 1 thing, but it's not.
    It's many things working together to get ink on paper.
    My advise is get a supported printer and live without a headache.

  • Installing HP LaserJet 1018 HOW LONG on line?

    Have an HP LaserJet 1018 and a new computer that has Windows 7 on it. The old ones had MicrosoftXP. I love my printer but it wouldn't load. Tried the web site to install the driver, but it has been installing for 2 hrs. now. Should I stop and try again?

    Hi there,
    If you are still having problems with install This article should cover the issue you are experiencing. Give the steps outlined a try and let us know if it helps.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • FindServerBehaviors in DynAttribute.htm ... Syntax error Invalid quantifier ??

    I get this error: While executing findServerBehaviors in
    DynAttribute.htm the following JavaScript errors occured:
    SyntaxError { Invalid quantifier
    I get this sort of thing from time to time when I handwrite
    php / mysql code and DW8 can't digest it for some reason. My files
    always work fine on the server, but DW8 (and MX, MX2004) seem to
    get confused by things that don't fit in its idea of how recordsets
    and queries work.
    I have NO EXTENSIONS installed, and have already reinstalled
    this once in the past to no avail.
    It's just annoying, as I can hand code fine and just click
    "OK" about the error, but it happens every time DW changes from
    codeview to design view, or upon opening the doc, or saving it.
    Any ideas?
    BTW, I really wish Adobe / MM would give us a way to disable
    these warnings (i.e., "do not show this message again...) for a
    given file. Maybe it could be in the file notes? Are you listening,
    Adobe? Probably not...

    Try this:
    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/go/tn_19105
    David Alcala
    Adobe Product Support

  • Syntax error: Invalid CSS after "" (iphone.sass) [Wikipedia]

    Using the newest build (iOS 4.2.1) I am getting the above error for all wikipedia pages on my phone only. Can anyone confirm this?

    I too am having this problem in my iPhone. The problem seems to be localized to mobile safari as iCab Mobile has no problems displaying the mobile wiki page properly.

  • B2b Invalid syntax error

    hi all
    In Application Configurations-> Customer -> b2b_sta i set as default configuration and active configuration
    then i create JCO
    client:000    
    lang: en 
    group:PUBLIC 
    r3name:* XXX* 
    mshost: *host name *
    user:    *User name *
    passwd: 
    After that i restart server i am getting this error Invalid syntax error
    hostname:${https.port.core.isa.sap.com}
    please any body help me here

    Hi Apprentice,
    From your description I assume that you are using "group_connect" JCO connection and it is used for SAP system with Message Server (Load balancing)
    I believe that you have selected right JCO connection type as per your environment.
    About your error hostname:${https.port.core.isa.sap.com}  you can find solution in XCM.
    Go to General Application Setting --> Customer --> b2b --> b2bconfig on right side look for "SSLEnabled" parameter.  Now click on "Edit" button on top right to edit XCM configuration. Change value to "False" for "SSLEnabled" parameter. Now click on "Save Configuration" and restart your application.
    You will not get the error which you are getting right now.
    Your "SSLEnabled" parameter has "True" value right now and this is the main reason for your current error change it to "False" it solve your error.
    Cheers.
    eCommerce Developer

  • Syntax error while creating Calculation view script based

    Hi Folks,
    I'm creating Calc view based on script and drafted a simple code but I'm getting syntax error.
    Its just fetching few coloumns from two tables products and purchaseorderitem.
    /********* Begin Procedure Script ************/
    BEGIN
      var_out = select productid , category, nameid, currency, grossamount, quantity
      FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
      where P.productid = B.productid;
    END /********* End Procedure Script ************/
    Could you pls take a look and let me know what wrong I'm doing?
    Error logs are:-
    sap.hana..package.project.folder.mytest.CALCSCRIPTVIEWInternal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "democontent": line 5 col 18 (at pos 439)nSet Schema DDL statement: set schema "SYSTEM"nType DDL: create type "_SYS_BIC"."sap.hana..package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" as table ("PRODUCTID" NVARCHAR(10), "CATEGORY" NVARCHAR(2), "NAMEID" NVARCHAR(10), "CURRENCY" NVARCHAR(5), "GROSSAMOUNT" DECIMAL(15,2), "QUANITYT" DECIMAL(13,3))nProcedure DDL: create procedure "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc" ( OUT var_out "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as n /********* Begin Procedure Script ************/ n BEGIN n t var_out = select productid , category, nameid, currency, grossamount, quantityn t FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS Bn t where P.productid = B.productid;nnEND /********* End Procedure Script ************/n

    Hi Rubane,
    I don't have EPM installed here but based on this Table User Defined Functions( Table UDF ) in HANA  you are not properly defining the source table.
    In your case missing 1) schema of EPM, 2) not using double quotes, 3) separation of package and view, 4) missing camel case on purchaseOrderItem:
    FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
    On blog:
    from "SAP_HANA_EPM_DEMO"."sap.hana.democontent.epm.data::businessPartner" as a
    SAP_HANA_EPM_DEMO is the schema
    sap.hana.democontent.epm.data is the package
    businessPartner is the view
    Start simple... before the seletion try it out on Studio SQL.
    Regards, Fernando Da Rós

  • Syntax error when adding variables in recordset (query)

    MySql,PHP,Dreamweaver,WindowsVista
    Hi I am receiving a syntax error: invalid quantifier ++ $orderNum;s*?> when adding two variables in the recordset (query) dialog box. I get the error when clicking OK.
    Here is what is entered:
    name: fieldname
    type: text
    default: -1
    runtime value: $_GET['Field']
    name: searchvalue
    type:text
    default: -1
    runtime value: $_GET['Search']
    Can anyone help with this?

    That's a completely separate issue. The error message is telling you that you have not defined the testing server correctly in the Site Definition dialog box.
    The Host directory field and URL prefix should both point to the same place, in other words, the root of your website. Host directory is the physical path, while URL prefix is the address you would put in a browser address bar.
    Select Site > Manage Sites. Select the name of the site, and click the Edit button. In the Site Definition dialog box, select the Advanced tab, and then choose Testing server from the Category list on the left.
    Depending on how your remote login works, Host directory should probably be public_html or just /. Use the same value as in the Remote server part of the Site Definition dialog box. The URL prefix should be http://gaylehansen.aisites.com/.

  • Forms9i browser problem(Invalid Syntax)

    when ever i am running a form in browser there is a error Invalid syntax error
    and a string in browser is (http://%%20"http://P4-0055MH:8888/forms90/f90servlet?form=G:\FAMCTZRN.fmx&userid=STQC/STQC@impl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES")
    Initially a (http://%%20") is added while running every form so i have to remove that much part a run the form then in runs(http://P4-0055MH:8888/forms90/f90servlet?form=G:\FAMCTZRN.fmx&userid=STQC/STQC@impl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES")
    i have check the edit-preferences and done the setting as (http://P4-0055MH:8888/forms90/f90servlet) but the problem persists
    so plese tell me where is the problem (checked (http://%%20") in all files formsweb.config but not found
    in any one have solution please tell
    thanks

    Hi,
    This is note 238159.1 on Metalink HTTP://%%20 Gets Prefixed in URL, When Forms is Run from.
    PURPOSE
    When you try to run the Forms using the 9iDS in the new installation :
    http://%%20 gets prefixed to URL, when forms is run from Builder
    SCOPE & APPLICATION
    Here what needs to be done:
    Workaround 1
    ===============
    1. Exit the Builder and OC4J
    2. Open cauprefs.ora (located in the Oracle Home root directory)
    3. Locate the lines labeled "Forms.html ..."
    4. Make your changes here. Any values you do not want displayed in the
    Builder replace with (). Example below.
    5. Save the file and restart the Builder
    Example of a correct cauprefs.ora entry
    Forms.html = "http://myMachine:8888/forms90/f90servlet"
    Forms.html1 = ()
    Forms.html2 = ()
    Forms.html3 = ()
    Forms.html4 = ()
    Forms.html5 = ()
    The machine.domain name should NOT contain spaces. This is poor naming
    practice regardless of the use of Forms.
    Workaround 2
    ==============
    Go to the preferences dialog box and click on the Runtime tab.
    Set Web Browser (i.e, C:\Program Files\Internet Explorer\IEXPLORE.EXE) .
    Workaround 3
    =============
    Go to the preferences dialog box and click on the Runtime tab. Make
    sure your Application Server field is correct.
    Workaround 4
    ===============
    1. Go to the preferences dialog box and click on the Runtime tab and then
    make Application Server field Blank.
    Workaround 5
    ==============
    %20 is the escape for blank. Maybe you have a blank character in the
    runtime settings.
    Monica

Maybe you are looking for

  • __ Is there a way to open an .emf (Windows Enhanced Meta File) file in Ai?

    __ Is there a way to open an .emf (Windows Enhanced Meta File) file in Ai? I was given several Nutrition Facts tables to use in my package design - I don't want to redraw them or guess at the size. Thanks

  • How do I access new second hard drive?

    Hi! I am newbie, I am sorry if this a dumb question... How do I access my second hard drive? This is what I have: SparcStation5 170Mhz, 192MB memory.2HDD (one 4.3GB w/ OS, second Hdd 4.3GB) I had my sparc working with Solaris 8 just perfect! I added

  • USB in Java

    So there is an API for linix, but what about windows? I'm trying to find anything on the use of USB through java. I've got a palm pilot I'm trying to communicate with. I'm finding theories and low level USB info, but java info on USB's whimper

  • CS4 liquify tool error

    Something very strange has just started to happen to me with CS4.  I've been running CS4 on my Mac Pro for quite some time without any problems.  Just yesterday I began to run into something like a mini "crash" when using the liquify tools. Previousl

  • Inserting an iframe inside of Flash 8, possible?

    Hello, I'm creating a small Flash object. I have four URLs that I want to display and dynamically change through Flash, but I'm not sure how to display these pages. I tried creating a dynamic textbox that displays html. I set a variable and put an if