discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProjectCenter / Gorm do not work together


From: edwin ancaer
Subject: Re: ProjectCenter / Gorm do not work together
Date: Fri, 15 Feb 2013 15:29:54 +0100

address@hidden ~]$ ls -l GNUstep
total 8
drwxr-xr-x.  3 edwin edwin 4096 Feb 15 15:00 Defaults
drwxrwxr-x. 11 edwin edwin 4096 Feb 15 14:54 Library
address@hidden ~]$ ls -l GNUstep/Library
total 36
drwxrwxr-x. 2 edwin edwin 4096 Jan  5 11:12 Cookies
drwxrwxr-x. 3 edwin edwin 4096 Jan  8 22:05 Fonts
drwxrwxr-x. 3 edwin edwin 4096 Feb 10 19:18 GWorkspace
drwxrwxr-x. 2 edwin edwin 4096 Nov 21 06:32 Icons
drwxrwxr-x. 2 edwin edwin 4096 Feb 14 05:34 Services
drwxrwxr-x. 2 edwin edwin 4096 Feb 15 09:49 Thumbnails
drwxrwxr-x. 2 edwin edwin 4096 Feb 15 14:52 Thumbnails2
drwxrwxr-x. 2 edwin edwin 4096 Feb 15 14:54 Thumbnails3
drwxrwxr-x. 9 edwin edwin 4096 Dec  1 09:44 WindowMaker

address@hidden ~]$ cd GNUstep
address@hidden GNUstep]$ mkdir Library/Thumbnails4
address@hidden GNUstep]$ ls -l Library
total 40

drwxrwxr-x. 2 edwin edwin 4096 Jan  5 11:12 Cookies
drwxrwxr-x. 3 edwin edwin 4096 Jan  8 22:05 Fonts
drwxrwxr-x. 3 edwin edwin 4096 Feb 10 19:18 GWorkspace
drwxrwxr-x. 2 edwin edwin 4096 Nov 21 06:32 Icons
drwxrwxr-x. 2 edwin edwin 4096 Feb 14 05:34 Services
drwxrwxr-x. 2 edwin edwin 4096 Feb 15 09:49 Thumbnails
drwxrwxr-x. 2 edwin edwin 4096 Feb 15 14:52 Thumbnails2
drwxrwxr-x. 2 edwin edwin 4096 Feb 15 14:54 Thumbnails3
drwxrwxr-x. 2 edwin edwin 4096 Feb 15 15:18 Thumbnails4
drwxrwxr-x. 9 edwin edwin 4096 Dec  1 09:44 WindowMaker

I am not a unix specialist, but the prermissions look fine to me.
As I already said, when I delete the Thumbnails directory before running GWorkspace, it is
created after the segfault, so it seems strange that the problem is in the creation of thedirectory.

address@hidden Library]$ rm -R Thumbnail*
address@hidden Library]$ ls -l

total 24
drwxrwxr-x. 2 edwin edwin 4096 Jan  5 11:12 Cookies
drwxrwxr-x. 3 edwin edwin 4096 Jan  8 22:05 Fonts
drwxrwxr-x. 3 edwin edwin 4096 Feb 10 19:18 GWorkspace
drwxrwxr-x. 2 edwin edwin 4096 Nov 21 06:32 Icons
drwxrwxr-x. 2 edwin edwin 4096 Feb 14 05:34 Services
drwxrwxr-x. 9 edwin edwin 4096 Dec  1 09:44 WindowMaker
address@hidden Library]$ openapp GWorkspace
2013-02-15 15:24:00.461 fswatcher[1838] register client 2
2013-02-15 15:24:00.577 GWorkspace[1773] Volumes ({dir = "/"; name = "/dev/mapper/vg_ridcule-lv_root"; type = ext4; }, {dir = "/boot"; name = "UUID=48244031-c4e9-4166-b731-56116e13f24b"; type = ext4; }, {dir = "/home"; name = "/dev/mapper/vg_ridcule-lv_home"; type = ext4; }, {dir = swap; name = "/dev/mapper/vg_ridcule-lv_swap"; type = swap; })
2013-02-15 15:24:02.106 fswatcher[1838] Connection became invalid
2013-02-15 15:24:02.106 fswatcher[1838] No next in enumerator
2013-02-15 15:24:02.106 fswatcher[1838] No next in enumerator
2013-02-15 15:24:02.106 fswatcher[1838] No next in enumerator
Segmentation fault (core dumped)
address@hidden Library]$ ls -l
total 28
drwxrwxr-x. 2 edwin edwin 4096 Jan  5 11:12 Cookies
drwxrwxr-x. 3 edwin edwin 4096 Jan  8 22:05 Fonts
drwxrwxr-x. 3 edwin edwin 4096 Feb 10 19:18 GWorkspace
drwxrwxr-x. 2 edwin edwin 4096 Nov 21 06:32 Icons
drwxrwxr-x. 2 edwin edwin 4096 Feb 14 05:34 Services
drwxrwxr-x. 2 edwin edwin 4096 Feb 15 15:24 Thumbnails
drwxrwxr-x. 9 edwin edwin 4096 Dec  1 09:44 WindowMaker

It seems the file creation problem  occurs when running as root, but when running as a regular user, I have no problem with the creation of the directories.
Couldn't it be the lost connection with fswatcher that causes the problem?

Kind regards


 


2013/2/15 Riccardo Mottola <address@hidden>
Hi,


On 02/15/13 09:51, edwin ancaer wrote:
Riccardo,

I will rebuild in a minute. In the mean time I had added the update that was suggested by Sebastian.

My change didn't change much, it was just to make sure that Library was created before creating Thumbnails if the former wasn't available.


This is the result of the execution:

address@hidden ~]$ openapp GWorkspace
2013-02-15 09:41:42.493 GWorkspace[1612] thumbnaildir: /home/edwin/GNUstep/Library/Thumbnails
2013-02-15 09:41:43.030 fswatcher[1677] register client 2
2013-02-15 09:41:43.193 GWorkspace[1612] Volumes ({dir = "/"; name = "/dev/mapper/vg_ridcule-lv_root"; type = ext4; }, {dir = "/boot"; name = "UUID=48244031-c4e9-4166-b731-56116e13f24b"; type = ext4; }, {dir = "/home"; name = "/dev/mapper/vg_ridcule-lv_home"; type = ext4; }, {dir = swap; name = "/dev/mapper/vg_ridcule-lv_swap"; type = swap; })
2013-02-15 09:41:45.356 fswatcher[1677] Connection became invalid
2013-02-15 09:41:45.356 fswatcher[1677] No next in enumerator
2013-02-15 09:41:45.356 fswatcher[1677] No next in enumerator
2013-02-15 09:41:45.356 fswatcher[1677] No next in enumerator
Segmentation fault (core dumped)
the path looks fine.



To exclude permission problems I ran as root with the following result:
address@hidden ~]$ su root
Password:
address@hidden edwin]# openapp GWorkspace
2013-02-15 09:42:22.507 make_services[1800] couldn't create /root/GNUstep/Library/Services
2013-02-15 09:42:22.619 GWorkspace[1738] thumbnaildir: /root/GNUstep/Library/Thumbnails
2013-02-15 09:42:22.620 GWorkspace[1738] unable to create the thumbnails directory. Quiting now
Segmentation fault (core dumped)
address@hidden edwin]#
What is notable here is that "make_services" fails too when creating a subdirectory, this looks really strange.
Coud you do an ls -l insite GNUstep instead as of Library? and attempt to manually create (with the user you will run GWorkspace with, root or user, dependning) the Thumbnail or Services directory inside Library?

Riccardo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]