Cannot load image .bmp
Cannot load image .bmp
Hi
I am trying to use a software caller Zelio soft 2, and it runs ok, but when I click to create a new project, I get 8 errors saying it cannot load that image file.
they are inside a folder in the program directory... and they open ok.
This is a PLC software that has only a windows version.
If I run the program from the terminal I get no errors at all in the console, everything else works fine, but I need it to load those images cause I can't start a new project whithout them.
thanks
I am trying to use a software caller Zelio soft 2, and it runs ok, but when I click to create a new project, I get 8 errors saying it cannot load that image file.
they are inside a folder in the program directory... and they open ok.
This is a PLC software that has only a windows version.
If I run the program from the terminal I get no errors at all in the console, everything else works fine, but I need it to load those images cause I can't start a new project whithout them.
thanks
Re: Cannot load image .bmp
What exact command did you use to start this program? And from what directory did you run it?napalm wrote:If I run the program from the terminal I get no errors at all in the console, everything else works fine, but I need it to load those images cause I can't start a new project whithout them.
when I installed the program it was installed into the drive_c folder of wine in the user account. I run th program like this:
but I also have a link to the program in the user folder
this is the content of the link:
The behavior is the same if I use one or another way to start the program
Code: Select all
~/.wine/drive_c/Programas/Schneider Electric/Zelio Soft 2$ wine Zelio2.exe
this is the content of the link:
Code: Select all
~$ cat Zelio\ Soft\ 2.desktop
[Desktop Entry]
Name=Zelio Soft 2
Exec=env WINEPREFIX="/home/cachada/.wine" wine "C:\\Programas\\Schneider Electric\\Zelio Soft 2\\Zelio2.exe"
Type=Application
StartupWMClass=Wine
Path=/home/cachada/.wine/dosdevices/c:/Programas/Schneider Electric/Zelio Soft 2
Icon=d332_iconz2
you can download the software I'm talking about here
http://www.download.schneider-electric. ... ument&L=EN&
http://www.download.schneider-electric. ... ument&L=EN&
hi, i gave this thing a try, and tried to do some debugging, first i thought it was a bug in wine's LoadImage function, but somehow it appears the directory Z2Ctlg
is not in the right place. It looks like the bitmaps should be somewhere in:
"C:\\PROGRAM FILES\\SCHNEIDER ELECTRIC\\ZELIO SOFT 2\\Z2User\\Z2Ctlg\\SR2AB20J.BMP"
Could you try copy the diretory to Z2User:
'cp -rf Z2Ctlg/ Z2User/'
Then it starts fine for me. Also, could you check where the directory is when you install the app on windows, and if wine has put it in the wrong place, please open a bug for it in bugzilla. greetings
is not in the right place. It looks like the bitmaps should be somewhere in:
"C:\\PROGRAM FILES\\SCHNEIDER ELECTRIC\\ZELIO SOFT 2\\Z2User\\Z2Ctlg\\SR2AB20J.BMP"
Could you try copy the diretory to Z2User:
'cp -rf Z2Ctlg/ Z2User/'
Then it starts fine for me. Also, could you check where the directory is when you install the app on windows, and if wine has put it in the wrong place, please open a bug for it in bugzilla. greetings
Try installing the Windows core fonts. If you have a Windows partition, you can just copy the fonts to your ~/.wine/drive_c/windows/Fonts directory. If not, use winetricks: http://wiki.winehq.org/winetricks
another problem I'm having is that i can't communicate thought the com1 port (ttyS0)
Ive made the appropriate links ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
But I get an error on the program saying that the module didnt respond and to check cables.
on the console the only error that shows up is this:
fixme:comm:set_queue_size insize 2100 outsize 2100 unimplemented stub
what could be the problem?
Can I test with another linux software to see if there is any type of communication?!
Ive made the appropriate links ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
But I get an error on the program saying that the module didnt respond and to check cables.
on the console the only error that shows up is this:
fixme:comm:set_queue_size insize 2100 outsize 2100 unimplemented stub
what could be the problem?
Can I test with another linux software to see if there is any type of communication?!
Cannot load image .bmp
napalm wrote:
Your application is attempting to set a queue size and this function is
not implemented in Wine. Is this causing your program to fail, quite
possibly.
Is there a way to shut off the ability to set the input and output queue
size in your program?
James McKenzie
Since no one replied, here goes:another problem I'm having is that i can't communicate thought the com1 port (ttyS0)
Ive made the appropriate links ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
But I get an error on the program saying that the module didnt respond and to check cables.
on the console the only error that shows up is this:
fixme:comm:set_queue_size insize 2100 outsize 2100 unimplemented stub
Your application is attempting to set a queue size and this function is
not implemented in Wine. Is this causing your program to fail, quite
possibly.
Is there a way to shut off the ability to set the input and output queue
size in your program?
James McKenzie