[solved] Python issues when trying to run tpfanco-svn from AUR

I installed tpfanco-svn [1] from the AUR, and all that went smoothly. However, I do get some serious Python related errors when I actually try to run tpfand or tpfan-admin, and I do not know whether they are actually Python 2 or Python 3 related.
Here are the error messages:
$ tpfand
Traceback (most recent call last):
File "/usr/sbin/tpfand", line 26, in <module>
import tpfand.control
File "/usr/lib/python2.7/site-packages/tpfand/control.py", line 27, in <module>
import dbus, dbus.service, dbus.mainloop.glib, dbus.glib
File "/usr/lib/python3.3/site-packages/dbus/__init__.py", line 82, in <module>
import dbus.types as types
File "/usr/lib/python3.3/site-packages/dbus/types.py", line 6, in <module>
from _dbus_bindings import (
ImportError: /usr/lib/python3.3/site-packages/_dbus_bindings.so: undefined symbol: PyBytes_Type
And for the other command:
$ tpfan-admin
Traceback (most recent call last):
File "/usr/bin/tpfan-admin", line 21, in <module>
import tpfanadmin.globals
File "/usr/lib/python2.7/site-packages/tpfanadmin/globals.py", line 24, in <module>
import gtk, gtk.glade, gobject, gtk.gdk
File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
File "/usr/lib/python3.3/site-packages/cairo/__init__.py", line 2
SyntaxError: Non-ASCII character '\xc2' in file /usr/lib/python3.3/site-packages/cairo/__init__.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Any ideas how to debug this? Maybe I am missing some package?
1: https://aur.archlinux.org/packages/tpfanco-svn/
EDIT/Solution: The scripts, both tpfand and the tpfan-admin GUI, are only meant to be run as root. If done so, no errors are thrown.
Last edited by Stalafin (2013-04-19 14:12:01)

clfarron4 wrote:A possible related bug is this, referenced in this thread.
clfarron4: It looks like it could be however the suggested solution in the bug report did not solve the problem.
As I did not want to solve it dirty as Thorsten Reinbold did to build his package I downgraded automake from 1.15 to 1.14 temporarily and built the package with no errors. I then installed the package and all is working properly. I then reupgraded to version 1.15.

Similar Messages

  • Exception CX_RS_ERROR occurred when trying to run the DTP from Cube

    Hi everyone,
    I've run the DTP &  loaded the cube using normal transformation routines , it works fine in the Dev Sys but not in quality & production. I've access only to the Dev sys. In Qual & Prod when trying to run the DTP from Cube to open HUB
    we're getting the following error
    Exception CX_RS_ERROR occurred (program: CL_RSTRAN_TRFN================CP, include: CL_RSTRAN_TRFN================CM024*
    My system support package level is SAPKW70106.
    I've found note 920338 but is for SAPKW70107.

    Hi,
    The issue seems to be with the one of the routines in the transformation and similar kind of the issues were solved by retransporting the DTP & the related transformation.
    Kindly reactivate the DTP and transformation in the source and execute a new request to transport the DTP, transformation and related routines to Quality & Production again.
    Hope this helps.
    Rgds,
    Colum

  • Error when trying to run web report from BEx analyzer

    Hi Gurus,
    I am getting this error "STOP: System error in program SAPLRRS2 and form SELOPT_ASSIGN-01", when I am trying to run the report from the 4th button "Display report on Web" on BEx Analyzer. Can anybody tell me what this and how we can resolve it.
    Thanks and I will assign points.

    I coudn't properly understand solution provided herein:
    "Solution
    Note that you must generate the query again after you have implemented the correction (Transaction RSRT1 > Generate report).
    SAP NetWeaver 2004s BI
               Import Support Package 07 for SAP NetWeaver 2004s BI (BI Patch 07 or SAPKW70007) into your BI system. The Support Package is available when Note 0872279 "SAPBINews BI 7.0 Support Package 07", which describes this Support Package in more detail, is released for customers.
    In urgent cases, you can use the correction instructions.
    To provide advance information, the note mentioned above may be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version"."

  • Trying to install AMSN-SVN from AUR, TLS troubles (Resolved)

    Hi all,
    I just finished attempting to get AMSN-SVN from AUR working correctly. I got it installed and running fine but when I go to sign in, it complains about a missing TLS package, which was expected from what I read in the wiki. However, AMSN for some reason is unable to download the TLS package due to an error with sourceforge. I manually entered the URL in my web browser and the file in question downloaded fine that way. I extracted the archive and in the AMSN preferences I directed it to look for TLS in the folder I extracted the archive too. In theory this should work fine but it did not and no matter where I put the TLS files or point AMSN too it simply won't work.
    I also read about editing one of the TLS files but my file was correct already so it must have been fixed at some point. Anyone have any insight or tips for me? I am ready to pull my hair out. lol. I even tried installing Arch's TLS package but got no love from that either. If I can't get this to work I may have to go back to my Ubuntu install. Nooooo!! I love Arch too much.
    Kevin
    Last edited by ould (2007-05-25 13:08:05)

    samlt wrote:
    well, I just read the wiki, and it tells you have to download tls manually, but you don't have to...
    amsn also asko for tls (which was already installed) until this modification is done
    I know you said you already tried something similar, but I've done this few days ago, and I can't see why it wouldn't work for you...
    Thanks for the suggestion samlt. I did try that as I too found some posts relaying the same info. My file already had the correct layout so it must have been fixed sometime recently. No biggie, I am using Mercury Messenger at the moment and it seems to be doing pretty much everything I need for now, just found out about it yesterday and there was a package in the AUR so I tried it out and it is working well at the moment.
    Thanks,
    Kevin

  • Webutil Error when trying to run excel report from Oracle form

    I am trying to run an excel report from a oracle from but it throws me following error:
    Oracle.forms.webutil.fileTransfer.FileTransfer bean not found. WEBUTIL_FILE_TRANSFER.getmaxtransfer will not work
    Can you tell what is this error due to and how to eradicate this.

    hi
    Did you generate .plx?
    please check if you did not generate plx and if u did not create db packages please create the webutil user and create db packages.
    here is the webutil configurations.
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.hope this helps u.
    sarah

  • [solved] Permission Error when trying to run gitosis-init

    Im trying to install a git repository using gitosis, as described in the Arch Wiki:
    https://wiki.archlinux.org/index.php/Gitosis
    However, when I try to run gitosis-init as the git user I get the following error:
    sh-4.2$ gitosis-init < /srv/id_dsa.pub
    Traceback (most recent call last):
    File "/usr/bin/gitosis-init", line 5, in <module>
    from pkg_resources import load_entry_point
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2691, in <module>
    add_activation_listener(lambda dist: dist.activate())
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 668, in subscribe
    callback(dist)
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2691, in <lambda>
    add_activation_listener(lambda dist: dist.activate())
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2192, in activate
    self.insert_on(path)
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2299, in insert_on
    self.check_version_conflict()
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2338, in check_version_conflict
    for modname in self._get_metadata('top_level.txt'):
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2186, in _get_metadata
    for line in self.get_metadata_lines(name):
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1174, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1166, in get_metadata
    return self._get(self._fn(self.egg_info,name))
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1281, in _get
    stream = open(path, 'rb')
    IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/soaplib-1.0.0_beta8-py2.7.egg-info/top_level.txt'
    It works if I run gitosis-init as root. But I'd rather avoid that.
    Any ideas on how I could fix this?
    Last edited by ChojinDSL (2011-03-16 12:29:54)

    ChojinDSL wrote:
    However, when I try to run gitosis-init as the git user I get the following error:
    IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/soaplib-1.0.0_beta8-py2.7.egg-info/top_level.txt'
    What are the permissions of that file? Did you use a restrictive umask while building gitosis-git?

  • Permission issues when trying to run any adobe app, tech support guy quit after trying to fix it for 2 hours

    I don't know what to do. Any of my adobe apps give the same error:
    Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
    The aforementioned tech support person was a test account he made, and spent a long time doing stuff with all the permissions for the adobe files. Eventually he got it so illustrator at least would launch, then immediately crash. He just quit without a work not too long after that.
    I'm running windows 7, 64bit. On my own personal computer. Please help
    note: I was also having issues with creative cloud, which managed to get fixed

    Caps folder contains database file like Cache.db , Media,db , pdb.db which holds the information regarding Apps installation on system and other essential data, in some cases if the files are corrupted , it is essential to remove Caps folder .
    Once you delete Caps folder , CC app will list Apps with Install button as it does not have information regarding installation of CC apps as the Media.db file will be deleted along with it.
    In this case , it is better that you uninstall the Apps which is not listed as Up to Date ,and being listed with Install button even though it is already installed.

  • Launching issue when trying to run itunes on windows vista, can anyone help? ive tried uninstalling and then reinstalling but still have the same error code

    This has only occurred recently and I am not being able to load up itunes on my computer which is quite a pain

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Error when trying to run jspx page from JDev - from Linux workstation

    Hi,
    I am using jdev 11.1.1.7.40.64.38.
    I am facing an issue while deploying the application to the Integrated WLS,
    the application takes too long time to run or the following exception is shown in the server log
    "DFW-99998 [java.lang.ClassCastException][oracle.jbo.pool.ResourcePoolMonitor.resetThreadContext][AdvancedPlanning]"
    The incident log shows the trace,
    java.lang.ClassCastException: weblogic.utils.classloaders.ChangeAwareClassLoader cannot be cast to oracle.adf.share.ADFContext
    at oracle.jbo.pool.ResourcePoolMonitor.resetThreadContext(ResourcePoolMonitor.java:146)
    at oracle.jbo.pool.ResourcePoolMonitor.run(ResourcePoolMonitor.java:130)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    Please let me know if someone has a solution.
    Thanks

    As you use a version of jdev which is not available to the public, you should better ask your question on an internal forum.
    Timo

  • Error when trying to run a procedure from the .xsql file

    Here is the error message pasted below.
    - <test>
    - <xsql-error action="xsql:include-owa">
    <statement>declare buf htp.htbuf_arr; param_names owa.vc_arr; param_values owa.vc_arr; rows integer := 32767; outclob CLOB;begin param_names(1) := 'HTTP_COOKIE'; param_values(1) := ''; param_names(2) := 'SERVER_NAME'; param_values(2) := 'shanthi.ijs.com'; param_names(3) := 'SERVER_PORT'; param_values(3) := '8080'; param_names(4) := 'SCRIPT_NAME'; param_values(4) := '/xsql/test/myex.xsql'; param_names(5) := 'PATH_INFO'; param_values(5) := ''; param_names(6) := 'HTTP_USER_AGENT'; param_values(6) := 'Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)'; owa.init_cgi_env(6,param_names,param_values); scott.get_date; owa.get_page(buf,rows); dbms_lob.createtemporary(outclob,true,dbms_lob.session); for i in 1..rows loop dbms_lob.writeappend(outclob,length(buf(i)),buf(i)); end loop; ? := outclob; ? := DBMS_LOB.INSTR(outclob,CHR(10)&#0124; &#0124;CHR(10));end;</statement>
    <message>ORA-06550: line 3, column 75: PLS-00302: component 'SESSION' must be declared ORA-06550: line 3, column 28: PL/SQL: Statement ignored ORA-06550: line 3, column 120: PLS-00302: component 'WRITEAPPEND' must be declared ORA-06550: line 3, column 111: PL/SQL: Statement ignored</message>
    </xsql-error>
    <xsql-error action="xsql:include-owa" />
    </test>
    My .xsql file is:
    <test connection="system" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-owa>
    scott.get_date;
    </xsql:include-owa>
    </test>
    Any help in this regard is greatly appreciated.
    Shanthi
    null

    I tried this way:
    <?xml version="1.0"?>
    <datapage connection="system" xmlns:xsql="urn:oracle-xsql">
    <xsql:dml>
    begin
    get_rec;
    end;
    </xsql:dml>
    </datapage>
    Here it doesn't give any error, Why is it that it works here but not with <xsql:include-owa>, ofcourse I need to get a proper output from the procedure yet. Looks like the procedure doesn't support "out" variable, should I specifically use a function ?
    Anyhelp will be appreciated.
    Shanthi

  • Error when Trying to Run Concurrent Request on ASCP Instance

    Hi Experts,
    I have an issue when trying to run custom concurrent program in ASCP production.
    The error message is:
    oracle error 20001
    ORA-20001: APP-FND-02901
    You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option MO: Operating Unit is set has been detected in MO_GLOBAL.INIT
    I have searched through metalink regarding this issue and the solution is I should define the "MO: Security Profile" and "MO: Operating Unit" profiles.
    But the problem is my ASCP instance is not have any OU, it just defined for Inv Orgs. So, when I tried to define the profile, the LOV is empty.
    FYI, in my ASCP dev instance is working fine. I can run my concurrent request into it.
    In this instance, the profiles of "MO: Security Profile" and "MO: Operating Unit" are blank too.
    From this node:
    XLAACCPB - Create Accounting Program fails with Oracle error -20001: ORA-20001: APP-FND-02901: You do not have access privilege to any operating unit [ID 753824.1]
    It provided 2 actions, and when I tried to run query in the 2nd action, the result is:
    /* $Header: AFPFPROB.pls 120.18.12010000.10 2009/04/24 19:33:53 pdeluna ship $ */
    Any help would be really appreciated.
    Thanks & Regards,
    Rheza

    Hello Rheza,
    We are also facing the same issue in Self Service HR, We also do not have any Operating Unit setup.
    We are trying to run seeded "Active Users" concurrent program. Are you sure without setup of MO: Security Profile / MO: Operating Unit, It will work?
    Regards,
    Saurabh

  • How can i solve the contact itunes support issue when trying to make in app purchases

    how can i solve the "please contact itunes support" issue when trying to make in app purchases? my account has available credit from a gift card

    Click here and request assistance.
    (69559)

  • Problem when trying to run MD04

    I am experiencing problems when trying to run my MD04 Collective access, for vendor say X & Y.
    I buy many products from these vendors and I therefore need to have access to place these orders anytime of the day (as it can take more than one hour to raise the orders) and it is only allowing me access last thing in the day for some strange reason.
    Please can you look into this - I'm not sure if there is a server issue due to the size of the job, but I must have the ability to undertake this task.
    I tried to limit the selection further but still the problem is not getting solved.
    please tell me what else can be done?
    Thanks in advance.
    Regards,
    Sonal.

    Basically when i am trying to do collective access thru MD04 I am putting plant and vendor.
    the sys is not displaying the stock reqmt list but is getting time out.
    I tried limiting further by putting delivery dates, MRP controller but still it is not working.
    What else can be done?
    Thanks & Regards,
    Sonal

  • When trying to run video from yahoo and youtube I get a "plugin clocked" message

    When trying to run video from yahoo or youtube I get a "pluging blocked" message.

    Hello,
    After reading the information provided about your issue I suggest a soft reset of the phone.
    #Take the back cover of the phone off.
    #Take the battery out.
    #Take the SIM card and microSD card out (if applicable).
    #Wait 10 seconds.
    #Put the SIM card and microSD card back in (if applicable).
    #Put the battery back in.
    #Put the back cover back on.
    #Turn the device on.
    #Check if the issue you were having is still present.
    Please report back to us if this solved your problem!
    Thank you

  • Error 500 Internal Server Error When trying to run an app

    Greetings,
    I'm trying to figure out how to fix this issue when I'm trying to run an app from JDeveloper 10.1.3.3.0.
    This is my problem
    1st of all it JD compiles everything great
    http://img163.imageshack.us/img163/6589/compiling.jpg
    2nd
    The embedded server seems to works
    http://img856.imageshack.us/img856/1231/runingserver.jpg
    3rd
    Everything crash!
    http://img14.imageshack.us/img14/4301/internalse.jpg
    JDeveloper doesn't shows any error. Same problem when trying to Debug
    I'm using an oracle DB 10g which is in a different computer (in a server)... any guesses?
    Thanks in advance!
    -Fury

    what URL you are trying to run ?
    did you try to run on different computer ?
    Jdev 10g is quite old now and i dont think it supports JSPX pages (i saw jspx extension in your deployment)
    Zeeshan

Maybe you are looking for

  • Sender Filename to Determine Which System to Send IDoc to

    I have a situation where I'm retrieving a file on a server that will have one of three file names: example.sendto1.file example.sendto2.file example.sendto3.file so I'll use the 'wildcard' * to pick up the file like this example.*.file but what I wan

  • How to download a zip drive to my ipod?

    How do I download a zipdrive from the library to my ipod?

  • Urgent Regarding Oracle Spatial

    We are running arc SDe on Oracle 8.0.5. Is it advisable to modify the values in sdoindex and sdogeom table values thru triggers itself. If so, what is that SDO_CODE. How to calculate value for that column. Please advise. Thanks in advance Sudha null

  • Create a 2d Table programatically

    Hi, Can anyone plese tell me how to create a 2D table in the report device programatically. Thanks,

  • Userexits for normal and SAP enjoy transaction

    I have a question - are all user exits that we have used for normal transaction ( Say ME21) are also applicable for the new SAP Enjoy Transaction( Say ME21N). In case there are some user exits which are not applicable for new transaction how can we f