From: Kevin A. <al...@se...> - 2004-04-18 18:31:31
|
I've started a #pythoncard channel on irc.freenode.net. Jeremy Fincher has graciously agreed to run supybot on the channel, so it should always be active and have a lot of commands available via supybot. I'll probably be in there pretty regularly until we know whether it will be a valuable forum for discussing PythonCard outside of the mailing list. If we get a group of regulars that can answer FAQ type questions that will be awesome. Maybe we'll even do a Supybot PythonCard plugin. You can ask supybot to do something for you by using the @ command. Here's an example I just tried in the channel... altis: @list supybot: altis: Admin, Alias, Amazon, Babelfish, Bugzilla, Channel, ChannelLogger, ChannelStats, Config, Debian, Dict, Ebay, Enforcer, Factoids, Filter, Fun, FunDB, Gameknot, Google, Herald, Http, Karma, Lookup, Math, Misc, Network, News, Note, Owner, Python, Quotes, RSS, Relay, RootWarner, Scheduler, Seen, Services, Sourceforge, Status, Todo, Topic, URL, Unix, User, Utilities, Weather, and WordStats altis: @help supybot: altis: (help [<plugin>] <command>) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. See the Supybot site for more info... http://supybot.sourceforge.net/ If you need some help with Internet Relay Chat (irc), check out http://www.irchelp.org/ On Mac OS X, I'm using Colloquy, http://colloquy.info/ as my client. On Windows, you might want to try mIRC, http://www.mirc.com/ There are a ton of irc clients to choose from on all platforms. ka |
From: Kevin A. <al...@se...> - 2004-08-20 17:46:03
|
Just a reminder that I'm still regularly hanging out on the pythoncard irc channel on irc.freenode.net in case anyone cares. ka On Apr 18, 2004, at 11:31 AM, Kevin Altis wrote: > I've started a #pythoncard channel on irc.freenode.net. Jeremy Fincher > has graciously agreed to run supybot on the channel, so it should > always be active and have a lot of commands available via supybot. > I'll probably be in there pretty regularly until we know whether it > will be a valuable forum for discussing PythonCard outside of the > mailing list. If we get a group of regulars that can answer FAQ type > questions that will be awesome. Maybe we'll even do a Supybot > PythonCard plugin. > > You can ask supybot to do something for you by using the @ command. > Here's an example I just tried in the channel... > > altis: @list > supybot: altis: Admin, Alias, Amazon, Babelfish, Bugzilla, Channel, > ChannelLogger, ChannelStats, Config, Debian, Dict, Ebay, Enforcer, > Factoids, Filter, Fun, FunDB, Gameknot, Google, Herald, Http, Karma, > Lookup, Math, Misc, Network, News, Note, Owner, Python, Quotes, RSS, > Relay, RootWarner, Scheduler, Seen, Services, Sourceforge, Status, > Todo, Topic, URL, Unix, User, Utilities, Weather, and WordStats > altis: @help > supybot: altis: (help [<plugin>] <command>) -- This command gives a > useful description of what <command> does. <plugin> is only necessary > if the command is in more than one plugin. > > See the Supybot site for more info... > http://supybot.sourceforge.net/ > > If you need some help with Internet Relay Chat (irc), check out > http://www.irchelp.org/ > > On Mac OS X, I'm using Colloquy, http://colloquy.info/ as my client. > On Windows, you might want to try mIRC, http://www.mirc.com/ There are > a ton of irc clients to choose from on all platforms. > > ka |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2004-08-23 20:44:21
|
On Fri, 20 Aug 2004 10:45:58 -0700, Kevin Altis wrote: >Just a reminder that I'm still regularly hanging out on the pythoncard >irc channel on irc.freenode.net in case anyone cares. > As somebody supporting an old legacy app, and banging his head against the wall trying to get my customers to use these fancy mailing lists and web site things I've painstakingly set up, I feel almost obliged to try this out so that your efforts at setting it up aren't in vain :-) Saying that I've never used irc in my life! I'm even more a newbie with it than PythonCard and Python (one month and counting for the latter two). I've actually got a few little bugs/enhancement requests to report, mainly in the resource editor, that I wouldn't mind others trying to duplicate. Is the irc a good mechanism to use, or posting to this mailing list? Neil |
From: Alex T. <al...@tw...> - 2004-08-23 21:00:28
|
At 21:48 23/08/2004 +0100, XXXXXXXXXXX wrote: >On Fri, 20 Aug 2004 10:45:58 -0700, Kevin Altis wrote: > > >Just a reminder that I'm still regularly hanging out on the pythoncard > >irc channel on irc.freenode.net in case anyone cares. > > > >As somebody supporting an old legacy app, and banging his head against >the wall trying to get my customers to use these fancy mailing lists and >web site things I've painstakingly set up, I feel almost obliged to try >this out so that your efforts at setting it up aren't in vain :-) > >Saying that I've never used irc in my life! I'm even more a newbie with >it than PythonCard and Python (one month and counting for the latter two). > >I've actually got a few little bugs/enhancement requests to report, >mainly in the resource editor, that I wouldn't mind others trying to >duplicate. Is the irc a good mechanism to use, or posting to this mailing >list? I'd suggest posting them to this list. IRC can be a good place to discuss them if needed, but it's worth having them described on the mailing list so that everyone can see them even if they don't happen to be on irc at the right time. Of course, sometimes irc will give you an almost immediate answer - but even then it's good to post a summary to the list to make the knowledge more available to others. -- Alex. |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2004-08-23 22:28:30
|
On Mon, 23 Aug 2004 22:07:08 +0100, Alex Tweedly wrote: > >I'd suggest posting them to this list. IRC can be a good place to discuss >them if needed, but it's worth having them described on the mailing list so >that everyone can see them even if they don't happen to be on irc at the >right time. > OK, here are a few minor things I've discovered running 0.8 following my upgrade to the latest versions of everything on Friday. Let's see if anybody else can replicate these or agree/disagree. I think I've checked all the to-do and known bug lists, but if not please don't shout - I'm a newbie! Unless I say otherwise, assume this applies to the OS X and Win32 versions... 1) Documentation - the on-line stuff is duplicated in the PythonCard/ docs/html directory, but if I try to click on a link to any of the component descriptions they're not there. The components directory is missing. Not a huge problem when I have ADSL, but the one time I was network-less I tried using the docs and discovered this. 2) Typo - in the resource editor when you duplicate a component the offset widgets are spelt wrong - "Offest Horizontally", etc. :-) 3) Image path - this follows on from an observation I made recently. When you select an image in the background dialog you can use the file browser to track it down, but in the resource file the path is never stored and therefore the image fails to load unless it's in the same directory as the resource file. Now why you'd want to locate the image somewhere other than the current directory I couldn't say... 4) Colour...oops...Color picker - could this open with the property's current value? At the moment it always starts with black. Just makes it easier to make a minor color shift and makes the OS X color picker look better when it opens. Nothing earth-shattering, I admit, but a start. Neil |
From: Alex T. <al...@tw...> - 2004-08-23 23:39:17
|
At 23:32 23/08/2004 +0100, XXXXXXXXXXX wrote: >2) Typo - in the resource editor when you duplicate a component the >offset widgets are spelt wrong - "Offest Horizontally", etc. :-) Gee, I can't have run that more than what - 400, 500 times ? Fix on its way into CVS as I type ... please don't add "spellchecker" to your list of suggestions :-) Thanks, -- Alex. |
From: Steven D'A. <st...@cy...> - 2004-08-24 01:25:01
|
On Mon, Aug 23, 2004 at 11:32:57PM +0100, XXXXXXXXXXX wrote: > 3) Image path - this follows on from an observation I made recently. When > you select an image in the background dialog you can use the file browser > to track it down, but in the resource file the path is never stored and > therefore the image fails to load unless it's in the same directory as > the resource file. > > Now why you'd want to locate the image somewhere other than the current > directory I couldn't say... Easy: if you have more than, oh, half a dozen images in your application, you probably want to dump them all in an image subdirectory rather than clutter up your main directory. Or, if you want to implement something like skins, one set of images to a directory. -- Steven D'Aprano Operations Manager Cybersource Pty Ltd, ABN 13 053 904 082 Level 4, 10-16 Queen St, Melbourne VIC 3000 Tel: +61 3 9621 2377 Fax: +61 3 9621 2477 Web: http://www.cybersource.com.au |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2004-08-24 09:00:57
|
On Tue, 24 Aug 2004 11:24:24 +1000, Steven D'Aprano wrote: >> Now why you'd want to locate the image somewhere other than the current >> directory I couldn't say... > >Easy: if you have more than, oh, half a dozen images in your application, >you probably want to dump them all in an image subdirectory rather than >clutter up your main directory. I would have thought that you'd use the image component rather than the background image property for that sort of thing. Saying that, maybe the image component has the same limitation. >Or, if you want to implement something like skins, one set of images to a >directory. Ah...never thought of that one...good point. Neil |
From: Steven D'A. <st...@cy...> - 2004-08-25 00:10:32
|
On Tue, Aug 24, 2004 at 10:05:31AM +0100, XXXXXXXXXXX wrote: > On Tue, 24 Aug 2004 11:24:24 +1000, Steven D'Aprano wrote: > > >> Now why you'd want to locate the image somewhere other than the current > >> directory I couldn't say... > > > >Easy: if you have more than, oh, half a dozen images in your application, > >you probably want to dump them all in an image subdirectory rather than > >clutter up your main directory. > > I would have thought that you'd use the image component rather than the > background image property for that sort of thing. Saying that, maybe the > image component has the same limitation. Yes, but you might want to store the background image in the same directory as the rest of the image files. -- Steven D'Aprano Operations Manager Cybersource Pty Ltd, ABN 13 053 904 082 Level 4, 10-16 Queen St, Melbourne VIC 3000 Tel: +61 3 9621 2377 Fax: +61 3 9621 2477 Web: http://www.cybersource.com.au |
From: Kevin A. <al...@se...> - 2004-08-24 06:53:50
|
On Aug 23, 2004, at 3:32 PM, XXXXXXXXXXX wrote: > On Mon, 23 Aug 2004 22:07:08 +0100, Alex Tweedly wrote: > >> >> I'd suggest posting them to this list. IRC can be a good place to >> discuss >> them if needed, but it's worth having them described on the mailing >> list so >> that everyone can see them even if they don't happen to be on irc at >> the >> right time. >> > > OK, here are a few minor things I've discovered running 0.8 following > my > upgrade to the latest versions of everything on Friday. Let's see if > anybody else can replicate these or agree/disagree. I think I've > checked > all the to-do and known bug lists, but if not please don't shout - I'm > a > newbie! > > Unless I say otherwise, assume this applies to the OS X and Win32 > versions... > > 1) Documentation - the on-line stuff is duplicated in the PythonCard/ > docs/html directory, but if I try to click on a link to any of the > component descriptions they're not there. The components directory is > missing. Not a huge problem when I have ADSL, but the one time I was > network-less I tried using the docs and discovered this. Tis true, but it is because you can generate those files yourself. This has been covered a few times before on the list, but it definitely needs to be highlighted better. Anyway, open up the widgets sample and select Create Component Docs... under the File menu, choose the PythonCard/docs/html/framework directory. Then you'll see that some idiot left the old 2.5.1.5 Blit API call in the code and so it throws an exception. Doh! So, then you get to "patch" your copy of widgets.py by changing line 374 from: memdc.Blit((0, 0), w.size, dc, (0, 0)) to: memdc.BlitPointSize((0, 0), w.size, dc, (0, 0)) Now try Create Component Docs... again and you should have your own copy, complete with widgets based on whatever platform you're running. > 2) Typo - in the resource editor when you duplicate a component the > offset widgets are spelt wrong - "Offest Horizontally", etc. :-) I point the finger at the guy in the other country ;-) > 3) Image path - this follows on from an observation I made recently. > When > you select an image in the background dialog you can use the file > browser > to track it down, but in the resource file the path is never stored and > therefore the image fails to load unless it's in the same directory as > the resource file. > > Now why you'd want to locate the image somewhere other than the current > directory I couldn't say... Yep, I should probably change the code to save a relative path so you could select a file and then have it be something like images/testo.jpg. I'll ponder that for the various places Image is used. I'm pretty sure relative paths already work, but there is no attempt to break apart the path and then rejoin it so slashes are converted to backslashes, etc. > 4) Colour...oops...Color picker - could this open with the property's > current value? At the moment it always starts with black. Just makes it > easier to make a minor color shift and makes the OS X color picker look > better when it opens. Yes it could. I just need to change a few lines so that the current color is passed in as the name arg to the colorDialog. Good one! I'll look at this along with the image path issue above tomorrow. > Nothing earth-shattering, I admit, but a start. > > Neil Hey, it is comments like these that keep the project moving forward! ka |
From: Alex T. <al...@tw...> - 2004-08-24 10:16:47
|
At 23:53 23/08/2004 -0700, Kevin Altis wrote: >On Aug 23, 2004, at 3:32 PM, XXXXXXXXXXX wrote: > >>2) Typo - in the resource editor when you duplicate a component the >>offset widgets are spelt wrong - "Offest Horizontally", etc. :-) > >I point the finger at the guy in the other country ;-) Yeah - I thought about claiming it was a UK spelling variant, like colo(u)r !! Fortunately, I realized in time that Neil also had a UK address, so I didn't try that. But I am going to implement (for my own purposes), some easy way to extract all label and text values, so I can push them into a spell-checker - if it comes out nice, I'll make it a Pythoncard sample. -- Alex. |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2004-08-24 11:07:10
|
On Mon, 23 Aug 2004 23:53:37 -0700, Kevin Altis wrote: >> >> 1) Documentation - the on-line stuff is duplicated in the PythonCard/ >> <snip> > >Tis true, but it is because you can generate those files yourself. This >has been covered a few times before on the list, but it definitely >needs to be highlighted better. Anyway, open up the widgets sample and >select Create Component Docs... <snip> Wahaay! Thanks for that. Worked great on Windows. Unfortunately OS X's permissions made things a bit trickier. I had to run the widgets sample with 'sudo' to get to the blit exception (otherwise I got a folder permissions error, presumably trying to add stuff to the framework directory). I also ended up using TextWrangler to save widgets.py with admin permission (I guess I could have used 'sudo vi' or something, but I'm happier using the GUI). One thing I've noticed with codeEditor is that it doesn't alert you to read-only/permission issues - it just fails to save without letting you know. >> 2) Typo - in the resource editor when you duplicate a component the >> offset widgets are spelt wrong - "Offest Horizontally", etc. :-) > >I point the finger at the guy in the other country ;-) Yes - I think he's running the new spellchecker component across all his other dialogs at this very moment ;-) >> 3) Image path - this follows on from an observation I made recently. >> <snip> > >Yep, I should probably change the code to save a relative path so you >could select a file and then have it be something like >images/testo.jpg. I'll ponder that for the various places Image is >used. I'm pretty sure relative paths already work, but there is no >attempt to break apart the path and then rejoin it so slashes are >converted to backslashes, etc. I can't speak for anyone else, but I'm in no hurry for this. > >> 4) Colour...oops...Color picker - could this open with the property's >> current value? >> <snip> > >Yes it could. I just need to change a few lines so that the current >color is passed in as the name arg to the colorDialog. Good one! I'll >look at this along with the image path issue above tomorrow. > Thanks. Neil |
From: Alex T. <al...@tw...> - 2004-08-24 14:37:52
|
At 12:11 24/08/2004 +0100, XXXXXXXXXXX wrote: > >> 2) Typo - in the resource editor when you duplicate a component the > >> offset widgets are spelt wrong - "Offest Horizontally", etc. :-) > > > >I point the finger at the guy in the other country ;-) > >Yes - I think he's running the new spellchecker component across all his >other dialogs at this very moment ;-) Sadly, the typos were in my first dialog, so it didn't take long to check the other. But I now have the sample program working, and found one other typo in PythonCard menus (repeated in four places). The program (getSpell) is available at www.tweedly.net/Python btw - I used a GridBagSizer so it can be an example of that too ... -- Alex. |
From: Kevin A. <al...@se...> - 2004-08-24 19:07:04
|
>> 3) Image path - this follows on from an observation I made recently. >> When >> you select an image in the background dialog you can use the file >> browser >> to track it down, but in the resource file the path is never stored >> and >> therefore the image fails to load unless it's in the same directory as >> the resource file. >> >> Now why you'd want to locate the image somewhere other than the >> current >> directory I couldn't say... > > Yep, I should probably change the code to save a relative path so you > could select a file and then have it be something like > images/testo.jpg. I'll ponder that for the various places Image is > used. I'm pretty sure relative paths already work, but there is no > attempt to break apart the path and then rejoin it so slashes are > converted to backslashes, etc. > >> 4) Colour...oops...Color picker - could this open with the property's >> current value? At the moment it always starts with black. Just makes >> it >> easier to make a minor color shift and makes the OS X color picker >> look >> better when it opens. > > Yes it could. I just need to change a few lines so that the current > color is passed in as the name arg to the colorDialog. Good one! I'll > look at this along with the image path issue above tomorrow. I've added a relativePath function (swiped from the Python Cookbook) to util.py. The resourceEditor now uses this function for the background image, icon, and file attributes for Image and ImageButton. Those components now get a File... button and openFileDialog for selecting images. I also fixed the default color issue above. I still need to experiment with normalizing the relative path to always use forward slashes so the paths work on each platform, but I need to do a few more tests before checking that in. Anyone working from cvs should let me know if I bused anything. ka |
From: Kevin A. <al...@se...> - 2004-08-23 21:02:41
|
On Aug 23, 2004, at 1:48 PM, XXXXXXXXXXX wrote: > On Fri, 20 Aug 2004 10:45:58 -0700, Kevin Altis wrote: > >> Just a reminder that I'm still regularly hanging out on the pythoncard >> irc channel on irc.freenode.net in case anyone cares. >> > > As somebody supporting an old legacy app, and banging his head against > the wall trying to get my customers to use these fancy mailing lists > and > web site things I've painstakingly set up, I feel almost obliged to try > this out so that your efforts at setting it up aren't in vain :-) > > Saying that I've never used irc in my life! I'm even more a newbie with > it than PythonCard and Python (one month and counting for the latter > two). > > I've actually got a few little bugs/enhancement requests to report, > mainly in the resource editor, that I wouldn't mind others trying to > duplicate. Is the irc a good mechanism to use, or posting to this > mailing > list? > > Neil > Questions should generally go to the list, but feel free to ask over on the irc channel as well. If you are using Windows, mIRC is a pretty popular irc client. Over on Mac OS X I recommend Colloquy. http://www.irchelp.org/ http://www.mirc.com/ http://www.colloquy.info/ The server is irc.freenode.net and the channel is #pythoncard. You don't type the leading # when joining the channel. http://freenode.net/ Finally, if you've found a bug or behavior problem, then I suggest upgrading to wxPython 2.5.2.7 and PythonCard 0.8 and following the migration guide to update your code to see if that fixes the problem. ka |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2004-08-23 22:28:33
|
On Mon, 23 Aug 2004 14:02:35 -0700, Kevin Altis wrote: >Questions should generally go to the list, but feel free to ask over on >the irc channel as well. If you are using Windows, mIRC is a pretty >popular irc client. Over on Mac OS X I recommend Colloquy. > Thanks. Since it's getting late this side of the pond I'll put the issues in my next email rather than try and get irc working (I will try and use it eventually). Then when I wake up tomorrow morning I can be braced for the replies ;-) > >Finally, if you've found a bug or behavior problem, then I suggest >upgrading to wxPython 2.5.2.7 and PythonCard 0.8 and following the >migration guide to update your code to see if that fixes the problem. Sorry, I should have pointed out that I'm already running these versions - I upgraded on Friday on OS X and NT 4. Both went without a hitch. The OS X version seems to running quite a bit faster than before (starting the editors in particular), though I did have to restart my machine today so maybe that's responsible. Neil |