algiuxas

[Solved] Some really weird errors in SciTE console

7 posts in this topic

#1 ·  Posted (edited)

Hello everybody!

I get these weird errors in SciTE console:

[0801/210405:ERROR:tcp_socket_win.cc(335)] bind() returned an error: Only one usage of each socket address (protocol/network address/port) is normally permitted. (0x2740)
[0801/210405:ERROR:devtools_http_handler.cc(229)] Cannot start http server for devtools. Stop devtools.
[0801/210405:ERROR:browser_gpu_channel_host_factory.cc(119)] Failed to launch GPU process.
[0801/210405:ERROR:browser_gpu_channel_host_factory.cc(119)] Failed to launch GPU process.

My script:

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Misc.au3>
#NoTrayIcon

$title = "Hello"
$txt = "..."

; TODO: Make 4 of them
;~ #Region ### START Koda GUI section ### Form=
;~ $1_GUI = GUICreate($title, 370, 120, -1, -1)
;~ GUISetBkColor(0xFFFFFF)
;~ $1_B1 = GUICtrlCreateButton("B1", 136, 80, 107, 25)
;~ GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
;~ $1_B2 = GUICtrlCreateButton("B2", 248, 80, 107, 25)
;~ GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
;~ GUICtrlCreateLabel($txt, 16, 24, 338, 52)
;~ GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
;~ GUICtrlSetColor(-1, 0x000000)
;~ GUISetState(@SW_SHOW)
;~ #EndRegion ### END Koda GUI section ###

#Region ### START Koda GUI section ### Form=
$2_GUI = GUICreate($title, 370, 0?"Hi :)":120, -1, -1)
GUISetBkColor(0xFFFFFF)
$2_B1 = GUICtrlCreateButton("B1", 136, 80, 107, 25)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$2_B2 = GUICtrlCreateButton(0?":D":"B2", 248, 80, 107, 25)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUICtrlCreateLabel($txt, 16, 24, 338, 52)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x000000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

$u32dll = DllOpen("user32.dll")

;~ Opt("GUIOnEventMode", 1)
;~ GUICtrlSetOnEvent(-3, "_Exit") ; TODO: Fix, doesn't work with 2 GUI at the same time
;~ GUICtrlSetOnEvent($B11, "_Exit")
;~ GUICtrlSetOnEvent($B21, "_Exit")
;~ GUICtrlSetOnEvent($B12, "_Exit")
;~ GUICtrlSetOnEvent($B22, "_Exit")

;~ $pos1 = WinGetPos($GUI1)
;~ $pos2 = WinGetPos($GUI1)
While 1
;~  $pos1 = WinGetPos($GUI1)
;~  $pos2 = WinGetPos($GUI1)
;~  $x = $pos1[0] - 370
;~  $y = $pos1[1]
;~  WinMove($GUI2, "", $x, $y, $pos1[2], $pos1[3], 1)

    ; Press middle mouse button to close (it's gonna be a non malicious prank for my friend)
    If _IsPressed(4, $u32dll) Then Exit

    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            _Exit()
;~      Case $1_B1
;~          _Exit()
;~      Case $1_B2
;~          _Exit()
        Case $2_B1
            _Exit()
        Case $2_B2
            _Exit()
    EndSwitch
WEnd

Func _Exit()
    ; TODO: ...
;~  GUIDelete($1_GUI)
    GUIDelete($2_GUI)
    Exit
EndFunc   ;==>_Exit

How to get rid of these errors?

Edited by algiuxas

42783.png

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Quote

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Users\Algirdas\Desktop\Tr.au3" /UserParams    
+>21:19:59 Starting AutoIt3Wrapper v.17.224.935.0 SciTE v.3.7.3.0   Keyboard:00000409  OS:WIN_10/  CPU:X64 OS:X64  Environment(Language:0809)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\Algirdas\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\Algirdas\AppData\Local\AutoIt v3\SciTE 
>Running AU3Check (3.3.14.2)  from:C:\Program Files (x86)\AutoIt3  input:C:\Users\Algirdas\Desktop\Tr.au3
+>21:19:59 AU3Check ended.rc:0
>Running:(3.3.14.2):C:\Program Files (x86)\AutoIt3\autoit3_x64.exe "C:\Users\Algirdas\Desktop\Tr.au3"    
--> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop
[0801/212000:ERROR:tcp_socket_win.cc(335)] bind() returned an error: Only one usage of each socket address (protocol/network address/port) is normally permitted. (0x2740)
[0801/212000:ERROR:devtools_http_handler.cc(229)] Cannot start http server for devtools. Stop devtools.
[0801/212000:ERROR:browser_gpu_channel_host_factory.cc(119)] Failed to launch GPU process.
[0801/212000:ERROR:browser_gpu_channel_host_factory.cc(119)] Failed to launch GPU process.
+>21:20:03 AutoIt3.exe ended.rc:0
+>21:20:03 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 4.543

I get them after couple secounds of executing my script.

I'll try reinstalling AutoIT & SciTE

Edited by algiuxas

42783.png

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Just did a quick search on " :devtools_http_handler.cc(229)] Cannot start http server for devtools. Stop devtools " and guess what that came back with....

Is it only this script that has this issue?
When did it Start?
Did you change anything?
ETC..ETC..

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#5 ·  Posted

Solved.


42783.png

Share this post


Link to post
Share on other sites

#7 ·  Posted

On 2017-08-01 at 9:46 PM, Jos said:

How?

Reinstall AutoIT and SciTE.


42783.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • wakillon
      By wakillon
      SciTE Hopper : Jump to Any line by one click and many other helpfull functions !


      As Ashalshaikh suggested me after leaving me the task to continue >SciTE Hopper, i open a new Topic about it.
      It will be more easy for futures updates.

      Many helpfull functions in contextual menu.
      SciTE Hopper is now multipurpose.
      • Color Catcher added
      • BinaryToAu3Kompressor added
      • TinyAu3Search replaced by StringFinder
      • RegJumper added
      • Edit With SciTE added (available in Options)
      • SpecialCharactersViewer added (available in Tray menu)
      New Contextual Menu :

      For a right Click on a function :

      • Copy function name
      • Insert a function header
      • Cut function
      • Copy function
      • Delete function
      • Create a variables List
      • Remove usseless Blank lines
      • Remove Debug lines ( all lines starting with ConsoleWrite or _ArrayDisplay )
      • Set AutoIt Code Layout
      • Remove Comments

      For entire script :

      • Create a functions List
      • Create a variables List
      • Remove usseless Blank lines
      • Remove Debug lines ( all lines starting with ConsoleWrite or _ArrayDisplay )
      • Set AutoIt Code Layout
      • Remove Comments
      • ( Open in SciTE a ) Duplicate of current Script in Temp Dir
      • ( Open in SciTE a ) Duplicate of current Script in Same Dir
      • Explore Parent Script Folder
      • Copy Script name
      • Copy Script path
      • Find Unused Functions
      • Find Unused Variables
      • Set all functions in alphabetic order.( func headers and regions ( in fact, all lines between functions ) are not supported.)

      SciTE Editor New Contextual Menu if SciTE Hopper is added ( in Options ) to SciTE Editor :
      when you made a selection in SciTE Editor you can :

      • Open a Reg Key in Regedit using RegJumper
      • Open a Url in your default Browser
      • Search on google in your default Browser
      • Search on AutoIt Website in your default Browser
      Now Can be added to windows start (minimized)
      Options are available by Tray Menu.
      A double click on tray icon will open clipboard content to SciTE Editor ( Handy when you have copied some code from your browser )

      How to proceed for add SciTE Hopper to SciTE Editor :
      Run Scite Editor, run Scite Hopper ( compiled! ) go to Options and select Add/Remove to SciTE Tab. then click on Add button and it's done !
      Right click on SciTE Editor and choose SciTE Hopper in Contextual Menu for run it when you need it !
      Update of 07 Dec 2017
      TinyAu3Search is replaced by StringFinder

      Previous downloads : 1287
      Script and compiled version are available in the download section
       
      Thanks to Ashalshaikh, Melba23, Th3 MMA, Alzri2, taitel, Manadar, taz742, Yashield, Authenticity, Xenobiologist for their help
      and asdf8 for his >Includes Helper and azjio for his >FileSearch.

      Hope it help you and happy Scripting !

       
    • wakillon
      By wakillon
      For more details go to the Topic
    • JaredStroeb
      By JaredStroeb
      I need to open an application and send it keys in Session 0.  I have exe's working locally, I can see the application open in session 0 through interactive services, but my send commands do not go to the application.  The following article running-autoit-session-0, directs me to use ControlSend() however my application has no controls that can be identified by AutoIt v3 Window Info.  Get All Windows Controls also returned nothing for the application's handle.  
      What are my options?  
      Can this be done with AutoIt?
      Is there a different "relatively simple" library/tool to use? (I am familiar with C# if there is a viable library there )

       
    • Skysnake
      By Skysnake
      Scite comes up occasional, almost incidentally, in some support topics.  I have not found a "Scite" topic in the forums, so this is where I will start.  I have recently been using Scite intensively, specifically with a large project and I have certain issues.  I know that Scite is not an AutoIt product, but it is so closely integrated to the core release that it makes sense to raise issues and request support here.  If this is not the right please refer me to the right forum.
      Thx
       
      Skysnake
    • TrashBoat
      By TrashBoat
      I've messed around in scite theme settings and it left this blue bar , how can i get rid of it?
      Image (imgur)