Huawei Ideos - LogCat not responding - android-logcat

I have a Huawei Ideos X3, which is supposedly properly connected through usb (driver was installed, and no yellow exclamation mark on device manager). I can install and run my Apps through Eclipse, however i don't get any response on LogCat. So i cannot have any feedback for debugging... Anyone has a clue..? Thanks!

To enable logging on Huawei Blaze (U8510) (rebadged Ideos X3):
dial *#*#2846579#*#*
select 'ProjectMenu'
select 'Background Setting'
select 'Log Setting'
select 'Log Switch'
enable 'LOG on'
Select 'Log level setting'
enable 'DEBUG'
Press the 'Back' key
select 'Dump and Log'
enable 'Open Dump and Log'
Press 'Back' key 5 times to return to home screen.
Reboot the phone.
LogCat should now work.

Related

PhpMyAdmin is suddenly showing errors

I hope you're doing well.
Last week (friday) phpmyadmin was working just fine, but when I tried to work with it today it shows me some errors and doesn't show databases etc.
I'm workin with xampp on windows 7 (it's not my pc ...)
Here is the error:
Fatal error: Uncaught TypeError: Argument 2 passed to
PhpMyAdmin\Core::arrayWrite() must be of the type array, null given,
called in C:\xampp\phpMyAdmin\libraries\classes\Config.php on line
1049 and defined in C:\xampp\phpMyAdmin\libraries\classes\Core.php:677
Stack trace: #0
C:\xampp\phpMyAdmin\libraries\classes\Config.php(1049):
PhpMyAdmin\Core::arrayWrite('lang', NULL, 'fr') #1
C:\xampp\phpMyAdmin\libraries\classes\Config.php(996):
PhpMyAdmin\Config->setUserValue(NULL, 'lang', 'fr', 'en') #2
C:\xampp\phpMyAdmin\libraries\common.inc.php(453):
PhpMyAdmin\Config->loadUserPreferences() #3
C:\xampp\phpMyAdmin\index.php(27):
require_once('C:\xampp\phpMyA...') #4 {main} thrown in
C:\xampp\phpMyAdmin\libraries\classes\Core.php on line 677
Thank you for your interest.
Have a good day.
Please try clearing your browser cache and remove phpMyAdmin cookies, which start with "pma".
follow these steps
Open up your phpMyAdmin in browser
Press F12 to open Developer tools
go to Application > Clear storage
Clear all Cookies and Cache
Try refreshing the page.
Open up your phpMyAdmin url and press F12 for Developer mode .. go to Application Tab and Clear all Cookies .. refresh your phpMyAdmin page .. should be good to go .. enjoy
follow these steps...
Open up your phpMyAdmin URL
Press F12 for Developer mode
go to Application Tab and
Clear all Cookies
refresh your phpMyAdmin page (if not working once restart the server and try again)
.... .. .. hurray!!! it's done .. ... .....
Restore your database 'phpmyadmin' from your latest backup.
Before you stop MariaDb and then as usual, restore and start your DBMS again. It'll work.
I did not find a "Application tab" in the Developers menu like mentioned by Eliki Bula and Norbert
But followed the steps to clear a single site from the cache in Firefox and "forgot" the url of mypage/phpmadmin and it worked, the error was gone.
So its fact.
The reason for this problem is somewhere in the Cookies from phpmyadmin, to you yust have to clear the cookies for this page on any way.

WebRtc2SIP: No video is been received/transmitted when made call between chrome and a SIP client

I am a newbie to webrtc2sip. I have setup my webrtc2sip gateway and registered to sip2sip.info as my domain. The problem is when I make video calls from chrome to any SIP client(ekiga/jitsi) the call gets connected but I am unable to see videos on both the sides.
==================================================================================
Case 1: Chrome calls SIP client
Result: No video shown on both transmit and receive side
==================================================================================
On the chrome JS console it says that :
State machine: tsip_dialog_register_InProgress_2_Connected_X_2xx SIPml-api.js?svn=179:1
==session event = m_stream_video_local_added SIPml-api.js?svn=179:1
==session event = m_stream_video_remote_added SIPml-api.js?svn=179:1
==session event = m_stream_audio_local_added SIPml-api.js?svn=179:1
==session event = m_stream_audio_remote_added SIPml-api.js?svn=179:1
I have attached the JS console logs(case1_web2SIPClient_JSLogs.txt), wireshark trace(case1_web2SIPClient_WStrace.pcap) , webrtc2sip gateway console logs(case1_web2SIPClient_gatewayLogs.txt), sipml5 expert settings (Expert_settings.png) and config.xml (config.xml) for this case. I did not change anything in the config.xml that was generated after i built the source as mentioned in the instructions of this page (http://linux.autostatic.com/installing-webrtc2sip-on-ubuntu-1204).
I gave a try making calls between chrome and a android SIP client (CSipSimple) and the problem remains the same.
==================================================================================
case 2: SIP client calling chrome.
Result: as soon as I click answer button on chrome, the calls gets rejected.
==================================================================================
The JS console logs states that:
State machine: tsip_transac_ist_Proceeding_2_Completed_X_300_to_699 SIPml-api.js?svn=179:1
SEND: SIP/2.0 603 Failed to get local SDP
Via: SIP/2.0/WS 172.21.128.118:10060;rport=10060;branch=z9hG4bK-1441398960
From: <sip:tata#172.21.229.127>;tag=300647977
To: <sip:amshyam320#sip2sip.info>;tag=ZxQFfM7fIIP3rT1HINzb
Call-ID: fbdf5a11-ff9e-0072-fa8b-09525220cec6
CSeq: 1670757835 INVITE
Content-Length: 0
Reason: SIP; cause=603; text="Failed to get local SDP"
For this case I am attaching JS logs(case2_SIPClient2WebJSLogs.txt), wireshark dump(case2_jitsiToWeb_WStrace.pcap)
Configuration:
Chrome Version: checked on 30.0.1599.114 and even on Latest chrome version
Webrtc2sip version: 2.6.0
sipml5 Version: svn=203
ubuntu version: 12.04 (checked on both desktop and server editions)
Am I missing something in my setup or configuration please guide and help in moving further.
Thanks,
Shyam
Case2:
You're using RTCWeb-capable browser(Chrome) and trying to call a SIP client which may not be implementing some mandatory features like ICE,SRTP. Chrome uses SRTP-SDES and Firefox uses SRTP-DTLS.
Enable RTCWeb Breaker in sipml5 expert settings and check.
The RTCWeb Breaker is used to enable audio and video transcoding when the endpoints do not support the same codecs or the remote server is not RTCWeb-compliant.
Case:1:
Is audio working? and I can't see your logs.

Why do I get this Selenium::WebDriver error in my Cucumber scenario when I visit a page?

This method has been implemented in a **.rb file in a cucumber project and should compute a user_id (oid) and login. It suddenly failed by visit sending an empty page and this following monster error_message: (by the way no changes in the system are known to me and I can compute the oid manually and login typing the url directly).
Can anybody help me ?
def login_with_oid(oid=null)
oid = get_context(:oid) unless oid
visit "/admin/authentifizierung/zidauth?oid=#{oid}"
end
Selenium::WebDriver::Error::UnknownError: Unknown command 'WaitForAllTabsToStopLoading'. Options: AcceptOrDismissAppModalDialog, ActionOnSSLBlockingPage, ActivateTab, AddBookmark,
...
Currently installed:
ChromeDriver 26.0.1383.0 /usr/local/bin/chromedriver
Google Chrome 29.0.1547.76
Under: Ubuntu 12.04.3 LTS

Unable to Launch Chrome Browser in Selenium

I am launching chrome browser using
selenium = new DefaultSelenium("localhost", 4444, "*googlechrome",
"https://example.com/");
But i get a popup with following message and it freezes:
An administrator has installed Google Chrome on this system, and it is available for all users. The system-level Google Chrome will replace your user-level installation now.
Console Log till point of freeze:
Server started
16:06:37.792 INFO - Command request: getNewBrowserSession[*googlechrome, https://example.com/, ] on session null
16:06:37.796 INFO - creating new remote session
16:06:38.081 INFO - Allocated session beb925cd0418412dbe6319fedfb28614 for https://example.com/, launching...
16:06:38.082 INFO - Launching Google Chrome...
Any suggestions?
Try giving location of your chrome exe too along with browser name like this :
selenium=new DefaultSelenium("localhost", 4444, "*googlechrome C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe", "https://example.com");

Starting google-chrome via Selenium on headless debian system

I'm trying to start the google-chrome browser in disabled web security mode. The selenium log says:
15:36:33.526 INFO - Command request: getNewBrowserSession[*googlechrome, http://www.myurl.de, , commandLineFlags=--disable-web-security] on session null
Anyways, it just hangs after
15:36:33.600 INFO - Launching Google Chrome...
Here's the stack trace:
16:36:44.605 ERROR - Failed to start new browser session, shutdown browser and clear all session data org.openqa.selenium.server.RemoteCommandException: timed out waiting for window 'null' to appear at org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java:564) at org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java:521) at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:374) at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:125) at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:87) at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:785) at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:422) at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:393) at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:146) at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1530) at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1482) at org.openqa.jetty.http.HttpServer.service(HttpServer.java:909) at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820) at org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986) at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837) at org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243) at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357) at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Selenium is started by robotframework by the robotframework-maven-plugin. Also xvfb is started by the maven build script to simulate a display. But the startup configuration does not seem to be the problem. Everything starts fine, just the browser won't get up.
I hope anyone can help me.
Make sure that the user account that is launching the browser has a home directory. Otherwise the browser profile creation will fail.