Community
RESOURCES
28
A Funny RPG Game [ALPHA TESTING]A Funny RPG Game WIP
Updates
-~-~-~-~
2.0 - Added Home
2.1- Added Yoyo and Apron [Atk and Hp]
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
`
I'm running into a circular import error, but I need to import a variable [FIXED]
I fixed this, now this comment is just a suggestion dump.
ColoredHue nvm, after I looked more into it, it doesn't seem to be able to read just a variable of a page, only the whole entire page. Which is good if you have a large amount of text you need to print but not for getting data3 months ago
MrVoo @ColoredHue mmmmm ok, but what I was thinking was more of a main.py with something like this:
```py
read_a_file()
read_another_file()
write_new_file( fileOneContent + fileTwoContent )
exec('import newlyCreatedFile')
```3 months ago
2
My Talking Ben
Made on python and added my friend (to show the project with) I tried hard, have fun!253
17
2
1
[QUESTION] is it possible to disable family-friendly DNS?
So I read this article:
https://blog.replit.com/family-friendly-dns
Which basically says:
"How does it work? We did this by enabling the use of Cloudflare's family-friendly DNS resolver by default in all user repls."
And it seems like it's turned on by default so I'm wondering if it's possible to opt out of it/disable it?27
3
1
How do I make the run button call a function when the script is done running?
The repl here shows how the green run button in replit fails to call the exitcallback function which prints "Goodbye". However, when running the file using bash, using python3 main.py the exitcallback function is correctly called. You can try it by using runshell() in the console. Also, no, I can't use the runshell() function in place of the main() function, the repl will just fail to run properly.
Is there any way to configure the run button so that the exit_callback function is called when the script exits? Or is this a bug I should report?hankertrix @Highwayman I tinkered with the args and it seems that I can't remove any of the args without the repl process crashing. However, removing all the code related to the interpreter seems to have fixed the issue. I'm guessing it's because of using replit's prybar interface that causes Python to not register any exit handlers, since running it using a normal bash shell seems to work fine. I'm guessing most non-nix repls will use the prybar interface by default unless you configure the run button otherwise in the `.replit` file. Thank you so much for your help! I think this should be reported as a bug for prybar.3 months ago
Highwayman @hankertrix I'm glad to be of assistance :P
There is a [feedback form](http://replit.com/support) for replit when you get bugs - thats probably the best place to post it. I've contacted them before I'm pretty sure and they're pretty responsive. :)2 months ago
Connfetti-DBA PHP SQL library for multiple DB flavors. Inspired by Zend DB.
replit.nix not working when checking out PHP project with Git/Github?
Hello dear Community,
as you can see, it is a simple project cloned from Github. If you hit the RUN button it shows simply the PHP verison, which is 7.2 actually.
BUT: as you can see, the replit.nix file should install PHP 7.4.
But this is not working when I create the project form Github.
Empty Replits working as excepted, also this works, when I clone the project manually in an sub directory.
Any help?
Thanks in advanceEurobertics @cftech
I updated my replit.nix. Unfortunately no effect. As said, it seems that replit.nix is ignored when you checkout a Git project in the same directory (which is the default when starting a Replit from a Git repository). I'm sorry.2 months ago
Eurobertics @cftech
Not sure what you mean. The Problem persists regardless I copy the replit.nix file. The main issue is, that the replit.nix file is ignored, as far as a Git project/checkout is in the same directory (which is done when starting from a Git repo).
In empty Repl's the replit.nix works as expected and I can change packages. Only in that ones where Git repos are cloned in are not working.
As you can see in the Repl here, I changed the replit.nix with yours and still PHP 7.2 instead of the package one 7.4.2 months ago
How do I change back to the old IDE?
Yeah, exactly what the title says. The new IDE is garbage. Colors are weird, doesn't show errors, auto-indent on newlines is weird, everything is weird/downright buggy.
Also, second question: What happened to ask board? It's just grouped into share? We can't ask questions anymore? Before you say "tags," there are a grand total of 6 questions (not including my own) with the ask tag. It just doesn't work.
EDIT: This is literally the FOURTH POST I'm making on this SAME DUMMY REPL because I have a question NOT RELATED to any of my repls specifically. Can we please get the ability to ask a FREAKING QUESTION WITHOUT ATTACHING A REPL?
Actually why am I yelling, nobody's going to see this anyways, because the ASK BOARD GOT REMOVED!
Every single post on the canny asking to revert back to old IDE or have the option to change to old IDE has been responded to by a copy-pasted answer. :/VulcanWM @FlaminHotValdez dude i completely agree with you. i havent even used community since they removed the boards :/3 hours ago
12
23
0
OPENSSL not found.
Cannot compile due to reqwest not being able to find OPENSSL. How do I fix this?Cycles Ecosystem?
What does repl exacly mean with using cycles to build up an ecosystem?Whacko @BearCoder01 I think they mean that the cycles will be exchanged throughout the website, and that cycles will be used as a digital currency.4 weeks ago
Whacko @BearCoder01 I'm afraid not anywhere in the blog. The only place they really talk about this is on [cycles.replit.com](https://cycles.replit.com/). I think Replit wants to turn cycles into something like Robux or V-Bucks, for example, which can be used and spent on different things. On the form, I think Replit is asking people what they should use as things you can spend cycles on.4 weeks ago
1
4
0
Why is there an error?
When you run the program, you will get an error, in file map.py which gives little information. Anyone know what this error is?22
7
0
Did ffmpeg get removed from /usr/bin?
Ignore the repl.
For as long as I can remember, any repo that I create always had ffmpeg inside /usr/bin. Now there isn't. I have to go through this nix thing that I somehow never encountered before.
screenshot
The strangest part is I have an older repl that still has ffmpeg inside /usr/bin and it never gets deleted or anything in the countless resets it's had.
Guess I should just do it the nix way, which is a little annoying.
If anyone else is stuck with the same issue I had, I added a replit.nix file in the root folder (Remember to enable "Show hidden files"). Inside that file, I typed in:
{ pkgs }: {
deps = [
pkgs.ffmpeg.bin
];
}
`9pfs @JericJanJan That's strange. Still, the Nix thing is nice because you can have over a terabyte of dependencies with no issues.3 months ago