updated to 9.2 console window not showing

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
zell2002
Citizen
Posts: 75
Joined: Sun Feb 23, 2014 9:22 pm

updated to 9.2 console window not showing

Post by zell2002 »

as title says, i updated to 9.2 and my console window won't appear anymore - running windows 7
is there a new setting in the conf file ?
I couldnt find anything - after having a google

anyone else experiencing this ?
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: updated to 9.2 console window not showing

Post by s-ol »

zell2002 wrote:as title says, i updated to 9.2 and my console window won't appear anymore - running windows 7
is there a new setting in the conf file ?
I couldnt find anything - after having a google

anyone else experiencing this ?
Did you enabled it? in conf.lua.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
zell2002
Citizen
Posts: 75
Joined: Sun Feb 23, 2014 9:22 pm

Re: updated to 9.2 console window not showing

Post by zell2002 »

always

Code: Select all

function love.conf(t)
    t.console = true 
do we have to use the conf file in a different way or something ?
User avatar
slime
Solid Snayke
Posts: 3161
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: updated to 9.2 console window not showing

Post by slime »

If the program LÖVE is launched from has an existing console window, 0.9.2 will use that console window for print output rather than creating a new one.
zell2002
Citizen
Posts: 75
Joined: Sun Feb 23, 2014 9:22 pm

Re: updated to 9.2 console window not showing

Post by zell2002 »

oh... why ?
I use sublime, and for some reason love isnt printing to its console and now i dont get love's consoles.
how can i get love2ds console back ? is this how its going to be going forward?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: updated to 9.2 console window not showing

Post by bartbes »

This is completely sublime text's fault, and the only way around it that I know is turning of output buffering in your program.

Code: Select all

io.stdout:setvbuf("no")
zell2002
Citizen
Posts: 75
Joined: Sun Feb 23, 2014 9:22 pm

Re: updated to 9.2 console window not showing

Post by zell2002 »

its weird, ive never had this issue before with sublime, its only since moving to 9.2 (ive not changed any sublime settings or my conf file - i use the same one basically in each project)

ive tried previously with io.stdout:setvbuf("no") in main.lua and inside conf

but it's still not appearing...

im using windows 8 (dont know if that means anything) - i will try on my win7 machine later see if its the same on there

*edit
its definitely something within sublime Vs 9.2, as running it outside (dragging the folder on top of love.exe) brings up the console
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: updated to 9.2 console window not showing

Post by s-ol »

zell2002 wrote:its weird, ive never had this issue before with sublime, its only since moving to 9.2 (ive not changed any sublime settings or my conf file - i use the same one basically in each project)

ive tried previously with io.stdout:setvbuf("no") in main.lua and inside conf

but it's still not appearing...

im using windows 8 (dont know if that means anything) - i will try on my win7 machine later see if its the same on there

*edit
its definitely something within sublime Vs 9.2, as running it outside (dragging the folder on top of love.exe) brings up the console
It's not supposed to open a new console window when run in ST, instead the output should appear inside the ST "log" window.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
zell2002
Citizen
Posts: 75
Joined: Sun Feb 23, 2014 9:22 pm

Re: updated to 9.2 console window not showing

Post by zell2002 »

weird.. sublime's console doenst stay open for me when I run love, when I do open it, it has no prints

i'm getting the same behaviour on both win7 and 8

this has only begun happening when updating to love 9.2 so strange :S

i dont get what would be causing it, ive tried both x86 and 64bit versions

just re-installed 9.1 to a diff folder, ran same project
with and without :
io.stdout:setvbuf("no")

and the console showed up both times

i am using st2 perhaps i should upgrade to 3.. but i dont understand why that would be the issue here ?

anyone else have issues with 9.2 + ST2 ?
User avatar
rod_sn
Prole
Posts: 27
Joined: Sun Jan 11, 2015 9:59 am

Re: updated to 9.2 console window not showing

Post by rod_sn »

Yup.. Same here... I want to enable console in 9.2 and i can't. Weird thing.. But i also can enable it in 9.1... Hope this gets fixe in the next update.
"You certainly usually find something, if you look, but it is not always quite the something you were after."
-Thorin Oakenshield, J.R.R. Tolkien
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 4 guests