PyQt4 - python-djvulibre problem Programming Software Development by britanicus … and height to `( 300, 500 )` the program crashes out with `SegmentationFault`. I also realized that there is no problem with the… Re: Segmentation Fault - Need help correcting Programming Software Development by Nick Evan … an error on overflow, where strcpy() would just cause a segmentationfault. Strcpy_s() isn't standard (yet?), so it may not be… Re: Segmentation error Programming Software Development by Nick Evan What input are you using when you get the segmentationfault? Because I ran the code and it didn't crash... … Re: Compare two char-arrays Programming Software Development by siggivara … b_exit: addl $-1,%eax ret [/CODE] It does however produse segmentationfault when I try to run it. I tried debugging, but… segmentationfault (plz answer asap) Programming Software Development by fatemeG hi i write this code to read from keyboard & write in a file but it says "segmentation fault":(( plz answer i am failing:((((((( comments are in farsi!! section .data fileName db '/home/fateme/Desktop/text.txt/',0 handler dd 10 ;baraye negah dashtane filedescriptor section .bss inputStr … Re: segmentationfault (plz answer asap) Programming Software Development by SamY what memory offset does your code start at? Maybe you reached a boundary limit and it wrapped around going to another area thus causing that error Re: PyQt4 - python-djvulibre problem Programming Software Development by Ene Uran To test out your program and possible help you, I installed python-djvulibre-0.3.4.win32-py2.7.exe from http://pypi.python.org/pypi/python-djvulibre/0.3.4 This works: import djvu help(djvu) '''output --> Help on package djvu: NAME djvu FILE c:\python27\lib\site-packages\djvu\… Re: PyQt4 - python-djvulibre problem Programming Software Development by Ene Uran Maybe this test print will help: import djvu.decode as DjVu from PyQt4.QtCore import QImage from PyQt4.QtGui import QPixmap, QApplication, QLabel def djvu2pixmap( filename, width, height ) : doc = DjVu.Context().new_document( DjVu.FileURI( filename ) ) doc.decoding_job.wait() pg = doc.pages[ 0 ]… Re: PyQt4 - python-djvulibre problem Programming Software Development by britanicus Thanks Ene... But I donot use Windows. I am on Linux (GNU/Linux Debian Wheezy) and the version of `python-djvulibre` I use is `0.3.9` on `python 2.7.3` and `PyQt4 4.9.3` and `Qt 4.8.2`. And yeah...! The test print works alright! I had tried even that. If you check, even the `lbl.resize(...)` works perfect. The test print `print(lbl.sizeHint())` … Re: PyQt4 - python-djvulibre problem Programming Software Development by Ene Uran I normally use: from PyQt4.QtCore import * from PyQt4.QtGui import * to make life simpler