On Sunday 12 December 2010 01:48:39 Kennet Myllykoski wrote:
> Hi Algis,
> 
> I'm a complete newbie with Pyside and i tried the examples
> from the wiki. As a newbie I run in to following problems:
> 
> 1. pyside-uic stopped with a error message: "An unexpected
> error occurred." After some googling found
> http://www.mail-archive.com/[email protected]/msg009
> 87.html and did a mv for the file mentioned in the above
> post, for the sake of not losing the file.
> <http://www.mail-archive.com/[email protected]/msg00
> 987.html>This fixed the problem.
> 
> 2. I got the program into eclipse and run it. The there was a
> problem in line 29 with the copyrigt character for some
> reason. Fixed that by deleting copyright character. I'm sure
> there is a way to fix it properly, but this quick one i did
> just to get the program running.
> 
> Finally the about program printed out my environment:
> 
> Platform Details v 0.0.1
> Copyright 2010 Joe Bloggs. All rights reserved in accordance
> with GPL v2 or later - NO WARRANTIES!
> This application can be used for displaying platform details.
> Python 2.6.5 - PySide version 1.0.0 - Qt version 4.6.2 on
> Linux
> 
> Just a thought, but as a newbie i'm also struggling with
> eclipse/pydev, and it would be nice if the instructions for
> a newbies first Pyside program would include also the steps
> to get the source code successfully into eclipse and to run.
> Like instructions from start to finnish in a standard
> environment such as Ubuntu-Eclipse-Python-Pydev-QT-Pyside.
> 
> I want to thank you for the effort you made in putting up the
> wiki page.
> 
> Regards
> 
> Kennet Myllykoski

Hi, Kennet,

Thank you for reporting your problems. Yes, the tutorials are 
not really complete.  First and foremost, there should be a 
"Prerequisites" section that. The problem of the liittle (c) 
characters is that wiki "kindly" interprets the instruction for 
PySide copyright notice and neatly prints little circle with c 
rather than the PySide code for it:
&copy;
The code is not PySide specific, but rather HTML specific - the 
text for the notice is HTML sensitive and interprets all symbols 
as such, so it can have the bold (<b> text </b>) etc in it. Of 
course, "Joe Bloggs" ir just an alternative to "John Doe" or 
some other immaginary name and for you should also be replaced 
by "Kennet Myllykoski" and in place of the encircled (c), type 
"&copy;".  I should mention that in the text.

Your experience clearly shows the need for the "virgin" source 
code to be available - I will upload that to my storage area for 
all my examples, RSN.

The alternative is to make wiki print source without any 
modification, but that could be very difficult to implement, 
because wiki also needs to be HTML observant (for things like 
highlighting etc).  

To edit the code I use Eric4, which is a kind of "standard" for 
Python users.  I do not know eclipse at all, but will look into 
it ASP. 

Keep us informed of your experiences and thank you for reporing.

OldAl.

-- 
Algis
http://akabaila.pcug.org.au
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to