WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 14 posts ] 



 
Author Message
 Post subject: Cannot load image .bmp
 Post Posted: Thu Oct 23, 2008 12:14 pm 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
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


Top 
 Post Posted: Thu Oct 23, 2008 2:07 pm 
Offline
Moderator
Moderator

Joined: Sat Feb 23, 2008 2:29 pm
Posts: 6605
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.


What exact command did you use to start this program? And from what directory did you run it?


Top 
 Post subject:
 Post Posted: Thu Oct 23, 2008 2:32 pm 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
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:
Code:
~/.wine/drive_c/Programas/Schneider Electric/Zelio Soft 2$ wine Zelio2.exe


but I also have a link to the program in the user folder
this is the content of the link:
Code:
~$ 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


The behavior is the same if I use one or another way to start the program


Top 
 Post subject:
 Post Posted: Fri Oct 24, 2008 3:56 am 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
Something to add...
The bitmap files are inside the directory "Z2Ctlg" and in that dir are other files that Zelio2 needs to open.
I have renamed that dir and the program gave an error about that and didn't open.
So what could this be?


Top 
 Post subject:
 Post Posted: Tue Oct 28, 2008 6:57 am 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
you can download the software I'm talking about here
http://www.download.schneider-electric. ... ment&L=EN&


Top 
 Post subject:
 Post Posted: Tue Oct 28, 2008 3:48 pm 
Offline
Level 4
Level 4

Joined: Thu Mar 27, 2008 3:42 am
Posts: 236
Location: Lampegat (Eindhoven de gekste!)
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


Top 
 Post subject:
 Post Posted: Tue Oct 28, 2008 5:09 pm 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
It worked. thanks a lot.
That's very strange cause in windows the Z2User does not have the folder Z2Ctlg...

Anyway, thanks again


Top 
 Post subject:
 Post Posted: Fri Oct 31, 2008 6:35 am 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
Another issue noticed.
Unusual characters/symbols where should be other ones... maybe a font problem...
notice the 2nd and 3rd columns

Image


Top 
 Post subject:
 Post Posted: Fri Oct 31, 2008 8:57 am 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 11812
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


Top 
 Post subject:
 Post Posted: Fri Oct 31, 2008 9:42 am 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
Hi thanks.

I 've copied the fonts from the other partition were I have windows XP and the symbols changed but they are not correct:

Image

Also I've installed corefonts from winetricks with the same result...


Top 
 Post subject:
 Post Posted: Fri Oct 31, 2008 9:52 am 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 11812
Try copying symbol.ttf.


Top 
 Post subject:
 Post Posted: Mon Nov 03, 2008 4:03 am 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
there is already a symbol.ttf


Top 
 Post subject:
 Post Posted: Tue Nov 04, 2008 12:47 pm 
Offline
Level 1
Level 1

Joined: Thu Oct 23, 2008 12:09 pm
Posts: 9
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?!


Top 
 Post subject: Cannot load image .bmp
 Post Posted: Fri Nov 07, 2008 10:24 pm 
 
napalm wrote:
Quote:
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


Since no one replied, here goes:

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


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 14 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 7 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: