Re: pdf (lua) of a lyx document

2022-02-02 Thread José Abílio Matos via lyx-users
On Wednesday, 2 February 2022 08.48.18 WET Wolfgang Engelmann via lyx-users 
wrote:
> I use lyx 2.4.0dev (Debian)
> starting lyx from a terminal, selecting a certain document and trying to
> view it by export pdflua
> leads to this in the terminal
> 
> wolfgang@Fuji:~/Dokumente/PUBLIKATIONEN-EIGENE/A-SP-2022$ lyx
> qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 597,
> resource id: 0, major code: 20 (GetProperty), minor code: 0
> Warning: Failed to produce 1 preview snippet(s)
> /usr/include/c++/10/bits/stl_stack.h:274: void std::stack<_Tp,
> _Sequence>::pop() [with _Tp = int; _Sequence = std::__debug::deque std::allocator >]: Assertion '__builtin_expect(!this->empty(),
> true)' failed.
> Abgebrochen
> wolfgang@Fuji:~/Dokumente/PUBLIKATIONEN-EIGENE/A-SP-2022$
> 
> I had reported before under
>   lyx 2.4.0dev crashes
> and wonder whether it is the same issue.
> 
> What should I do?
> Go back to Lyx 2.3.x?
> Compile the 2.4 anew (in case it has changed in the meantime)?
> 
> This error does not happen with other lyx documents which I tried
> 
> Wolfgang
> 
> p.s. if I compile lyx again, should I use
> ./configure --enable-debug
> since I am not familiar with gdb?

Usually this type of discussion are more appropriate in lyx-devel mailing 
list.

With that said if you use --enable-debug use also --enable-stdlib-debug that 
it will help as well.

As usual with bug reports it helps to find, when possible, a minimal working 
example.

Regards,
-- 
José Abílio


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx_tmpdirs in /tmp

2022-01-07 Thread José Abílio Matos via lyx-users
On Wednesday, 5 January 2022 13.29.07 WET Wolfgang Engelmann via lyx-users 
wrote:
> Can I delete the lyx_tmpdirs in the root /tmp?
> I have the impression, that a rerun of lyx uses it, which I do not want.

Every time that LyX runs it generates a temporary directory/folder, called 
lyx_tmpdir. where the  is replaced by a random string/word.
Inside that directory it is created a new directory for each file opened.

The  part is random and changes between LyX runs. Also if all goes 
well when LyX exits it cleans/erases those directories.

The next time it runs again this process is repeated. Honestly that chance 
that between successive runs LyX reuses the same name is in practical terms 0.

So if all goes well when LyX exists the temporary directories are removed. 
What is the use case that you have?

Best regards,
-- 
José Abílio-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx_tmpdirs in /tmp

2022-01-06 Thread José Abílio Matos via lyx-users
On Thursday, 6 January 2022 14.28.53 WET Wolfgang Engelmann via lyx-users 
wrote:
> This is what I get after
> mount | grep tmp:
> 
> udev on /dev type devtmpfs
> (rw,nosuid,relatime,size=1909652k,nr_inodes=477413,mode=755)
> tmpfs on /run type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=386516k,mode=755)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
> tmpfs on /run/user/1000 type tmpfs
> (rw,nosuid,nodev,relatime,size=386512k,nr_inodes=96628,mode=700,uid=1000,gid
> =1000)
> 
> where does one see the erasing period/time?
> 
> Wolfgang

The issue here is that /tmp does not seem to be managed by tmpfs. :-(

FWIW my full output is similar to yours:

devtmpfs on /dev type devtmpfs 
(rw,nosuid,seclabel,size=16104168k,nr_inodes=4026042,mode=755,inode64)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel,inode64)
tmpfs on /run type tmpfs 
(rw,nosuid,nodev,seclabel,size=6452820k,nr_inodes=819200,mode=755,inode64)
tmpfs on /tmp type tmpfs 
(rw,nosuid,nodev,seclabel,size=16132044k,nr_inodes=409600,inode64)
tmpfs on /run/user/1000 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=3226408k,nr_inodes=806602,mode=700,uid=1000,gid=1000,inode64)

-- 
José Abílio-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx_tmpdirs in /tmp

2022-01-06 Thread José Abílio Matos via lyx-users
On Thursday, 6 January 2022 06.29.18 WET Wolfgang Engelmann via lyx-users 
wrote:
> My problem is, that I can't run the luatex document properly. I might
> report about it if I can't manage myself.

What do you get when you run:

mount | grep tmp

in my case (Fedora 35) I see:
...
tmpfs on /tmp type tmpfs 
(rw,nosuid,nodev,seclabel,size=16132044k,nr_inodes=409600,inode64)
...

because \tmp is managed by tmpfs and thus, as Paul said, is erased on a 
regular basis.

-- 
José Abílio-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users