Wireshark-dev: Re: [Wireshark-dev] extcaps not showing up under windows
From: Roland Knall <rknall@xxxxxxxxx>
Date: Wed, 23 May 2018 15:25:36 +0200
Printf works on Windows and for g_print you have to set a global variable for glib. Also, it should print in the console window or the terminal if you have started ws from command line. 

Am 23.05.2018 um 15:20 schrieb Dario Lombardo <lomato@xxxxxxxxx>:

Is there a quick way to print some debug output (I don't want to dive into vs debugger)? g_print doesn't seem to work.

On Wed, May 23, 2018 at 3:08 PM, Roland Knall <rknall@xxxxxxxxx> wrote:
If I might venture a guess, it's the switch from return to break, together with line 459. I reverted those and it was working on Windows.



Am Mi., 23. Mai 2018 um 15:10 Uhr schrieb Dario Lombardo <lomato@xxxxxxxxx>:
I confirm this commit is the culprit. I'm trying to track down the bug.

On Wed, May 23, 2018 at 2:51 PM, Kenneth Soerensen <knnthsrnsn@xxxxxxxxx> wrote:
I am quite sure that the built-in ones are compiled and I know for sure that I have not changed anything in my Python extcaps.

Again, please take a look at commit 68ec514b5f63e09a1628df321c0e5240edd54edc

/Kenneth

2018-05-23 14:44 GMT+02:00 Dario Lombardo <lomato@xxxxxxxxx>:
I'm trying to reproduce the case. Are the extcap compiled? Do they run properly from cmdline?

On Wed, May 23, 2018 at 1:13 PM, Kenneth Soerensen <knnthsrnsn@xxxxxxxxx> wrote:
Hi Roland

This is a problem with all extcaps including the ones included with Wireshark.

/Kenneth

2018-05-23 12:50 GMT+02:00 Roland Knall <rknall@xxxxxxxxx>:
Hi

One thing that let's me fail spectacularly on Windows are the Python Paths. I have to use specialized batch files to run the python scripts. A small howto is at the beginning of the extcap_example.py in ./doc/

Are all extcaps failing, or just your own?

regards
Roland

Am Mi., 23. Mai 2018 um 12:42 Uhr schrieb Dirk Eibach <dirk.eibach@xxxxxxxx>:
> I was just struggling with this problem too. Reverting
> 7655e0bad626787a05600ef2cf73e98e9d86f2e6 solves the problem.

Not for me. Problem persists with this commit reverted.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe



--
Naima is online.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe



--
Naima is online.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe



--
Naima is online.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe