This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Current Steps I have taken  (Read 6078 times)

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Current Steps I have taken
« on: February 10, 2011, 11:47:11 pm »
Hey guys,
I am trying to figure out how to use the PyModel Editor.
I was talking to a friend here on the forum and he pointed me in the right direction.
But I am still having some trouble.
this is what steps I have taken.

Istalled python 2.6.6
installed PyQt4.8.3-1
Downloaded PyModel Editor.
Placed everything including the startme.py in the
PyQt folder.
Run Python 2.6.6 IDLE
file>open>startme.py
run> run module.

And I get this message.

Code: [Select]
IDLE 2.6.6      
>>> ================================ RESTART ================================
>>>

Traceback (most recent call last):
  File "C:Python26startme.py", line 3, in <module>
    from PyQt4 import QtGui, QtCore
ImportError: No module named PyQt4
>>>
I'm figuring I have put a file in the wrong directory.
But I could be wrong.
any help is greatly appreciated.
Thanx
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Tigurius

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 126
    • View Profile
Re: Current Steps I have taken
« Reply #1 on: February 11, 2011, 12:01:24 am »
strange, seems your installation of PyQt is not correct.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: Current Steps I have taken
« Reply #2 on: February 11, 2011, 12:23:22 am »
Is there a certain file structure I should use for this?
because as I said I put the pymodel tools in the pyqt folder.
but I don't know if that is correct.

I also have the startme.py stating this before I run it.

#! /usr/bin/python
 
from PyQt4 import QtGui, QtCore
from pymodeleditor import PyModelEditor as Editor
import sys


class PyModelEditor(QtGui.QDialog, Editor):
   def __init__(self):
      QtGui.QDialog.__init__(self)
      self.setupUi(self)
      self.getLastDir()




app = QtGui.QApplication(sys.argv)
dialog = PyModelEditor()
dialog.show()
sys.exit(app.exec_())

I didn't put it in code tags but color coded it just like it is in the log

Can someone please help me... I really need to get this working as there are no other good m2 modding programs ... please help if you can.
I installed python 2.6.6 then pyqt then I downloade opengl... which I can not seem to run and I don't know were to put the files if I download the source.
this is what my file structure looks like. in the python folder.


TO SEE THE IMAGE BIGGER DOWLOAD THE PIC AND LOOK AT IT I KNOW YOU CANT SEE IT AS IS

All I did was install the required programs and put the pymodel editor files in my python folder. I know I am doing something wrong, someone please tell me what it is.

___________________________________________________________________________
[UPDATE:]
can someone give me a precompiled pyqt4, or tell me how to compile it myself... I can't seem to figure this out I think its because I downloaded pyqt3 not pyqt4 I can't find the installer for pyqt4 so I'm guessing you need to compile it which I have no idea how to do that ... sorry for the trouble any help is welcome!!!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Tigurius

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 126
    • View Profile
Re: Current Steps I have taken
« Reply #3 on: March 29, 2011, 09:51:17 am »
http://www.riverbankcomputing.co.uk/sof ... t/download


and try:
either dopple-click on startme.py
or cmd -> cd /path -> startme.py
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: Current Steps I have taken
« Reply #4 on: March 29, 2011, 09:53:56 am »
I did finally get the pyqt4 installed but I don't know why it still won't work, is there an order that the folders should be in such as

Python>pyqt4>pymodeleditor

or does it matter, I have everything installed but it still tells me that the pyqt4 module does not exist

« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Tigurius

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 126
    • View Profile
Re: Current Steps I have taken
« Reply #5 on: March 29, 2011, 11:24:38 am »
check if the PATH is set (System Extended(?) Enviroment Variables (?) sry i have no windows as well as no english version of windows here^^)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: Current Steps I have taken
« Reply #6 on: March 29, 2011, 11:58:08 pm »
were would I find the path, and what is system extended?
and is there any way I can give you remote access to my computer, and you could fix it for me... it
would probably make things go a lot faster, then the last couple months I have been trying to fix this.
If so send me a way I can contact you such as an instant messenger or something
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Tigurius

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 126
    • View Profile
Re: Current Steps I have taken
« Reply #7 on: March 31, 2011, 11:10:23 am »
http://wiki.winboard.org/images/2/22/Sy ... ssisch.PNG there get System, then choose Extended, then there should be something like Path, Enviroment Variables or so.

And no I can't access your pc remote as the internet connection here is to bad for something like that,
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

SirFranc

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 209
    • View Profile
Re: Current Steps I have taken
« Reply #8 on: April 06, 2011, 01:40:18 am »
Just found out that actually the computer OS language may affect the program if crashes or not, to me (italian) it's the numerical division system (commas instead of points) and other stuff i can't remember, but really check that paragraph in your OS setting, and try to change it to international or german (you never know!)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Join the True Roleplay!

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: Current Steps I have taken
« Reply #9 on: April 24, 2011, 02:28:45 pm »
how would I change my os to international jw?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Current Steps I have taken
« Reply #10 on: April 25, 2011, 01:30:55 am »
Most times its enough to set the decilam char from , to . if you country uses , normaly.

You can find this in your system settings > Reagions and Languages
On the first tab select further settings button on the right bottom.
Here change the first value fom , to . named decimal seperator.

I dont know if all words are right, my os is in german :)
so I translated them free.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954