Pbcopy and pbpaste exit code 1, no error message

I have a tough problem. Originally posted here: http://apple.stackexchange.com/questions/115587/pbcopy-exits-code-1-no-error-mes sage
I'm trying to use `pbcopy` and `pbpaste` to copy and paste to the clipboard from a shell. I read the man page to learn the syntax for these programs. However, no matter how I try to invoke `pbcopy` or `pbpaste`, they refuse to work, exiting code 1 with no error message. Command-C and Command-V work as normal.
[jay-mba-osx ~]% echo foo | pbcopy                                                                                                                                         
[jay-mba-osx ~]% echo $?                                                                                                                                                   
1
[jay-mba-osx ~]% pbcopy < foo.txt                                                                                                                                       
[jay-mba-osx ~]% echo $?                                                                                                                                                   
1
[jay-mba-osx ~]% echo foo | pbcopy -pboard general                                                                                                                         
[jay-mba-osx ~]% echo $?                                                                                                                                                   
1
[jay-mba-osx ~]% pbcopy --help                                              
[jay-mba-osx ~]% echo $?
1
[jay-mba-osx ~]% which pbcopy                                                                                                                                              
/usr/bin/pbcopy
[jay-mba-osx ~]% pbpaste                                                                                                                                                   
[jay-mba-osx ~]% echo $?                                                                                                                                                   
1
Any ideas why this is happening? It persists across reboots.
EDIT: OS X 10.9 Mavericks. Here is the result of `uname -a`:
    Darwin jay-mba-osx.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

I figured out that it was tmux causing the problem. Fixed with https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard

Similar Messages

  • Xcode clang exit code of 254 error message; what does it mean?

    I have tried to develop an iOS app on Xcode 4.3 and it has failed and quite with the message: clang exit code of 254.
    This has happened twice with the exact same error message. When it happened the first time, I closed my project, then quit Xcode and opened it again. I thought that I needed to flush my settings and should start over again to make sure that the error did not happen again. But it did.
    Can you tell me what this error message means and tell me what I need to do to keep it from happening again?
    Thank you.

    this happened to me alsi and it turned out to be the slightest error in my code. I simply went through my methods in the class where the crash was occuring and found a couple of simple mistakes that 4.2 was not bothered with and fixing the second one fixed it.

  • I try to install lightroom 5.6 and receive Exit Code: 7 ERROR: Third party payload installer Adobe_Lightroom_x64.msi failed with exit code: 1603

    Exit Code: 7
    Please see specific errors below for troubleshooting. For example,  ERROR:
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 3 error(s)
    ----------- Payload: Adobe Photoshop Lightroom 5 5.6.0.0 Adobe_Lightroom_x64.msi_5.6 -----------
    ERROR: Schlüssel ist im angegebenen Status nicht gültig.
    ERROR: Install MSI payload failed with error: 1603 - Schwerwiegender Fehler bei der Installation.
    MSI Error message: Schlüssel ist im angegebenen Status nicht gültig.
    ERROR: Third party payload installer Adobe_Lightroom_x64.msi failed with exit code: 1603

    Same problem. I have CC installed on Win 7 with all other apps working fine. Tried to install Lightroom 5 and got:
    Exit Code: 7
    Please see specific errors below for troubleshooting. For example,  ERROR:
    - 0 fatal error(s), 3 error(s)
    ----------- Payload: Adobe Photoshop Lightroom 5 5.7.0.0 Adobe_Lightroom_x64.msi_5.7 -----------
    ERROR: Error 1935.An error occurred during the installation of assembly component {5C21D397-1DA5-
    3749-8C1F-165F21DE9E3E}. HRESULT: 0x80070003.
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1935.An error occurred during the installation of assembly component
    {5C21D397-1DA5-3749-8C1F-165F21DE9E3E}. HRESULT: 0x80070003.
    ERROR: Third party payload installer Adobe_Lightroom_x64.msi failed with exit code: 1603
    I uninstalled all Adobe CC software, ran Adobe CC Cleaner, cleaned my Registry using Piriform CCleaner 5, rebooted and reinstalled CC from scratch. Same problem--everything else installed correctly except Lightroom 5. Also tried uninstalling KB2918614--no joy.
    Dayton

  • Problem installing Creative Cloud programs Exit code 7.  ERROR: updating driver failed

    I am trying to install Creative Cloud programs, have managed to  download and install Dreamweaver and Photoshop but when trying to install Fireworks and other programs I get the error message Exit code 7 : Error: updating driver data failed.  Driver entry not added.
    I am using a Dell 5010 running Windows 7.
    Please help!

    See the following help document:
    "Exit Code: 6," "Exit Code: 7" Installation Errors -
    http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html

  • After writing an html report on a floppy disk and removing it, labview shows an error message window: disk not present

    after writing an html report on a floppy disk and removing it, labview shows an error message window: disk not present.
    My pc is based on asus motherboard. Labview 7 and Windows 2000 sp4 installed.
    The error message continue also if i stop the application that generated report on a: .
    I've got this problem only on a pc: on other machines i don't have this problem (Labview only continues to access floppy but it doesn't show any window).
    Find below an example: first press the button to create a report on a: then remove the floppy, after 30-35 sec i've got the error message
    Attachments:
    prova.vi ‏55 KB

    Hi,
    I tried your vi: I don't get any error message after removing the disk but LV7 keeps on accessing the drive at regular intervals even if you stop the vi and close it!!! This is not supposed to happen.
    The only way to stop it is exit LV7.
    If you don't use the file dialog and you wire a full path, you don't get any problem.
    I also created a very simple vi that conditionally writes a text file on a: and I got the same behaviour.
    This problem occurs only with LV7, I tried the same examples in LV6.1 and everything was fine.
    If anybody wants to try I attach this simple example,
    Alberto
    Attachments:
    salva_testo1.vi ‏22 KB

  • Numerous attempts at a clean install of iTunes have failed.  I am running Win7 64 bit on a Toshiba L series Satellite w/8G RAM and 100  G HDD space.  Error message was (-42404), but following a complete (recommended) uninstall am now getting "Error 7".

    Numerous attempts at a clean install of iTunes have failed.  I am running Win7 64 bit on a Toshiba L series Satellite w/8G RAM and 100  G HDD space.  Error message was (-42404), but following a complete (recommended) uninstall am now getting "Error 7".  The prior uninstall included the establishment of administrator rights to files and folders left in the Apple folder after running the uninstaller, and successfully removing ALL visible and hidden Apple files and folders.
    Any other suggestions out there folks?

    On Oracle Metalink site, there are many documents which says that Oracle 32 bit software works on 32 bits OS and 64 bits software works on 64 bits OS. Official support is only in those combination....
    So there is no good way to help you in your case-XE is 32 bit application with hard codded compiled libraries which most of them would not work on 64 bit OS.
    Sorry
    8(
    Hope this helps

  • HTTP request failed. Error code: "500". Error message

    Hi ,
    When we are trying to test webservices (exposed webservice in PI)  scenarios in PI box we are getting error related Adapter framework service
    HTTP request failed. Error code: "500". Error message: "Internal Server Error [http://xxxx:xxxx/AdapterFramework/rtc]"
    in the RWB it is showing that
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 01d76ce0-972e-11e0-c652-b25394b91e0c(INBOUND) expired
    Can any body help .
    Edited by: subhaniABAP on Jun 15, 2011 11:30 AM

    Hi,
    If you want to resolve this error when dealing with the messages, please try the cache refresh with the link:
    http://host:j2eeport/CPACache/refresh?mode=full
    And also go thorugh:
    - In Integration Repository/Directory go to menu Environment ->
    Clear SLD Data Cache
    - In R/3 go to transaction SXI_CACHE -> menu XI Runtime Cache -> Start
    Complete Cache Refresh
    MESSAGE EXPIRED:
    Increase the value of the timeout parameter 'xiadapter.inbound.timeout.default' under Services -> 'XPI Adapter:XI'
    to a higher value say '600000'.
    Regards,
    Caio Cagnani

  • Code to get error message in small pop up window.

    Hi,
    I got this code to get error message in pop up window. But this code is giving null pointer exception.
    Can any one tell what is the exception. and how to solve it.
    IWDConfirmationDialog dialog;
              String dialogText = "Duplicate value ";
              dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(
              dialogText,
               wdControllerAPI.getControllerInfo().findInEventHandlers("ok"),
              "ok"
              dialog.open();
    Regards,
    H.V.Swathi

    Hi,
    Most probably you are getting the null pointer exception because of wdControllerAPI.getControllerInfo().findInEventHandlers("ok") as WD is not able to find the ok event handler.
    I guess you have already defined the "ok" event handler in your view .
    Considering that the name of the event handler is "ok" , you can make the following change in
    your code
    confirmDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText,wdThis.WD_EVENTHANDLER_ON_ACTION_OK, "ok");
    Regards,
    Ashish

  • CS6 keeps crashing and I'm getting the following error message

    CS6 keeps crashing and I'm getting the following error message
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    Photoshop.exe
      Application Version:    13.0.1.0
      Application Timestamp:    5022da9d
      Fault Module Name:    image_runtime.dll
      Fault Module Version:    3.0.0.1
      Fault Module Timestamp:    5022d44f
      Exception Code:    c0000005
      Exception Offset:    000000000000e164
      OS Version:    6.1.7601.2.1.0.256.48
      Locale ID:    1033
      Additional Information 1:    a887
      Additional Information 2:    a88763af120bd826f987133067e96ba6
      Additional Information 3:    3d10
      Additional Information 4:    3d10b7e37b05a8ad1931741a7d65d6a3

    Useless without some system information.
    Mylenium

  • My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any

    My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any advice is helpful. This has never happened in 6 years

    answered in your other thread LR 4 suddenly no longer recognizes files.

  • Just got new air and trying to set up. When I put in my Apple ID and password it comes up with error message 'can't sign in because of server error. Try again signing on.' Trying again does not fix. I know my ID and PW are right as work on other devices.

    Just got new air and trying to set up. When I put in my Apple ID and password it comes up with error message 'can't sign in because of server error. Try again signing on.' Trying again does not fix. I know my ID and PW are right as work on other apple devices I have.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

  • I am working in text edit and cannot open my file. Error message says it is in the wrong format, truncated or corrupted. what to do?

    I am working in text edit and cannot open my file. Error message says it is in the wrong format, truncated or corrupted. what to do?

    Try opening Disk Utility in your Applications-Utilities folder and repair permissions.

  • I am unable to open a project that I have worked on and saved.  I get an error message that the file is damaged and cannot be opened.

    I am unable to open a project that I have worked on and saved.  I get an error message that the file is damaged and cannot be opened.

    Leslie Tanaka
    Travel and detours have kept me from following up sooner. If the problem that you wrote about still persists.....
    Let us go back over that Adobe document regarding troubleshooting damaged projects.
    3. Delete the Application Preferences
    Where you able to follow that path and delete the Adobe Premiere Elements Prefs file at the end of the path? And, after you did, did the saved/closed programs still refuse to open? If you could not carry out this procedure, what were the limiting factors that kept you from do
    7. Test to see if individual media files are causing the problem.
    That is an important one. How far did you get into following the instructions given in the document? If you could not complete the test, what was the major block that prevented you from doing so?
    I want to make sure that we have gone through everything in that document and ruled all factors there in or out. If it was a matter of you not understanding the instructions, I am hoping that the above will channel you questions to me so that I can clarify anything that you did not understand in the Adobe document instructions.
    I do not recall if I asked previously. Even if you cannot open all your saved/closed projects, can you still open a new project and save/close it? Maybe even reopen it?
    Please review and consider.
    Thank you.
    ATR

  • Sims game keeps quiting and giving me a type 3 error message!

    Hi,
    I have been playing The Sims Original on my Power Macintosh 8600/300 for awhile now and all of a sudden after installing well over 800 new items (Like TVs,couches) it continuesly closes out and gives me a type 3 error message sometimes it freezes the whole computer as well. It simply just closes out as if I clicked it then once its closed it will give me the error message. I have never had this problem before and yes Iam pretty sure it can possibly be the items but theres so many and I dont want to loose them all! I dont even know for sure if thats the problem. My PM 8600 runs Mac OS 9.2.2,and has 160MB of RAM.
    Thanks all

    Well I just installed it into my iMac yesterday (Without any of the downloads) and it works fine! I guess it was the downloads. Ill have to watch out for them. I dont know why though, Even after I got rid of them all on thePowerMac it didnt stop with the message so I put them back! Then I got a type 2 error. Why? I like it on the iMac but I cant get my saved files over on this mac. Can I share files VIA USB?
    Thanks

  • When I try and launch Firefox, I get this error message A copy of Firefox is already open. Only one copy of Firefox can be open at a time." and have tried all of the trouble shooting tips, can you help?

    When I try and launch Firefox, I get this error message >A copy of Firefox is already open. Only one copy of Firefox can be open at a time." and have tried all of the trouble shooting tips, can you help? I thought if I were to completely uninstall and re install it might help, but I cannot seem to find instructions to do this....

    See [[Firefox is already running but is not responding]], the image shown in that article is the Windows equivalent of the error message that you are receiving, but the information relates to the Mac.

Maybe you are looking for

  • How to install Adobe CS5.5 on a Macbook Air

    I bought Adobe Creative Suite 5.5 Design Premium back in 2011 and have been using it without any problems. I recently bought a Macbook Air that I would like to switch to. Without the CD drive, how would can I reinstall CS5.5? I can't download the tri

  • Can't register upgraded Quicktime Pro (invalid registration) Now what?

    Just upgraded to Quicktime pro. I'm running the current Quicktime 7 Player. Followed instructions, went to system preferences, opened Quicktime registration, filled out info, then entered number given to me by Apple for Quicktime Pro. Then I opened Q

  • Formula & Nokia 9500

    Dear Experts, I need people who know are both expert of phones and computer software programs. I have a developed a file in excel which has some formulas and it's working properly in PC but when I transfer my file to my Nokia 9500 one portion of the

  • Serial Number - Performance

    Hi gurus, with a customer we're working about a new implementation project. The customer is working on SAP about some processes in the supplay chain, and he wants to dismiss a custom system that is used to tracking the life of some product. The scope

  • .Mac login failed | Computers no longer registered with my .Mac account

    Ever since the new year 2007, I can't sync my two computers with my .Mac account. The account, ID, and password still function. However, the computers no longer show up as registered. I have 302 days left on my .Mac account. I always get a ".Mac logi