Scribusoid

Recent Posts

Pages: 1 2 3 4 5 6 7 [8] 9 10
71
Linux / Re: Unable to start Scribus after an update
« Last post by Archibaldix on September 17, 2020, 07:07:03 pm »
Still difficult for me. Thanks anyway.

Well : sure now, i install QT version 15.4.0, means it' should works.
But it doesn't work when i try the cmake code.
I understand that maybe qmake don't recognize that i install an other version of QT or something like that.

The following code report :
Code: [Select]
gvp@gvp-MacBookPro:~$ qmake --version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu


So i tryed to change the QT version used, following this :
https://doc-snapshots.qt.io/qtcreator-4.0/creator-project-qmake.html
But doesn't work, qmake --version give me the same result.

I tryed also this :
https://unix.stackexchange.com/questions/116254/how-do-i-change-which-version-of-qt-is-used-for-qmake
but doesn't work.

How to make QT 15.4.0. operationnal ?
Still the Question. Thanks in advance for any tracks.
72
Linux / Re: Unable to start Scribus after an update
« Last post by a.l.e on September 17, 2020, 04:35:33 pm »
that's simple and "in your face" : - )

as so often, errors are best read from the end and there it is: your qt is too old.
you need at least qt 5.11.

for ubuntu it should be pretty easy to add beineri's PPA...
73
Linux / Re: Unable to start Scribus after an update
« Last post by Archibaldix on September 17, 2020, 01:57:55 pm »
Mmmh. Blocked again.
Wel i should first say thanks to the community for answers and to build such explaining pages like the one indicated by a.l.e
(...)
Ok indeed i was doing the install in the 1.4.8 version of Srcibus.
Now i tryed the 1.5 and not being in root,
But it seems there is a problem that stay in place
When i try to run the cmake command i got this erro message :
Code: [Select]
gvp@gvp-MacBookPro:~/scribus15/build$ cmake -DCMAKE_INSTALL_PREFIX:PATH=~/bin/scribus -DWANT_DEBUG=1 ..
-- CMake Version: 3.13.4
-- Shared Library Flags:
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Scribus 1.5.6.svn will be built and installed into /home/gvp/bin/scribus
-- Machine: x86_64-linux-gnu, void pointer size: 8
-- Found target X86_64
-- Building for target x86_64-linux-gnu
-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
-- Using standard ApplicationConfigDir. You can change it with -DAPPLICATION_CONFIG_DIR
-- Enabling C++11 compiler features
CMake Error at CMakeLists_Dependencies.cmake:8 (find_package):
  Could not find a configuration file for package "Qt5Core" that is
  compatible with requested version "5.11.0".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake, version: 5.9.5

Call Stack (most recent call first):
  CMakeLists.txt:380 (include)


-- Configuring incomplete, errors occurred!
See also "/home/gvp/scribus15/build/CMakeFiles/CMakeOutput.log".
gvp@gvp-MacBookPro:~/scribus15/build$

I delete and rebuild the Build directory few times but doesn't work. I also went to update the trunck-package as mentionned but same.

I will try again to find a solution. Any help welcome. Thank you so much.
74
Scripts and Plugins / Re: API - select all and copy all objects
« Last post by a.l.e on September 16, 2020, 10:56:37 pm »
indeed it can only copy one item at a time.

i've opened a ticket to ask for the reason.

without thinking too much i see two workarounds:

- copying one item at a time should be doable. if you turn out the screen refreshing it should not even be really much slower.
- you can group the items in the selection, copy them and then ungroup them again (if you have many items to copy, i would probably group them any way)

i would expect that future versions of scribus will be able to copy multiple items from a script, but the workarounds should be good enough to get your script to work : - )

ciao
a.l.e
75
Linux / Re: Unable to start Scribus after an update
« Last post by a.l.e on September 16, 2020, 10:47:29 pm »
hi archibaldix

there are a few things here...

the most important ones: you are following instructions for scribus 1.5 but got the code for scribus 1.4...

for 1.4 you need qt 4 which you will probably not get so easily on up to date linux distributions.

but you should probably compile scribus 1.5 anyway : - )

i also notice that you're compiling scribus as root. that's not really a good idea.

and running cmake in the main scribus directory: not so good either.

i have some compiling instructions that are now a bit older but should be good enough:

http://www.impagina.org/learn/development

good luck and do not hesitate to ask further questions!

ciao
a.l.e
76
Linux / Re: Unable to start Scribus after an update
« Last post by Archibaldix on September 16, 2020, 09:13:42 pm »
Okay, I surrender. Few hours spent finding the solutions but it doesn't work.
So i followed the page mentionned, this one : https://wiki.scribus.net/canvas/Building_SVN_versions_with_CMake#Package_Manager
I installed subversion, c++
I Installed QT
I think i installed cmake also but not sure
I downloaded the scribus files which is now on place
I installed the list of dependencies suggested

But then, when i wan't to run the following command in the scribus directory :
cmake ./

I have this result which show that there is errors, and scribus still doesn't install :
Code: [Select]
root@gvp-MacBookPro:/home/gvp/scribus14x# cmake ./
CMake Warning (dev) at CMakeLists.txt:744:
  Syntax Warning in cmake code at column 25

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The CXX compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Scribus 1.4.9.svn will be built to install into /usr/local
-- Machine: x86_64-linux-gnu, void pointer size: 8
-- Found target X86_64
-- Building for target x86_64-linux-gnu
CMake Deprecation Warning at CMakeLists.txt:293 (CMAKE_POLICY):
  The OLD behavior for policy CMP0005 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
CMake Error at /usr/share/cmake-3.13/Modules/FindQt4.cmake:1313 (message):
  Found unsuitable Qt version "5.9.5" from /usr/bin/qmake, this code requires
  Qt 4.x
Call Stack (most recent call first):
  CMakeLists.txt:669 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/gvp/scribus14x/CMakeFiles/CMakeOutput.log".
See also "/home/gvp/scribus14x/CMakeFiles/CMakeError.log".

Any idea to get out from this ?
Before that i also try this process :
delete the folder named Scribus, and purge scribus completely, than i went into the Linux software manager, install Linux and than :
nothing appeared as mentioned.

I don't understand where all these problems are coming from whereas Scribus had previously worked wonderfully.
Thanks in advance for any track.
A.
77
Scripts and Plugins / API - select all and copy all objects
« Last post by digirew on September 16, 2020, 08:59:33 pm »
Is it possible to select all objects on a page and copy/paste them into another document? (in a script and not in the program interface itself).

I can see that the copy/paste functions are present, but it seems like I can only do one object at a time?



78
Scripts and Plugins / Re: Python Full Integration plugin issue
« Last post by shassan on September 16, 2020, 03:31:55 pm »
Apologies found the proble. I clicked on wrong installer (should have been 64 bit). Now works all fine :)
79
Scripts and Plugins / Re: Python Full Integration plugin issue
« Last post by shassan on September 16, 2020, 03:20:11 pm »
I checked the version of python in scripter and it states 2.7.15, which is the version of python I installed (https://www.python.org/downloads/release/python-2715/). So not sure what else it could be?
80
Scripts and Plugins / Re: Python Full Integration plugin issue
« Last post by a.l.e on September 16, 2020, 12:06:34 pm »
looks like a version mismatch to me...
Pages: 1 2 3 4 5 6 7 [8] 9 10
palmate