Giter Club home page Giter Club logo

Comments (16)

neoiarst avatar neoiarst commented on May 26, 2024

Edit: I didn't pay enough attention to the issue, sorry for confusing the issue.

I've been getting a similar issue for a couple of days,

OS:

  • Debian trixie (Linux 6.6.15-amd64) (testing)
  • Installation package: snap
  • $teams-for-linux --version
    1.4.25

Currently it won't open at all.

I am guessing this is related to Microsoft's Teams rollout timeframe (a staff member had issues with Teams Classic today for the first time and I had to shift him over to New Teams on Win10)

Edit: I should add that I was using Teams V2, but I closed and reset storage this one time after it didn't connect on start and that means it has defaulted back to Teams v1

Edit 2:
I launched with
$teams-on-linux --optInTeamsV2
and it was slow and I terminated it and it crashed with unrelated SIGSEGV Address boundary error

Then I tried
$teams-on-linux --optInTeamsV2 --clearStorage
and it launched and let me log in, the title bar said classic at first, then reverted but,

  1. I only got a white screen (about 1minute)
  2. Eventually the teams logo with a shimmer loaded
  3. Around 3minutes from original launch I noticed a different Teams login window which is completely unresponsive

Edit: Issue was not the same and was due to a Microsoft outage, sorry for confusing the issue. I did however find myself learning more about this project, so a win I guess.

from teams-for-linux.

jrevillard avatar jrevillard commented on May 26, 2024

I don't know if this is the same issue... it seems that the process in my case is blocked in the custom background management isn't it ?

I'm also using Teams V2 and I did not clear the storage. In my case, the teams-for-linux user interface even do not show.

Best,
Jerome

from teams-for-linux.

jijojosephk avatar jijojosephk commented on May 26, 2024

If you're facing issue with snap, try deb or rpm or may be flatpak

from teams-for-linux.

jijojosephk avatar jijojosephk commented on May 26, 2024

@jrevillard is it when you give custom background url? leave the defaults and try. Another reason could be you're using a proxy to connect to internet.

from teams-for-linux.

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

Hi @jrevillard , can you try to start the command with --appLogLevels=error,info,warn,debug and put the output in here?

That appLogLevels doesn't use a hierarchical logic. I suspect you are right and the custom background might be doing something funny. I mean, they aren't working and we know that, but they should not stop the app from starting.

@neoiarst , I also think is a different issue. Check #1156 and see if using those config options works (they can also be run as command options)

from teams-for-linux.

jrevillard avatar jrevillard commented on May 26, 2024

No more logs....:

~ ❯ teams-for-linux --webDebug --appLogLevels=error,info,warn,debug --optInTeamsV2                                                                                                     
[DEBUG] configPath:,/home/jerome/.config/teams-for-linux
[DEBUG] configFile:,[object Object]
[DEBUG] Fetching custom background configuration from 'http://127.0.0.1:81/config.json'

The web page is working:

~ ❯ curl http://127.0.0.1:81/config.json
[
        {
                "filetype": "jpg",
                "id": "image",
                "name": "image",
                "src": "/Teams_Background_thumbnail_1920x1080.jpg",
                "thumb_src": "/Teams_Background_thumbnail_280x158.jpg"
        }
]

With default url, same issue... it never timeout.

Best,
Jerome

from teams-for-linux.

jijojosephk avatar jijojosephk commented on May 26, 2024

What if you give http://localhost:81 ?

from teams-for-linux.

jrevillard avatar jrevillard commented on May 26, 2024

What if you give http://localhost:81 ?

I will tell you as soon as it blocks again :-)... since a couple of minutes, now it works:

~ ❯ teams-for-linux --webDebug --appLogLevels=error,info,warn,debug --optInTeamsV2                                                                                                        12s
[DEBUG] configPath:,/home/jerome/.config/teams-for-linux
[DEBUG] configFile:,[object Object]
[DEBUG] Fetching custom background configuration from 'http://127.0.0.1:81/config.json'
[DEBUG] Custom background service url is 'http://127.0.0.1:81'
[DEBUG] processArgs:,/opt/teams-for-linux/teams-for-linux,--webDebug,--appLogLevels=error,info,warn,debug,--optInTeamsV2
[DEBUG] Testing network using net.request() for https://teams.microsoft.com/
....

Strange the order of those 2 lines isn't it ?:

[DEBUG] Fetching custom background configuration from 'http://127.0.0.1:81/config.json'
[DEBUG] Custom background service url is 'http://127.0.0.1:81'

Best,
Jerome

from teams-for-linux.

jb-lopez avatar jb-lopez commented on May 26, 2024

I'd like to add that for me at least there is some issue with the snap version. I can run the snap when initially installed. But when I exit teams and relaunch it, it fails to launch with this:

$>teams-for-linux 
[WARN] No config file found, using default values
dbus-send: /snap/teams-for-linux/567/lib/x86_64-linux-gnu/libdbus-1.so.3: version `LIBDBUS_PRIVATE_1.12.20' not found (required by dbus-send)

(teams-for-linux:1458369): Gtk-WARNING **: 08:57:44.811: Theme parsing error: gtk.css:3536:25: 'font-feature-settings' is not a valid property name
Gtk-Message: 08:57:44.819: Failed to load module "colorreload-gtk-module"
Gtk-Message: 08:57:44.819: Failed to load module "window-decorations-gtk-module"

(teams-for-linux:1458369): Gtk-WARNING **: 08:57:44.900: Theme parsing error: gtk.css:3536:25: 'font-feature-settings' is not a valid property name
Illegal instruction (core dumped)

The deb version does not have this issue. Thanks for the great work!

from teams-for-linux.

jrevillard avatar jrevillard commented on May 26, 2024

What if you give http://localhost:81 ?

Ok so starting my computer today and same issue again... localhost does not change anything:

> ~ ❯ teams-for-linux --webDebug --appLogLevels=error,info,warn,debug --optInTeamsV2 --customBGServiceBaseUrl http://localhost:81
[DEBUG] configPath:,/home/jerome/.config/teams-for-linux
[DEBUG] configFile:,[object Object]
[DEBUG] Fetching custom background configuration from 'http://localhost:81/config.json'

from teams-for-linux.

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

custom background is not working currently for teams v2 so this might be making this fail.

If you still need custom background, I would recommend using OBS or similar until we get it fixed in here.

Also, the command tends to work better if you put a = instead of a space between customBGServiceBaseURL and the http...

teams-for-linux --webDebug --appLogLevels=error,info,warn,debug --optInTeamsV2 --customBGServiceBaseUrl=http://localhost:81 , but again, I think that part of the code is just broken.

from teams-for-linux.

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

Ok, this could be related to the move to electron 30.0.0. We have reverted this. Can you try https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v1.4.34 ?

from teams-for-linux.

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

Hi, there is a possible fix for the custom background logic under #1226 Is is possible one of you can check if that works? If so we can expedite its delivery. Thanks!

from teams-for-linux.

jijojosephk avatar jijojosephk commented on May 26, 2024

Upstream issue 41839.

from teams-for-linux.

jrevillard avatar jrevillard commented on May 26, 2024

Hi, there is a possible fix for the custom background logic under #1226 Is is possible one of you can check if that works? If so we can expedite its delivery. Thanks!

Sorry for the late reply... I just reboot and it's stuck:

~ ❯ teams-for-linux --version 
1.4.37
~ ❯ teams-for-linux --webDebug --appLogLevels=error,info,warn,debug --optInTeamsV2 --customBGServiceBaseUrl=http://localhost:81
[DEBUG] configPath:,/home/jerome/.config/teams-for-linux
[DEBUG] configFile:,[object Object]

I cannot abort anymore using Ctrl+C or anything else... I have to kill it from another terminal.

Wouldn't it be possible to add a new option to simply bypass all this logic ?

Best,
Jerome

from teams-for-linux.

IsmaelMartinez avatar IsmaelMartinez commented on May 26, 2024

Hi @jrevillard , do you mean disable the background logic? It should be disabled by default in 1.4.37 as we changed the default value of isCustomBackgroundEnabled to be false. If you want to use customBackground you will need to enable that in your config file and/or command line.

Something to notice is that the custom background images do require you to put a prefix /evergreen-assets/backgroundimages/ as shown in:

https://github.com/jonatasrs/teams-for-linux/blob/develop/app/config/README.md#configuring-list-of-images

Can you put the content the config.json file and the curl http://127.0.0.1:81/config.json ? Thanks

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.