Comments (4)
请定位到出错的代码行,整篇代码贴上来怎么看,从栈中看,貌似都不是dio的问题....
from dio.
说了是访问 response.data
报错阿,在 VSCode 调试器里在 return TangboleApiResponse.fromJson(response.data);
行设置断点,观测 response 变量就报错。
不贴整篇代码难道只贴一行?还没细看就说不是项目的问题,有哪里不清楚提出来就是,别一脸抱怨。提过不少 Issue,发现国人的开源项目对待 Issue 是最不耐心的。Issue 不仅仅是在帮助使用者,同时使用者也在帮助项目改进!
from dio.
The reason is founded, I switched to beta (previous using dev) channel fixed this problem.
from dio.
- 首先你贴的代码里response.data有好几处,具体那一句不明确。
- 任何issue都不会整篇代码往上贴,无论是国内还是国外,如果代码都是必要的,较长,都会在贴完代码后说明哪一行或那一句有问题(如果你上stackoverflow自己应该意识到)。这样可以节省看你issue人的时间。
- 从栈中确实看不到dio内部代码报错信息。
- 贴整篇代码总有把自己项目问题扔给其他人解决之嫌。
- 本人只代表个人,即使本人态度不好,也无关国人,这对为开源社区做贡献的其他人不公平。本项目是为了共同学习,请勿在本项目下贴这种言论,谁都没有义务免费给别人写代码,大家做开源项目,本都是抱有分享之心,这样的言论不利于交流。
- 如果我去一家店,我觉得服务态度不好,我完全可以扭头就走,再说,服务员只是多问了我一句有无忌口。
from dio.
Related Issues (20)
- Can we extend a DNS class to facilitate implementing DNS Over HTTPS HOT 1
- Failed host lookup error at every request after disconnecting and reconnecting to internet. HOT 3
- 302没有带上cookie HOT 1
- Can't send multipart request, file inside json object HOT 1
- When CancelToken.cancel cancels the request and the request times out, StateError is thrown HOT 1
- error: ../../../.pub-cache/hosted/pub.dev/dio-5.4.3/lib/src/form_data.dart:175:54: Error: The argument type 'List<int>' can't be assigned to the parameter type 'Uint8List'. HOT 2
- Running Gradle task 'assembleProfile'.. ../../../.pub-cache/hosted/pub.dev/dio-5.4.3/lib/src/ form_data.dart:175:54: Error: The argument type 'List <int>' can't be assigned to the parameter type 'Uint8list'. HOT 1
- Improve Exception Detailing for Dio HOT 1
- Improve Exception Detailing for Dio Package HOT 1
- SocketException: Connection reset by peer (OS Error: Connection reset by peer, errno = 104), address = XXXX, port = 49440 HOT 2
- Docs for merging between `Options` and `BaseOptions` are not clear HOT 12
- Cookie manager path match error HOT 1
- When using Dio in a web environment, there needs to be a way to disable Dio’s automatic cookie setting HOT 8
- Prompt for not simple requests on Web HOT 2
- DioException response.data is null HOT 1
- [native_dio_adapter] Windows build breaks when adding package HOT 1
- DioException (DioException [connection error]: The connection errored: Connection reset by peer This indicates an error which most likely cannot be solved by the library. HOT 3
- Add privacy manifest file for iOS HOT 1
- incorrect formatting when parsing `multipart` form data using `FormData.fromMap()` causes `NullReferenceException` in .NET backend HOT 2
- I can't return my own errors class in onError interceptor HOT 1
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 dio.