Giter VIP home page Giter VIP logo

Comments (10)

IoanaAlexandru avatar IoanaAlexandru commented on September 22, 2024 1

@Abhijeet-sonkar go ahead.

from acs-upb-mobile.

IoanaAlexandru avatar IoanaAlexandru commented on September 22, 2024

@andreicmirciu is this the same issue you were having? Can you add some details based on your experience?

from acs-upb-mobile.

Abhijeet-sonkar avatar Abhijeet-sonkar commented on September 22, 2024

Can I work on this issue?

from acs-upb-mobile.

Abhijeet-sonkar avatar Abhijeet-sonkar commented on September 22, 2024

While running flutter run -d chrome
I am getting this error
bug

@IoanaAlexandru @gabrielGavriluta Can you help me with this?

from acs-upb-mobile.

IoanaAlexandru avatar IoanaAlexandru commented on September 22, 2024

@Abhijeet-sonkar looks like your timezone is not supported by the time_machine package. Our team's (and users') default timezone is Romanian, can you try changing your device timezone to that instead?

There is an open issue on the package about this, but the developer hasn't been active in a while: Dana-Ferguson/time_machine#24

from acs-upb-mobile.

Abhijeet-sonkar avatar Abhijeet-sonkar commented on September 22, 2024

@Abhijeet-sonkar looks like your timezone is not supported by the time_machine package. Our team's (and users') default timezone is Romanian, can you try changing your device timezone to that instead?

There is an open issue on the package about this, but the developer hasn't been active in a while: Dana-Ferguson/time_machine#24

Changing the timezone worked for me 👍
But while running the app on chrome I could not find this error #54
Can you specify the screen which on rendering causes this issue?

from acs-upb-mobile.

IoanaAlexandru avatar IoanaAlexandru commented on September 22, 2024

@Abhijeet-sonkar it's a rather odd issue because it doesn't happen all the time. You need to try to navigate between pages and/or open some of the websites on the Portal page (after logging in anonymously) to replicate it.

from acs-upb-mobile.

andreicmirciu avatar andreicmirciu commented on September 22, 2024

@andreicmirciu is this the same issue you were having? Can you add some details based on your experience?

While browsing anonymously throughout the application (without being logged in with an account), at one moment, the Portal tab crashes and a red screen is displayed, please see below screenshot:

Red Screen

If I look in the console, I can see the following error showing up:

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
type 'double' is not a subtype of type 'bool' in type cast
The relevant error-causing widget was: ListTileTheme acs-upb-mobile/lib/widgets/spoiler.dart:74:14

In order to reproduce this issue, you have to navigate between all those tabs (like People, Home etc.) multiple times, even try to randomly press some options (for instance, on the People page, open the additional information for any entries in the list) and at some point you will end up with this error being displayed in the Portal page.

from acs-upb-mobile.

IoanaAlexandru avatar IoanaAlexandru commented on September 22, 2024

This is pretty tough to reproduce. I think it has something to do with the bottom navigation bar's page storage interfering with ExpansionTile's page storage, but I don't completely understand at the moment.

Here's a more complete stack trace:

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following _CastError was thrown building ListTileTheme:
type 'double' is not a subtype of type 'bool' in type cast

The relevant error-causing widget was: 
  ListTileTheme file:///C:/Users/sako_/StudioProjects/acs-upb-mobile/lib/widgets/spoiler.dart:74:14
When the exception was thrown, this was the stack: 
#0      _ExpansionTileState.initState (package:flutter/src/material/expansion_tile.dart:184:63)
#1      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4765:58)
#2      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
...     Normal element mounting (54 frames)
#56     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

from acs-upb-mobile.

IoanaAlexandru avatar IoanaAlexandru commented on September 22, 2024

The fix here seems pretty straightforward, I'll give it a shot: flutter/flutter#10868

from acs-upb-mobile.

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.