Shop OBEX P1 Docs P2 Docs Learn Events
Mac/Linux/Windows IDE - Ver 0.19.3 "Now with new improved PropBasic" release - Page 2 — Parallax Forums

Mac/Linux/Windows IDE - Ver 0.19.3 "Now with new improved PropBasic" release

2456752

Comments

  • hippyhippy Posts: 1,981
    edited 2008-10-05 12:55
    evanh said...
    Are you serious? When did the source size become an issue?
    Always has been, always will be, for those people who have limited resources or believe in minimising the use of them.

    It's about not dictating to others what resources they must have or use. It may be irrelevant to some but a point of principle and a genuine issue to others. Just as you might not care if the price of fuel and food quadruples overnight others will.
  • ForrestForrest Posts: 1,341
    edited 2008-10-05 12:59
    I'm attempting to run it on my G4 PPC Mac OSX 10.4.11 and getting the same errors as stevenmess2004. The program crashed while it was trying to create bst.ini, and according to console.log it was trying to create this file on a shared network drive - not my home folder! I used the Network System preference panel to turn Ethernet off, rebooted and it still crashed - I got this in console.log

    TCarbonWindow.SetScrollInfo TODO
    TCarbonWindow.SetScrollInfo TODO
    TApplication.HandleException Division by zero
    Stack trace:
    $001B3B44
    $000E3024
    $000CD014
    $000D1AA0
    $000E2F20
    $0000C8D8
    $000DA570
    $000CE5B4
    $001BFBE0
    $00172668
    $00172AE0
    $0018CDBC
    $932A9934
    $932A908C
    $932A8F08
    $932D4560
    $93435228
    TApplication.HandleException: there was another exception during showing the first exception
    Stack trace:
    $001B3B44
    $000E3024
    $000CD014
    $000D1AA0
    $000E2F20
    $0000C8D8
    $000DA570
    $000CE5B4
    $001BFBE0
    $00172668
    $00172AE0
    $0018CDBC
    $932A9934
    $932A908C
    $932A8F08
    $932D4560
    $93435228
  • BradCBradC Posts: 2,601
    edited 2008-10-05 13:17
    Ooo nice.. can you open a terminal and type
    echo $HOME
    for me ?

    I think I know what is going on. I'll knock out a new build tonight with some bulletproofing and see what we can turn up..

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • BradCBradC Posts: 2,601
    edited 2008-10-05 13:18
    hippy said...
    evanh said...
    Are you serious? When did the source size become an issue?
    Always has been, always will be, for those people who have limited resources or believe in minimising the use of them.

    It's about not dictating to others what resources they must have or use. It may be irrelevant to some but a point of principle and a genuine issue to others. Just as you might not care if the price of fuel and food quadruples overnight others will.

    Absolutely. I'm absolutely anal about size, both ram and disk footprint.
    Smaller is faster and faster is better [noparse]:)[/noparse]

    I've re-written perfectly functional algorithms 4 or 5 times just to make them faster or smaller (usually both).. so I'm a bit of a size freak.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • ForrestForrest Posts: 1,341
    edited 2008-10-05 13:55
    OK, type echo $HOME in terminal, BST still quit with this in console.log - I edited the remote server name out.
    Oct 5 09:53:03 Old-Smokey automount[noparse][[/noparse]264]: Cannot mount URL 'afp://(remote server name)(UI not allowed).
    Oct 5 09:53:03 Old-Smokey automount[noparse][[/noparse]264]: Attempt to mount (remote server name) returned 1 (Operation not permitted)
    TCarbonWindow.SetScrollInfo TODO
    TCarbonWindow.SetScrollInfo TODO
    TApplication.HandleException Division by zero
    Stack trace:
    $001B3B44
    $000E3024
    $000CD014
    $000D1AA0
    $000E2F20
    $0000C8D8
    $000DA570
    $000CE5B4
    $001BFBE0
    $00172668
    $00172AE0
    $0018CDBC
    $932A9934
    $932A908C
    $932A8F08
    $932D4560
    $93435228
    TApplication.HandleException: there was another exception during showing the first exception
    Stack trace:
    $001B3B44
    $000E3024
    $000CD014
    $000D1AA0
    $000E2F20
    $0000C8D8
    $000DA570
    $000CE5B4
    $001BFBE0
    $00172668
    $00172AE0
    $0018CDBC
    $932A9934
    $932A908C
    $932A8F08
    $932D4560
    $93435228

    BST.ini was not created
  • BradCBradC Posts: 2,601
    edited 2008-10-05 14:06
    Forrest said...
    OK, type echo $HOME in terminal, BST still quit with this in console.log - I edited the remote server name out.
    Oct 5 09:53:03 Old-Smokey automount[noparse][[/noparse]264]: Cannot mount URL 'afp://(remote server name)(UI not allowed).

    Sorry, I was a bit vague.
    Can you type

    echo $HOME

    in your terminal window and let me know what it says?
    Like this..

    brad@bkmac:~$ echo $HOME
    /home/brad
    
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • rjo_rjo_ Posts: 1,825
    edited 2008-10-05 14:55
    Brad,

    I'm running on a PPC, dual g5 Mac, 10.4.11. The IDE opens and runs fine. Compiles without errors.

    When I try to detect the Propeller, I get the error: "Failed to detect Propeller on Port /dev/tty.usbserial"

    I have downloaded and installed the driver from http://www.ftdichip.com/Drivers/D2XX.htm... the Mac Os X 0.14 version.

    ?

    Rich
  • BradCBradC Posts: 2,601
    edited 2008-10-05 15:02
    Right, well I was obviously placing the Mac preferences file somewhere verboten.
    I've updated it to use ~/Library/Preferences/bst.ini

    Which, while not completely compliant with the Mac developer guidelines is a lot closer.

    Oh! Doh, I know what is happening. It's crashing scanning the directory tree on startup. Something to do with network drives I'd guess by the below quote.

    Forrest or stevenmess2004, can you send me some details on how you have your network drives mounted?

    I would hazard a guess that the users you crash under have some form of network mounts, and the others don't?

    [noparse][[/noparse]quote]
    Oct 5 09:53:03 Old-Smokey automount[noparse][[/noparse]264]: Cannot mount URL 'afp://(remote server name)(UI not allowed).
    Oct 5 09:53:03 Old-Smokey automount[noparse][[/noparse]264]: Attempt to mount (remote server name) returned 1 (Operation not permitted)


    Can you give me enough details to try and reproduce this? I know very little about MacOS automounter or the afp network configuration. Nfs and SMB I can cope with [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • BradCBradC Posts: 2,601
    edited 2008-10-05 15:04
    rjo_ said...
    Brad,

    I'm running on a PPC, dual g5 Mac, 10.4.11. The IDE opens and runs fine. Compiles without errors.

    When I try to detect the Propeller, I get the error: "Failed to detect Propeller on Port /dev/tty.usbserial"

    I have downloaded and installed the driver from http://www.ftdichip.com/Drivers/D2XX.htm... the Mac Os X 0.14 version.

    ?

    Rich

    Oh, you need the VCP drivers, not the D2XX drivers.. same for windows..
    The one you have installed required linking against the ftdi dll (.so) to communicate with the unit. The VCP drivers just pretend to be a serial port.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • rjo_rjo_ Posts: 1,825
    edited 2008-10-05 15:10
    Thanks
  • BradCBradC Posts: 2,601
    edited 2008-10-05 15:12
    Revised binaries posted (again). Nothing worth upgrading for.
    Mac now puts the bst.ini file in the right place. If you already have one in the old location it tries to read it then remove it.
    Nothing else significant. Not a "required" download.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • tpw_mantpw_man Posts: 276
    edited 2008-10-05 15:14
    Is it possible to package it with the font and drivers, like Prop Tool comes with? Other than that, it's great!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I am 1011, so be surprised!


    Advertisement sponsored by dfletch:
    Come and join us on the Propeller IRC channel for fast and easy help!
    Channel: #propeller
    Server: irc.freenode.net or freenode.net
    If you don't want to bother installing an IRC client, use Mibbit. www.mibbit.com
    tongue.gif
  • OwenSOwenS Posts: 173
    edited 2008-10-05 15:20
    evanh said...
    BradC said...
    evanh said...
    I'm thinking that all .spin source files should be UTF16 exclusively anyway.
    Ugh.. No way.. it makes them all twice the size and unable to be edited in vi. 90% of my spin files have nothing above $7F in them, why should I give up double the storage space and the ability to edit them in vi, or manipulate them easily with awk/grep/sed ?
    Are you serious? When did the source size become an issue? As for ASCII greping, it won't work for the existing UTF16 files. That one needs a better solution already. It's all academic anyway, since the files are not all UFT16.

    Thanks for the good work on your project BTW.

    Why does Prop Tool even use UTF-16 in the first place? Why not use UTF-8? I know Windows doesn't normally use UTF-8 but I know at least Notepad and Wordpad treat a file as UTF-8 when it starts with a BOM (Which UTF-16 files should also)

    UTF-16 is advantageous only when:
    1) In memory (It's faster to work with since 99% of characters are not surrogate pairs, and those that are are just two of them, rather than up to a surrogate hextet)
    2) Working with CJK languages (since they end up smaller)

    (Of course, to be silly, everything X11/Unix uses UTF-8 in memory...)
  • rjo_rjo_ Posts: 1,825
    edited 2008-10-05 15:21
    http://www.ftdichip.com/Drivers/VCP.htm for the Mac PPC driver. It works[noparse]:)[/noparse]
  • BradCBradC Posts: 2,601
    edited 2008-10-05 15:22
    Umm, I don't want to go through all the hassle of building an installer and all the baggage of drivers that you will only install once.
    It's simple as it is. You download it, you unzip it, you click on it [noparse]:)[/noparse]

    On top of that, I don't have any rights to re-distribute the ftdi drivers.
    You already have to install the Parallax font.. (well, you don't *have* to) .. so downloading and installing the latest FTDI VCP drivers is really no burden.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • BradCBradC Posts: 2,601
    edited 2008-10-05 15:29
    I have no rights to redistribute that font. It's Parallax copyright.
    In addition, it's easy enough to download and install.

    Maybe I'll put a link in the about box to the link for the fixed font in the forums, but I really don't want to be re-distributing other peoples intellectual property.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • BradCBradC Posts: 2,601
    edited 2008-10-05 15:32
    OwenS said...

    Why does Prop Tool even use UTF-16 in the first place? Why not use UTF-8? I know Windows doesn't normally use UTF-8 but I know at least Notepad and Wordpad treat a file as UTF-8 when it starts with a BOM (Which UTF-16 files should also)

    UTF-16 is advantageous only when:
    1) In memory (It's faster to work with since 99% of characters are not surrogate pairs, and those that are are just two of them, rather than up to a surrogate hextet)
    2) Working with CJK languages (since they end up smaller)

    (Of course, to be silly, everything X11/Unix uses UTF-8 in memory...)

    UTF-16 is now the windows unicode standard. I guess it just made it easier to do it that way.
    Personally I find converting to and from UTF-16 a pain in the bum. I'd much rather just stick with UTF-8, but I want to be 100% compatible with the existing Parallax stuff.

    I'm trying to help a MacOS and Linux user (ie, me) not fragment the user community.

    @rjo_, excellent stuff [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • tpw_mantpw_man Posts: 276
    edited 2008-10-05 15:41
    There seems to be a 1 pixel spacing between lines, so boxes to not appear properly. The lines and special characters do appear now though!

    Image attached

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I am 1011, so be surprised!


    Advertisement sponsored by dfletch:
    Come and join us on the Propeller IRC channel for fast and easy help!
    Channel: #propeller
    Server: irc.freenode.net or freenode.net
    If you don't want to bother installing an IRC client, use Mibbit. www.mibbit.com
    tongue.gif
    454 x 179 - 5K
  • BradCBradC Posts: 2,601
    edited 2008-10-05 15:53
    tpw_man said...
    There seems to be a 1 pixel spacing between lines, so boxes to not appear properly. The lines and special characters do appear now though!

    Image attached

    Yep, I know about that one. I'm not entirely sure how to fix it though.
    It's certainly on my list, but I'm kinda heading for function over fashion at the moment.
    Not that fussed what it looks like as long as it works.

    Having said that I'm a complete fashion retard, so any advice on aesthetics is always warmly welcomed!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • rjo_rjo_ Posts: 1,825
    edited 2008-10-05 15:55
    on Mac PPC to get a good font you just use bst's tools MENU->IDE preferences->font->fixed width->Monaco.... seems to work fine at first glance.

    on Mac PPC... compile to ram seems to hang up until you move your mouse... it doesn't actually hang up... the dialog just stays up.


    THANKYOUTHANKYOU

    the installation of the right driver on a Mac PPC takes one mouse click... far easier than installing the wrong driver:O)
  • rjo_rjo_ Posts: 1,825
    edited 2008-10-05 15:57
    the auto-save feature is fairly robust... so if you use a template file to get started... remember to save to a different file before making any changes.
  • tpw_mantpw_man Posts: 276
    edited 2008-10-05 15:58
    I noticed that same problem with the dialog. I am using an Intel mac though. I told BradC on the Propeller IRC channel.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I am 1011, so be surprised!


    Advertisement sponsored by dfletch:
    Come and join us on the Propeller IRC channel for fast and easy help!
    Channel: #propeller
    Server: irc.freenode.net or freenode.net
    If you don't want to bother installing an IRC client, use Mibbit. www.mibbit.com
    tongue.gif
  • rjo_rjo_ Posts: 1,825
    edited 2008-10-05 16:02
    tpw...

    what is the Propeller IRC channel?

    Rich
  • tpw_mantpw_man Posts: 276
    edited 2008-10-05 16:04
    See sig. Basically a real time chat with other prop users, including me.

    PS: Sorry for going off topic.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I am 1011, so be surprised!


    Advertisement sponsored by dfletch:
    Come and join us on the Propeller IRC channel for fast and easy help!
    Channel: #propeller
    Server: irc.freenode.net or freenode.net
    If you don't want to bother installing an IRC client, use Mibbit. www.mibbit.com
    tongue.gif
  • BradCBradC Posts: 2,601
    edited 2008-10-05 16:08
    rjo_ said...
    the auto-save feature is fairly robust... so if you use a template file to get started... remember to save to a different file before making any changes.

    Autosave? I don't remember actually finishing that yet??

    Remember, it might crash (Just ask stevenmess2004!) and take your work with it. Please do save before compiling.
    I've not had it do any auto-save to the original files as you can write / compile / download a program without it ever touching the disk, just like proptool.
    Also, if you have an object open in the IDE and you've made changes to it and not saved it, the compiler will pick up the changed version from the RAM of the IDE rather than the older version on disk.

    Perhaps I should have the IDE default to Monaco on Mac if it can't find the propeller font?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • rjo_rjo_ Posts: 1,825
    edited 2008-10-05 16:17
    Maybe it was a directory issue...and I thought it was autosave.

    At one point I loaded up a file... and the wrong name appeared to be attached. I ignored it at the time (sort of reached my subconscious brain and I just don't remember the exact sequence... no problems since.

    I've been doing some other stuff in between... if it happens again, I'll post the actual details.

    Monaco looks good to me. I haven't downloaded the Prop font... and I think I'm a fairly typical idiot. You want it to work first time... we can always download the Prop font when we figure out why we need it[noparse]:)[/noparse]

    Rich
  • RinksCustomsRinksCustoms Posts: 531
    edited 2008-10-05 17:25
    This Linux IDE shouldn't have a problem running with Xubuntu 8.04.1, yes?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    E3 = Thought

    http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
  • ForrestForrest Posts: 1,341
    edited 2008-10-05 18:24
    BradC said...
    Forrest said...
    OK, type echo $HOME in terminal, BST still quit with this in console.log - I edited the remote server name out.
    Oct 5 09:53:03 Old-Smokey automount[noparse][[/noparse]264]: Cannot mount URL 'afp://(remote server name)(UI not allowed).

    Sorry, I was a bit vague.
    Can you type

    echo $HOME

    in your terminal window and let me know what it says?
    Like this..

    brad@bkmac:~$ echo $HOME
    /home/brad
    
    


    Sorry - this is what I got after entering that command:
    /Users/forrestb

    Just tried the latest binary posted - same errors, and no bst.ini was created.

    Post Edited (Forrest) : 10/5/2008 6:38:41 PM GMT
  • TJHJTJHJ Posts: 243
    edited 2008-10-05 18:24
    Thanks for doing this.

    The only asthenic feature that I would love to see, is the block group indicators. It saves so many headaches with the tab based command structure. It can be lived with out, but its a nice feature to have. I am sure its way harder to actually do than it seems.

    If you can. Thanks

    Thank you again,
    TJ
  • potatoheadpotatohead Posts: 10,261
    edited 2008-10-05 18:34
    What USB driver is needed under Linux, if any?

    I'm gonna run some SPIN cases through the thing and do some real work this evening with a Prop connected. This is gonna be SO cool!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!

    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
Sign In or Register to comment.