sithis993 / Crypter

Crypter - Python3 based builder and ransomware compiled to Windows executable using PyInstaller
GNU General Public License v3.0
636 stars 187 forks source link

Builder issue #74

Closed swagkarna closed 4 years ago

swagkarna commented 4 years ago

when i execute builder.pyw i got this error Traceback (most recent call last): File "Builder.pyw", line 10, in builder = Builder() File "C:\Users\xxx\Desktop\Crypter-master (3)\Crypter-master\CrypterBuilder\Builder.py", line 31, in self.__builder_gui = Gui() File "C:\Users\xxxx\Desktop\Crypter-master (3)\Crypter-master\CrypterBuilder\Gui.py", line 40, in i MainFrame.init( self, parent=None ) File "C:\Users\xxx\Desktop\Crypter-master (3)\Crypter-master\CrypterBuilder\BuilderGuiAbsBase.py", l bSizer44.Add( self.TitleLabel, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALL|wx.EXPAND, 5 ) wx._core.wxAssertionError: C++ assertion "!(flags & (wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL))" faile mmon\sizer.cpp(2089) in wxBoxSizer::DoInsert(): Horizontal alignment flags are ignored with wxEXPAND

I am using windows 7 32 bit and python 3.7

sithis993 commented 4 years ago

Huh, that's strange. Did you install the dependencies using the requirements.txt file? (pip install -r requirements.txt). This looks like the kind of error that would occur if the version of wxPython wasn't correct. I haven't come across this problem with the Builder myself, so the version of wxPython I'm using (4.0.7) must be fine with this code. What version have you got installed?

swagkarna commented 4 years ago

i am using python version 3.7 and i have installer all the requirements

sithis993 commented 4 years ago

Hmmm this is quite strange. I've fixed this issue in the latest version of Crypter (3.4). Can you pull it down and give it a test? You shouldn't get this problem again, but you may get others.... it seems strange that you got this but other people haven't seen it. Sounds like there could be some other version of wxPython getting in the way.

Whenever I've seen wxPython errors like this, it's usually because a newer version no longer supports the use of certain flags, or perhaps is more lenient than an older version, etc. let me know how you get on :-)

swagkarna commented 4 years ago

Its working fine thanks