Clipboard transfer yet?

Clipboard transfer yet?

Post by Stuart Hal » Sun, 04 Apr 2004 04:43:54


In message < XXXX@XXXXX.COM >



between

Yes.


--
Stuart Halliday
The Acorn *** village
http://acorn. *** village.co.uk/
Support us - http://www.yqcomputer.com/
Remove 'takeoutthisbit' to reply to my mail.
 
 
 

Clipboard transfer yet?

Post by Stuart Hal » Sun, 04 Apr 2004 04:45:23

In message <ant3112310b02% XXXX@XXXXX.COM >



between

I believe I emailed you the problem quite some time ago.
You were going to make your Python script work with the later version of
the lanq on the PC side.

--
Stuart Halliday
The Acorn *** village
http://acorn. *** village.co.uk/
Support us - http://www.yqcomputer.com/
Remove 'takeoutthisbit' to reply to my mail.

 
 
 

Clipboard transfer yet?

Post by Dietmar Sc » Sun, 11 Apr 2004 08:40:19

In article < XXXX@XXXXX.COM >, Stuart Halliday

[snip]
I had a look at the email. I just told you which of the older Python language
versions (2.2 plus win32all 1.46) should work as I did not know when the
bug in the win32 extensions would be fixed. (If you don't use Python for
anything else, there's no advantage or disadavantage of using a more recent
or an older version of Python. You have to download an additional version in
either cases.)
The PeerBoard version in the RISC OS additions archive on
http://www.yqcomputer.com/ should work with the current versions of Python on
RISC OS as well as on win32. Please have a look.

The PeerBoard changes are related to socket timeout handling as this has
been integrated into Python's standard library sockets with 2.3.

The functionality is still the same as with last year's releases.


Regards,

Dietmar
 
 
 

Clipboard transfer yet?

Post by Stuart Hal » Tue, 13 Apr 2004 01:50:11

In message <ant092319b492% XXXX@XXXXX.COM >




Ok, thanks.


Still can't get it to work.

I redownloaded the latest Python build and the Additions zip.

Unzipped !Python, !PeerBoard and PeerBoard_win32 to my Filer (long chars).

I hit a road block reading the instructions:

RISC OS:

Install Socke *** ch using the supplied !ModInst.

Where is !ModInst?


Using RiscPc RISC OS 4 select 4.29


--
Stuart Halliday
The Acorn *** village
http://acorn. *** village.co.uk/
Support us - http://www.yqcomputer.com/
Remove 'takeoutthisbit' to reply to my mail.
 
 
 

Clipboard transfer yet?

Post by Dietmar Sc » Tue, 13 Apr 2004 03:08:36

In article < XXXX@XXXXX.COM >, Stuart Halliday

Sorry, this was included in the PeerBoard standalone releases only.
I've included it now.
You can also download it from http://www.yqcomputer.com/
(about 18k).


Regards,

Dietmar
 
 
 

Clipboard transfer yet?

Post by Stuart Hal » Tue, 13 Apr 2004 03:59:48

In message <ant1118360b02% XXXX@XXXXX.COM >




Ok, got that and installed it.

Now, I've edited the !PeerBoard.Config/py file.

I've got !Python set to be looked at by the Filer on boot up.

Now when I run !PeerBoard I get a wee white window opening and a error
message (doesn't it support Syslog?) appears:

Traceback (most recent call last):
File "<PeerBoard$Dir>.PeerBoardRO/py", line 3, in ?
import app, appobjects
ImportError: No module named app


and !PeerBoard isn't loaded.

Over to you Dietmar. :-)

--
Stuart Halliday
The Acorn *** village
http://acorn. *** village.co.uk/
Support us - http://www.yqcomputer.com/
Remove 'takeoutthisbit' to reply to my mail.
 
 
 

Clipboard transfer yet?

Post by Dietmar Sc » Tue, 13 Apr 2004 06:35:02

In article < XXXX@XXXXX.COM >, Stuart Halliday


Just noticed that this version of Socke *** ch was not yet 32 bit compatible.
If you are using an Iyonix, please download it again to get version 0.04y.

You might already have this version from using other software like
e.g. Nettle.



!PeerBoard uses David Boddie's GUI library. Therefore the filer must have
seen not only !Python but also !GUI. Then Python will find the app module.

Now it's in the !Help file for future releases...


Regards,

Dietmar
 
 
 

Clipboard transfer yet?

Post by Dietmar Sc » Wed, 14 Apr 2004 04:52:23

In article < XXXX@XXXXX.COM >, Stuart Halliday


Would you please insert a print line into !GUI.Lib.app/py after line 2329:
self.x_size = x_size
self.y_size = y_size
print "Font.__init__", repr(name), x_size, y_size
self.h, self.x_dpi, self.y_dpi = swi.swi('Font_FindFont', '.siiii;i...ii', name, int(x_size*16), int(y_size*16), 0, 0)

This should create an entry in the Errors log file.
Name and size of the font should be the same as the desktop font.
For me that's Homerton.Medium and 12.
What's your desktop font (name and size)?


Regards,

Dietmar
 
 
 

Clipboard transfer yet?

Post by Stuart Hal » Wed, 14 Apr 2004 05:11:45

In message <ant1219231cb2% XXXX@XXXXX.COM >



line
2330,
siiii;i...
siiii;i...ii', name, int(x_size*16), int(y_size*16), 0, 0)

I now get this error:

Traceback (most recent call last):
File "<PeerBoard$Dir>.PeerBoardRO/py", line 3, in ?
import app, appobjects
File "ADFS::HardDisc4.$.Utilities.Python.!GUI.Lib.app/py", line 2330
print "Font.__init__", repr(name), x_size, y_size
^
IndentationError: unindent does not match any outer indentation level






Optima Medium, height 13 aspect 90%.

--
Stuart Halliday
The Acorn *** village
http://acorn. *** village.co.uk/
Support us - http://www.yqcomputer.com/
Remove 'takeoutthisbit' to reply to my mail.
 
 
 

Clipboard transfer yet?

Post by Stuart Hal » Wed, 14 Apr 2004 05:15:59

In message <ant1219231cb2% XXXX@XXXXX.COM >



line
2330,
siiii;i...
siiii;i...ii', name, int(x_size*16), int(y_size*16), 0, 0)


I tried it again and got this:

ADFS::HardDisc4.$.Utilities.Python.!GUI.Lib.app/py:1230: FutureWarning:
hex/oct constants > sys.maxint will return positive values in Python 2.4
and up
self.w[8] = 0x80000000 | moveable | toolflags | nested | off_screen
ADFS::HardDisc4.$.Utilities.Python.!GUI.Lib.app/py:3159: FutureWarning:
hex/oct constants > sys.maxint will return positive values in Python 2.4
and up
self.w[8] = 0x80000000 | moveable | toolflags | nested | off_screen
ADFS::HardDisc4.$.Utilities.Python.!GUI.Lib.app/py:4668: FutureWarning:
hex/oct constants > sys.maxint will return positive values in Python 2.4
and up
self.menu[7+(item*6)] = bits & 0xfffffffe
Font.__init__ 'Optima.Medium\r' 11.6875 13.0
Exception exceptions.AttributeError: "'NoneType' object has no attribute
'swi'" in <bound method SwitchIconBar.__del__ of <SwitchIconBar.
SwitchIconBar instance at 0x0017a9cc>> ignored



--
Stuart Halliday
The Acorn *** village
http://acorn. *** village.co.uk/
Support us - http://www.yqcomputer.com/
Remove 'takeoutthisbit' to reply to my mail.
 
 
 

Clipboard transfer yet?

Post by Dietmar Sc » Wed, 14 Apr 2004 06:12:13

Hi Stuart,

I think I know what's the problem and where I already saw the "number too
big" error:
Your're using the buggy version 5.46 of the Shared C Library where the modf
function is broken in the 26 bit version. Please download the upgrade from
the Castle website.
Unfortunately Castle kept the bug and the upgrade almost secret instead of
telling people to upgrade.


Regards,

Dietmar
 
 
 

Clipboard transfer yet?

Post by Stefan Bel » Wed, 14 Apr 2004 06:57:33


[lots of debug stuff]

Couldn't this be taken to private email instead?

--
Stefan Bellon