Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 27 01:39
    extems closed #1528
  • Feb 27 01:39
    extems commented #1528
  • Feb 26 05:25
    ptman commented #1524
  • Feb 26 05:24
    ptman synchronize #1524
  • Feb 26 02:22
    notzippy synchronize #1529
  • Feb 26 02:14
    notzippy opened #1529
  • Feb 26 01:46
    notzippy commented #1524
  • Feb 26 01:43
    notzippy commented #1528
  • Feb 26 01:37
    notzippy commented #1528
  • Feb 25 15:08
    extems edited #1528
  • Feb 25 15:05
    extems edited #1528
  • Feb 25 15:04
    extems opened #1528
  • Feb 25 14:56
    extems commented #1373
  • Feb 25 14:54
    extems commented #1373
  • Feb 25 14:51
    extems commented #1373
  • Feb 25 14:51
    extems commented #1373
  • Feb 09 13:07
    invasionofsmallcubes edited #1527
  • Feb 09 12:45
    invasionofsmallcubes edited #1527
  • Feb 09 12:41
    invasionofsmallcubes opened #1527
  • Feb 06 10:20
    AmooHashem edited #1526
matrixbot
@matrixbot
Paul You'll probably have to do it yourself based on the host header
Steve
@notzippy
@flanyanero I had been looking at that as well for some time, you could implement this by creating or extending the server engine https://revel.github.io/manual/server-engine.html
matrixbot
@matrixbot
Paul notzippy, brendensoares, thanks for helping me with the hacktoberfest PRs, got the required amount to claim a planted tree (random "free" t-shirts are probably a climate negative)
Steve
@notzippy
Nice
MadOtis
@MadOtis
Hello! Trying to go through the getting started tutorial for Revel and running into a small problem. 'revel new' seems to work and I see a project created with all the source goodness, yet when I try to 'revel run -a', I get an error: "Parsing packages, (may require download if not cached)...2020/12/01 11:15:04 internal error: nil Pkg importing "internal/cpu" from "internal/bytealg" and quits. I'm running go 1.14.6 on a Mac (Catalina) latest patches. Any suggestions?
matrixbot
@matrixbot
Paul I'm not on mac, so hard to tell
Paul internal/ sounds like it's a problem with go, not revel
Paul have you tried latest go?
Brenden Soares
@brendensoares
@MadOtis I ran on Mac/go 1.15 recently without any issues
I use gvm to manage multiple versions of Go, can you try that?
maybe try 1.15 to compare?
matrixbot
@matrixbot
Paul btw, does anyone have time to check revel/revel#1518
Brenden Soares
@brendensoares
Paul, you're doing what I wanted to do years ago lol
did you look into those failed CI builds? Looks like a build script problem
Brenden Soares
@brendensoares
script:
  - |
    if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then
      go test -v github.com/revel/revel/...
    else
      go test -v github.com/revel/revel/.
    fi
my gut says this is not related to your changes
commented on the PR and merged
matrixbot
@matrixbot
Paul brendensoares, thanks!
Paul yeah, the previous PRs also had problems that weren't related according to notzippy
Paul
@ptman:kapsi.fi
[m]
ah, new better bridge
Martyn Bedford
@mjbedford
Can someone help me with getting the examples to run, I have cloned the example github repo, I have GORP installed and SqlLite but I get this error error="Go Compilation Error (in ../../../../go/pkg/mod/github.com/revel/modules@v0.21.0/orm/gorp/app/dbgorp.go:7): no matching versions for query \"latest\""
Brenden Soares
@brendensoares
what are the steps to reproduce
Brenden Soares
@brendensoares
yikes
I guess we can look into setting up our own CI environment, though it'll have to be linux only (no mac or windows)
Paul
@ptman:kapsi.fi
[m]
there are several alternatives: github actions, gitlab ci, circleci
Brenden Soares
@brendensoares
github actions has a free OSS option
Steve
@notzippy
Sad
Rahul Sawant
@rahulSawantPA
hi . can anyone help me for running revel app in docker container ?
Paul
@ptman:kapsi.fi
[m]
I never had any problem with that
what problem are you having?
Rahul Sawant
@rahulSawantPA
i was trying to run revel app inside container but i am getting " failed to find action App\app.index " when i run it but locally it is working fine . what is right format of docker file for revel app?
@ptman:kapsi.fi
@rahulSawantPA: maybe you can provide a minimal test case?
there's this old article about docker and revel: https://jbeckwith.com/2015/05/08/docker-revel-appengine/
revel/cmd#182 - and this issue
Paranauerj
@Paranauerj
Hey guys, im a windows user, and noob with this framework. I've already done some stuff in go pure code and in revel as well, but my hot reload is not hot, it's actually cold. It takes 1m6s and displays the message:" ERROR 02:57:21 app.go:160: Revel app failed to exit in 60 seconds - killing. processid=xxxxx killerror=nil". It's getting really annoying, can anybody help me?
I'm using golang 1.13.4 and the latest version of revel.
ty
Paul
@ptman:kapsi.fi
[m]
is there any reason for you not using the latest go version?
1.13 isn't even supported anymore
Paranauerj
@Paranauerj
I've updated it and it still takes 1m+. I tried to downgrade the revel's version too, but it didn't seem to work. I also tried the solution on github (revel/revel#290) but no success. :/
Paul
@ptman:kapsi.fi
[m]
does it work? that error sounds like there's an error and timeout
no slowness
error != slow
but I haven't used go or revel on windows
actually, that might be untrue, I may have used go on windows, maybe 7 years ago
Paranauerj
@Paranauerj
it works. Yes, thats actually a timeout. I tried on linux and it works. Maybe an issue when running in Windows 10?
Brenden Soares
@brendensoares
Windows 10 is lovely when it works, but my recent experience with it has been frustrating