Comments (6)
Original comment by Marcus von Appen (Bitbucket: marcusva, GitHub: marcusva):
Not much to be done without feedback
from py-sdl2.
Original comment by Marcus von Appen (Bitbucket: marcusva, GitHub: marcusva):
Would you mind to try running the examples with the latest releases of SDL and SDL_gfx? Do the test programs of SDL_gfx work for you?
from py-sdl2.
Original comment by zaazbb (Bitbucket: zaazbb, GitHub: zaazbb):
I am under windows xp sp3, using python3.3.2
from py-sdl2.
Original comment by zaazbb (Bitbucket: zaazbb, GitHub: zaazbb):
The same error appeared when running helloworld.py with -hardware command line option. errors as below.
#!python
Traceback (most recent call last):
File "C:\Python33\Lib\site-packages\sdl2\examples\helloworld.py", line 87, in <module>
sys.exit(run())
File "C:\Python33\Lib\site-packages\sdl2\examples\helloworld.py", line 59, in run
sprite = factory.from_image(RESOURCES.get_path("hello.bmp"))
File "C:\Python33\lib\site-packages\sdl2\ext\sprite.py", line 405, in from_image
return self.from_surface(load_image(fname), True)
File "C:\Python33\lib\site-packages\sdl2\ext\sprite.py", line 418, in from_surface
raise SDLError()
sdl2.ext.common.SDLError: b'Invalid renderer'
Erros when running other files under example dir, as below:
gui.py file:
#!python
Traceback (most recent call last):
File "C:\Python33\Lib\site-packages\sdl2\examples\gui.py", line 166, in <module>
sys.exit(run())
File "C:\Python33\Lib\site-packages\sdl2\examples\gui.py", line 156, in run
uiprocessor.dispatch([button, checkbutton, entry], event)
File "C:\Python33\lib\site-packages\sdl2\ext\gui.py", line 337, in dispatch
handler(v, e)
File "C:\Python33\lib\site-packages\sdl2\ext\gui.py", line 223, in passevent
component.events[event.type](event)
File "C:\Python33\lib\site-packages\sdl2\ext\events.py", line 28, in __call__
return [callback(self.sender, *args) for callback in self.callbacks]
File "C:\Python33\lib\site-packages\sdl2\ext\events.py", line 28, in <listcomp>
return [callback(self.sender, *args) for callback in self.callbacks]
File "C:\Python33\Lib\site-packages\sdl2\examples\gui.py", line 46, in onedit
(event.text.text, event.text.start, event.text.length))
AttributeError: 'SDL_TextInputEvent' object has no attribute 'start'
opengl.py: I have not install openGL module.
particles.py:
#!python
Traceback (most recent call last):
File "C:\Python33\Lib\site-packages\sdl2\examples\particles.py", line 247, in <module>
sys.exit(run())
File "C:\Python33\Lib\site-packages\sdl2\examples\particles.py", line 196, in run
images = (factory.from_image(RESOURCES.get_path("circle.png")),
File "C:\Python33\lib\site-packages\sdl2\ext\sprite.py", line 405, in from_image
return self.from_surface(load_image(fname), True)
File "C:\Python33\lib\site-packages\sdl2\ext\sprite.py", line 418, in from_surface
raise SDLError()
sdl2.ext.common.SDLError: b'Invalid renderer'
Other files runs all ok.
from py-sdl2.
Original comment by Marcus von Appen (Bitbucket: marcusva, GitHub: marcusva):
Does the problem only occur with the gfxdrawing example or also with others? Does the helloworld example work, when you enable the -hardware command line option?
from py-sdl2.
Original comment by zaazbb (Bitbucket: zaazbb, GitHub: zaazbb):
the "dll.7z" is the "msvcr100d.dll" and "SDL2_gfx.dll" files I used.
from py-sdl2.
Related Issues (20)
- pysdl2 gfx not working in termux HOT 4
- Problem with SDL_GL_GetProcAddress() HOT 5
- Render._get_render_drivers() not working correctly
- Units test fail on big-endian architecture HOT 13
- Unit test expects SDL version to stay 2.0.x forever HOT 4
- Handling Resize of Images / Resize of Window with SpriteFactory/Renderer HOT 3
- SDL_TICKS_PASSED doesn't handle wraparound HOT 1
- Unable to set framerate with using the FPSManager HOT 2
- ValueError: NULL pointer access while running the test suite HOT 16
- test_Mix_MusicDuration failure: assert 0.2 < 0.1501... HOT 1
- Unit tests fail with SDL git main (2.25.x)
- How to convert SDL_Surface to pygame.Surface? HOT 3
- Accessing the original ctypes function pointers broke again HOT 2
- Incorrect use of SDL_GetError() to check whether calls failed HOT 6
- TTF_WRAPPED_ALIGN_* is not defined bug HOT 1
- How to delete UserWarning: Using SDL2 binaries from pysdl2-dll 2.28.0 HOT 6
- Window icon and title are not set properly HOT 5
- SDL_gfx: Circle radius greater than 1023 results in deformation HOT 1
- Events (keyboard kew presses) missing when running app in Debian minimum (console only, no X window manager) HOT 6
- SDL_CreateRGBSurfaceWithFormatFrom silently failing when passed a sub-array of a `bytes` object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-sdl2.