Program Scalar

I'm using NetBeans IDE 5.5.
package scalar;
* @author UndergroundPassion
public class Main {
/** Creates a new instance of Main */
public Main() {
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
int a[3], b[3], c[3];
int x;
for [i = 0 to 2] {
a[i] = i;
b[i] = 2 � i;
c[i] = 999;
proc row[i = 0 to 2] {
c[i] = a*b[i];
x = c[2];
I keep getting this:
init:
deps-jar:
Compiling 1 source file to G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\build\classes
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:28: ']' expected
int a[3], b[3], c[3];
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:28: not a statement
int a[3], b[3], c[3];
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:28: ';' expected
int a[3], b[3], c[3];
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:28: not a statement
int a[3], b[3], c[3];
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:30: '(' expected
for [i = 0 to 2] {
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:30: illegal start of expression
for [i = 0 to 2] {
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:30: ';' expected
for [i = 0 to 2] {
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:30: not a statement
for [i = 0 to 2] {
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:30: ';' expected
for [i = 0 to 2] {
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:32: illegal character: \8211
b[i] = 2 � i;
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:32: not a statement
b[i] = 2 � i;
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:35: ']' expected
proc row[i = 0 to 2] {
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:35: ';' expected
proc row[i = 0 to 2] {
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:35: not a statement
proc row[i = 0 to 2] {
G:\YR4 SEM2\COM577J2 Concurrent and Distributed Systems\Lectures\Week2\Scalar\src\scalar\Main.java:35: ';' expected
proc row[i = 0 to 2] {
15 errors
BUILD FAILED (total time: 0 seconds)

Well, if there are any paths in the code that have a backslash in then, "\", then those are probably a start of your problem: in Java a backslash has to be escaped by using 2 backslashes "\\". So if you are trying to make a path to "C:\myStuff\Source", then in java it would have to be either "C:\\myStuff\\Source" or change the backslash to a forwardslash "C:/myStuff/Source". But in the errors you have there, it's probably something simple like that causing the errors.

Similar Messages

  • Can i use create function for MSSql scalar and table valude function.

    Hi,
    1) Can i use create function for MSSql scalar and table valued function?
    2) How many type of user defined function are there in oracle 11g express?
    3) And can i reture any "type" form user defined function?
    yourse sincerely

    944768 wrote:
    Q1)That means even if i return predefined types like integer, varchar2 then also PGA is used ?The data type does not determine where the variable is stored. A string (called a varchar2 in Oracle) can be stored in stack space, heap space, on disk, in a memory mapped file, in a shared memory, in an atom table, etc.
    It is the who and what is defining and using that string, that determines where and how it is stored.
    The Oracle sever supports 2 languages in PL/SQL. The PL (Programming Logic) language is a procedural/declarative language. It is NOT SQL. SQL is integrated with it. The PL/SQL engine uses private process memory (PGA). So PL/SQL variables exist in the PGA (but there are exceptions such as LOBs).
    Q2) So please suggest me solution in oracle.Sounds to me you are looking at how to implement a T-SQL style function as an Oracle function, and once implemented, do joins on the function.
    Do not use PL/SQL in SQL in place of a SQL select. It is not T-SQL.
    One cannot use PL/SQL to create functions along the style of T-SQL, where the function executes a SQL using some conditional logic, and then return as if the function was a native SQL select.
    T-SQL is an extension to the SQL language - making it a hybrid and very impure language implementation. PL is based on ADA - part of the Pascal family of languages. The E-SQL (embedded SQL) approach used in languages like C/C++, Cobol and Ada, has been transparently done in PL/SQL. You can write and mix PL code and variables with SQL code. And the PL/SQL engine figures out how to make the call from the PL/SQL engine to the SQL engine.
    But PL/SQL is not "part" of the SQL language and does not "extend" the SQL language in a T-SQL fashion.
    So you need to check your SQL-Server preconcepts in at the door, as they are not only irrelevant in Oracle, they are WRONG in Oracle.
    The correct way in Oracle, in a nutshell - Use the SQL language to do data processing. Use PL/SQL to manage conditional process flow and the handling of errors.

  • Matrix problem with scalar multiplication

    Hi, I am working on a matrix program. I need the program to perform a scalar multiplication ona matrix I have prepared on the screen. A scalar multiplication means I enter a number on an input box and that number must be multiplied by every number on the matrix. This is the code I am using for it to work:
    buttonScalar.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent event) {
                        try {
                             DisplayMatrix(ScalarMultiplication(ReadInMatrixNotSquare(matrixA)), result);
                        } catch (Exception e) {
                             System.err.println("Error:     " + e);
    and:
    // Scalar multiplication method
         public float[][] ScalarMultiplication(float[][] A, int row) {
              float product = 0;
              float matrix[][];
              String num = JOptionPane.showInputDialog(this, "Enter number you want to use for scalar multiplication");
              int n = Integer.parseInt(num);
              for(int i = 0; i < A[row].length; i++)
                   product += A[row]*n;
              return product;
    I get the following errors:
    ScalarMultiplication(float[][].int in Matrix cannot be applied to (float[][])
    incompatible types
    Can someone please help me? I dunno what I'm doing wrong.
    Thanks

    scalar multiplication of a matrix doesn't mean entering anything on a screen. you should abstract this without a user interface at all if you're doing it right.
    the fact that your code includes a JOptionPane in it tells me you're thinking about it incorrectly.
    %

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • Scalar to graph

    I am running a while loop that takes a  reading from an external analog channel. I want to plot this reading on a graph each time the loop runs.  I thought this would be a simple matter but this doesn't seem to be the case.  I've tried several methods without success, a few being:
    - my reading (double) into "to dynamic data" control to a graph
    - my reading into an "build array" control wired to a shift register on the While loop.  I was unable to find a graph that would accept the data.
    - bundle an the array from above with an array that contain a count of the loops, errors about mismatched data types or graphs that still wouldn't show the data.
    Is there some method to take a scalar reading and get it into a graph?
    CLD Certified

    Of course, the Wavechart graph!   Yes, that works perfectly.  ::: Major slap to the forehead :::  I've been programming with Labview 8 for a few weeks now and got so immerse in the function screen that I complete forgot about the Control screen palette.  And the searches never clued me in.  Sorry to have bothered you guys with this post that has such an obvious answer....
    CLD Certified

  • The birth of graphical programming.

    I recently found this video, which describes the work Bert Sutherland taken as part of is PhD on graphical programming.
    It's really fascinating to see the source of many of the conventions we now use in LabVIEW; what do you guys think?
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

    Hornless.Rhino wrote:
    That gives me an idea..... that would get me sued into oblivion.
    That's a pretty interesting point... I mean, G is a programming language. I don't understand why it should be considered an infringement of copyright or patents if another application takes the conventions established in LabVIEW and reuses them. I mean, a high level While Loop looks the same in any text language, right?
    I suppose the reason I mention this is because over the past year I've been working on a project to create a Java-based G-based programming environment that could be used to generate abstract text code (The example language was Verilog) as part of some individual project we're supposed to work on within university. Originally I was going to do this from within LabVIEW and use VI Scripting to parse the Block Diagram but I ran into some problems when developing a clean architecture that was flexible enough to perform different actions based on a specific GObject instance it was dealing with, so although there was a huge overhead in developing the graphical environment from scratch, I figured it'd lend itself to more specific customisation later on. I ended up learning a great deal too.
    The project has been a success but I've talked to some of the field guys from NI and we decided that it'd be unsuitable for me to put it online. Originally I wanted it to be open source because it would serve as a cute attempt to understanding how LabVIEW works; but it's understandable as to why I can't do that. It must look really strange to them considered I worked with them as an intern for a year... I have to confess that the whole time I spent in technical support, I was really longing to see what LabVIEW was doing in the background and never had the chance to. This project truly felt like my only real chance.
    The way it worked was so that rather than just Verilog, you could pretty much override the conversion stage at any level and use any text you want with it. Because it had this format, things like the re-entrancy would need to be explicitly coded from within the diagram. There was no Front Panel either.  Any newly developed graphical code would have a textual equivalent for any supported language... At the moment, for the few graphical blocks and structures I have, there's a C and Verilog equivalent. It was never my intent to cause any harm to LabVIEW, because I love it. It's just that outside of these forums, any mention of LabVIEW online is quickly followed by complaints about the pricing, and I wanted to be able to give these people a chance at seeing why it's so good. Giving people the chance to play around with G in their own time, not on someone else's.
    "I can open up Notepad and write any text code I want in there. Why can't I open up Microsoft Paint and do the same with LabVIEW?".
    I read that comment on YouTube somewhere. It really made me laugh.
    I firmly believed that the project could have been that foothold for those users who have yet to discover the benefits of graphical programming but don't have the budget. You'd get more people using G, and more people having success with LabVIEW.
    People on the forums mention a lot about how they wish it wasn't closed source and I thought it'd be a great example to toy with. What I really started to enjoy was the fact that I could start putting my own little tweaks into the application that weren't present in LabVIEW; it could grown into a little  project for users to benchmark their own changes to the IDE. I had things like only being able to make a wire connection between compatible terminals (Which I'd then build on so that it would ghost a potential bridge between initially uncompatible terminals, like a build array between a scalar value and an array input) and tried to get a head start on implementing Altenbach's Synchronizer Bar.
    Anyway, it was a nice run. I thought I'd share this little endeavour with you to see what you think. I know that NI are a great company that really embrace the outer communities but I have to admit that I was a little heartbroken when my pet project didn't get the same kind of response, although in hindsight it was plain silly of me to think otherwise.
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • Program NI scope board in C++

    I am using NI scope board to measure prop delays between 2 signals and rise/fall time of them. I am looking for a sample program in C++ that does those things. Wonder if anybody could help.
    TIA

    Ioch,
    There are several example programs installed with the NI-SCOPE driver that will allow you to take different measurements including rise and fall time. In the following folder (C:\Program Files\National Instruments\MeasurementStudio\VC\Examples\niScope) you will find two example programs called "MeasurementLibrary" and "AdvancedMeasurementLibrary". These programs have a selection on the control called "Scalar measurement" with Rise Time and Fall Time.
    The function that is being used to make this measurement is called niScopeFetchMeasurementStats and details on this function can be found in the NI High-Speed Digitizers Help document. This document can be found by going to Start >> Programs >> National Instruments >> NI-SCOPE >> Documentation. In the Help document go to the following section . . . Programming >> NI-SCOPE Function Reference Help >> Functions >> Measurement Functions.
    Hope this helps!
    Erick D.
    NI Applications Engineer

  • Single pole Balancing robotic + how to do labview programming ?

    Hi, we are doing a control design course in our university. We ran into a problem using the 'State-space controller' part in the simulation VI in Labview. the main problems i think are as follows:
    1. we cant change it from mimo to siso
    2. there is a scalar-vector mismatch almost always whatever we do.
    Apart from these, even when we connect up graphs to the input and output, the graphs do not display anything. Is there any hidden setting we forgot to set?
    on top of that we need to do matric calculation in order to be able to do model predictive control design. Can we do the programming in labview
    please help us ...we are really newbie here
    Attachments:
    Design-invertedpendulum.vi ‏286 KB

    Hello!
    Here is the reply for your question:
    1. For State-Space Models, we have only one datatype that can be represented as SISO,MISO,SIMO or MIMO. To be SISO, all that you have to do is create the model with populate the column 0 for B and the row 0 for C.
    2. When using the State-Space model, you also have to pay attention to the "Initial States". In your example, I think you have 3 states, which leads to a Initial States as [0,0,0].
    3. Also, I noticed that you have the model as an "Terminal" instead of "configuration page", but you don't have any model wired to the terminal. You have to wire the model from outside or try to configure it in the config page.
    4. You can also use Linear Algebra VIs inside simulation, as some other LabVIEW VIs. The only think you need to be know is that you have to define if you want to have the VI running every discrete sampling time, or continuous sampling time. When in discrete, a red 'D' will show on the up right hand-side on the VI. If you want to execute every minor sampling time, right click on the VI and go to "SubVI Node Setup" and remove the "Run as Discrete Node" option.
    All of this information is in the manual. Please refer to it whenever possible and you should be able to compose your controller.
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Problem with threads, program always crash

    new to threads, may be doing something COMPLETELY wrong. When I run the program I get a couple of NullPointerExceptions in Thread-0 and Thread-1. I'm confused because it screws up when I call size() for arrayList, and in the API size doesn't throw anything.
    public class ProducerConsumerRunner
       public static void main(String args[])
          Queue q = new Queue(QUEUE_MAX_SIZE);
          ProducerRunnable producer = new ProducerRunnable(q, ITERATIONS);
          ConsumerRunnable consumer = new ConsumerRunnable(q, ITERATIONS);
          //works good up to here
          Thread t1 = new Thread(producer);
          Thread t2 = new Thread(consumer);
          t1.start();
          t2.start();
       private static int ITERATIONS = 50;
       private static int QUEUE_MAX_SIZE = 25;
    import java.util.ArrayList;
    import java.util.concurrent.locks.ReentrantLock;
    public class Queue {
         public Queue(int maxSize)
              list = new ReentrantLock();
              underLimit = list.newCondition();
              MAX_SIZE = maxSize;
         public void add(String line)
              list.lock();
              try{
                           System.out.println("add method of Queue");
                   while(record.size() >= MAX_SIZE){//things get screwed up when this condition is evaluated
                        //size method is crashing the program
                        System.out.println("2");
                        underLimit.await();
                        System.out.println("3");
                   record.add(line);
              }catch(java.lang.InterruptedException e){
                   System.out.println("await interupted: "+e.getMessage());
              }finally{
                   list.unlock();
         public void remove(int line)
              list.lock();
              record.remove(line);
              list.unlock();
         public  ArrayList<String> record;
         private final ReentrantLock list;
         private final java.util.concurrent.locks.Condition underLimit;
         private final int MAX_SIZE;
    import java.util.Date;
    public class ProducerRunnable implements Runnable{
         public ProducerRunnable(Queue q, int itterations)
              this.q = q;
              ITTERATIONS = itterations;
         public void run()
              String date;
              for(int i = 0; i<ITTERATIONS; i++)
                   date = new Date().toString();
                   q.add(date);//this is where it screws up
                   System.out.println(date+" added");
                   try{
                   Thread.sleep(100);
                   }catch(java.lang.InterruptedException e){
                        System.out.println("ProduccerRunnable's sleep was interupted");
         private final Queue q;
         private final int ITTERATIONS;
    public class ConsumerRunnable implements Runnable{
         public ConsumerRunnable(Queue q, int itterations)
              this.q = q;
              ITTERATIONS = itterations;
         public void run()
              //Queue q = new Queue();
              int length;
              for(int i = 0; i<ITTERATIONS; i++)
                   length = q.record.size();//things are getting screwed up here
                   while(q.record.get(length) == null)
                        length--;
                   System.out.println((String)q.record.get(length));
                   q.remove(length);
                   try{
                   Thread.sleep(100);
                   }catch(java.lang.InterruptedException e){
                        System.out.println("ConsumerRunnable's sleep was interupted");
         private final Queue q;
         private final int ITTERATIONS;
    }

    question:
    this works right
         public void remove()
              list.lock();
              int line = 0;
              try{
                   *while(record.size() < 1)*
                        range.await();
                   record.remove(line);
                   range.signalAll();
              }catch(java.lang.InterruptedException e){
                   System.out.println("await interupted: "+e.getMessage());
              }finally{
                   list.unlock();
         }this is deadlock
    *int list = 0;*
    *while((list = record.size)<1) was screwing things up because of the assignment*record is ArrayList of strings. when better to use Vector instead of ArrayList? i notice no differnce and i use threads
    initially I thought record.size was being evaluated and before could be assigned to list, time slice ran out. this could not be case because I use ReentrantLock (list) to lock it.
    Edited by: bean-planet on Apr 1, 2009 4:31 PM

  • ITunes & Windows Vista Home - Error File C:\Program Data\Apple Computer\Installer\Cache\iTunes 10.5.142\iTunes.msi was rejected by digital signature policy.

    Tried
    https://discussions.apple.com/thread/2713232?start=0&tstart=0
    and
    http://www.vistax64.com/vista-general/159940-computer-blocking-anything-no-digit al-signature.html
    with no avail!!!
    iTunes opens after I click OK on the above message however I cannot do anything within the app its like Windows it preventing it from running.
    PLEASE HELP!!!

    Update:
    I tried what the diagnostic told me to do, and repaired the installation. I was able to burn a CD in iTunes, but after I restarted, the drives have disappeared again! Here's the diagnostic info now:
    Microsoft Windows Vista Home Edition (Build 6000)
    MICRO-STAR INC. MS-6728
    iTunes 7.6.0.29
    QuickTime 7.4
    CD Driver 2.0.6.1
    CD Driver DLL 2.0.6.2
    Apple Mobile Device 1.1.3.26
    iTunes Serial Number 20D6EAF059AB94B4
    Current user is not an administrator.
    The current local date and time is 2008-01-15 19:09:32.
    iTunes is not running in safe mode.
    Video Display Information
    ATI Technologies Inc., Radeon X1600/X1650 Series
    ATI Technologies Inc., Radeon X1600/1650 Series Secondary
    ** External Plug-ins Information **
    Plug-in Name: Last.fm iTunes plugin
    Plug-in Loaded: Yes
    Plug-in Version: 0.0.13
    Plug-in File Version: 2.0.13.0
    Plug-in Path: C:\Program Files\iTunes\Plug-ins\itw_scrobbler.dll
    No drives showed up to be tested.

  • Error while running a Java Program

    Can anyone help me,
    I am getting the following error while running a Java program, Below is the exception thrown, please help.
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)

    Ok, let's see. Write the following class:
    public class Grunt {
      public static void main(String[] args) {
        System.out.println("Hello Mars");
    }Save it as "C:\Grunt.java", compile by typing:
    javac c:\Grunt.javaRun by typing:
    java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
    Regards

  • How do I install all my old programs and data from an old system folder after I have reinstalled the same OSX system after a crash?

    The system is OSX10.5.8 Leopard on a 2009 imac. A new system was installed from the installation disks and the original system saved to a folder.
    I need to use my Adobe programs, rescue my email, i-tunes and iphoto data.  The disk utility indicates that my Time Machine back-up disk is damaged and I don't want to take a risk of having Time Machine erase my hard drive and try to reinstall the exact system existing at the time of the crash.  There was over 650 gb of stored files that I was copying and removing from the drive at the time it crashed. The total size of the original system file is still about 650 Gb.
    I would prefer to go back in Time Machine and only rescue the programs as most of the files have been copied to external hard drives, but I can't access the back-up hard drive from the new version of the Time Machine.  Or by I don't want the Time Mchine to start copying the new operating system which would include all the data in the old system file. Time Machine was working fine at the time of the crash.

    No, the disk was backed up with time machine a few hours prior to the crash.  I was unable to open the computer when I tried to restart it- got a grey screen with the spinning disk- after a few minutes the screen would go black and would reboot continuously, but not load any images or programs. I started the computer from the 10.5.4 installation disks and checked both the time machine external hard drive and the Imac internal drive with the disk utilities. Both showed as damaged --the internal drive and permissions were repaired, but the external drive (time machine back-up)  was damaged and not repairable by disk utilities. I don't believe that the external drive for Time Machine was connected to the computer at the time of the crash as I was copying files to a different hard drive drive. And I was not having any problems with the TM back-up drive prior to the crash.
    I accessed the Imac internal disk by firewire (as a target disk) and copied as many data files as I had room for on my external hard drives available.  And I deleted quite a few files from the imac internal drive (mostly just jpegs, duplicate tifs, etc--nothing that was used by i-photos, i-tunes or the Mail program).
    Then I installed a new OSX10.5.4 system from the installation disk and the old system was moved to a folder on the hard drive.  I previousy had had the option to reinstall the complete system from Time Machine when I connected that drive and booted with the installation disks with the C key depressed.  But it didn't seem like a good option because I was unsure of the condition of that external disk and whether it would be able to reinstall my data correctly, once it had erased my internal hard drive. 
    I'm considering buying some new external hard drives and backing up the present system to time Machine (so I'll still have my old data in the old system folder).  And then I would try using the old Time Machine back-up to try to reinstall the sytem previous to the crash.  That back-up would reinstall about 700gb of data and operating software and programs which sounds like a lengthy back-up.  Since I have never used Time Machine to do a full reinstallation (I've only used it for individual files), I'm reluctant to do anything rash.
    I'm a professional designer (with a deadline) but I can still use my Illustrator and Photoshop by opening them from the old system folder and saving the files to an external drive.  So it's not neccessary to do anything hasty except to delete some of the excess art and document files that were causing the computer to run slowly and the  Adobe programs to crash when I tried to save my work. I have quite a few books on tape in the i-tumes folder which is probably talking up tons of space but I don't where the i-tunes files live.
    Thanks for any help. Peggy
    Message was edited by: peggy toole

  • Error:  "Could not complete your request because of a program error" (photoshop CS2 9.0.2 on MAC OSX

    Today I started my program (photoshop CS2 9.0.2) and opened a JPG file. When I went to print the file the program crashed and closed. When I restarted the program and went to open the file I got this error message, "Could not complete your request because of a program error".
    I have tried several different file types/sizes and all result in the same error message since the program crashed. It will not open any file I try to open. As I indicated above I am using Photoshop CS2 9.0.2 it is on a MAC with OSX 10.4.11.
    I called Adobe and the Rep directed me to Tech Note 331307 and told me to Re-create the Photoshop preferences files. Which I did and restarted the program, but when I tried to open a file (any file) I still get the same error message so it doesn't appear to be the preferences.
    Does anyone have any info as to what the problem may be and how to correct it.
    Thanks

    Thanks for the response. OK... This is the first day I have been able to get back to the problem.
    My system I am running Photoshop on is a Power Mac G4, AGP Graphics ATY Rage 128Pro chip set 16MB VRAM LCD 1280x1024 32-bit color, 500MHz, 1.75GB of memory, 1 MB L2 Cache, 100 MHz Bus Speed. I had installed the latest security update and repaired the permissions the day the problem started.
    Now to day I started the system and went in and created a Guest Account. I logged into the guest account and started Photoshop. Low and behold it worked just fine. So I logged out of guest and logged into my main user account And started Photoshop. Wouldn't you know it.... It works just fine. I can open any file I want with now problems.
    I got to thinking after I had done all of this that I wished I had tried to open a file in Photoshop today prior to creating the guest account to see if it still had the problem in my main user account.
    I did not change anything else on the system and all seems to work fine now. So at his point I am really not sure what the problem was.
    Again thanks for taking the time to respond to this issue.

  • Photoshop CS2 (program error msg)... Help please!!

    I have installed the full creative suite 2 on my new iMac. everything works fine except photoshop?!!?
    Illustrator works great, In-Design works great, But when i try to open a file or create a new page in PS it tells me "Could not create document because of a program error"???? ***?
    I had a previous version of CS and it worked fine for one day, then that started happening. I installed the CS2 trial version, and it would still give me the same error msg. I erased everything and installed the new CS2 (photoshop, illustrator , in-design and acrobat). It still gives me the same darn msg.???
    Any help would be greatly appreciated!
    thanks

    See the Adobe Knowledge Base document"Error 'Could not complete your request...' or 'Could not create a new document...' (Photoshop CS2 on Mac OS X v10.4)"
    I suggest whenever you have problems with third-party applications, the first place to start troubleshooting is with the application's documentation, then vendor's web site. Usually their sites have FAQs, lists of known bugs, or application-specific forums similar to these Discussions. Sometimes, unlike the Apple Discussions, the questions are even answered by employees of the vendor.
    The document cited above was found in 10 seconds by searching the Adobe support site.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • PhotoShop CS2 "Program Error" when printing

    I am posting this to the Adobe Forums as well, but thought someone here might have some ideas. am having an intermittent problem printing from PhotoShop CS2 to an Epson 9800. When printing large files (200 MB average) to the Epson, PhotoShop will spool the job, taking about 50% longer than normal, and when complete, displays the following message..."The file XXXX.tif could not be printed because of a program error" No job ever gets to the print que. This happens about 80% of the time when printing. Quitting and restarting PhotoShop generally fixes the problem, and the file can be printed from another computer without issue, so this is not file specific. I have 8GB of RAM installed and PhotoShop running under 100% available memory, cache level at 8, with a dedicated 180GB scratch disk. Memory should NOT be the problem, though I do often have the full layered version of the file open in the background (I am printing from a flattened copy. I have observed that the problem is less likely to occur if no other files are open. I have a second G5 with the exact same software setup (OS, Print Driver and PhotoShop down to the decimal version #) that works perfectly every time. I have run all of the System utilities (Repair Permissions, FSCK, etc), reset the OSX printing system, reset PS preferences, trashed and re installed CS, as well as the Epson printer driver, all with no success. Any other trouble shooting ideas would be greatly appreciated. I would love to avoid a System reinstall.

    See the Adobe Knowledge Base document"Error 'Could not complete your request...' or 'Could not create a new document...' (Photoshop CS2 on Mac OS X v10.4)"
    I suggest whenever you have problems with third-party applications, the first place to start troubleshooting is with the application's documentation, then vendor's web site. Usually their sites have FAQs, lists of known bugs, or application-specific forums similar to these Discussions. Sometimes, unlike the Apple Discussions, the questions are even answered by employees of the vendor.
    The document cited above was found in 10 seconds by searching the Adobe support site.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

Maybe you are looking for

  • How to customize the section's content in left bar?

    How to customize the section's content in left bar. I hope to change create job's content, recent job's content etc. Or it is impossible? regards ren

  • HT1688 My phone is glitching all the time and won't stay on for more than 30 sec...

    Until a few days ago my phone was fine but then the screen turned kind of denim looking almost and slowly faded black and I would restart it but it continued to go through this proccess

  • 8mm scratching

    I am importing 8mm tapes via canopus to my computer. Most of them have those digital "scratching" marks along the bottom of the tape. The scratchy blurry, and in some places coloured that span the bottom of the shot. Is this dirty tapes? Worn down ca

  • How can I save IV measuremen​t when I use 6221as DC current source and 2182 voltemeter​?

    I am using 6221 &2182A and I have a little problem. I need to measure Voltage us Current exactly like the option "DC SWEEP" in the "basic operation" but i cant save the data.  There is a way to save the data in "DC SWEEP" in the "basic operation"? if

  • Default Encoding for Mail

    Mail on ipod touch seems to show all mails in ISO8859 or so. The problem is I sometimes have to read mails in Chinese/Japanese encoded in EUC-CN/EUC-JP etc. Is it possible to change the default encoding for Mail?