Latest Fuselibs not loading images via url


#1

Hello! After upgrading to the latest Fuselibs (25.10.2018) Image or ImageFill classes with Url doesn’t load anymore on Preview+iOS+Android. Can be reproduced with:

<Image Url="https://www.example.com/anyimagehere.jpg" />

#2

@kusma @Morten_Daniel_Fornes probably cos of latest change from Buffer to byte[]?

Seems you guys missed a few spots…

Fuse.Drawing

Fuse.Text

Fuse.Elements

Fuse.Drawing.Primitives - Rectangle


#3

This sounds more like trying to use a new fuselibs with old uno to me…?


#4

That’s the case! I wasn’t aware that the two should be up-to-date together since in the docs they are introduced as separate (installation etc).


#5

Oh shucks, yeah, that’s probably it @kusma, will test and get back to y’all.


#6

Hello! I’m getting the same “Could you be missing a package reference” error after this:

  1. Download Uno 1.10
  2. git clone https://github.com/fusetools/fuselibs-public.git (to /Users/mattitihverainen/Fuse/fuselibs-public)
  3. Add if (DEV) {Packages.SourcePaths += “/Users/mattitihverainen/Fuse/fuselibs-public”} to ~/.unoconfig
  4. Run “make” in Uno directory (output as an attachment) output.txt.zip (83.9 KB)

“uno config” says:

Android.NDK.Directory      /Users/mattitihverainen/Library/Android/sdk/ndk-bundle
Android.SDK.BuildToolsVersion (../../Library/Application Support/Fusetools/Fuse/Android) 23.0.1
Android.SDK.Directory      /Users/mattitihverainen/Library/Android/sdk
Assemblies.Plugins         src/compiler/Uno.Compiler.Extensions/bin/Debug/Uno.Compiler.Extensions.dll
Assemblies.Test            src/testing/Uno.TestRunner.CLI/bin/Debug/uno-test.exe
Assemblies.TestGen         src/testing/Uno.TestGenerator/bin/Debug/uno-test-gen.exe
Assemblies.Uno             src/main/Uno.CLI.Main/bin/Debug/uno.exe
CMake                      /Users/mattitihverainen/Library/Android/sdk/cmake
HaveAllSDKPackages         (../../Library/Application Support/Fusetools/Fuse/Android) false
Java.JDK.Directory         /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
Packages.Default           (config) Fuse
                           (config) FuseJS
Packages.Feeds             https://www.myget.org/F/fuse/api/v2
Packages.InstallDirectory  prebuilt/lib
Packages.SourcePaths       /Users/mattitihverainen/Fuse/fuselibs-public
                           lib
                           lib/fuselibs/Source
                           lib/premiumlibs/Source
Paths.AppLoader            src/runtime/@(AppLoaderProj)/bin/Debug

#7

Following aeq’s instructions in Oct 2018 - How to update to latest Fuselibs and Uno and adding “/Source” to the SourcePaths did the trick.


#8

@kusma could you please check the how to and let us know what’s missing or not right cos a hello world is not working at the moment: Oct 2018 - How to update to latest Fuselibs and Uno


#9

Are you commenting on the wrong thread? Sounds like things works for the op…


#10

I was a bit hasty with reporting my success because eventually running “fuse preview” gives a fatal error “Object reference not set to an instance of an object” even with a simple

<App></App>

project. I followed aeq’s steps in the post linked above.