Giter Site home page Giter Site logo

Comments (4)

isoos avatar isoos commented on September 3, 2024 1

Based on the pana version, and the observable data, this seems to be a cache issue in combination with partial traffic migration of a new release we are rolling out (as I see only the "current" site version with earlier pana). The new release picked up the newly published version earlier than its version list cache expired, and failed to analyze it in the first attempt.

@fraca98: you don't need to do anything, there will be a repeated attempt to analyze the package and it will pick up the correct version.

@jonasfj: we shall extend the download util to use explicit downloadUrl when it is available, it seems to be easier to do than figuring out cache invalidation across runtime versions.

from pana.

fraca98 avatar fraca98 commented on September 3, 2024

Hi sorry for the question. I published a package on pub.dev and from the Pana analysis i get this error. Is there anything I can do to fix it?

0/10 points: Failed to run dartdoc

    Running dartdoc failed with the following error: Bad state: No element

#0      ListMixin.firstWhere (dart:collection/list.dart:167:5)
#1      downloadPackage (package:pana/src/download_utils.dart:48:10)
<asynchronous suspension>
#2      StackZoneSpecification._registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:15)
<asynchronous suspension>

I'm a little bit confused cause it never happened to me before 😢

from pana.

isoos avatar isoos commented on September 3, 2024

@fraca98: what was the package/version?

from pana.

fraca98 avatar fraca98 commented on September 3, 2024

@fraca98: what was the package/version?

This is the package https://pub.dev/packages/withings_flutter and the issue is related to the last version (1.0.3). You can check the error in the section 'Scores'.
It's reported:
Analysed with Pana 0.21.22, Flutter 3.3.9, Dart 2.18.5.

from pana.

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.