Hey Boyd,
With regards to: Perhaps you are installing your template with
permissions that are too restrictive
You're totally right! This was causing my script to fail, thanks very
much for pointing it out, everything is working perfectly now :)
Now I've familiarized myself with the wiki on chmod
Hey mentors,
Firstly, thanks for all the help so far.
I like the idea of having a default copy of the file used by my
program, as suggested by Lars and PJ, so I've altered my source code
to use a default file and allow multiple users to have their own
copies of this file in their
Il giorno lun, 14/02/2011 alle 19.38 +, james frize ha scritto:
Hey mentors,
Firstly, thanks for all the help so far.
I like the idea of having a default copy of the file used by my
program, as suggested by Lars and PJ, so I've altered my source code
to use a default file and allow
2011/2/14 james frize jamesfr...@gmail.com:
Hey mentors,
I'm not a mentor, I just lurk on this list to learn.
I like the idea of having a default copy of the file used by my
program, as suggested by Lars and PJ, so I've altered my source code
to use a default file and allow multiple users
Thanks very much Lars,
That's massively helpful, it clarifies a lot of stuff, I reckon I
should be able to get this package working properly now, phew! - I
knew making your first Debian package had a reputation for taking a
few attempts, but I wasn't quite ready for this!
Regards.
Jim.
On 14
james frize wrote:
However, I can't open a file from /usr/share via my python script as I
don't have permission to open files in a protected directory
print loading links.txt from usr/share/doc/gtk-link-lizard...
try:
self.text_file =
On Monday 14 February 2011 13:38:13 james frize wrote:
However, I can't open a file from /usr/share via my python script
That's wrong. Most of /usr/share should be world-readable. Perhaps you are
installing your template with permissions that are too restrictive. I believe
/usr/share files
Check your filesystem paths carefully; unless I totally misunderstand
some bizarre aspect of Python syntax, you're trying to open
usr/share/doc/gtk-link-lizard/links.txt relative to whatever the
code thinks the current directory is, not the absolute path
/usr/share/doc/gtk-link-lizard/links.txt.
Kris Deugau kdeu...@vianet.ca writes:
james frize wrote:
However, I can't open a file from /usr/share via my python script as
I don't have permission to open files in a protected directory
print loading links.txt from usr/share/doc/gtk-link-lizard...
try:
Hi,
Got my Debian packages almost fully working now, everything
installs/uninstalls without error.
However, when I try to run the newly installed program it wont work
properly as it lacks permission to save to file.
My program loads a list of hyperlinks from a text file (links.txt),
this text
2011/2/13 james frize jamesfr...@gmail.com:
Got my Debian packages almost fully working now, everything
installs/uninstalls without error.
However, when I try to run the newly installed program it wont work
properly as it lacks permission to save to file.
My program loads a list of
On Sun, 2011-02-13 at 17:11 +0100, Lars Buitinck wrote:
[...]
I don't think
/home/user/Documents is a good place for this; prefer
~/.packagename/links.txt instead. You'll probably have to patch up
the source code.
[...]
shouldn't $XDG_CONFIG_HOME (or $HOME/.config if not set) or
2011/2/13 Julian Taylor jtaylor.deb...@googlemail.com:
On Sun, 2011-02-13 at 17:11 +0100, Lars Buitinck wrote:
[...]
I don't think
/home/user/Documents is a good place for this; prefer
~/.packagename/links.txt instead. You'll probably have to patch up
the source code.
[...]
shouldn't
Cheers Lars,
I'm looking at installing the links.txt file to
~/.packagename/links.txt, but I don't seem to be able to use the
~wildcard.
Using this line in my makefile:
DEST3 = $(CURDIR)/debian/gtk-link-lizard/~/.gtk-link-lizard
It just creates a directory called ~ on the destination drive? It
On Sun, Feb 13, 2011 at 06:24:06PM +, james frize wrote:
I'm looking at installing the links.txt file to
~/.packagename/links.txt, but I don't seem to be able to use the
~wildcard.
Is this in rules file? If so you cannot do that at all. It doesn't
make any sense for a package to install a
Hey Craig,
thanks for the help,
Basically I'm copying over a text file that has a list of web links
in, after the program is installed the file needs to be edited by the
end user, so I'm trying to put the file in a place where a regular
user would have permission to both read and write to the
Sorry forgot to clarify, yeah it's in my rules makefile.
On 13 February 2011 21:55, james frize jamesfr...@gmail.com wrote:
Hey Craig,
thanks for the help,
Basically I'm copying over a text file that has a list of web links
in, after the program is installed the file needs to be edited by
On 2/13/11, Craig Small csm...@debian.org wrote:
On Sun, Feb 13, 2011 at 06:24:06PM +, james frize wrote:
I'm looking at installing the links.txt file to
~/.packagename/links.txt, but I don't seem to be able to use the
~wildcard.
Is this in rules file? If so you cannot do that at all.
In AANLkTikBeVcyM4H=0d3-xfu4pnihq9qkczp7mlae3...@mail.gmail.com, james frize
wrote:
Basically I'm copying over a text file that has a list of web links
in, after the program is installed the file needs to be edited by the
end user, so I'm trying to put the file in a place where a regular
user
Cheers PJ and Boyd,
To be honest I never thought about having multiple users, just
learning about the packaging process and I'm experimenting with what I
can do. But I guess it's a much better idea to have a template and a
copy for each user, will have to add it to the source.
Thanks for the
20 matches
Mail list logo