Page 9 of 11

Re: Porteus-3.2rc2 bug reports

Posted: 28 May 2016, 11:26
by Blaze
Xfce x86_64

I tried to install wps-office via command

Code: Select all

update-wps-office
Note. I think that after creating module need to open /tmp folder (If it GUI of course, not Text mode)

I tried to run wps, and I saw this message

Code: Select all

root@porteus:~# wps
/opt/kingsoft/wps-office/office6/wps: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
hm..., ok let's check

Code: Select all

root@porteus:~# ls /tmp/wps-office-10.1.0.5503~a20p2-x86_64-1/usr/
bin/  share/  usr64/
root@porteus:~# 
usr64/ ??? It's wrong path.

I moved all files and directories from usr64 to usr of wps-office-10.1.0.5503~a20p2-x86_64-1.xzm and wps office is work for me now.
Please check and fix your update-wps-office script. Thanks.

Re: Porteus-3.2rc2 bug reports okular pdf

Posted: 28 May 2016, 17:51
by zagreb
can be added okular pdf o25 as in antix 16...

thanks

Re: Porteus-3.2rc2 bug reports

Posted: 28 May 2016, 21:43
by brokenman
@Blaze
I ran wps and all seems ok here. The wps that is on the server also seems ok.

@zagreb
Okular is too large too add to Porteus. There is already a lightweight PDF viewer.

dolphin

Posted: 29 May 2016, 00:13
by julian2407
hi i'm new on this forum. sorry my bad english, i speak spanish. any way, my problem it is no icons for the folders on dolphin, just tmp folder icon. i want to use live porteus, and this is the problem. please tell me the solution. thanks everybody. great distro!

Re: Porteus-3.2rc2 bug reports

Posted: 29 May 2016, 04:54
by brokenman
Try installing the oxygen icon theme from here:
https://slackbuilds.org/mirror/alien/kt ... 1alien.txz

Re: Porteus-3.2rc2 bug reports

Posted: 29 May 2016, 09:26
by Blaze
brokenman, it's strange..., probably you are run your script under i486 architecture.
I try to run again your update-wps-office script (x86_64) and stuck with this issue with libpng12.so.0: cannot open shared object file: No such file or directory
Image

Code: Select all

root@porteus:~# wps
/opt/kingsoft/wps-office/office6/wps: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
root@porteus:~# ln -s /usr/usr64/lib64/libpng12.so.0.56.0 /usr/lib64/libpng12.so.0
root@porteus:~# wps
I fix it via symbolic link - but this fix is not good variant :crazy:

IMHO wps-office-10.1.0.5503~a20p2-x86_64-1/usr/usr64 - it's wrong path.
Image
after this fix wps office is running.

******************************

Xfce x86_64

1) I can't to unpack some .rar archive files via P7ZIP 9.38 Beta [64-bit] - Error : Unsupported Method

For example this arhive click on the button 'Скачать'.
Image

Code: Select all

root@porteus:~/Downloads# 7z x Android-ADB-Driver.rar

7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
p7zip Version 9.38.1 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs,ASM)

Processing archive: Android-ADB-Driver.rar

Extracting  Android ADB Driver/amd64/NOTICE  :  Error : Unsupported Method
Extracting  Android ADB Driver/amd64/WdfCoInstaller01007.dll  :  Error : Unsupported Method
Extracting  Android ADB Driver/amd64/WinUSBCoInstaller.dll  :  Error : Unsupported Method
Extracting  Android ADB Driver/amd64/WUDFUpdate_01007.dll  :  Error : Unsupported Method
Extracting  Android ADB Driver/androidwinusb86.cat  :  Error : Unsupported Method
Extracting  Android ADB Driver/androidwinusba64.cat  :  Error : Unsupported Method
Extracting  Android ADB Driver/android_winusb.inf  :  Error : Unsupported Method
Extracting  Android ADB Driver/i386/NOTICE  :  Error : Unsupported Method
Extracting  Android ADB Driver/i386/symar.dll  :  Error : Unsupported Method
Extracting  Android ADB Driver/i386/WdfCoInstaller01007.dll  :  Error : Unsupported Method
Extracting  Android ADB Driver/i386/WinUSBCoInstaller.dll  :  Error : Unsupported Method
Extracting  Android ADB Driver/i386/WUDFUpdate_01007.dll  :  Error : Unsupported Method
Extracting  Android ADB Driver/source.properties  :  Error : Unsupported Method
Extracting  Android ADB Driver/amd64
Extracting  Android ADB Driver/i386
Extracting  Android ADB Driver

Sub items Errors: 13

Archives with Errors: 1

Sub items Errors: 13
root@porteus:~/Downloads#
If I use unrar (in terminal) or Engrampa-1.14.1-x86_64-1gv.txz (GUI) - all ok. Plus to Engrampa.

BTW in GUI it will better to see context menu with: unpack (Extract) and pack (Arhive). Like this
Image
All credits to PeaZip (about context menu)

2) libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory (deb2xzm does not work)

Code: Select all

root@porteus:~/Downloads# deb2xzm peazip_6.0.1.LINUX.GTK2-2_all.deb peazip_6.0.1.LINUX.GTK2-2_all.xzm
ar: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
root@porteus:~/Downloads#
heh

Code: Select all

root@porteus:~/Downloads# usm -g libbfd

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) libbfd-2.23.52.0.1.20130226.so,libcryptopp.so,libdl.so.2,libgcc_s.so.1,libm.so.6,libpthread.so.0,libstdc++.so.6,libwx_baseu-2.8.so.0,libwx_baseu_net-2.8.so.0,libwx_gtk2u_adv-2.8.so.0,libwx_gtk2u_core-2.8.so.0,libz.so.1
2) libbfd-2.23.52.0.1.20130226.so,libdl.so.2,libgcc_s.so.1,libm.so.6,libpopt.so.0,libstdc++.so.6,libz.so.1
3) libbfd-2.23.52.0.1.20130226.so,libdl.so.2,libgcc_s.so.1,libm.so.6,libpthread.so.0,librt.so.1,libstdc++.so.6,libusb-0.1.so.4,libusb-1.0.so.0,libz.so.1
4) libbfd-2.23.52.0.1.20130226.so,libdl.so.2,libm.so.6,libopcodes-2.23.52.0.1.20130226.so,libpthread.so.0,libz.so.1
5) libbfd-2.25.so,libdl.so.2,libm.so.6,libopcodes-2.25.so,libz.so.1
#? 5

Processing:   libbfd-2.25.so,libdl.so.2,libm.so.6,libopcodes-2.25.so,libz.so.1 
          

==============================================================================
WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
==============================================================================
One or more errors occurred while usm was running:                       
 
FATAL ERROR!
 resolve_deps 390
Please wait 6 hours for the next database update. Could not find: LIBS.TXT
 
============================================================================== 

root@porteus:~/Downloads

Re: Porteus-3.2rc2 bug reports

Posted: 29 May 2016, 21:53
by brokenman
libbfd error was coming from udated binutils but I didnt update the binaries copied to TREE (learning something new every day). Fixed now.

DO you think we should dump 7z all together? Seems to be more problems that it's worth.

Re: Porteus-3.2rc2 bug reports

Posted: 30 May 2016, 00:57
by Bogomips
brokenman wrote:DO you think we should dump 7z all together? Seems to be more problems that it's worth.
It seems 7z works when others like unrar fail:

Code: Select all

guest@porteus:~$ 7z l first-file-plain.rar

7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
p7zip Version 9.38.1 (locale=C,Utf16=off,HugeFiles=on,1 CPU)

Listing archive: first-file-plain.rar

--
Path = first-file-plain.rar
Type = Rar
Physical Size = 131
Solid = -
Blocks = 2
Multivolume = -
Volumes = 1

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2012-02-28 20:59:49 ....A            4            4  1
2012-02-28 20:59:49 ....A            4           16  2
------------------- ----- ------------ ------------  ------------------------
2012-02-28 20:59:49                  8           20  2 files

Re: Porteus-3.2rc2 bug reports

Posted: 30 May 2016, 08:24
by Evan
<removed>

Re: Porteus-3.2rc2 bug reports

Posted: 30 May 2016, 09:22
by Blaze
What about 7-Zip 16.02 http://www.7-zip.org/history.txt ?

With p7zip-15.14.1-x86_64-1tom.txz and p7zip-15.14.1-i586-1tom.txz in the terminal mode all seems works well.

Code: Select all

root@porteus:~/Downloads# 7z x Android-ADB-Driver.rar

7-Zip [64] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31
p7zip Version 15.14.1 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs x64)

Scanning the drive for archives:
1 file, 6381533 bytes (6232 KiB)

Extracting archive: Android-ADB-Driver.rar
--
Path = Android-ADB-Driver.rar
Type = Rar
Physical Size = 6381533
Solid = -
Blocks = 16
Multivolume = -
Volumes = 1

Everything is Ok

Folders: 3
Files: 13
Size:       7829549
Compressed: 6381533
root@porteus:~/Downloads# 

Re: Porteus-3.2rc2 bug reports

Posted: 01 Jun 2016, 18:30
by Blaze
brokenman, I'm working over ~/.config/Thunar/uca.xml for Xfce

At this moment i finished these sections - extract and add to 7z archive (it work good with p7zip-15.14.1-x86_64-1tom and p7zip-15.14.1-i586-1tom - look at previous page of this topic) for context menu of Thunar (Xfce) without dialogs.

I think need to drop p7zip Version 9.38.1 with 7zFM (with GUI edition) and stay with p7zip-15.14.1 or p7zip-16.02 (terminal edition + my 7z context menu)

Code: Select all

<action>
    <icon>package-x-generic</icon>
    <name>Extract here</name>
    <name xml:lang="ru">Распаковать здесь</name>
    <unique-id>1406927955138667-13</unique-id>
    <command>mkdir %N;cd %N;7z x %F</command>
    <description>Extract without dialogs</description>
    <description xml:lang="ru">Распаковать без диалоговых окон</description>
    <patterns>*.7z;*.zip;*.ZIP;*.rar;*.RAR;*.r0*;*.R0*;*.*01;*.tar;*.TAR;*.gz;*.GZ;*.tar.bz2;*.TAR.BZ2;*.gzip;*.GZIP;*.tgz</patterns>
    <directories/>
    <audio-files/>
    <image-files/>
    <other-files/>
    <text-files/>
    <video-files/>
</action>
<action>
    <icon>application-7zip</icon>
    <name>Add to 7z archive</name>
    <name xml:lang="ru">Запаковать в 7z архив</name>
    <unique-id>1406927957138867-14</unique-id>
    <command>7z a %f.7z %N</command>
    <description>Add to 7z archive without dialogs</description>
    <description xml:lang="ru">Запаковать в 7z архив без диалоговых окон</description>
    <patterns>*</patterns>
    <directories/>
    <audio-files/>
    <image-files/>
    <other-files/>
    <text-files/>
    <video-files/>
</action>
What about rpm2xzm?
Add these lines to ~/.config/Thunar/uca.xml

Code: Select all

<action>
	<icon>rpm</icon>
	<name>rpm2xzm</name>
	<unique-id>1406927432353716-5</unique-id>
	<command>/opt/porteus-scripts/context-menu/convert_rpm %f</command>
	<description>Convert a rpm archive to a porteus module</description>
	<patterns>*.rpm</patterns>
	<other-files/>
</action>
Bugs report - deb2xzm in context menu does not have icon. For fix it

Open ~/.config/Thunar/uca.xml

find

Code: Select all

<action>
	<icon>start-here-debian</icon>
	<name>deb2xzm</name>
	<unique-id>1406927432353616-4</unique-id>
	<command>/opt/porteus-scripts/context-menu/convert_deb %f</command>
	<description>Convert a debian archive to a porteus module</description>
	<patterns>*.deb</patterns>
	<other-files/>
</action>
replace with

Code: Select all

<action>
	<icon>deb</icon>
	<name>deb2xzm</name>
	<unique-id>1406927432353616-4</unique-id>
	<command>/opt/porteus-scripts/context-menu/convert_deb %f</command>
	<description>Convert a debian archive to a porteus module</description>
	<patterns>*.deb</patterns>
	<other-files/>
</action>
and Pastebin upload does not work too
Image
about

Code: Select all

/opt/porteus-scripts/context-menu/pastebin %f
for example

Code: Select all

root@porteus:~# /opt/porteus-scripts/context-menu/pastebin uca.xml
Apparently nothing was received. Perhaps the connection failed. Enable --verbose or
--debug to get the output from wget that can help diagnose it correctly.
root@porteus:~#
plus if use

Code: Select all

/opt/porteus-scripts/context-menu/mount-iso %f
for example

Code: Select all

root@porteus:/mnt/sda5/Образы# /opt/porteus-scripts/context-menu/mount-iso Porteus-LXDE-v3.1-i486.iso
using /dev/loop12

Please wait while i gather some info ....

mount: /dev/loop6 is write-protected, mounting read-only

 #################################
Your image has been mounted at: 
/mnt/loop

 You can unmount it by typing uloop

 Here is a list of the files:
USB_INSTALLATION.txt  boot  porteus

root@porteus:/mnt/sda5/Образы#
/mnt/loop does not show how mount point at devices of Thunar (I mean the left column of Thunar where mounted partitions)

I will tweak ~/.config/Thunar/uca.xml and upload my variant for you.

Re: Porteus-3.2rc2 bug reports

Posted: 02 Jun 2016, 01:39
by brokenman
Thanks Blaze. I implemented your changes so far. Waiting for mount ISO variant. You can also use archivemount for an ISO if you want it mounted writable. It saves a copy of the original iso.

Re: Porteus-3.2rc2 bug reports

Posted: 02 Jun 2016, 19:27
by Blaze
- I deleted 'Pastebin upload' function

Code: Select all

<action>
	<icon>accessories-text-editor</icon>
	<name>Pastebin upload</name>
	<name xml:lang="ru">Загрузить в Pastebin</name>
	<unique-id>1406927056018830-1</unique-id>
	<command>/opt/porteus-scripts/context-menu/pastebin %f</command>
	<description>Upload a text file to pastebin</description>
	<description xml:lang="ru">Загрузить текстовый файл в pastebin</description>
	<patterns>*</patterns>
	<text-files/>
</action>
because 'Pastebin upload' does not work. If need, you can check and fix /opt/porteus-scripts/context-menu/pastebin (or remove this script)

- Added Russian localization (translation in Russian)
- Fix Mount ISO

I used

Code: Select all

/usr/libexec/gvfsd-archive file=%
It show mount point of your iso file at the left sidebar of Thunar (please check it).
Plus you can unmount iso file via Thunar.

- Added 7z context menu: for extracting archives and for adding to 7z archive
- Added support rpm2xzm in context menu
- Fix missing icon for deb2xzm in context menu

My ~/.config/Thunar/uca.xml - download from here (copy to ~/.config/Thunar/uca.xml where ~ it's guest and root)

Code: Select all

<?xml encoding="UTF-8" version="1.0"?>
<actions>
<action>
    <icon>utilities-terminal</icon>
    <name>Open Terminal Here</name>
    <name xml:lang="ru">Открыть терминал в текущем каталоге</name>
    <unique-id>1406920422374566-1</unique-id>
    <command>exo-open --working-directory %f --launch TerminalEmulator</command>
    <description>Example for a custom action</description>
    <description xml:lang="ru">Пример особого действия</description>
    <patterns>*</patterns>
    <startup-notify/>
    <directories/>
</action>
<action>
    <icon>cdr</icon>
    <name>Extract module</name>
    <name xml:lang="ru">Распаковать модуль</name>
    <unique-id>1406927163866770-2</unique-id>
    <command>/opt/porteus-scripts/context-menu/extract-module %F</command>
    <description>Extract porteus module</description>
    <description xml:lang="ru">Распаковать модуль Porteus</description>
    <patterns>*.xzm</patterns>
    <other-files/>
</action>
<action>
    <icon>cdr</icon>
    <name>Create module</name>
    <name xml:lang="ru">Создать модуль</name>
    <unique-id>1406927334521790-3</unique-id>
    <command>/opt/porteus-scripts/context-menu/create-module %f</command>
    <description>Create a porteus module from a folder</description>
    <description xml:lang="ru">Создать из папки модуль для Porteus</description>
    <patterns>*</patterns>
    <directories/>
</action>
<action>
    <icon>deb</icon>
    <name>deb2xzm</name>
    <name xml:lang="ru">Сконвертировать deb в xzm модуль</name>
    <unique-id>1406927432353616-4</unique-id>
    <command>/opt/porteus-scripts/context-menu/convert_deb %f</command>
    <description>Convert a debian archive to a porteus module</description>
    <description xml:lang="ru">Сконвертировать deb архив в модуль Porteus</description>
    <patterns>*.deb</patterns>
    <other-files/>
</action>
<action>
    <icon>rpm</icon>
    <name>rpm2xzm</name>
    <name xml:lang="ru">Сконвертировать rpm в xzm модуль</name>
    <unique-id>1406927432353716-5</unique-id>
    <command>/opt/porteus-scripts/context-menu/convert_rpm %f</command>
    <description>Convert a rpm archive to a porteus module</description>
    <description xml:lang="ru">Сконвертировать rpm архив в модуль Porteus</description>
    <patterns>*.rpm</patterns>
    <other-files/>
</action>
<action>
    <icon>start-here-slackware</icon>
    <name>txz2xzm</name>
    <name xml:lang="ru">Сконвертировать txz/tgz в xzm модуль</name>
    <unique-id>1406927847266624-10</unique-id>
    <command>/opt/porteus-scripts/context-menu/convert_txz %F</command>
    <description>Convert slackware package to porteus module</description>
    <description xml:lang="ru">Сконвертировать пакет Slackware  в модуль Porteus</description>
    <patterns>*.txz;*.tgz</patterns>
    <other-files/>
</action>
<action>
    <icon>usmslackware</icon>
    <name>Install package</name>
    <name xml:lang="ru">Установить пакет Slackware</name>
    <unique-id>1406927831728030-9</unique-id>
    <command>/opt/porteus-scripts/context-menu/install-slack %F</command>
    <description>Install slackware package</description>
    <description xml:lang="ru">Установить пакет Slackware</description>
    <patterns>*.txz;*.tgz</patterns>
    <other-files/>
</action>
<action>
    <icon>media-cdr</icon>
    <name>Mount ISO</name>
    <name xml:lang="ru">Смонтировать образ ISO</name>
    <unique-id>1406927813307622-8</unique-id>
    <command>/usr/libexec/gvfsd-archive file=%</command>
    <description>Mount an ISO file</description>
    <description xml:lang="ru">Смонтировать образ ISO</description>
    <patterns>*.iso</patterns>
    <other-files/>
</action>
<action>
    <icon>cdr</icon>
    <name>Mount module</name>
    <name xml:lang="ru">Смонтировать модуль</name>
    <unique-id>1406927895129246-11</unique-id>
    <command>/opt/porteus-scripts/context-menu/mount-module %f</command>
    <description>Mount module read only</description>
    <description xml:lang="ru">Смонтировать модуль только для чтения</description>
    <patterns>*.xzm</patterns>
    <other-files/>
</action>
<action>
    <icon>usmslackware</icon>
    <name>Remove slack</name>
    <name xml:lang="ru">Деинсталлировать пакет Slackware</name>
    <unique-id>1406927953138467-12</unique-id>
    <command>/opt/porteus-scripts/context-menu/remove-slack %f</command>
    <description>Uninstall slackware package</description>
    <description xml:lang="ru">Деинсталлировать пакет Slackware</description>
    <patterns>*.txz;*.tgz</patterns>
    <other-files/>
</action>
<action>
    <icon>package-x-generic</icon>
    <name>Extract here</name>
    <name xml:lang="ru">Распаковать здесь</name>
    <unique-id>1406927955138667-13</unique-id>
    <command>mkdir %N;cd %N;7z x %F</command>
    <description>Extract without dialogs</description>
    <description xml:lang="ru">Распаковать без диалоговых окон</description>
    <patterns>*.7z;*.zip;*.ZIP;*.rar;*.RAR;*.r0*;*.R0*;*.*01;*.tar;*.TAR;*.gz;*.GZ;*.tar.bz2;*.TAR.BZ2;*.gzip;*.GZIP;*.tgz</patterns>
    <directories/>
    <audio-files/>
    <image-files/>
    <other-files/>
    <text-files/>
    <video-files/>
</action>
<action>
    <icon>application-7zip</icon>
    <name>Add to 7z archive</name>
    <name xml:lang="ru">Запаковать в 7z архив</name>
    <unique-id>1406927957138867-14</unique-id>
    <command>7z a %f.7z %N</command>
    <description>Add to 7z archive without dialogs</description>
    <description xml:lang="ru">Запаковать в 7z архив без диалоговых окон</description>
    <patterns>*</patterns>
    <directories/>
    <audio-files/>
    <image-files/>
    <other-files/>
    <text-files/>
    <video-files/>
</action>
</actions>

Re: Porteus-3.2rc2 bug reports

Posted: 03 Jun 2016, 02:16
by brokenman
because 'Pastebin upload' does not work.
I've fixed this in the update. The current standard pastebin target no longer works which means a command like: wgetpaste -s ca /path/to/file.txt is required.

Thanks for your updates. I will integrate them. When I get a chance I will finally push out rc3. I had hoped it would be last weekend, but it wasn't possible due to a few upstream updates, and a lack of time.

Re: Porteus-3.2rc2 bug reports

Posted: 03 Jun 2016, 04:47
by Evan
<removed>