alcemirfernandes / pynguin

Automatically exported from code.google.com/p/pynguin
GNU General Public License v3.0
0 stars 0 forks source link

Preferences and About dialogs not coming up #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run "python pynguin" from Windows cmd.
2. Click Settings > Preferences or Help > About from the files menu. 
3. Nothing happens.

What is the expected output? What do you see instead?
The expected output is to be able to get into preference or get About dialog, 
but clicking on the preference from the files menu does nothing.

What version of the product are you using? On what operating system?
pynguin-0.11.zip on Python 2.7. Windows XP.

Please provide any additional information below.
'Editor' doesn't work as well while 'File', 'View', 'Pen', and 'Speed' seem to 
work.

Original issue reported on code.google.com by dogstoev...@gmail.com on 17 Sep 2011 at 11:13

GoogleCodeExporter commented 9 years ago
Thanks for the report.

Does the pen width dialog work?

Could you try running as: "python pynguin -d" ?

Are you able to open the example files?

Are you saying that the Editor menu does not come up at all, or that none of 
the items in the Editor menu (New page, remove page, font size, etc) do 
anything when selected?

Are you running directly from the unpacked zip file, or have you done anything 
special to try to install the app or libraries?

Original comment by miss...@hotmail.com on 17 Sep 2011 at 11:33

GoogleCodeExporter commented 9 years ago
I'm able to open example files. Pen on and off works, but not color and width.
When I click File > New nothing happens. Same with File > everything except 
Examples.
In View, only Pynguin, arrow, robot, turtle, and hidden works. For Pen, 
everything works except color, width, and Fill Color. Speed works. 
With Editor, nothing seems to work. I tried clicking on Word Wrap and check 
mark appears but I don't think that made any changes.
"python pynguin -d" didn't make any noticeable changes.

I installed python 2.7, PyQt-Py2.7-x86-gpl-4.8.5-1.exe, 
setuptools-0.6c11.win32-py2.7.exe followed by Pygments-1.4-py2.7.egg prior to 
installing pynguin. I installed pynguin by entering "python setup.py install" 
in the Windows cmd.

On a side note, I pulled revisions with Mercurial 
http://code.google.com/p/pynguin/issues/detail?id=48 
but this problem occurred before I even knew what Mercurial was.

If you want, I can try to make a screencast of me using Pynguin and click on 
every little thing.

Original comment by dogstoev...@gmail.com on 18 Sep 2011 at 1:09

GoogleCodeExporter commented 9 years ago
It sounds like it might be a problem with the PyQt installation.

What happens if you do this from a regular python interpreter:

>>> from PyQt4 import QtGui
>>> a = QtGui.QApplication([])
>>> QtGui.QColorDialog.getColor()

or as the last line instead try:

>>> QtGui.QFileDialog.getOpenFileName()

Original comment by miss...@hotmail.com on 18 Sep 2011 at 1:52

GoogleCodeExporter commented 9 years ago
I tried both and appropriate windows popped up.
For getColor, I got 'Select Color' color palette thing, and 'Open' window for 
getOpenFileName().

These were done in IDLE (Python GUI).

Original comment by dogstoev...@gmail.com on 18 Sep 2011 at 2:19

GoogleCodeExporter commented 9 years ago
Please try the latest (after rev a8488c991e43). I tested on windows today and 
it should be working.

If it's working for you I'd like to get 0.12 out soon...

Original comment by miss...@hotmail.com on 19 Sep 2011 at 7:29

GoogleCodeExporter commented 9 years ago
In Mercurial, I right-click on revision 666 and update, right?
I did that and ran Pynguin from Windows cmd. Still same.
Do I have to mess with PyQT somehow? 

Original comment by dogstoev...@gmail.com on 19 Sep 2011 at 11:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Actually, I tried "python pynguin -d" and it works. The splash screen says it's 
0.12.
What does "-d" do?

Original comment by dogstoev...@gmail.com on 19 Sep 2011 at 11:56

GoogleCodeExporter commented 9 years ago
-d makes it run from the development environment.

Glad it's working. Thanks again for the bug report.

Look for 0.12 release soon...

Original comment by miss...@hotmail.com on 19 Sep 2011 at 11:59

GoogleCodeExporter commented 9 years ago
Thanks for the fix (and the program)!

Original comment by dogstoev...@gmail.com on 20 Sep 2011 at 12:18