Vous êtes ici :   Accueil » Forum » Discussion générale » Bug in 4.9.17?
 
Forum - Discussion générale - Bug in 4.9.17?

Nombre de membres 239 membres
Connectés : ( personne )
Snif !!!
 

Forum - Forum
Discussion générale - Discussion générale

actif  Sujet n° 33

le 12/10/2015 13:13
par wayland

Anonyme

visiteur

I'm using OStoryBook on Fedora.  I was a user of the original Storybook, and am glad to see it working again.  I've discovered that if I create two locations in the same city, they show up fine in the Locations view, but when I'm editing a scene, and choosing the location for it, only one of the locations shows up. 

Thanks.
Poster une réponse Haut  

Réponse n° 1
--------
le 13/10/2015 09:42
par favdb

favdb



I can not reproduce this problem. If you have a large number of locations, make sure that the locations are identified by a city and / or country. Example: if I create a location "Académie Française" located in Paris (France) and a location "Museum d'Histoire Naturelle" in Paris (without indication of the country), the two places are not grouped in the list.

Please upgrade to the 4.10.0.

Poster une réponse Haut  
Réponse n° 2
--------
le 14/10/2015 11:45
par wayland

wayland



Thanks for your response.  Firstly, I have created a file which contains an example of the problem.  Is there somewhere I should post it for discussion?  Do you have a bug tracker? 

Secondly, I attempted to upgrade as you suggested, and got the following error message:
    file / from install of ostorybook-4.10.0-2.noarch conflicts with file from package filesystem-3.2-19.fc20.x86_64
    file /usr/bin from install of ostorybook-4.10.0-2.noarch conflicts with file from package filesystem-3.2-19.fc20.x86_64

 Thanks, hope this helps.
Poster une réponse Haut  
Réponse n° 3
--------
le 14/10/2015 11:49
par wayland

wayland



I should've mentioned above, I was attempting to upgrade with the RPM from the website. 

 Also, a .src.rpm would've been handy; that bug listed above is probably one I could've done something about. 

:)
Poster une réponse Haut  
Réponse n° 4
--------
le 14/10/2015 19:55
par favdb

favdb



For the bug tracker see in the top menu "Support". You don't have to register.

Did you try to install from the Zip file, or to use the Deb file with alien.
Poster une réponse Haut  
Réponse n° 5
--------
le 15/10/2015 03:24
par wayland

wayland



I am trying to install from the RPM which you provided here: http://download.tuxfamily.org/ostorybook/ostorybook-4.10.0-2.noarch.rpm

I observe it's an RPM made with alien. 

Here's how I fixed it.  I ran rpmrebuild -pe ostorybook-4.10.0-2.noarch.rpm. 

That command allowed me to edit the .spec file for creating RPMs, and I removed the offending lines. 

There was an additional problem.  rpms are cpio archives with some extra bits added.  rpm2cpio converts an RPM to a cpio file, and rpmrebuild relies upon this feature.  When I ran it on your rpm, the directory /usr/share/ostorybook/msg was created with appropriate read and write permissions, but the x permission (search/execute) was not set, so cpio was unable to create any of the files in that directory.  The simplest solution was to run rpmrebuild as root, but obviously this is not ideal.  Also, when I finally installed the RPM, that folder had no x permission (drw-r--r--). 

Anyway, I have a functioning new version of storybook, and it resolves the location bug that I was running into :).  So I'm happy. 

With the intention of attempting to figure out how to fix the directory permissions, I tried to check out the .git source code, but it kept asking for a password.  I tried the username and password I use for this website, but they didn't work. 

Sorry about the long message, and thanks for working with me in English!
Poster une réponse Haut  
Réponse n° 6
--------
le 15/10/2015 18:57
par favdb

favdb



Excellent, so you have the latest version installed. What saddens me is the number of manipulation that you were forced to do.

The consultation of the code on Git (http://git.tuxfamily.org/ostorybook/code.git/tree/) should not be a problem. But if you want to use from Eclipse or Netbeans it is possible that accreditation is required. You can also view a copy of the code on Github, but it is not updated during the development phases: https://github.com/favdb/oStorybook

If you find some better tool than the one I use to build a RPM, please tell me. With a Debian based system there is no problem. (see the build.xml target "build-app-debian")
Poster une réponse Haut  
Réponse n° 7
--------
le 16/10/2015 01:27
par wayland

wayland



OK, I've found one of the problems.  The permissions problem is caused by the bit where you chmod everything to 644, and then chmod executables and directories to 755.  You missed one of the directories (which is /usr/share/ostorybook/msg on Fedora).  Can I suggest replacing the bits where you chmod the directories with something like:
find -type d -exec chmod 755  '{}' ';'

You may want to insert a /usr in the appropriate place. 

After that, it should be much simpler to fix.  Let me know how you go.
Poster une réponse Haut  
Réponse n° 8
--------
le 16/10/2015 10:36
par favdb

favdb



In the build.xml, I replaced all the chmod lines arround line 289 by these two lines:

find ${sb.debian.distdir}/usr -type d -exec chmod 755 {} +
chmod -R 755 ${sb.debian.distdir}/DEBIAN
Poster une réponse Haut  
Réponse n° 9
--------
le 17/10/2015 02:42
par wayland

wayland



Do you also need to retain the line that says:
chmod -R 755 ${sb.debian.distdir}/usr/bin/ostorybook
?  Possibly without the '-R' ?

Have you checked in (via git) the changes you mentioned? 
When a new version is released, I will (if I have time, but hopefully I will) try to make a script (I expect 1-10 lines) that turns the rpm created by alien into an RPM that Fedora likes. 

Thanks again!
Poster une réponse Haut  
Réponse n° 10
--------
le 17/10/2015 21:01
par favdb

favdb



Until now, /usr/bin/ostorybook contain only the Jar file. But I will maintain the '-R' option for eventual future modification (like sub-directory).
Poster une réponse Haut  
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message
Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter  
Catégories de discussion  Forum 



Vous êtes ici :   Accueil » Forum » Discussion générale » Bug in 4.9.17?
 
 
 
Webmaster - Infos
Préférences

Se reconnecter :
Votre nom (ou pseudo) :
Votre mot de passe