Comments (15)
I think my changes to the build.lib script fixed the issue, then I broke it again, and then fixed it again. Since I finally had a little bit of time, I decided to test the vagrant boxes I setup. They are barren CentOS 6 machines, like your docker container, and I was able to access the register page and see the captcha when loaded off the vagrant box (for what its worth, I tested it using the virtualbox provider). See the screenshot below. If the error pops up again, let me know.
from magma.
Will take a look. What font are you using? Have you tried different fonts? If a recall magma randomly selects a font in the dir for the captcha.
from magma.
I'm using default config
from magma.
Looks like you're right. I checked my repo from 3 years ago, before I handed off the code, and magmad.so included freetype. About to go see what happened, and then add it back...
from magma.
I think I found the problem. I have freetype installed inside my dev vm, so freetype gets configured. You probably don't, and you should have to. I've updated the build script to look in the bundled freetype directory. I'm testing the changes now, before pushing.
from magma.
Run:
build.lib all
build.magma
magma.run
Try the CAPTCHA and report back. Note the above assumes you've already run linkup.sh, and ~/bin is part of your path.
from magma.
Any commit after 6de1ae7 should work. The 298aa86 commit will run faster, as the dep checks are run in parallel once again.
from magma.
Catpcha still not rendered yet, same error message as above
from magma.
There may have been a problem with the build order. I just pushed a second attempt. Also, are you generating the error by visiting http://localhost:10000/register ? Screenshot of what I see is attached. As you can tell, I'm seeing the CAPTCHA. I ask because there may be another registration endpoint, or piece that's using the CAPTCHA. I haven't looked.
If you type:
build.lib gd-log | grep "Support for Freetype"
You should see:
Support for Freetype 2.x library: yes
Support for Freetype 2.x library: yes
You can also double check, things are current by launching magma. Look for Freetype 2.6.3 and libpng 1.6.22. Both libs were updated today.
from magma.
yes the uri is /register, magma startup message show correct libs' version. but captcha still not rendered.
I removed the build folder after it built (using docker), will try again later to see build log
from magma.
If you want to test for a fix the quick way, you could try:
build.lib freetype
build.lib gd
And then grep the log file. Odds are gd will complain that jpeg and png libs are unavailable, so it might not compile, but it should get through the configure, and show that it found freetype.
from magma.
If your in an even bigger hurry you specify the steps for each manually as well:
build.lib gd-extract
build.lib gd-prep
build.lib gd-build
Then you can skip the "check" stage for the libs. You could also do that for all libs like so:
build.lib extract
build.lib prep
build.lib build
build.lib combine
from magma.
it working now, strange
from magma.
The correct captcha value will be in the magmad log file
from magma.
I think I fixed this already. If you run git pull && make distclean && make
the graphics library should get compiled correctly, and the CAPTCHA should work. The distclean
is needed to force a rebuild of magmad.so
.
from magma.
Related Issues (20)
- How to install HOT 1
- dspam-build fails on debian 10 HOT 1
- mariadb-build failed on CentOS 7 HOT 4
- State of the whole project HOT 6
- Lavabit Register Page HOT 2
- Is there any docker compose environment for mail server HOT 7
- Does it support hidden services gateways? HOT 2
- lavabit support email block riseup? HOT 1
- Magma Dev Machine Download Links Not Working HOT 1
- CentOS 7 : Error with CURL . fail during build test .
- Centos 7- magma install 3.2.18 . reseting Mariadb root/user HOT 1
- lavabit/magma with docker HOT 8
- Error: Script will not run when it is time to run ./INSTALL command HOT 1
- default: curl-check failed at time on date HOT 4
- memcached-check error, Address already in use HOT 2
- Unable to parse the PRIME organizational key.
- Emails not signed with dkim
- DMTP server seems not finished at all
- Default Username/Password HOT 2
- Potential integer overflow in sds.c
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magma.