Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] pre-commit ImportError

From: "POZUELO Gloria (BCS/PSD)" <gloria.pozuelo@xxxxxxxx>
Date: Wed, 17 Feb 2016 09:07:00 +0000
Using git bash and typing python shows me the following message:  "cygheap base mismatch detected. This problem is probably due to using incompatible versions of the Cygwin DLL."

I'm going to try the solution that it tells me...

Thank you very much!

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of João Valverde
Sent: Wednesday 17 February 2016 09:45
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] pre-commit ImportError

The pre-commit dependency on python is a recent change.

That ImportError is a python initialization error. Can you run python using "Git Bash"?

On 17-02-2016 08:14, POZUELO Gloria (BCS/PSD) wrote:
> Ok, I've just tried to commit the changes only with the commit-msg hook and the Change-Id was generated properly...I don't know what happen to the pre-commit hook, I'll keep on investigation what's going on...
>
> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx 
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of João 
> Valverde
> Sent: Wednesday 17 February 2016 09:02
> To: Developer support list for Wireshark
> Subject: Re: [Wireshark-dev] pre-commit ImportError
>
>
>
> On 17-02-2016 07:48, POZUELO Gloria (BCS/PSD) wrote:
>> Hello,
>>
>> I'd like to ask you about a problem with the pre-commit hook. It 
>> turns out that when I try to commit my changes it shows me a message 
>> that
>> says: "ImportError: No module named site", but when I delete the 
>> pre-commit hook it allows me to commit my changes but no Change-Id is 
>> generated... What can I do?
>
> If you delete the pre-commit hook, it should still run the commit-msg hook to generate a Change-Id.
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>               
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>
> ________________________________
>
> **** DISCLAIMER****
> http://www.bics.com/maildisclaimer/
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>               
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe