main.love not working/opening

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
paxth
Prole
Posts: 2
Joined: Sun Jun 14, 2020 10:48 am

main.love not working/opening

Post by paxth »

When I click on the main.love file it shows me the error:

Code: Select all

Error

boot.lua:577: Cannot load game at path '/home/parth/.local/share/Trash/files/main.love'.
Make sure a folder exists at the specified path.


Traceback

[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
I just downloaded love and I'm running it on ubuntu 20.04
User avatar
pgimeno
Party member
Posts: 3641
Joined: Sun Oct 18, 2015 2:58 pm

Re: main.love not working/opening

Post by pgimeno »

Is main.love a zip file?

Does it contain main.lua in the root of the zip file?
User avatar
bannshey
Prole
Posts: 1
Joined: Sun Jul 16, 2017 5:54 pm

Re: main.love not working/opening

Post by bannshey »

Make sure you compressed/zipped the main.lua itself and not the folder containing main.lua
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

Re: main.love not working/opening

Post by milon »

Why is it looking for main.love in the Trash?
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests