Thank you for an excellent program in PropellerIDE.
It is really shaping up, well done.
I upgraded from ver. 0.33.3 to ver. 0.36.5 on February 9th (2016)
running on a Raspberry Pi 2 model B Raspbian-Jessie
I'm sure I have some done something wrong in the install process.
It is now running very slowly.
Screen scrolling and selecting text takes soooooo long.
attached ( I hope ) is the terminal screen boot report.
The Warning messages may mean more to you than they do to me.
Thanks you for any help you may have.
Roger.
pi@RPi2:~ $ propelleride
libEGL warning: GLX/DRI2 is not supported
libEGL warning: DRI2: failed to authenticate
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
[DEBUG] main: PropellerIDE v0.36.5 - An easy-to-use, cross-platform IDE for the Parallax Propeller
[WARN ] default: Cant find EGLConfig, returning null config
[WARN ] default: Unable to find an X11 visual which matches EGL config 0
[WARN ] default: Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
[DEBUG] color.scheme: loading ":/themes/Dusk_Ocean.theme"
[DEBUG] color.scheme: loading "/home/pi/.config/Parallax/PropellerIDE.conf"
[DEBUG] color.scheme: saving "/home/pi/.config/Parallax/PropellerIDE.conf"
[DEBUG] project.parser: rebuilding project model
[WARN ] default: Cant find EGLConfig, returning null config
[WARN ] default: Unable to find an X11 visual which matches EGL config 0
[WARN ] default: Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/usr/share/propelleride/library/library/com.serial.terminal.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/RGB_Cube_Docs.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/jm_ws2812.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/RGB-Cube-4.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
I have it working following the suggestion from dnalor, for files in the same directory as the main, open the file, edit and save. Then all the function expand and auto-suggest works.
Thank you for your work on the IDE.
I feel like this is progress
it's been a long day. I confused myself so went with a reinstall of Raspbian.
This is my current result. It is workable now (much better). Still one warning showing up at launch.
pi@mypi:~ $ propelleride
libEGL warning: DRI2: failed to authenticate
[DEBUG] main: PropellerIDE v0.36.7 - An easy-to-use, cross-platform IDE for the Parallax Propeller
[DEBUG] color.scheme: loading ":/themes/Dusk_Ocean.theme"
[DEBUG] color.scheme: loading "/home/pi/.config/Parallax/PropellerIDE.conf"
[DEBUG] color.scheme: saving "/home/pi/.config/Parallax/PropellerIDE.conf"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/usr/share/propelleride/library/library/com.serial.terminal.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/RGB-Cube-4.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] mainwindow: creating terminal
[DEBUG] ide.terminal: switch to port "ttyAMA0"
[ERROR] pm.device: Failed to open device: "ttyAMA0"
[ERROR] pm.device: Failed to open device: "ttyAMA0"
[DEBUG] ide.terminal: switch to port "ttyUSB0"
[DEBUG] project.parser: rebuilding project model
[DEBUG] build.manager: /usr/bin/openspin
[DEBUG] build.manager: -L/usr/bin/../share/propelleride/library/library
[DEBUG] build.manager: /home/pi/Propeller Code/RGB-Cube-4.spin
I spoke too soon. and with not much in the way of information. sorry about that.
The last report where I said it was working is incorrect. It looks better, but will not open a new file.
I'm now going to try this from the beginning. baby steps.
here is the file /etc/apt/sources.list after I have add the last 2 lines.
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb http://twolife.be/raspbian/ wheezy main backports
deb-src http://twolift.be/raspbian/ wheezy main backports
when I then run sudo apt-get update I get the following message:
commented out the lines ( /etc/apt/sources.list is back to original form)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install qt5-default qt5-qmake libegl1-mesa libgles2-mesa
this is what I get now:
pi@mypi:~ $ propelleride
libEGL warning: DRI2: failed to authenticate
[DEBUG] main: PropellerIDE v0.36.7 - An easy-to-use, cross-platform IDE for the Parallax Propeller
[DEBUG] color.scheme: loading ":/themes/Dusk_Ocean.theme"
[DEBUG] color.scheme: loading "/home/pi/.config/Parallax/PropellerIDE.conf"
[DEBUG] color.scheme: saving "/home/pi/.config/Parallax/PropellerIDE.conf"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/RGB_Cube_Docs.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/usr/share/propelleride/library/library/com.serial.terminal.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/jm_ws2812.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/RGB-Cube-4.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
Still missing something (?) It seems to be running better (again)and I can load new files .
EDIT: It let me load one new file one time, then the file open window locks up.
quote="Roger Lee;1366119"]Thank you for your time Brett,
commented out the lines ( /etc/apt/sources.list is back to original form)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install qt5-default qt5-qmake libegl1-mesa libgles2-mesa
this is what I get now:
pi@mypi:~ $ propelleride
libEGL warning: DRI2: failed to authenticate
[DEBUG] main: PropellerIDE v0.36.7 - An easy-to-use, cross-platform IDE for the Parallax Propeller
[DEBUG] color.scheme: loading ":/themes/Dusk_Ocean.theme"
[DEBUG] color.scheme: loading "/home/pi/.config/Parallax/PropellerIDE.conf"
[DEBUG] color.scheme: saving "/home/pi/.config/Parallax/PropellerIDE.conf"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/RGB_Cube_Docs.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/usr/share/propelleride/library/library/com.serial.terminal.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/jm_ws2812.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
[DEBUG] file.manager: opening "/home/pi/Propeller Code/RGB-Cube-4.spin"
[DEBUG] project.parser: rebuilding project model
[DEBUG] project.parser: rebuilding project model
Still missing something (?) It seems to be running better (again)and I can load new files .
EDIT: It let me load one new file one time, then the file open window locks up.
[/quote]
Hmmm I'm really not sure what's going on. It looks like a driver problem. I haven't seen behavior like that on any other installation. I'll take a look at it myself when i get home from my trip tomorrow.
Hi Bret,
Just FYI I installed Propeller IDE on my raspberry pi this AM an it works! I had an initial problem that turned out to be a dead Quickstart board. Another board and fixint the path in preferences and presto my test "hello world blink demo started working!
Thanks for all your efforts.
Jim
Has anyone installed an AMD64 version under Linux.mint? I can download propelleride-0-37.3-amd64.run but cannot seem to get it to install.
~ $ sudo dpkg -i propelleride-0.37.3-amd64.run
Jim
Has anyone installed an AMD64 version under Linux.mint? I can download propelleride-0-37.3-amd64.run but cannot seem to get it to install.
~ $ sudo dpkg -i propelleride-0.37.3-amd64.run
Jim
A .run file is installed via
~ $ sudo ./propelleride-0.37.3-amd64.run
.run files are not installable through a package manager such as dpkg.
RS_Jim:
First we must find out what's missing: If you enter just 'sudo' (without apostrophes), do you get the 'Command not found'? If yes, you're missing the 'sudo' command. If so, try this instead:
su
(enter root password)
./propelleride-0.37.3-amd64.run
exit
(you're temporarily logging in as root, without changing to the root home directory (that would be 'su -' which is not what we do here). Then executing the install script, then logging out (back to normal user account))
If the above still doesn't work, do the 'chmod +x' that rosco_pc suggested (or a+rx). Or simply do 'sh propelleride-0.37.3-amd64.run' instead, which is to explicitly invoke the shell to execute the script, instead of implicitly.
Also instructing people to actually install the propeller ide package, i.e.--> $ sudo dpkg -i propelleride-0.36.7-armhf.deb, would be ideal in the getting started section under RaspberryPi. (and other linux platforms)
Is there any way to force propellerIDE to use ttyUSB0 as its default at startup instead of ttyAMA0?
Nice job on the propellerIDE BTW. Works great. Using it with a RPI to program my prop wireless.
Also instructing people to actually install the propeller ide package, i.e.--> $ sudo dpkg -i propelleride-0.36.7-armhf.deb, would be ideal in the getting started section under RaspberryPi. (and other linux platforms)
Is there any way to force propellerIDE to use ttyUSB0 as its default at startup instead of ttyAMA0?
Nice job on the propellerIDE BTW. Works great. Using it with a RPI to program my prop wireless.
Hi there! Admittedly, I have been lax on my Raspberry Pi support lately. It fell off while I was working on changes to the build system, and haven't added it back in yet. Then I've also been away from the project entirely for a couple months working on other things. I agree that RPi installation should be explicitly spelled out.
Question: I have an RPi Model B (I think); would instructions produced for that also work for the 3?
Some time around 0.37 (not yet available for RPi), PropellerIDE now attempts to open your last selected device on startup, so if the device didn't change, it would auto-select ttyUSB0. You can try it out on desktop to see it in action.
Comments
Hi Roger. From reading the output, it looks like it's failing to initialize OpenGL, which would explain the slow. Make sure that you've installed the extra EGL stuff you need on Raspberry Pi (https://bweir.gitbooks.io/propelleride/content/user/getting-started/installing-propelleride.html)
If that doesn't work, try this (https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=86467)
I have it working following the suggestion from dnalor, for files in the same directory as the main, open the file, edit and save. Then all the function expand and auto-suggest works.
Thank you for your work on the IDE.
Will try your suggestions and report back, probably Monday.
Roger.
Thank you for the IDE Brett.
I feel like this is progress
it's been a long day. I confused myself so went with a reinstall of Raspbian.
This is my current result. It is workable now (much better). Still one warning showing up at launch.
Roger
The last report where I said it was working is incorrect. It looks better, but will not open a new file.
I'm now going to try this from the beginning. baby steps.
here is the file /etc/apt/sources.list after I have add the last 2 lines.
when I then run sudo apt-get update I get the following message:
I've looked for typos and such, another set of eyes is welcome.
Roger.
commented out the lines ( /etc/apt/sources.list is back to original form)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install qt5-default qt5-qmake libegl1-mesa libgles2-mesa
this is what I get now:
Still missing something (?)
It seems to be running better (again)and I can load new files .
EDIT: It let me load one new file one time, then the file open window locks up.
Now, I know that twolife was a way to get qt5 onto raspbian but it's a really bad idea.
Adding such sources to your system often leads to problems with your package manager, dependencies get messed up. apt stops working.
It's better to never add any sources to sources.list that are not official repos for your OS.
Yes, I know, the net is full of instructions about installing whatever program that tell you to do exactly that. It's just dangerous.
commented out the lines ( /etc/apt/sources.list is back to original form)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install qt5-default qt5-qmake libegl1-mesa libgles2-mesa
this is what I get now:
Still missing something (?)
It seems to be running better (again)and I can load new files .
EDIT: It let me load one new file one time, then the file open window locks up.
[/quote]
Hmmm I'm really not sure what's going on. It looks like a driver problem. I haven't seen behavior like that on any other installation. I'll take a look at it myself when i get home from my trip tomorrow.
Old eyes, that's my story , and I'm sticking to it. :thumb:
OK. I just realized something horribly wrong here.
In your first post here you stated that you are using the latest Raspbian-Jessie on your Raspberry Pi. This is good.
As such you should not be installing any Qt5 from twolife.be. Do not do that!
Raspbian Jessie has Qt5 packages available in it's repo now. The twolife.be thing was for those who wanted Qt5 on Raspbian Wheezy that only had Qt4.
To install Qt5 on Jessie do the following: I have not checked but it sounds to me like there are some PropellerIDE instructions that need updating for Raspian Jessie.
EDIT: Oops I now notice Brett has said all that above !
Just FYI I installed Propeller IDE on my raspberry pi this AM an it works! I had an initial problem that turned out to be a dead Quickstart board. Another board and fixint the path in preferences and presto my test "hello world blink demo started working!
Thanks for all your efforts.
Jim
Haha, sorry for any confusion. I've been in vacation mode for the past couple weeks so I haven't been checking this topic or any others much. =P
Linux Mint 17.3 64 bit
PropellerIDE version: 0.37.2
I am installing propelleride on Linux Mint and having some problems,so I have bumped the thread to make it easier to find.
Jim
~ $ sudo dpkg -i propelleride-0.37.3-amd64.run
Jim
propelleride-0.37.3-amd64.deb
A .run file is installed via
.run files are not installable through a package manager such as dpkg.
Jim
Jim
"File not found" is not "Permission denied".
First we must find out what's missing: If you enter just 'sudo' (without apostrophes), do you get the 'Command not found'? If yes, you're missing the 'sudo' command. If so, try this instead: (you're temporarily logging in as root, without changing to the root home directory (that would be 'su -' which is not what we do here). Then executing the install script, then logging out (back to normal user account))
If the above still doesn't work, do the 'chmod +x' that rosco_pc suggested (or a+rx). Or simply do 'sh propelleride-0.37.3-amd64.run' instead, which is to explicitly invoke the shell to execute the script, instead of implicitly.
After installing this version, it ran fine on my raspberrypi 3.
Instructions say nothing about using the arm install, here: https://bweir.gitbooks.io/propelleride-docs/content/user/getting-started/installing-propelleride.html
Also instructing people to actually install the propeller ide package, i.e.--> $ sudo dpkg -i propelleride-0.36.7-armhf.deb, would be ideal in the getting started section under RaspberryPi. (and other linux platforms)
Is there any way to force propellerIDE to use ttyUSB0 as its default at startup instead of ttyAMA0?
Nice job on the propellerIDE BTW. Works great. Using it with a RPI to program my prop wireless.
Hi there! Admittedly, I have been lax on my Raspberry Pi support lately. It fell off while I was working on changes to the build system, and haven't added it back in yet. Then I've also been away from the project entirely for a couple months working on other things. I agree that RPi installation should be explicitly spelled out.
Question: I have an RPi Model B (I think); would instructions produced for that also work for the 3?
Some time around 0.37 (not yet available for RPi), PropellerIDE now attempts to open your last selected device on startup, so if the device didn't change, it would auto-select ttyUSB0. You can try it out on desktop to see it in action.
I'm always happy to hear that you like it.