Code Monkey home page Code Monkey logo

Comments (20)

nitramr avatar nitramr commented on September 22, 2024 4

Works! I have copy and pasted the files from Oman project. Here the first AppImage: https://transfer.sh/np7R2/scribus-git2ceac8c-glibc2.14-x86-64.appimage

from scribus-indigo.

luzpaz avatar luzpaz commented on September 22, 2024 1

it looks like it works now 👍
Only thing is if we can tweek the release text to explain what the file is (an appimage)

from scribus-indigo.

nitramr avatar nitramr commented on September 22, 2024

Travis CI has troubles to create the template folder for AppImage package.
https://travis-ci.org/nitramr/scribus-indigo/jobs/173537020

Any ideas how to fix?

from scribus-indigo.

probonopd avatar probonopd commented on September 22, 2024

Looks like an issue with Scribus not directly related to AppImage, is it trying to install the templates to the non-existing /usr/share/scribus rather than to the existing $HOME/Scribus/Scribus.AppDir/usr/share/scribus.

-- Installing: /home/travis/Scribus/Scribus.AppDir/usr/share/scribus/swatches/Japanese_Traditional_README.txt
-- Installing: /home/travis/Scribus/Scribus.AppDir/usr/share/scribus/swatches/CIE-LAB.sbz
-- Installing: /home/travis/Scribus/Scribus.AppDir/usr/share/scribus/swatches/CIE-HLC.sbz
CMake Error at resources/templates/cmake_install.cmake:36 (FILE):
  file problem creating directory: /usr/share/scribus/templates/
Call Stack (most recent call first):
  cmake_install.cmake:74 (include)

Maybe need to use cmake . -DCMAKE_INSTALL_PREFIX=$HOME/Scribus/Scribus.AppDir/usr/ in .travis.yml rather than relying on make install DESTDIR=/home/travis/$APP/$APP.AppDir in the shell script. This might be a bug in the Scribus CMake setup?

from scribus-indigo.

probonopd avatar probonopd commented on September 22, 2024

On Fedora 25 Fedora-Workstation-Live-x86_64-25-20161105.n.0.iso, something about the bundled Python is wrong:

[me@host ~]$ '/home/me/Downloads/scribus-git2ceac8c-glibc2.14-x86-64.appimage' 
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
Scribus Crash
-------------
Scribus crashes due to Signal #11
Segmentation fault 

from scribus-indigo.

nitramr avatar nitramr commented on September 22, 2024

Yes, seems like so. On Ubuntu it looks different as my local installation. Also some icons are missing.

from scribus-indigo.

probonopd avatar probonopd commented on September 22, 2024

Try copying usr/lib/python2.*/ into the AppImage.
Then your AppImage runs for me 👍

from scribus-indigo.

luzpaz avatar luzpaz commented on September 22, 2024

@probonopd How do we provide a link to the latest appimage (instead of telling people manually to find and click on it in the travisCI logs) and it would be awesome if it could be in 'shield' format (see AppImage/AppImageKit#274) ?

EDIT: clarity

from scribus-indigo.

probonopd avatar probonopd commented on September 22, 2024

@luzpaz one way to do it would be using GitHub Releases using a small uploader script along the lines of https://github.com/probonopd/uploadtool. Could then use a shield from https://shields.io/ for GitHub Releases.

from scribus-indigo.

luzpaz avatar luzpaz commented on September 22, 2024

@probonopd that is f'ing brilliant
@nitramr would you consider following those instructions? https://github.com/probonopd/uploadtool#usage

from scribus-indigo.

nitramr avatar nitramr commented on September 22, 2024

Is updated. lets what happens after compiling of Travis.

from scribus-indigo.

luzpaz avatar luzpaz commented on September 22, 2024

So cool! I just saw https://github.com/nitramr/scribus-indigo/releases/tag/continuous
I'm downloading in order to test. Very exciting

from scribus-indigo.

nitramr avatar nitramr commented on September 22, 2024

Could it be that we have now an endless loop?

I could see that Travis compile the same commit more than one time.
https://travis-ci.org/nitramr/scribus-indigo/builds

from scribus-indigo.

nitramr avatar nitramr commented on September 22, 2024

There is an error.

$ ls -lh out/*
ls: cannot access out/: No such file or directory
after_success.2
$ wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
--2016-11-07 23:40:51-- https://github.com/probonopd/uploadtool/raw/master/upload.sh
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/probonopd/uploadtool/master/upload.sh [following]
--2016-11-07 23:40:52-- https://raw.githubusercontent.com/probonopd/uploadtool/master/upload.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.44.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.44.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2826 (2.8K) [text/plain]
Saving to: ‘upload.sh’
100%[======================================>] 2,826 --.-K/s in 0s
2016-11-07 23:40:52 (49.2 MB/s) - ‘upload.sh’ saved [2826/2826]
after_success.3
$ bash ./upload.sh out/

Delete the release...
delete_url:
Delete the tag as well...
delete_url: https://api.github.com/repos/nitramr/scribus-indigo/git/refs/tags/continuous
Create release...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 445 100 246 100 199 1236 1000 --:--:-- --:--:-- --:--:-- 1242
upload_url:
Upload binaries to the release...
Warning: Couldn't read data from file "out/*", this makes an empty POST.
curl: (3) malformed

from scribus-indigo.

probonopd avatar probonopd commented on September 22, 2024

Instead of out/*, point upload.sh to the AppImage...

from scribus-indigo.

luzpaz avatar luzpaz commented on September 22, 2024

Instead of out/*, point upload.sh to the AppImage...

@nitramr when you get a moment can you try the above?

from scribus-indigo.

nitramr avatar nitramr commented on September 22, 2024

I have absolute no idea what is to do. How can I point to the AppImage? As I understand it right the file name of the AppImage will random generated.

from scribus-indigo.

probonopd avatar probonopd commented on September 22, 2024

As of today, the AppImage is missing from the GitHub Releases page.

from scribus-indigo.

corebots avatar corebots commented on September 22, 2024

the downloadlink to the Appimage on the wiki is dead = Not Found. Is there an appimage for the latest version please? or perhaps a Flatpak ? would be really awsome to have a Flatpak for the scribus-indigo to test on Fedora btw!

from scribus-indigo.

probonopd avatar probonopd commented on September 22, 2024

Each Travis CI build log contains a transfer.sh download link which is active for 14 days. A current one is
https://transfer.sh/WIW1O/scribus-git34e313e-glibc2.14-x86-64.appimage
It should run on Fedora, as well as almost every other Linux distribution since 2014.

from scribus-indigo.

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.