Comments (4)
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.
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.
@fraca98: what was the package/version?
from pana.
@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)
- FileSystemException when the tar.gz archive has a `dir` entry.
- Pana should use `dart pub` to download and extract packages. HOT 1
- dependency-check SDK constraint semver issues w/ 3.0 dev builds? HOT 4
- pana report exceeded size threshold (44735 > 16384) HOT 2
- pana fails checking the screenshots HOT 4
- Pana unable to resolve example on pub dev, but passing locally HOT 1
- Pana should not fail to verify repo URL if it detects a malformed `pubspec.yaml`
- dart analyze fails with "Output exceeded n bytes" HOT 5
- Windows fails to validate pubspec.yaml due to unnormalized path separator HOT 1
- Pana should use --suppress-analytics instead of --no-analytics HOT 2
- In scoring report, null-safety section should be replaced by dart-3-compatible. HOT 1
- My package isn't web supported because it depends on another package that is??? HOT 5
- Dart 3 compatibility can be confusing when there are Flutter errors HOT 1
- Bad markdown in report HOT 1
- What is `dart:html_common` HOT 1
- [Question] Identify undocumented API elements. HOT 3
- Pana assumes that the git root is the package directory HOT 4
- [meta] pana standalone should be the same as pub.dev output
- Pana crashes when package:lints is not found locally. HOT 5
- Pana uses beta flutter version on pub.dev
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pana.