Giter Club home page Giter Club logo

Comments (15)

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

Hi @joakim-tjernlund , a wee question on your description. What do you mean with ebuild? Are you doing your own build? Can you try the deb package? Thanks!

from teams-for-linux.

joakim-tjernlund avatar joakim-tjernlund commented on May 26, 2024

Hi @joakim-tjernlund , a wee question on your description. What do you mean with ebuild? Are you doing your own build? Can you try the deb package? Thanks!

ebuild is Gentoo's pkg format, much like deb is for debian. It is just a small wrapper around the binary you release:

src_install() {
	dodir /opt/${PN}
	cp -a . "${ED}"/opt/${PN} || die

	# install wrapper reading /etc/chromium/* for CHROME_FLAGS
	exeinto /opt/${PN}
	doexe "${FILESDIR}/${PN}.sh"

	# remove chrome-sandbox binary, users should use kernel namespaces
	# https://bugs.gentoo.org/692692#c18
	rm "${ED}"/opt/${PN}/chrome-sandbox || die

	dosym ../../opt/${PN}/${PN}.sh /usr/bin/${PN}

	newicon -s scalable "${FILESDIR}/${PN}.svg" ${PN}.svg
	make_desktop_entry "${EPREFIX}"/opt/${PN}/${PN}.sh "Teams for Linux" \
		${PN} "Network;Chat;InstantMessaging;" \
		"MimeType=x-scheme-handler/msteams;"
}

and the script used to launch teams:

#!/bin/bash

# Allow the user to override command-line flags, bug #357629.
# This is based on Debian's chromium-browser package, and is intended
# to be consistent with Debian.
for f in /etc/chromium/*; do
    [[ -f ${f} ]] && source "${f}"
done

# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
# default CHROMIUM_FLAGS (from /etc/chromium/default).
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"}

# Let the wrapped binary know that it has been run through the wrapper.
export CHROME_WRAPPER="$(readlink -f "$0")"

HERE="$(dirname "$CHROME_WRAPPER")"

exec -a "teams-for-linux" "$HERE/teams-for-linux" ${CHROMIUM_FLAGS} "$@"

from teams-for-linux.

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

Hi, sorry but I don't have experience with ebuild and we already provide a lot of different packaging options. I will leave it open to see if anyone else can help, but otherwise I will recommend to use one of the many packages we provide. Hope helps!

from teams-for-linux.

joakim-tjernlund avatar joakim-tjernlund commented on May 26, 2024

This is nothing odd I think, I download the provided teams-for-linux-1.4.28.tar.gz and unpack it.
The error is odd though, I asked around at work and I am the only one seeing this problem.

from teams-for-linux.

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

maybe the chromium version you are running or one of the libraries? Or a proxy is playing around with you if you are working from home and your co-workers aren't

from teams-for-linux.

joakim-tjernlund avatar joakim-tjernlund commented on May 26, 2024

maybe the chromium version you are running or one of the libraries? Or a proxy is playing around with you if you are working from home and your co-workers aren't

No, it the same problem from home and work. Different computers too.
But today I tried using Google Chrome instead and swa the same problem :(
So I guess this is not a teams-for-linux problem but a MS Teams v2 one.

from teams-for-linux.

joakim-tjernlund avatar joakim-tjernlund commented on May 26, 2024

One difference in Google Chome: I get "You don't have access to this channel" popup window but
the page times out and I get a new pop up:
"Page is Unresponsive" and I can choose "Exit Page" and regain control again.
But as soon as I choose Teams channels again I get the same error.

I deleted lots of old channels of not interest anymore but I still get the same error

from teams-for-linux.

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

I think this then is a MS issue. I think you might have a bit more luck in https://feedbackportal.microsoft.com/feedback/forum/ad198462-1c1c-ec11-b6e7-0022481f8472 . Maybe clean the cache of the app in case is somehow trying to open the latest channel you had open, and that was the one you just deleted and is not handling that situation gracefully.

See https://github.com/IsmaelMartinez/teams-for-linux/blob/develop/KNOWN_ISSUES.md#no-history on how to delete the cache (or history). Don't worry, you don't really delete the data as that is in the MS servers, only the downloaded cache.

from teams-for-linux.

MTijn avatar MTijn commented on May 26, 2024

Same here, noticed before that I had the same issue in Firefox, but that seems to have been resolved now.

Sometimes it does show the pop-up with "You don't have access to this channel" and sometimes I do not, however it does seem to take a lot of CPU load.

  • Cleared the cache by deleting ~/.config/teams-for-linux but that doesn't solve it.
  • Tried different versions, from 1.4.17 to 1.4.29, all have the same issue
  • Chromium seems to have this issue too (Version 123.0.6312.122)
  • Firefox 125.0.2 (64-bit) does not

But can't find any log entries that would point towards the issue at all.

from teams-for-linux.

joakim-tjernlund avatar joakim-tjernlund commented on May 26, 2024

Same here, noticed before that I had the same issue in Firefox, but that seems to have been resolved now.

Can one use Firefox now in Teams v2 without loosing features? Did MS v2 remove PWA?

from teams-for-linux.

joakim-tjernlund avatar joakim-tjernlund commented on May 26, 2024

Updated to google-chrome-beta-125.0.6422.4 and got one error msg I could dismiss and now
the Teams channel work :)
Logs form chrome:

google-chrome-beta
[375987:375987:0423/143123.259636:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
[376127:376127:0423/143124.017466:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
[375933:375933:0423/143125.846662:ERROR:CONSOLE(0)] "Refused to execute script from 'https://www.google.com/chrome/static/js/main.v2.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.", source: https://www.google.com//chrome/404 (0)
Created TensorFlow Lite XNNPACK delegate for CPU.
Warning: DeviceDescriptor.deviceLostCallback and DeviceDescriptor.deviceLostUserdata are deprecated. Use DeviceDescriptor.deviceLostCallbackInfo instead.
Warning: DeviceDescriptor.deviceLostCallback and DeviceDescriptor.deviceLostUserdata are deprecated. Use DeviceDescriptor.deviceLostCallbackInfo instead.

from teams-for-linux.

MTijn avatar MTijn commented on May 26, 2024

Same here, noticed before that I had the same issue in Firefox, but that seems to have been resolved now.

Can one use Firefox now in Teams v2 without loosing features? Did MS v2 remove PWA?

It seems so, in the past I wasn't able to call in Firefox, but in V2 it seems that I can do that.

Not sure what which wouldn't work, selecting backgrounds seems to work too, together mode is visible for me too.

from teams-for-linux.

MTijn avatar MTijn commented on May 26, 2024

Interesting enough it seems that Microsoft solved it, saw the pop-up for the error message, but was able to click it away and continue without any issues.

from teams-for-linux.

joakim-tjernlund avatar joakim-tjernlund commented on May 26, 2024

Interesting enough it seems that Microsoft solved it, saw the pop-up for the error message, but was able to click it away and continue without any issues.

Yes, same for me even in teams-for-linux. I guess we can close this now

from teams-for-linux.

jijojosephk avatar jijojosephk commented on May 26, 2024

Closing as this seems like a temporary issue.

from teams-for-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.