some errors when starting up
$ lantern
sed: couldn't open temporary file /opt/lantern/sedaXQO3x: Permission denied
cp: cannot create regular file ‘/usr/share/applications/lantern.desktop’: Permission denied
mv: try to overwrite ‘/opt/lantern/jre/bin’, overriding mode 0755 (rwxr-xr-x)?
mv: try to overwrite ‘/opt/lantern/jre/man’, overriding mode 0755 (rwxr-xr-x)?
mv: try to overwrite ‘/opt/lantern/jre/plugin’, overriding mode 0755 (rwxr-xr-x)?
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: log.txt (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.
Thanks @LeoK987 there are a few issues here, but the logging one (second error) is just a quirk of log4j startup that doesn't affect anything. The first is more of an issue. You could set permissions on the /opt/lantern directory to no require root, and in the future we'll handle this on the install side.
Agree, thanks for reporting, @LeoK987!
We expect that these errors will have minimal impact on Lantern when it's actually running; are you seeing anything that seems visibly off?
Thanks again!
Thanks guys. I don't know what problems these cause me. It gets me access albeit at times slow. But I can not logon to google from the lantern windows though, so I wonder if these caused it.
On Tuesday, January 6, 2015, scouttle [email protected] wrote:
Agree, thanks for reporting, @LeoK987 https://github.com/LeoK987!
We expect that these errors will have minimal impact on Lantern when it's actually running; are you seeing anything that seems visibly off?
Thanks again!
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#issuecomment-68755282.
Does logging on to Google simply time out or what happens exactly? Are you still seeing problems now?
On Mon, Jan 5, 2015 at 2:13 PM, LeoK [email protected] wrote:
Thanks guys. I don't know what problems these cause me. It gets me access albeit at times slow. But I can not logon to google from the lantern windows though, so I wonder if these caused it.
On Tuesday, January 6, 2015, scouttle [email protected] wrote:
Agree, thanks for reporting, @LeoK987 https://github.com/LeoK987!
We expect that these errors will have minimal impact on Lantern when it's actually running; are you seeing anything that seems visibly off?
Thanks again!
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#issuecomment-68755282.
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#issuecomment-68791604.
President Brave New Software Project, Inc. https://www.getlantern.org pgp A998 2B6E EF1C 373E 723F A813 045D A255 901A FD89
I have not changed permissions (not sure about the implications), so yes the problems are still there.
As to logging into google, it simply hangs there (and eventually times out I guess). It has been like this for about a year. After learning that lantern can still be used without signing in, I simply leave it not signed it.
On Tuesday, January 6, 2015, myleshorton [email protected] wrote:
Does logging on to Google simply time out or what happens exactly? Are you still seeing problems now?
Thanks @LeoK987! So you just manually point to 127.0.0.1:8787 is that correct? Have you heard of a lot of other people doing the same thing?
@myleshorton,
Actually, how lantern should be set to work is a mystery to me. The documentation (little) says that it sets the system proxy. Firefox seems to work with system proxy. But if I use the system proxy in Chrome, it doesn't work. Chrome currently works for me because I have had SwitchySharp which I set for automatic configuration to use lantern. It was set up that way when I could sign in to google on lantern years ago. If I disable SwitchySharp then Chrome stops working with lantern, so I have to keep SwitchySharp. I read somewhere that I don't need to use an extension in Chrome to use lantern, but that is not the case for me.
I tried to ask about in the user group and no one answered. Also related is how to use Thunderbird with lantern. Using system proxy in TB does not work.
So, no, I did not just point to 127.0.0.1:8787. Should I better do that? And I actually don't know anyone using lantern.
On Wednesday, January 7, 2015, myleshorton [email protected] wrote:
Thanks @LeoK987 https://github.com/LeoK987! So you just manually point to 127.0.0.1:8787 is that correct? Have you heard of a lot of other people doing the same thing?
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#issuecomment-68910498.
Thanks @LeoK987 and sorry for the delay! Any browser extension that sets a proxy will override the system proxy, so that could be related to what you're seeing. Chrome without any extension should always just use the system proxy, so maybe there's another extension that's affecting the proxy settings? Do you configure SwitchySharp to just point to 127.0.0.1:8787 for it to work with Lantern?
What platform are you on?
Closing since we've released a new Go beta where this could be solved -- can reopen if not.
What can I download to update the new change? On github, the newest lantern is still 1.5.17 of Jan 15.
On Saturday, March 14, 2015, myleshorton [email protected] wrote:
Closed #2133 https://github.com/getlantern/lantern/issues/2133.
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#event-252231897.
Hey @LeoK987 sorry we haven't really made a formal announcement yet, but you can download it from the beta page at:
https://github.com/getlantern/lantern/wiki/Lantern-Beta-Versions
Great. Thanks. The new version appears to be faster? At least Google Maps works much better.
But I found the following messages at startup. Seems improper.
flashlight.ui: Creating tarfs filesystem that prefers local resources at /home/aranhoide/src/flashlight-build/src/ github.com/getlantern/lantern-ui/app tarfs: Local dir /home/aranhoide/src/flashlight-build/src/ github.com/getlantern/lantern-ui/app does not exist, not using
On Saturday, March 14, 2015, myleshorton [email protected] wrote:
Hey @LeoK987 https://github.com/LeoK987 sorry we haven't really made a formal announcement yet, but you can download it from the beta page at:
https://github.com/getlantern/lantern/wiki/Lantern-Beta-Versions
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#issuecomment-79569739.
@LeoK987 it’s just a debug message. You are seeing it from lantern.log file right?
I saw it in the terminal where I started lantern. Not in the log file.
On Saturday, March 14, 2015, fffw [email protected] wrote:
@LeoK987 it’s just a debug message. You are seeing it from lantern.log file right?
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#issuecomment-79825943.
That does seem odd. Any ideas @aranhoide?
I'm not familiar with the tarfs thing, no. I imagine @LeoK987 is using the ubuntu 64bit binary/installer, which were built in my machine. I don't know why that would cause the binary to have these paths hardcoded.
It's because flashlight/ui/ui.go uses runtime.Caller to determine the location of local resources. This is based on the absolute path of the source file from which the program was compiled, which in this case was on @aranhoide's machine.
Yes, I installed it with the ubuntu 64bit binary/installer.
On Saturday, March 14, 2015, aranhoide [email protected] wrote:
I'm not familiar with the tarfs thing, no. I imagine @LeoK987 https://github.com/LeoK987 is using the ubuntu 64bit binary/installer, which were built in my machine. I don't know why that would cause the binary to have these paths hardcoded.
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#issuecomment-79883834.
Thanks guys. So those machine-specific paths don't cause any issues right @oxtoacart?
On Friday, March 13, 2015, LeoK [email protected] wrote:
Yes, I installed it with the ubuntu 64bit binary/installer.
On Saturday, March 14, 2015, aranhoide <[email protected] javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:
I'm not familiar with the tarfs thing, no. I imagine @LeoK987 https://github.com/LeoK987 is using the ubuntu 64bit binary/installer, which were built in my machine. I don't know why that would cause the binary to have these paths hardcoded.
— Reply to this email directly or view it on GitHub <https://github.com/getlantern/lantern/issues/2133#issuecomment-79883834 .
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2133#issuecomment-79903026.
President Brave New Software Project, Inc. https://www.getlantern.org pgp A998 2B6E EF1C 373E 723F A813 045D A255 901A FD89
The only issue it causes is that if someone wants to use local resources while running with the binary, it won't work unless they happen to have the same username as whoever built the binary or manually set up the correct path. Since this isn't a realistic use case, I don't think it's a big deal.