Wine on Mac and Photoscape

Questions about Wine on macOS.
Locked
Eegabooga
Level 1
Level 1
Posts: 6
Joined: Mon Jul 18, 2011 9:09 am

Wine on Mac and Photoscape

Post by Eegabooga »

I installed Wine on my Mac solely to use Photoscape. I loaded in a picture in and edited it with no problems but when I went to save I got this error:
Image

I tried changing the permissions of the photo but still got the same error. I then went to .wine and changed the permissions to 777 recursively but I am still getting the error.

I don't think running it as root would fix the problem and it's probably not too safe. I read somewhere that running things as root messes up the .wine directory's permissions as well so I'm not going to go there.

However, I am still stumped and would like some guidance on what I should do next. All help is greatly appreciated![/code]
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Wine on Mac and Photoscape

Post by jjmckenzie »

On Mon, Jul 18, 2011 at 7:23 AM, Eegabooga <[email protected]> wrote:
I installed Wine on my Mac solely to use Photoscape.  I loaded in a picture in and edited it with no problems but when I
went to save I got this error:
[Image: http://i.imgur.com/e6NFK.png ]

I tried changing the permissions of the photo but still got the same error.  I then went to .wine and changed the permissions
to 777 recursively but I am still getting the error.

I don't think running it as root would fix the problem and it's probably not too safe.  I read somewhere that running things as
root messes up the .wine directory's permissions as well so I'm not going to go there.
Running your Mac as root is HIGHLY not suggested either.

If you could capture a logging file when you try to save a file that
would be more beneficial than a screenshot of the error message.
Instructions are located in the Wine FAQ at
http://wiki.winehq.org/FAQ#get_log

Also, there is an entry for Photoscape in the Applications Database.
The latest version, 3.5 is rated bronze. I would suggest looking at
the page to see if there are any fixes for your problem provided by
other Photoscape users.

http://appdb.winehq.org/objectManager.p ... n&iId=7854

However, test results are old, the last was posted in December of
2010. Since the application is 'free to use' I might be able to
dowload and install it this evening to see if I can reproduce this
error.

James
Eegabooga
Level 1
Level 1
Posts: 6
Joined: Mon Jul 18, 2011 9:09 am

Post by Eegabooga »

Ok I did exactly as I did before so hopefully this log will explain some things:
[code/opt/local/bin/wine ~/.wine/drive_c/Program\ Files/Photoscape/photoscape.exe
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:gdiplus:GdipDrawImagePointsRect Image wrap mode not implemented
fixme:win:LockWindowUpdate (0x1006e), partial stub!
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:gdiplus:GdipGetPropertySize not implemented
fixme:win:LockWindowUpdate (0x0), partial stub!
fixme:win:LockWindowUpdate (0x1006e), partial stub!
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:win:LockWindowUpdate (0x0), partial stub!
[/code]

I will take a look at the entry in the App Database for Photoscape.
Thanks for you help!
Eegabooga
Level 1
Level 1
Posts: 6
Joined: Mon Jul 18, 2011 9:09 am

Post by Eegabooga »

Woops! Messed up on the code tag. Here it is again:

Code: Select all

$ /opt/local/bin/wine ~/.wine/drive_c/Program\ Files/Photoscape/photoscape.exe
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:gdiplus:GdipDrawImagePointsRect Image wrap mode not implemented
fixme:win:LockWindowUpdate (0x1006e), partial stub!
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:gdiplus:GdipGetPropertySize not implemented
fixme:win:LockWindowUpdate (0x0), partial stub!
fixme:win:LockWindowUpdate (0x1006e), partial stub!
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:win:LockWindowUpdate (0x0), partial stub!
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Wine on Mac and Photoscape

Post by jjmckenzie »

On Mon, Jul 18, 2011 at 7:46 AM, Eegabooga <[email protected]> wrote:
Woops!  Messed up on the code tag.  Here it is again:

Code:

$ /opt/local/bin/wine ~/.wine/drive_c/Program\ Files/Photoscape/photoscape.exe
Can you try this:

Code: Select all


which wine

This should return /opt/local/bin/wine OR /usr/bin/wine

Thank you.

James
Eegabooga
Level 1
Level 1
Posts: 6
Joined: Mon Jul 18, 2011 9:09 am

Post by Eegabooga »

$ which wine returns

Code: Select all

/opt/local/bin/wine
[/code]
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Wine on Mac and Photoscape

Post by jjmckenzie »

On Mon, Jul 18, 2011 at 8:43 AM, Eegabooga <[email protected]> wrote:
$ which wine returns

Code:

/opt/local/bin/wine


[/code]
Then you should do the following to launch the program to preclude any
internal dlls from being dropped or ignored:

Code: Select all


cd $HOME/wine/drive_c/Program\ Files/Photoscape/
wine photoscape.exe

See if this helps.

James
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

hi , i tried the application, downloaded from http://software-files-l.cnet.com/s/soft ... p_V3.5.exe

I get the same error on Linux, so not MAC specific. Using native gdiplus seems to get rid of the error.

Could run the app like:

WINEDLLOVERRIDES="gdiplus=n" wine PhotoScape.exe

and report back please (btw, the app comes with it's own gdiplus, no need to install it)
Eegabooga
Level 1
Level 1
Posts: 6
Joined: Mon Jul 18, 2011 9:09 am

Post by Eegabooga »

qwertymn wrote:hi , i tried the application, downloaded from http://software-files-l.cnet.com/s/soft ... p_V3.5.exe

I get the same error on Linux, so not MAC specific. Using native gdiplus seems to get rid of the error.

Could run the app like:

WINEDLLOVERRIDES="gdiplus=n" wine PhotoScape.exe

and report back please (btw, the app comes with it's own gdiplus, no need to install it)
Thank you! This fixed it! I can now save properly.

One more question, during the process of all this I changed my hidden .wine to just wine to make it unhidden. I'm wondering if this will affect my wine usage? Will this create any errors? Are there any benefits to leaving my wine folder hidden?

Thanks again to jjmckenzie and qwertymn for helping me! :)

Here is the log from the successful run (I'm sure somebody will get some use out of it):

Code: Select all

$ cd $HOME/wine/drive_c/Program\ Files/Photoscape/
$ WINEDLLOVERRIDES="gdiplus=n" wine Photoscape.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x3146c0,0x00000000), stub!
fixme:win:LockWindowUpdate (0x10072), partial stub!
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:win:LockWindowUpdate (0x0), partial stub!
fixme:win:LockWindowUpdate (0x10072), partial stub!
err:ntdll:RtlpWaitForCriticalSection section 0x4062ec24 "socket.c: csWSgetXXXbyYYY" wait timed out in thread 001d, blocked by 001c, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x4062ec24 "socket.c: csWSgetXXXbyYYY" wait timed out in thread 0020, blocked by 001c, retrying (60 sec)
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:win:LockWindowUpdate (0x0), partial stub!
fixme:dciman:DCICreatePrimary 0x650 0xdee2ac
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:SHGetDataFromIDListA SHGDFIL 3 stub
fixme:shell:BrsFolder_OnCreate flags BIF_NEWDIALOGSTYLE partially implemented
fixme:shell:BrsFolder_OnCreate flags 10 not implemented
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

Eegabooga wrote: One more question, during the process of all this I changed my hidden .wine to just wine to make it unhidden. I'm wondering if this will affect my wine usage? Will this create any errors? Are there any benefits to leaving my wine folder hidden?
if you just take off the dot, then it changes the name of the folder, and next time you run Wine it will create a new .wine folder and not find your other one (as far as I know). You'll have to launch the program setting the WINEPREFIX variable to $HOME/wine so it won't default to $HOME/.wine every time.

like...
WINEPREFIX=$HOME/wine wine myProgram.exe

or if your scripting it to launch...

Code: Select all

export WINEPREFIX="$HOME/wine"
export WINEDLLOVERRIDES="gdiplus=n"
cd "$HOME/wine/drive_c/Program Files/Photoscape/"
wine PhotoScape.exe
of course instead of using "wine" for the prefix you could always rename it and place it wherever you want it.
Eegabooga
Level 1
Level 1
Posts: 6
Joined: Mon Jul 18, 2011 9:09 am

Post by Eegabooga »

doh123 wrote: if you just take off the dot, then it changes the name of the folder, and next time you run Wine it will create a new .wine folder and not find your other one (as far as I know). You'll have to launch the program setting the WINEPREFIX variable to $HOME/wine so it won't default to $HOME/.wine every time.

like...
WINEPREFIX=$HOME/wine wine myProgram.exe

or if your scripting it to launch...

Code: Select all

export WINEPREFIX="$HOME/wine"
export WINEDLLOVERRIDES="gdiplus=n"
cd "$HOME/wine/drive_c/Program Files/Photoscape/"
wine PhotoScape.exe
of course instead of using "wine" for the prefix you could always rename it and place it wherever you want it.
Ok, I just made it hidden again to avoid future troubles. Thank you all for your awesome help!
caninegirl
Newbie
Newbie
Posts: 1
Joined: Tue Aug 16, 2011 3:01 pm

Post by caninegirl »

Hello

Can anybody explain the method above step by step for me please.
I'm very new for MAC and can't understand how to do it.
I'm really desperated need to use photosacape.
:cry: :cry: :cry: :cry: :cry: :cry:
Locked