excel icon indicating copy to clipboard operation
excel copied to clipboard

App will not compile with excel 4.0.3 and flutter 3.24 as of outdated archive 3.4.9 package.

Open asafgo opened this issue 1 year ago • 16 comments

App will not compile with excel 4.0.3 and flutter 3.24 as of outdated archive 3.4.9 package with error:

/C:/Users/yyyy/AppData/Local/Pub/Cache/hosted/pub.dev/archive-3.4.9/lib/src/bzip2/bzip2.dart:5:7: Error: Method not found: 'UnmodifiableUint8ListView'.
UnmodifiableUint8ListView(Uint8List(0));

Please update the package to use archive: ^3.6.1

asafgo avatar Aug 07 '24 12:08 asafgo

Same here.

simeonangelov94 avatar Aug 08 '24 05:08 simeonangelov94

Facing the same issue...

/~/.pub-cache/hosted/pub.dev/archive-3.1.1/lib/src/bzip2/bzip2.dart:9:7: Error: Method not found: 'UnmodifiableInt32ListView'. UnmodifiableInt32ListView(Int32List(0));

najibkr avatar Aug 08 '24 06:08 najibkr

same issue for me with excel 4.0.2 and flutter 3.24.0

x1d3veloper avatar Aug 08 '24 08:08 x1d3veloper

What is working for me, after upgrading to flutter 3.24 is to open pubspec.yaml and downgrade excel package to 4.0.2 like so excel: ^4.0.2 and then add archive 3.6.1 like so archive: ^3.6.1 and save the file so it will update the packages as needed.

asafgo avatar Aug 08 '24 08:08 asafgo

+1

ps6067966 avatar Aug 09 '24 03:08 ps6067966

What is working for me, after upgrading to flutter 3.24 is to open pubspec.yaml and downgrade excel package to 4.0.2 like so excel: ^4.0.2 and then add archive 3.6.1 like so archive: ^3.6.1 and save the file so it will update the packages as needed.

Application will be compiled but excel download functionality is not working.

KirubaKaran2001 avatar Aug 09 '24 05:08 KirubaKaran2001

same here

Tom-ne avatar Aug 09 '24 21:08 Tom-ne

Also seeing this issue.

frankylee avatar Aug 10 '24 00:08 frankylee

As a temporary workaround, it seems to work to use archive 3.6.1 as a dependency override.

Use the 3.6.1 version in the yaml dependencies:

  archive: 3.6.1

Add an override section with archive 3.6.1:

dependency_overrides:
  # Remove this override when the excel package releases 4.0.4+
  archive: 3.6.1

mikeesouth avatar Aug 10 '24 15:08 mikeesouth

@FauconSpartiate @justkawal Please I am waiting update.

adaonder avatar Aug 11 '24 10:08 adaonder

@FauconSpartiate @justkawal

The version on pub.dev is 4.0.4 with archive: 3.4.9.

The fix for archive: ^3.4.10 is for version 4.0.6 which is not on pub.dev.

Could you publish the new version on pub.dev ?

jmguazzo avatar Aug 12 '24 14:08 jmguazzo

Only @justkawal has the permissions

FauconSpartiate avatar Aug 12 '24 15:08 FauconSpartiate

Only @justkawal has the permissions

Doing it today, Sorry for the delay.

justkawal avatar Aug 12 '24 18:08 justkawal

@justkawal any news?

Carapacik avatar Aug 15 '24 13:08 Carapacik

Use this temporarily in pubspec.yaml until released to pub.dev

dependencies:
  excel:
    git:
      url: https://github.com/justkawal/excel.git
      ref: cd926d47af4fc81f31a102f566d0c643c2ef7dcd #Last commit ref

BlastTea avatar Aug 16 '24 23:08 BlastTea

Use this temporarily in pubspec.yaml until released to pub.dev

dependencies:
  excel:
    git:
      url: https://github.com/justkawal/excel.git
      ref: cd926d47af4fc81f31a102f566d0c643c2ef7dcd #Last commit ref

Doing this, working fine now. But please update the package and release a permanent solution

Istiak-Ahmed78 avatar Aug 18 '24 11:08 Istiak-Ahmed78

@justkawal i created a pull request to fix this https://github.com/justkawal/excel/pull/390

the comments above wont actually work with acthive: 4.0.0 and above., for anybody that needs a fix in the meantime:

dependencies:
  excel:
    git:
      url: https://github.com/quaaantumdev/excel.git
      ref: 6dcb88eaba9837f534a54c0ca86bac7576f2a7d5

quaaantumdev avatar Dec 31 '24 22:12 quaaantumdev