473,390 Members | 1,065 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,390 software developers and data experts.

directpython question

Hello,
I've got IBM Thinkpad 30 laptop with configuration:

IBM Thinkpad R30
P3 Mobile Celeron 900mhz
128mb sdram pc133
15gb hdd
cd-rom Teac cd-224e
56K V.90/92
10/100 Ethernet
lpt port
ps2 port
2 x usb port
vga-out
pcmcia

,then I have been install directx 9.0c,Python 2.5 and directpython for
python 2.5.On my two computers directpython works but on this
laptop it don't want work e.g:

When I want execute this script on laptop:

import d3dx
frame=d3dx.Frame(u'SOME FRAME')
frame.mainloop()

I get this error:

Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\veki1.py", line 2, in <module>
fr=d3dx.Frame(u'SOME FRAME')
File "C:\Python25\lib\site-packages\directpy\d3dx.py", line 639, in
__init__
self._createDevice(area[2:4])
File "C:\Python25\lib\site-packages\directpy\d3dx.py", line 659, in
_createDevice
raise RuntimeError("No valid mode found")
RuntimeError: No valid mode found

Regards,
Vedran
Sep 23 '07 #1
2 1457
"veki" <ve***********@v-programs.comwrote:
>
Hello,
I've got IBM Thinkpad 30 laptop with configuration:
...
,then I have been install directx 9.0c,Python 2.5 and directpython for
python 2.5.On my two computers directpython works but on this
laptop it don't want work e.g:

When I want execute this script on laptop:

import d3dx
frame=d3dx.Frame(u'SOME FRAME')
frame.mainloop()

I get this error:
...
RuntimeError: No valid mode found
The R30 has kind of a wimpy graphics chip. What graphics mode are you in?
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Sep 25 '07 #2
veki wrote:
Hello,
I've got IBM Thinkpad 30 laptop with configuration:

IBM Thinkpad R30
P3 Mobile Celeron 900mhz
128mb sdram pc133
15gb hdd
cd-rom Teac cd-224e
56K V.90/92
10/100 Ethernet
lpt port
ps2 port
2 x usb port
vga-out
pcmcia

,then I have been install directx 9.0c,Python 2.5 and directpython for
python 2.5.On my two computers directpython works but on this
laptop it don't want work e.g:

When I want execute this script on laptop:

import d3dx
frame=d3dx.Frame(u'SOME FRAME')
frame.mainloop()

I get this error:

Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\veki1.py", line 2, in <module>
fr=d3dx.Frame(u'SOME FRAME')
File "C:\Python25\lib\site-packages\directpy\d3dx.py", line 639, in
__init__
self._createDevice(area[2:4])
File "C:\Python25\lib\site-packages\directpy\d3dx.py", line 659, in
_createDevice
raise RuntimeError("No valid mode found")
RuntimeError: No valid mode found

Regards,
Vedran

As Tim already noted, your laptop apparently uses Trident
CyberBlade Ai1 graphics card, which is quite old and designed
for DirectX 6-8. This is not a problem if the device driver is
up to date, but the newest I found seems to be from 2003. This
can be a problem if it does not correctly support DirectX 9.0c
(released in 2004).

You should see what the DirectX diagnostics tool says
(dxdiag.exe - found in WINDIR\system32) and possibly update
the driver. Then cross your fingers and see what happens.

--
Heikki Salo
Sep 25 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
1
by: Jérôme Le Bougeant | last post by:
Hello, I have DirectPython 0.5 (http://directpython.sourceforge.net/) and python2.4 (directx9.0C installed). Samples do not work, I have this error : "RuntimeError: Failed to create a device"...
0
by: vedran | last post by:
Hello, I using directpython for making 3d miniature applications,but I have one problem about directpython. This is my code for example: import d3d import d3dc import d3dx
1
by: vedran | last post by:
Hello, How can I move objects in directpython???
3
by: Gigs_ | last post by:
can someone tell me which is better for making 3d game in python. something like tennis simulation thx
0
by: ...:::JA:::... | last post by:
Hello, I have problem with building directpython ( .exe ) application , actually when I finish building application and when I run it, in log file I get an error: Traceback (most recent call...
0
by: ...:::JA:::... | last post by:
Hello, Is there any real easy example for loading an texture in your directpython window??? For example this is my code: # loading directpython modules import d3dx import d3d from d3dc...
3
by: vedrandekovic | last post by:
Hello, I'am using DirectPython 0.8, wxPython 2.8.4.2 (ansi) for Python 2.5 and I'm running it on windows XP SP2. When I run my wx program, and this program run directpython code: (I run it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.