I cannot create a file

Hi. In my application I'm trying hard to create a file storing accounts information "accounts.dat", but I am not able to do so, after trying many things. This is the final code that I have, but I don't see a new file created. Any suggestion?
          try
               File file = new File( accountsFile ); // accountsFile = "accounts.dat"
               // Create file if it does not exist
               boolean success = file.createNewFile();
               if ( success )
                    // File did not exist and was created
               else
                    // File already exists
               writer = new PrintWriter( new FileOutputStream( file ) );
               reader = new BufferedReader( new InputStreamReader( new FileInputStream( file ) ) );
          catch ( IOException e )
               e.printStackTrace();
          }

The file may initially exist or not, if not I'm trying to create it.
import java.io.*;
import java.net.*;
import java.util.Vector;
import javax.swing.JOptionPane;
public class AccountsManager
     private Vector accounts;
     private String accountsFile;
     private PrintWriter writer;
     private BufferedReader reader;
     public AccountsManager( String accFile )
          accounts = new Vector();
          accountsFile = accFile;
          initializeFileStreams();
          loadAccounts();
     public void initializeFileStreams()
          try
               File file = new File( accountsFile );
               // Create file if it does not exist
               boolean success = file.createNewFile();
               if ( success )
                    // File did not exist and was created
               else
                    // File already exists
               writer = new PrintWriter( new FileOutputStream( file ) );
               reader = new BufferedReader( new InputStreamReader( new FileInputStream( file ) ) );
          catch ( IOException e )
               e.printStackTrace();
     public void loadAccounts()
          Account a;
          String userName, password;
          try
               while ( ( userName = reader.readLine() ) != null
                              && ( password = reader.readLine() ) != null )
                    addAccount( userName, password );
          catch ( EOFException eofe )
               // do nothing; simply return
          catch ( IOException ioe )
               ioe.printStackTrace();
     public void saveAccounts()
          Account a;
          for ( int i = 0; i < accounts.size(); i++ )
               a = ( Account ) accounts.elementAt( i );
               writer.println( a.getUserName() );
               writer.println( a.getPassword() );
          writer.flush();
          writer.close();
     }

Similar Messages

  • Application cannot create needed files

    I have searched under this heading but Firefox brought up 1000 articles and I gave up after going through 10 pages, as none seemed relevant.
    I was trying to open my GIO "Virtual Safe" file, which allows me to list all my contents for insurance purposes, by where they are in the house and what category they fall into, and includes costs and photos, and also totals all entries to a final figure. I am sorry but I am not sure what type of file or program it is, but hopefully someone who sees this question will know "Virtual Safe". Anyway, I got a pop-up - "This application cannot start as it cannot create needed files. There may not be enough free disc space".
    I don't see how the last sentence can apply, as I am only using about 140 GB on a 1 TB disc. Also, subsequent checks (see after this) make me question whether the problem is related to the Virtual Safe program at all.
    A short time after this problem surfaced I received a pop-up to say that there was an update to Apache Open Office, which I downloaded. When I tried to open the application file to update Open Office I got a pop-up - "Error! Can't initialize plug-ins directory. Please try again later". I then searched and found the Mozilla help file "Re-initiallizing the plugins database", and other files as well, and followed their instructions. Firstly I changed all my plugins to "Never Activate" as suggested, but it made no difference. So I changed them all back to "Always activate".
    I then deleted the pluginreg.dat file as suggested, but it made no difference, so I reinstated that.
    By this time I began to wonder whether I would be able to open any application file, so out of interest I tried to open a few more application files from my downloads. None would open and I got various pop-up messages when I tried. For some reason they weren't all the same.
    i.e. "Can not create temp folder archive"; and "Failed to download file"; and ""Setup was unable to create the directory "C:\Users\owner\AppData\Local\Temp\is-TTSU7.tmp". Error 5: Access is denied"".
    Can anyone help me?
    Thanks,
    Barry

    hey barry, when you google that error message, it seems to appear for all kinds of different software & it appears that it is caused by something corrupting the system environment. you might want to try the tip here: http://www.windowsbbs.com/windows-7/106826-adobe-reader-wont-install-windows-7-64-bit.html#post618612 or starting the system in safemode and scanning for malware. but again, any more detailed help regarding this issue is probably outside the scope of this forum :-/

  • Cannot create PS file and PDF in Framemaker 9

    I'm using Version 9.0p196.
    When I used the "Advanced Save" to save an .fm file to a pdf, I got the message "The specified printer 'N/A' cannot be found, use printer 'Adobe PDF' instead. After I click OK, it said "cannot create PS file", and "failed to create PDF file.
    It worked fine before.This problem was occurred after I copied some fonts to the following locations:
    C:\Windows\Fonts
    and
    C:\Program Files\Adobe\FrameMaker9\fminit\fonts\adobe
    Those fonts are:
    timesbd.ttf
    times.ttf
    HelveticaWorld-Regular.ttf
    HelveticaWorld-Italic.ttf
    HelveticaWorld-BoldItalic.ttf
    HelveticaWorld-Bold.ttf
    I have no idea if that's the cause of the problem. Does anyone know?
    By the way, the FM 9 is running on XP.
    Thanks,
    Meggie

    Meggie,
    You may or may not have created a mess with fonts. I would try not to have duplicate fonts, it is totally sufficient to have them in C:\Windows\Fonts.
    But your FrameMaker verson is definitely four (4) patches behind. The current version is 9.0.4 (9.0p255) and you can get the updaters here:
    http://www.adobe.com/support/downloads/product.jsp?product=22&platform=Windows
    You have to install them one after another.
    Some of the patches improved the Save as PDF feature.
    For further communication, please add your OS version and Acrobat version.
    - Michael

  • Cannot create a file when that file already exists, but should overwrite

    Hi,
    I need the same file name which is at Sender side and when it reaches to Receiver directory without timestamp.
    for eg., Sender side : Yeswanth.txt
    and also receiver side   :  Yeswanth.txt
    but, here it should overwrite the existing file (because, the sender side file name is always constant) at receiver directory when the job schedules for each time.
    Processing parameters i has given on Receiver side:
    File Construction Mode  :  Create
    put file  : Use Temporary File
    and I enabled the Adapter Specific Message Attributes at Sender side and Receiver side.
    Error getting receiver side at communication channel :
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException:
    Yeswanth.txt: Cannot create a file when that file already exists. : com.sap.aii.adapter.file.ftp.FTPEx: 550
    Yeswanth.txt: Cannot create a file when that file already exists.
    Reward points for useful answers.
    Regards,
    Yeswanth.
    Edited by: YeswanthRaj Kumar on May 23, 2008 8:20 AM

    Hi Yeswanth
    Then you can try with a "Add Counter". This will create new file each time with the same name but a counter will be added to the file name at the end specifying the number of times it is created.
    You can also the specify the format to create the counter once select this option u can correspondingly fill the Format and step fields.
    Will this be fine.
    Regards
    Ashmi

  • FTPEx: 550  : Cannot create a file when that file already exists.

    Hi experts,
    I am working on idoc to file scenario and PI 7.1. The idoc is split into 3 files.
    In sxmb_moni , the message is successful , but in rwb( Message montoring) i am geeting the fllowing  Error message.
    ' Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server '172.19.125.190:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /Storedata/Outbound/0000001802: Cannot create a file when that file already exists. '. For details, contact your FTP server vendor..'
    and this error message is not displayed for all the target files , some files are getting created succesfully.
    After some times , the file in error status , gets created automatically.
    What may be the reason.?
    Thanks in advance .
    Best Regards,
    Anil

    There seem to be already some files in your Target Directory with the same name as your new files (which the CC is trying to place) and the CC is not able to overwrite the existing files and hence the error...check this.
    Check: http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/69d7cfa4b633eae10000000a1553f6/content.htm
    14.      Select the File Construction Mode.
    u25CB       Create
    The file is created. The document received last is saved in each case.
    If you want the created file to be overwritten, select Overwrite Existing File. If you do not set the indicator, processing is stopped until the created file is processed.
    You can only set the indicator if you select Use Temporary File under Put File below.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jul 28, 2009 6:59 PM

  • Cannot rename DC, "Cannot create a file when that file already exists."

    Hi,
    A long time ago we used a domain controller named jacob.mydomain.lan.  It was removed, possibly in a 'dirty' way, and now we cannot re-use that name for another domain controller.  In the meantime we have upgraded to Win 2012 domain controllers
    now, and when I enter this to rename:
    netdom computername ourdc.mydomain.lan /add:jacob.mydomain.lan
    I get the error:  "Unable to add jacob.mydomain.lan as an alternate name for the computer.  The error is:  Cannot create a file when that file already exists."
    If I enter: 
    netdom computername ourdc.mydomain.lan /remove:jacob.mydomain.lan
    I get: "The command completed successfully", but it still refuses to add jacob.mydomain.lan
    After each attempt to add a forward zone dns record 'jacob.ourdomain.lan' has been created.  I always erase this manually afterwards.
    What is the problem? How can I search to find the offending 'file' named 'jacob'?
    Thanks a lot for help on this.
    regards Tor

    Kevin,
    I suggest you wait 30 days instead of 3 days before you enthusiastically close threads. Some people might think you are being a jerk if you don't.
    "K_evin Zhu" wrote in message
    news:[email protected]...
    Hi,
    As this thread has been quiet for a while, we will mark it as �??Answered�?? as the information provided should be helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up. You can also choose to
    unmark the answer as you wish.
    BTW, we�??d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.
    Best Regards
    Kevin
    Tomás Mason

  • Adobe Acrobat XI: Error Adobe Acrobat is not activated. Cannot create PDF File.

    After installing Acrobat XI Pro on Windows 7 Ent. w/Office 2010.
    From MS Word, select Save as PDF, I recieve "Adobe Acrobat is not activated. Cannot create PDF file."
    Any and all troubleshooting has failed.
    Uninstall Acrobat, language packs, re-install, install updates, Install on fresh image.

    kglad  your link refers to Windows XP. As to the rest it is questionable. First of all it would be nice to know the cause, before fixing the problem. For in some cases eliminating the cause will solve problems later on. So, in my case for ex. The problem did not exist until I protected my Word 2010 document and then saved it to PDF--which it would not allow to do so and giving the error message stated above.

  • Age of Mythology cannot create log file

    I am trying to set up the game "Age of Mythology" on my son's user account. I am the administrator, and it works fine in my account, but when I try to run it from his account, I get the "cannot create log file" error message.
    I've tried doing an install under his user name, but still get this message.
    An thoughts?
    Thanks,
    Boris

    This sounds like a permissions issue. You probably need to enable read and write access to the folder where the log file is created. From your administrator account, Get info on that folder > expand Ownership and Permissions > expand Details > change Others to Read and Write.
    PowerMac G5   Mac OS X (10.4.6)   1GB RAM, nvidia 6800 ultra, Apple 30" Cinema Display

  • Contact your help desk with this information: cannot create connection file "CitrixID"

    Has anyone overcome an issue with logging in to a Citrix server and getting the following message: Contact your help desk with this information: cannot create connection file “CitrixID”? I can log on, but once logged in, the apps available to me will not launch.  All worked fine before I upgraded to OS X Mavericks. I do a lot of foreign travel and Citrix kept me connected to the office. Unfortunately, our IT team aren't really "Mac Guys" so they are just as perplexed as I am. I have deleted and deleted Citrix Receiver several times as posts on other sites recommended, but to no avail.

    There are some discussions on the citrix forum that may help if you haven't already seen them. Here are two and there are likely more:
    http://discussions.citrix.com/topic/325359-reciever-117-cannot-write-connection- file-usersnamelibraryapplication-supportcitrix-receivermodules/
    http://discussions.citrix.com/topic/302900-reciever-1143-cannot-write-connection -file-userschristinalibraryapplication-supportcitrix-receivermodules-error-numbe r-30/

  • Makepkg issue: cannot create temp file for here-document

    Hi there,
    Since few weeks ago i'm not able to build aur packages. I use yaourt  but i notice the problem comes from makepkg (i searched for the output message and found fakeroot related issues). Here the complete log of, for example, launching makepgk on with the ruby-headers PKGBUILD:
    $ makepkg
    ==> Creazione del pacchetto: ruby-headers 1.9.2_p136-1 (mer 9 feb 2011, 00.27.35, CET)
    ==> Controllo delle dipendenze per l'esecuzione in corso...
    ==> Controllo delle dipendenze per la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> Download di ruby-1.9.2-p136.tar.bz2 in corso...
    --2011-02-09 00:27:35-- ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2
    => "ruby-1.9.2-p136.tar.bz2.part"
    Risoluzione di ftp.ruby-lang.org... 221.186.184.68
    Connessione a ftp.ruby-lang.org|221.186.184.68|:21... connesso.
    Accesso come utente anonymous ... Login eseguito!
    ==> SYST ... fatto. ==> PWD ... fatto.
    ==> TYPE I ... fatto. ==> CWD (1) /pub/ruby/1.9 ... fatto.
    ==> SIZE ruby-1.9.2-p136.tar.bz2 ... 8819324
    ==> PASV ... fatto. ==> RETR ruby-1.9.2-p136.tar.bz2 ...
    Errore nella risposta del server, chiusura della connessione di controllo.
    Altro tentativo in corso.
    --2011-02-09 00:28:47-- ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2
    (tentativo: 2) => "ruby-1.9.2-p136.tar.bz2.part"
    Connessione a ftp.ruby-lang.org|221.186.184.68|:21... connesso.
    Accesso come utente anonymous ... Login eseguito!
    ==> SYST ... fatto. ==> PWD ... fatto.
    ==> TYPE I ... fatto. ==> CWD (1) /pub/ruby/1.9 ... fatto.
    ==> SIZE ruby-1.9.2-p136.tar.bz2 ... 8819324
    ==> PASV ... fatto. ==> RETR ruby-1.9.2-p136.tar.bz2 ... fatto.
    Lunghezza: 8819324 (8,4M) (non autorevole)
    100%[====================================================================>] 8.819.324 107K/s in 1m 58s
    2011-02-09 00:30:51 (72,8 KB/s) - "ruby-1.9.2-p136.tar.bz2.part" salvato [8819324]
    ==> Validazione dei file sorgenti con md5sums in corso...
    ruby-1.9.2-p136.tar.bz2 ... Verificato
    ==> Estrazione dei sorgenti in corso...
    -> estrazione di ruby-1.9.2-p136.tar.bz2 con bsdtar in corso...
    ==> Avvio di build() in corso...
    ==> Entrata nell'ambiente di fakeroot in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    ==> Avvio di package() in corso...
    ==> Rimozione dei dati superflui in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Rimozione degli altri file in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Compressione delle pagine man ed info in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Rimozione dei simboli non necessari dai binari e dalle librerie in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    ==> Creazione del pacchetto in corso...
    -> Generazione del file .PKGINFO in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Compressione del pacchetto in corso...
    xz: /tmp/rb_hdrs/ruby-headers-1.9.2_p136-1-any.pkg.tar: impossibile rimuovere: Successo
    Hints?
    Thanks in advance

    That time it was in /tmp/ruby_headers (which i created) but it happens with yaourt too and for every pkg i tried.
    [miche@bob tmp]$ yaourt -S ruby_headers
    ruby_headers non trovato su AUR
    [miche@bob tmp]$ yaourt -S ruby_header
    ruby_header non trovato su AUR
    ^[[A[miche@bob tmp]$ yaourt -S ruby-headers
    ==> Continuazione dalla compilazione precedente
    ==> Scaricamento del PKGBUILD di ruby-headers da AUR...
    Comment by: hilton on Tue, 28 Dec 2010 03:51:14 +0000
    Updated to 1.9.2_p136!
    First Submitted: Sat, 13 Nov 2010 20:25:52 +0000
    ruby-headers 1.9.2_p136-1 : A package of all Ruby headers needed by some gems like ruby-debug.
    ( Pacchetto non supportato: Potenzialmente pericoloso ! )
    ==> Modificare il PKGBUILD (altamente raccomandato per ragioni di sicurezza) ? [S/n]("A" per annullare)
    ==> ----------------------------------------------
    ==>n
    ==> Dipendenze di ruby-headers
    - ruby (già installato)
    ==> Continuare la compilazione di ruby-headers? [S/n]
    ==> ----------------------------------------------
    ==>s
    ==> Install or build missing dependencies for ruby-headers:
    ==> Compilazione e installazione del pacchetto
    ==> Dipendenze di ruby-headers
    - ruby (già installato)
    ==> Creazione del pacchetto: ruby-headers 1.9.2_p136-1 (mer 9 feb 2011, 01.23.54, CET)
    ==> Controllo delle dipendenze per l'esecuzione in corso...
    ==> Controllo delle dipendenze per la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> È stato trovato ruby-1.9.2-p136.tar.bz2
    ==> Validazione dei file sorgenti con md5sums in corso...
    ruby-1.9.2-p136.tar.bz2 ... Verificato
    ==> Estrazione dei sorgenti in corso...
    -> estrazione di ruby-1.9.2-p136.tar.bz2 con bsdtar in corso...
    ==> Rimozione dell'esistente directory pkg/ in corso...
    ==> Avvio di build() in corso...
    ==> Entrata nell'ambiente di fakeroot in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    ==> Avvio di package() in corso...
    ==> Rimozione dei dati superflui in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Rimozione degli altri file in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Compressione delle pagine man ed info in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Rimozione dei simboli non necessari dai binari e dalle librerie in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    ==> Creazione del pacchetto in corso...
    -> Generazione del file .PKGINFO in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Compressione del pacchetto in corso...
    xz: /tmp/yaourt-tmp-miche/aur-ruby-headers/ruby-headers/ruby-headers-1.9.2_p136-1-any.pkg.tar.xz: impossibile rimuovere: Successo
    Error: Makepkg non ha potuto costruire il pacchetto ruby-headers.
    [miche@bob tmp]$

  • Trouble downloading anything on MacBook.  "Cannot create a file"

    Whenever I try to download anything off of the interent, my computer says that it cannot create a file.

    I'm having a similar issue as well. For some reason, anytime I try to download any type of file, an error box with this pops up.
    "DapPlugin is unable to find Download Accelerator Plus Application. Please make sure to launch DAP to complete installation."
    Then, when I press okay, here's what pops up.
    file:///Applications/Dap.app/Contents/Resources/PluginPage.htm
    Issues are these.
    I did not, not have I ever, downloaded this program. I searched my computer to find a new file created today called DapPipe within my Applications ( a Unix Executable file - 0 KB). I deleted it and another folder called DAP, but no matter what I do, the program stops any downloading that I try to do.
    And, this is just frustrating me, as I'm pretty careful in what I download and where I download from.
    The only other thing I could think of is that I have a Windows partition to my HD, but I have made it so that Mac files can come back and forth, but Windows has no access to any of my files, without my permission.
    But, I haven't downloaded that program on my Windows side either and I'm afraid if I can't get this fixed, that I may have to wipe my less-than-4-months-old Macbook.
    Please note, that the error appears in both Safari and Firefox (I don't have IE on this computer).
    Any help would be great, as I'm at a stand-still until I can get this fixed.

  • SP2-0110: Cannot create save file "afiedt.buf"

    i have a remote database connectivity authenticated by a username/pwd.
    i connect into the database(SQLPLUS) thro a CITRIX SERVER client.i have all the privileges of an oracle developer for my username and i have complete access to my
    schema objects.
    But when i try invoking the editor afiedt.buf using the command < ED > in SQLPLUS i get the
    following message
    SP2-0110: Cannot create save file "afiedt.buf"
    when i try to spool an output to a file (one.txt) i get the following error
    SQL> spool one.txt
    SP2-0332: Cannot create spool file.
    could anybody suggest how i could resolve these issues.
    Thanx

    Just be aware, because you are connecting through a Citrix server, that your "current directory", as far as sqlplus is concerned, is on the Citrix server.
    Depending on your site, you may have a hard time convincing the Citrix admin to give you write access on their server. You should try to get the Oracle client, which includes sqlplus, installed on your local machine.
    TTFN
    John

  • "Unable to save markup: Cannot create output file" message with ISDK

    Hi,
    We have an integration of AutoVue with OpenText Livelink, and we're seeing that if users open a document, and then work on adding mark-ups for a long time (3 hours) without saving the mark-up when the user saves the markup they get an error message "Unable to save markup: Cannot create output file". If they then press the save button they get the out-of-the-box AutoVue 'Save Markup File As' dialog.
    The ISDK DMS integration servlet and VueServlet servlet are both running under Tomcat with 740 minute session timeout set for the servlet.
    When we look at the logs we're not seeing any attempts to save the mark-up, which is confusing.
    It looks as though the link between the AutoVue applet and the DMS has been lost.
    Is it possible to specify session time-outs in the AutoVue applet?
    Is there a way of checking keep-alives are being sent (if they are ever sent)?
    Help appreciated!
    Thanks
    Paul

    AutoVue default timeout is 30 minutes and is being controlled by the option jvueserver.users.timeout (value set in seconds, default is 1800).
    Adding to the jvueserver.properties the following line:
    jvueserver.users.timeout=50400
    would set AutoVue session timeout to 14 hours (longer than Tomcat session).
    If the issue still persists, the AutoVue session timeout is probably not the cause...
    Edited by: user739124 on Dec 4, 2012 12:02 PM

  • Cannot Create Output File Error

    I have a working (and deployed) JSP/ADF application which was written with JDev 10.1.2 that I need to make a change to. Since it was deployed, I've gotten a new computer, and installed JDev 10.1.2 on it. Now, when I open the project on the new computer and try to build it, I get an error
    "error writing class oracle.jbo.http.HttpSessionCookieImpl: java.io.IOException: cannot create output file"
    The source file is <jdevhome>\bc4j\src\bc4jhtmlsrc.zip!\oracle\jbo\http\HttpSessionCookieImpl.java.
    I'm guessing that somewhere in the project there's an xml file that has an out-of-date reference to a file location that doesn't exist on this computer. Can anyone point me in the right direction? I'm a bit concerned that JDev projects are dependent upon the original computer? Please say it isn't so!

    Thanks,
    Ive set this, although the temporary files that Reports usese are going there, the temp PDF isnt!!

  • Adobe PDF (Print) presets: "Cannot create the file. The folder may be write protected."

    In Windows 8, this feature of InDesign CS6 only works for the local Administrator account:
    File -> Export -> Save as type: Adobe PDF (Print) -> Save -> Save Preset... -> OK
    If you try it with any other account this error message is given: "Cannot create the file. The folder may be write protected."
    For anyone else encountering this problem, a workaround is to run as administrator.

    Which permissions exactly did you set, how did you set them and what did you set them to?
    The path to the Drop Box would be /Users/someuser/Public/Drop Box but you obviously wouldn't want the ownership and permissions to be the same on all four directories.
    Have you tried using Disk Utility (/Applications/Utilities/Disk Utility) to repair permissions? That would probably be the best way to ensure they're correct.
    - cfr

  • The cluster service terminated, error 7024, cannot create a file when that file already exists

    I have a test 2-node Failover cluster using Server 2012 R2
    As of last night the cluster service on one of the 2 nodes is down with this error:
    The Cluster Service service terminated with the following service-specific error: 
    Cannot create a file when that file already exists.
    EventID 7024
    The Cluster service waits 60 sec, tries to start, and the same error occurs again. 
    Any idea where to look to identify which file this error is referring to, or how to go about identifying root cause and getting a solution?
    thank you.
    samb

    Hi Yeswanth
    Then you can try with a "Add Counter". This will create new file each time with the same name but a counter will be added to the file name at the end specifying the number of times it is created.
    You can also the specify the format to create the counter once select this option u can correspondingly fill the Format and step fields.
    Will this be fine.
    Regards
    Ashmi

Maybe you are looking for

  • Issue in Default selection in Dashboard prompt

    Dear All, I have a dashboard prompt with columns year and month.month column i kept as slider in that default selection i kept 45 days backward from current date,since my requirement is the end user have the option to selection the day backward inste

  • Error trying to  run tutorial ----log

    Starting Sun Java System Application Server Platform Edition 8.0.0_01 (build b08-fcs) ... [#|2005-12-24T15:30:06.556-0700|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.

  • Sending Pictures in Mail

    Whenever I attach photos to mail, it compresses them down to tiny sizes. How do I stop this?

  • Desktop Screen losing color

    The desktop screen on my laptop when it turns on the photo in the backdrop has the color bleeding through a red color, and it makes the saturation failing around it. Is my screen about to die, or are there ways for me to fix this probelm. Anyone else

  • Newbie Q: Setting scripts to run on Start Application

    Please help! CS3 says you just check the Enable Events to Run Scripts/Actions checkbox and choose Photoshop Event: Stat Application to run your script on startup but for me it's like Photoshop has had it's memory wiped if I close it and reopen it! Th