Author Topic: bugs?  (Read 5103 times)

Offline jean-yves

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
bugs?
« on: November 20, 2008, 08:47:35 AM »
i have theis msg:"could not execute xcas properly: no xcas output file found.", can we help me? thank

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: bugs?
« Reply #1 on: November 20, 2008, 06:09:23 PM »
How about more information on your issue? Like the command you entered, your OS version, etc. pp.

Offline jean-yves

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: bugs?
« Reply #2 on: November 20, 2008, 06:11:27 PM »
i was typing 1+2; and calculate and i have this message . but if you type 1+2 without ; its ok :) .. sorry
 

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: bugs?
« Reply #3 on: November 20, 2008, 06:59:46 PM »
Just use the return key for additional commands. (It's best if you use the built-in keyboard of PocketCAS). Thank you for the bug report. I'm gonna check.

Offline lor

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: bugs?
« Reply #4 on: January 06, 2009, 01:13:35 AM »
Hi. Sorry for my English! I install pocketCAS to my LG KS20 storage card /NOT to the main storage!/. I do some basic calculations, just to experience a little. There are no problems, the entry mode like my TI89. Then, for some reasons, i removed the storage card. No change was made -on the phone, nor the sdcard-, and reinsert it. Next time, when i run pocketCAS, a divide by zero error occurs, when i try to use the solve function. the re-installation of the program seems help.

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: bugs?
« Reply #5 on: January 06, 2009, 08:24:26 PM »
Could you please type the exact error message?

Offline lor

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: bugs?
« Reply #6 on: January 06, 2009, 09:03:19 PM »
Sorry for my English! Sorry, NO... I'm so lame: i don't write down, and can't remember. And, after the re-install, no errors at all. i only remember something about a "divide by zero" thing. But, maybe found something interesting. there is a possibility: i launch the prg, and play with it. after 2 sec, the device go to sleep mode. the prg still in the memory, and use the system resources, but the UI "gone". i don't think, and start another instance. maybe this is the root of the problem.

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: bugs?
« Reply #7 on: January 07, 2009, 09:44:01 PM »
Well, there should only be one instance at a time. So starting the program again should re-activate the old instance of PocketCAS.exe.

Offline N3rull

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: bugs?
« Reply #8 on: December 04, 2009, 09:41:21 AM »
Hi people.

Pocketcas is awesome although I installed it only recently.
During many various classes I have to do different stuff to matrixes. Inverting, getting eigenvalues/vectors, checking its Jordan form, and so on. I tried to make a complete script that, given a matrix A, would give me everything I would want to know about it. This is the script:

"Matrix:"
A:=[[1,1,0,-1],[1,2,-1,1],[2,-1,1,1],[1,1,1,2]]
"det"
det(A)
"Inverse"
A^(-1)
"Jordan"
jordan(A)
"Char Poly"
factor(r2e(charpoly(A),x))
"Eigenvecs"
egvl(A)
"Eigenvals"
crationalroot(collect(simplify(r2e(charpoly(A),x))))

I am afraid I have to necro this thread, as I've been receiving the same error as the OP, which is:
"Could not execute xcas properly: No xcas output file found. Maybe a bug?"
When I attempt to run the script again, I get:
"Could not execute xcas properly: The process can not acess the file 'program file\PocketCAS\Out.txt' because it is being used by another process.'

I don't know why that happens. I've run longer scripts than this. PCas can easily invert that matrix and calculate its Jordan form (although, as you can see, it has two complex eigenvalues, and for some reason Pcas returns not a full complex jordan form, but only its first two columns and first two -real - eigenvecs"). I know this script is a little dumb when you look at it (Jordan gives both Eigvals and Eigvecs, so why bother?) but the point is - it won't work. For some reason, PCAS won't run all the script. It can do everything separately if I tell it, but not all of it? Why?
Also, how do I make PCAS callculate the jordan form over complex numbers (so it includes two complex eigvalues and all eigvectors)? The xcas manual seems to imply I need to be in complex mode - how do I get there on pcas?

Thanks for any help.

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: bugs?
« Reply #9 on: December 04, 2009, 09:50:00 AM »
I suppose the script is too long. Even it might appear to be doing trivial tasks, there possibly is a step where a large expression occurs, which has to be simplified afterwards - and that's where the timeout is reached and the error is shown. There's not much I could do about that.

For complex solutions of most functions, set complex_mode:=1 prior to executing those commands.

Offline N3rull

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: bugs?
« Reply #10 on: December 04, 2009, 10:06:12 AM »
All right. I guess I'll have to rework it a bit.

Thanks for the complex mode hint.