Deal of the Day

Home » Main » Manning Forums » 2008 » Hello World!

Thread: Pythoncard & Resource Editor

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Pages: 1 - Last Post: Nov 8, 2011 5:53 PM by: Bennjamin
Silvercat


Posts: 7
Registered: 3/17/11
Pythoncard & Resource Editor
Posted: Sep 24, 2011 4:17 PM
  Click to reply to this thread Reply

Hi, I thought that I downloaded the Hello World Book package, but I didn't have Pythoncard or the Resource Editor on my computer. I downloaded them separately, but they are not working right. The Resource Editor comes up as a tiny gray window that says "Resource Editor" on the top but has nothing on it. Then I get an error on IDLE (2.5) saying:

no resource file for /Users/grace/Documents/PythonCard-0-1.8.2/tools/oneEditor/propertyEditor
Traceback (most recent call last):
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 14083, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/Users/grace/Documents/PythonCard-0-1.8.2/tools/oneEditor/resourceEditor.py", line 138, in on_initialize
self.propertyEditorWindow = model.childWindow(self, PropertyEditor)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/model.py", line 213, in childWindow
rsrc = resource.ResourceFile(filename).getResource()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/resource.py", line 45, in __init__
self.dictionary = util.readAndEvalFile(rsrcFileName)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/util.py", line 39, in readAndEvalFile
f = open(filename)
TypeError: coercing to Unicode: need string or buffer, NoneType found

I'm not sure what I did wrong? I have a Mac computer by the way. Please help!

I started using a different computer (Windows) for now instead which isn't very convenient for me, but nevermind I guess. I would still very much appreciate some sort of help, but yeah.
Message was edited by:
Silvercat

Bennjamin


Posts: 27
From: I live near Portland but in Washington.
Registered: 9/18/10
Re: Pythoncard & Resource Editor
Posted: Oct 16, 2011 1:22 PM   in response to: Silvercat in response to: Silvercat
  Click to reply to this thread Reply

The same thing happened to me!!!! I have no idea what's going on! Hmmm... i have Snow Leopard... what about you? PythonCard might not be compatible with Snow Leopard.

Silvercat


Posts: 7
Registered: 3/17/11
Re: Pythoncard & Resource Editor
Posted: Oct 21, 2011 8:36 AM   in response to: Bennjamin in response to: Bennjamin
  Click to reply to this thread Reply

I have Version 10.5.8, Leopard, so I think that it's just Apple computers in general.

Samarthwiz

Posts: 6
Registered: 11/16/09
Re: Pythoncard & Resource Editor
Posted: Oct 31, 2011 1:03 AM   in response to: Silvercat in response to: Silvercat
  Click to reply to this thread Reply

Hello,

I made an video on how to install pythoncard on Mac OS 10.6(snow leopard)http://www.youtube.com/watch?v=04uJ0XIE7C8

also I would like to point out that the resource editor doesn't work properly on a Mac os X 10.6 or 10.5 (maybe it works on 10.5).

P.S.I sent an email to pythoncard asking if it was dead a few months ago no reply and no one has worked on it for 5 years(the last update was in 2006) so I think its dead.

Bennjamin


Posts: 27
From: I live near Portland but in Washington.
Registered: 9/18/10
Re: Pythoncard & Resource Editor
Posted: Nov 8, 2011 5:53 PM   in response to: Samarthwiz in response to: Samarthwiz
  Click to reply to this thread Reply

dead?
?
:|

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff
Manning Developmental Editor