isonic1 / flick

A CLI with helpful QA tools for Android (Devices & Emulators) and iOS (Devices).
MIT License
101 stars 26 forks source link

Flick not working in IphoneX with iOS 11.4.1 #41

Closed aryalakshmi closed 5 years ago

aryalakshmi commented 6 years ago

Hi All,

I am facing issue with Flick on IphoneX. All generated videos are of 0bytes.

It was working fine on iphone 6.

Command used: flick video -a start -p ios -u $udid -n test1 -o /Users/digitalhome/Documents/ flick video -a stop -p ios -u $udid -n test1 -o /Users/digitalhome/Documents/

Digitals-MacBook-Pro-2:digitalhome$ ls -lrt /Users/digitalhome/Documents/test1.mp4 -rw-r--r-- 1 digitalhome staff 0 Aug 21 16:41 /Users/digitalhome/Documents/test1.mp4

Can someone help me with this issue?

aryalakshmi commented 6 years ago

hi, can someone please help with this issue?

thanks, Arya

gdimitris commented 5 years ago

Hi @aryalakshmi I just opened a PR about this issue https://github.com/isonic1/flick/pull/43

aryalakshmi commented 5 years ago

Hi,

Is there any fix.for this issue :(

isonic1 commented 5 years ago

I just released a new version flick 0.4.5. Thank you @gdimitris for submitting this PR! @aryalakshmi please let me know if this works for you now.

aryalakshmi commented 5 years ago

hi,

I have updated flick but still it doesnt work

Digitals-MBP-2:videos_whw root# flick --version eflick 0.4.5

Digitals-MBP-2:videos_whw root# flick video -a start -p ios

Starting Recoder!!! error: undefined method `include?' for nil:NilClass. Use --trace to view backtrace Digitals-MBP-2:videos_whw root# flick video -a stop -p ios

Stopping Recorder!!! error: undefined method `include?' for nil:NilClass. Use --trace to view backtrace

############################# Digitals-MBP-2:videos_whw root# flick video -a start -p ios -u XXXXXXXXX --trace

Starting Recoder!!! /Library/Ruby/Gems/2.3.0/gems/commander-4.4.6/lib/commander/user_interaction.rb:359:in method_missing': undefined methodinclude?' for nil:NilClass (NoMethodError) from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/lib/flick/system.rb:17:in block in find_pid' from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/lib/flick/system.rb:17:ineach' from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/lib/flick/system.rb:17:in find_all' from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/lib/flick/system.rb:17:infind_pid' from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/lib/flick/system.rb:37:in kill_process' from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/lib/flick/video.rb:109:instart_screenshot_record' from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/lib/flick/video.rb:50:in start' from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/lib/flick/video.rb:34:inrun' from /Library/Ruby/Gems/2.3.0/gems/flick-0.4.5/bin/flick:34:in block (2 levels) in <top (required)>' from /Library/Ruby/Gems/2.3.0/gems/commander-4.4.6/lib/commander/command.rb:182:incall' from /Library/Ruby/Gems/2.3.0/gems/commander-4.4.6/lib/commander/command.rb:153:in run' from /Library/Ruby/Gems/2.3.0/gems/commander-4.4.6/lib/commander/runner.rb:446:inrun_active_command' from /Library/Ruby/Gems/2.3.0/gems/commander-4.4.6/lib/commander/runner.rb:68:in run!' from /Library/Ruby/Gems/2.3.0/gems/commander-4.4.6/lib/commander/delegates.rb:15:inrun!' from /Library/Ruby/Gems/2.3.0/gems/commander-4.4.6/lib/commander/import.rb:5:in `block in <top (required)>' Digitals-MBP-2:videos_whw root#

aryalakshmi commented 5 years ago

Hi, Thanks a lot for your solution. Its working now after uninstall and reinstall of gem and flick.

isonic1 commented 5 years ago

@aryalakshmi please thank @gdimitris. :)