Re: [NTLK] Belated Christmas Present (nsTools)

From: Victor Rehorst (victor_at_newtontalk.net)
Date: Fri Jan 02 2004 - 12:46:01 PST


Spacelord Carpman wrote:

> I had hoped to get this out before Christmas, but I didn't. So, even
> though it's late, I'd like to announce nsTools 0.1. nsTools is a set of
> utilites to manipulate .pkg files, and Newton bytecode. It can currently
> translate a .pkg file into XML, and decode (some) Newton bytecode. My
> plan is to be able to turn an XML file into a .pkg file, and then to
> write a NewtonScript compiler. The current mess is available at
> http://www.voidptr.org/downloads/nsTools.tar.gz

Awesome!

...except it won't run on my RH8 box. Here's a dump of the error message as
well as the python-related packages I have installed:

[root_at_misato nsTools]# rpm -qa |grep python
python-2.2.1-17
rpm404-python-4.0.4-8x.27
orbit-python-1.99.0-4
gnome-python2-canvas-1.99.11-8
gnome-python2-bonobo-1.99.11-8
gnome-python2-1.99.11-8
python-optik-1.3-2
python-devel-2.2.1-17
gnome-python2-gtkhtml2-1.99.11-8
mod_python-3.0.0-10
libxml2-python-2.4.23-1
rpm-python-4.1-1.06

[root_at_misato nsTools]# ./package_reader.py Hello\ World.pkg
Traceback (most recent call last):
   File "./package_reader.py", line 27, in ?
     import struct, optparse, sys, codecs, time, xml.dom.minidom, base64
ImportError: No module named optparse

-- 
Victor Rehorst - victor_at_newtontalk.net - chuma_at_chuma.org
NewtonTalk list administrator - http://www.newtontalk.net
Will the last person to leave the platform please turn off the backlight?
-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html
Official Newton FAQ: http://www.chuma.org/newton/faq/


This archive was generated by hypermail 2.1.5 : Fri Jan 02 2004 - 13:00:00 PST