Jeff thanks a lot for the link, i will read the files and try to understand
a little more.
2010/2/22 Jeff Epler
> On Mon, Feb 22, 2010 at 11:54:48AM -0300, Leonardo Marsaglia wrote:
> > By the way, is it possible to use the regular C libraries like stdio.h to
> > compile rtai modules with comp?
On Mon, Feb 22, 2010 at 11:54:48AM -0300, Leonardo Marsaglia wrote:
> By the way, is it possible to use the regular C libraries like stdio.h to
> compile rtai modules with comp? i mean, to replace the using of python
> userspace components.
You can code userspace hal components in Python and compi
Yes, i thought that too, i did that because i had the script saved in an
email, because one of the guys helped me to create it... so the script was
always the same, so i thought that the problem could be in the file itself,
or in the sintax of the python script due to spaces or copying problems.
Leonardo,
What had me thinking in that direction is that you created a
new file, dumped your code into it, and now it works. That takes
away problems with the Python software and other things, and tends to
point towards the original file.
Mark
At 10:33 AM 2/22/2010, you wrote:
>Mark
Mark, didn't do that with the file, but i'll read more about the matter,
since i'm not an expert with linux.
Thanks for the help.
2010/2/22 Mark Wendt (Contractor)
> With Linux, problems with files not executing are either ownership or
> privilege related. Before you created the new text file
With Linux, problems with files not executing are either ownership or
privilege related. Before you created the new text file did you do
an "ls -alF" on the file? Typically, you will see a 755 or
-rwxr-xr-x for the privileges and if the executable file is your own,
you'll see your owner accou
By the way, is it possible to use the regular C libraries like stdio.h to
compile rtai modules with comp? i mean, to replace the using of python
userspace components.
Thanks again!
Leonardo.
2010/2/22 Leonardo Marsaglia
> Hello again,
>
> Well at last the script (same) worked, i don't know why
Hello again,
Well at last the script (same) worked, i don't know why, i only created a
new plain text file, and put the script in it, and worked.
Could be an error with the tabulations or something, but i don't know much
about python.
Anyway, thanks for your help and concern.
Best regards.
Leo
Maybe it's related with your default python's version
On 2/22/10, Jeff Epler wrote:
> What happens (what error message do you get) when you type the same
> command at the terminal window shell, instead of running it from a hal
> script or the halcmd prompt?
>
> Jeff
>
> --
What happens (what error message do you get) when you type the same
command at the terminal window shell, instead of running it from a hal
script or the halcmd prompt?
Jeff
--
Download Intel® Parallel Studio Eval
Try the
Michal, the python script is executable.
I really don't know where the problem is, when i tried the same script in my
laptop a couple of months ago it worked ok, it's really strange.. i'll try
again in my laptop to compare.
2010/2/22 Michał Geszkiewicz
> Check attributes of your python file.
Check attributes of your python file.
Should be executable.
regards,
Michael
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applicati
Hello again and thanks for the help,
I tried changing the h.halt_in pin but the same happened.
Here is what i get when i try to load the component with halcmd in the console.
halcmd: loadusr /home/torno/Escritorio/halt
:1: execv(/home/torno/Escritorio/halt) failed
Thanks again for your help!
R
Leonardo Marsaglia pisze:
> Hello everybody,
>
> I've got a really strange problem with a simple userspace component that
> i've already used before. But this time in a new machine i can't make it
> work.
>
> Everytime i try to load the component i get a FAILED message.
>
> The python lines are the
> I've got a really strange problem with a simple userspace
> component that i've already used before. But this time in a
> new machine i can't make it work.
>
> Everytime i try to load the component i get a FAILED message.
"FAILED" isn't telling us much. Is that all you see? What about other
Hello everybody,
I've got a really strange problem with a simple userspace component that
i've already used before. But this time in a new machine i can't make it
work.
Everytime i try to load the component i get a FAILED message.
The python lines are the following:
#!/usr/bin/python
import hal
16 matches
Mail list logo