google-code-export / gambas

Automatically exported from code.google.com/p/gambas
1 stars 0 forks source link

Program doesn't run from gambas IDE, it hangs on "gb.httpd" #351

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) Describe the problem.

The attached project doesn't start from the gambas IDE, it HANGS on "gb.httpd" 
bind/start. When compiling it, and running it outside the IDE, it works fine.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r5300 (if you use a development version)
Operating system: Linux
Distribution: Ubuntu 10.04
Architecture: x86
GUI component: QT4
Desktop used: LXDE

3) Provide a little project that reproduces the bug or the crash.
Attached :-)

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.
Start the project from the gambas IDE and try to run it.

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!

Original issue reported on code.google.com by uAle...@gmail.com on 6 Nov 2012 at 6:24

Attachments:

GoogleCodeExporter commented 9 years ago
At the moment it's not a bug, it is a testing feature. :-)

When you check the 'gb.web' component, the IDE assumes that your project is a 
CGI script, and runs it through an embedded HTTP server.

In other words, once you have clicked on the run button, you can open a web 
browser on localhost:8000 (the default port as written in the IDE output 
console).

Original comment by benoit.m...@gmail.com on 6 Nov 2012 at 6:58

GoogleCodeExporter commented 9 years ago
Hmmm ... I am trying to get DomotiGa working with gambas3, but it uses the 
gb.web for it's internal webserver (this worked fine BEFORE the feature was 
introduced). This just means i can't debug the project anymore from the IDE 
with the latest SVN release of gambas :-(

Original comment by uAle...@gmail.com on 6 Nov 2012 at 7:03

GoogleCodeExporter commented 9 years ago
I will remove the automatic embedded http server, it was a test. Just wait for 
a few revisions...

Original comment by benoit.m...@gmail.com on 6 Nov 2012 at 7:05

GoogleCodeExporter commented 9 years ago
Or use a stable version of Gambas 3!

Original comment by benoit.m...@gmail.com on 6 Nov 2012 at 7:06

GoogleCodeExporter commented 9 years ago
I normally test with the stable (3.3.3) and with the latest SVN release to 
determine if it is already fixed or not. Can you make the embedded http server 
"differently" configureable then the gb.web component?

Original comment by uAle...@gmail.com on 7 Nov 2012 at 10:44

GoogleCodeExporter commented 9 years ago
The embedded http server has been disabled in revision #5301.

Original comment by benoit.m...@gmail.com on 8 Nov 2012 at 5:08

GoogleCodeExporter commented 9 years ago
ok thanks, it works fine now :)

Original comment by uAle...@gmail.com on 8 Nov 2012 at 8:16