de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 getImage() causing hang on new Mac OS
PostPosted: Fri Jul 20, 2018 8:23 pm 
Offline
Veteran
User avatar
today I though I'd get round to sorting my script but I am getting an issue with the getImage() command.
it causes sexscripts to hang permanently.
I have checked my java version and ensured I have the latest version of ss installed.
just in case this is the issue I am running MacOS Mojave 10.14

error log follows:
Code:
[Thread-5] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be used
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam FaceTime HD Camera 0x1420000005ac8600
[atomic-processor-1] WARN com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Null array pointer found instead of image
[atomic-processor-1] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Images bytes buffer is null!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[frames-refresher-[0x1420000005ac8600]] ERROR com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice - Timeout when requesting image!
[shutdown-hook-1] INFO com.github.sarxos.webcam.WebcamShutdownHook - Automatic FaceTime HD Camera 0x1420000005ac8600 deallocation
[shutdown-hook-1] INFO com.github.sarxos.webcam.Webcam - Disposing webcam FaceTime HD Camera 0x1420000005ac8600

_________________
"If you don't gosub a program loop, you'll never get a subroutine."


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Sat Jul 21, 2018 11:04 am 
Offline
Site Admin
User avatar
I did a release with the last release of the webcam library (webcam-capture-0.3.12), perhaps it'll be better.


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Sat Jul 21, 2018 5:52 pm 
Offline
Veteran
User avatar
on Mac the new download throws "this archive has errors" message. viewing the zip file shows half the files missing.
on windows "unexpected end of file error "

_________________
"If you don't gosub a program loop, you'll never get a subroutine."


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Sat Jul 21, 2018 8:47 pm 
Offline
Site Admin
User avatar
Yes corrupted, good now


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Sat Jul 21, 2018 9:36 pm 
Offline
Veteran
User avatar
unfortunately it did not fix the original issue :(

I have been able to get hold of a windows machine briefly and can confirm there are no issues running the same script.

Unfortunately it looks like sexscripts will loose MacOS functionality when the full version of Mojave is released.

_________________
"If you don't gosub a program loop, you'll never get a subroutine."


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Sun Jul 22, 2018 9:47 am 
Offline
Site Admin
User avatar
We'll have to wait a solution by the library programmers then. But it's only the webcam, so he worst case will be considering those specific Mac computers as without webcam.


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Wed Jul 25, 2018 9:42 am 
Offline
Veteran
User avatar
doti wrote:
We'll have to wait a solution by the library programmers then. But it's only the webcam, so he worst case will be considering those specific Mac computers as without webcam.


Unfortunately, uploading a picture is also broken on the Mac, at least the last time I checked. :(


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Wed Jul 25, 2018 10:16 am 
Offline
Site Admin
User avatar
What happens on sendImage() on a Mac ? You see an error message ?


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Wed Jul 25, 2018 9:49 pm 
Offline
Veteran
User avatar
doti wrote:
We'll have to wait a solution by the library programmers then. But it's only the webcam, so he worst case will be considering those specific Mac computers as without webcam.


unfortunately not quite correct, any script that calls getImage freezes the script it does not revert to asking for a file as it would in windows

_________________
"If you don't gosub a program loop, you'll never get a subroutine."


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Thu Jul 26, 2018 2:06 am 
Offline
Veteran
User avatar
doti wrote:
What happens on sendImage() on a Mac ? You see an error message ?


A dialog with "Error null"


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Thu Jul 26, 2018 9:19 am 
Offline
Site Admin
User avatar
Can you put here the part of the code showing that and the corresponding content of errors.log ?


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Mon Jul 30, 2018 3:01 am 
Offline
Veteran
User avatar
doti wrote:
Can you put here the part of the code showing that and the corresponding content of errors.log ?


Sorry for the delay...yes, will do soon.


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Mon Jul 30, 2018 1:28 pm 
Offline
Veteran
User avatar
doti wrote:
Can you put here the part of the code showing that and the corresponding content of errors.log ?


Hi doti, here's my sendImage error log:

Mon Jul 30 19:26:43 CST 2018
os.name : Mac OS X
os.arch : x86_64
java.version : 1.8.0_171
java.lang.NullPointerException

at java.io.File.<init>(File.java:277)
at ss.desktop.Script.sendImage(Script.java:828)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:158)
at ss.FullScript_test.run(script1532950001761117059677.groovy:61)
at ss.desktop.MainFrame$2.run(MainFrame.java:619)


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Mon Jul 30, 2018 1:55 pm 
Offline
Site Admin
User avatar
ptdw wrote:
doti wrote:
Can you put here the part of the code showing that and the corresponding content of errors.log ?
[...]
java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at ss.desktop.Script.sendImage(Script.java:828)
[...]

Thank you
It means that sendImage(filename) was called with a null character string as the filename. So it must be an error before calling sendImage(), for example reading a null value in the properties or something like that.


Top
 Profile Send private message 
 
 Re: getImage() causing hang on new Mac OS
PostPosted: Mon Jul 30, 2018 2:15 pm 
Offline
Veteran
User avatar
Oops, sorry about that. Ignore my error log. I forgot to add a getFile(). Here's the code:

Code:
def test = null
test = getFile()
sendImage(test)


Running this, there is no error generated in the log. The entire script just locks up on the getFile() line, and I have to force quit Java to use the computer again.


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2015
This website uses session cookies only.