Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 16 17:34
    caeril opened #1533
  • Apr 04 11:42
    alexgeek commented #1528
  • Apr 03 16:19
    alexgeek commented #1528
  • Apr 03 16:19
    alexgeek commented #1528
  • Mar 30 19:15
    bejayoharen opened #1532
  • Mar 27 16:47
    notzippy closed #1531
  • Mar 27 16:47
    notzippy commented #1531
  • Mar 27 16:46
    notzippy closed #1528
  • Mar 27 16:46
    notzippy commented #1528
  • Mar 27 16:39
    notzippy closed #1529
  • Mar 25 23:02
    Dmdv opened #1531
  • Mar 24 12:19
    jsdecena commented #1528
  • Mar 24 08:48
    ptman commented #1528
  • Mar 24 02:06
    jsdecena commented #1528
  • Mar 12 20:02
    notzippy commented #1373
  • Mar 12 19:36
    parochi commented #1373
  • Mar 10 18:11
    harekumar commented #1528
  • Mar 07 14:32
    Zykatious closed #1530
  • Mar 07 14:32
    Zykatious commented #1530
  • Mar 07 01:26
    Zykatious edited #1530
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
can only assume it's software update issues causing problems
I use Mac as my work station and came from Ubuntu
Revel's Windows support was working last time I tried, but it's been a while and we don't have a lot of contributor activity to assist with it
any PRs are welcome
there are some constrains on Windows that we don't have to deal with on other OSes, like interprocess communication
alexander-dc81
@alexander-dc81
Hi guys, I can confirm the error above on Windows on hot reload: "ERROR 12:44:40 app.go:159: Revel app failed to exit in 60 seconds - killing. processid=18860 killerror=nil". It is an old project, but today I updated it to Revel 1.0.0 and Go 1.15.6. Thanks for any help!
Paul
@ptman:kapsi.fi
[m]
windows now has wsl, so I would try that if there are problems with native windows
alexander-dc81
@alexander-dc81
Same with WSL from VS Code terminal. Below some information from run -v:
INFO  11:00:29 watcher.go:208: Watcher:Notify refresh state             Current Index=0  last error index=-1 force=false refresh=true lastError=false 
INFO  11:00:29 watcher.go:257: Waiting for refresh timer to expire
Changed detected, recompiling
INFO  11:00:30    app.go:136: Killing revel server pid                 pid=16168 
INFO  11:00:30    app.go:153: Waiting to exit
ERROR 11:01:30    app.go:159: Revel app failed to exit in 60 seconds - killing. processid=16168 killerror=nil 
INFO  11:01:30    app.go:129: Revel App exited                         state="exit status 1" 
INFO  11:01:30    app.go:165: Done Waiting to exit
INFO  11:01:30 harness.go:235: Rebuild Called
INFO  11:01:30  build.go:285: Cleaning dir                             dir=tmp
INFO  11:01:30  build.go:285: Cleaning dir                             dir=routes 
INFO  11:01:30 source_processor.go:31: ProcessSource
Parsing packages, (may require download if not cached)...INFO  11:01:30 source_processor.go:87: Reading packages                         parser=SourceProcessor packageList="[github.com/revel/revel/... github.com/revel/modules/static/... github.com/revel/modules/testrunner/...]"
Michael Knight
@madmik3
Can you use relative paths in the app.conf?
Steve
@notzippy
@madmik3 relative paths with respect to what ?
Michael Knight
@madmik3
Anything. Just don't want to put a full path so it generalizes across systems.
Brenden Soares
@brendensoares
relative to what?
current user?
import path?
Michael Knight
@madmik3
any of those would work