Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

skylendar

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 41
  • Category: Astrology
  • Founded: Dec 23, 2006
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 20 - 50 of 142   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#20 From: "Freddy" <fraehttt@...>
Date: Sat Mar 10, 2007 2:10 pm
Subject: Re: Collective answer
fraehttt
Send Email Send Email
 
I would try to create an interface. Still I have never programmed a
database interface before, so I could use some information about the
functions skylendar needs and what they should do.
If I get it to work on Ubuntu, I would as well create an Ubuntu
package. Can you tell me on what distibutions skylendar does work?
What gcc-version do you use? Perhaps this information could be
helpful as well to get it running on Ubuntu.
The Crash occurs when accessing the pointer returned by the method
AstroString.Data() as far as I can see. If this works on other
distros I'd say there could be some difference in handling between
gcc 4.1.2 and other C-compilers (I will try this later) because I
would not expect a changed postgres-behavior.

Freddy

#21 From: "stnsls" <stnsls@...>
Date: Sat Mar 10, 2007 3:06 pm
Subject: Re: Collective answer
stnsls
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "Freddy" <fraehttt@...> wrote:
>
> I would try to create an interface. Still I have never programmed a
> database interface before, so I could use some information about the
> functions skylendar needs and what they should do.
> If I get it to work on Ubuntu, I would as well create an Ubuntu
> package. Can you tell me on what distibutions skylendar does work?
> What gcc-version do you use? Perhaps this information could be
> helpful as well to get it running on Ubuntu.
> The Crash occurs when accessing the pointer returned by the method
> AstroString.Data() as far as I can see. If this works on other
> distros I'd say there could be some difference in handling between
> gcc 4.1.2 and other C-compilers (I will try this later) because I
> would not expect a changed postgres-behavior.
>
> Freddy
>

Hello,
I have sk running under Mandriva 2007:

[meh@84-228-54-169 ~]$ gcc -v
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --enable-checking=release
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java
--host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib
--enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
--disable-libunwind-exceptions --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--enable-gtk-cairo --enable-ssp --disable-libssp
Thread model: posix
gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)

I also had it on Slackware, long ago.

I imagine that _maybe_ Kubuntu can compile sk. Simply because it has
all the KDE stuff, and that sk needs it...

Remember Ubuntu is based on Debian-UNSTABLE. I have found myself on
some articles and blog posts stating that very WEIRD bugs suddenly pop
out on Ubuntu, with no clear reasons. [End of troll :)]

I wish you good luck anyway.....

#22 From: "skylendar" <skylendar@...>
Date: Sun Mar 11, 2007 9:50 pm
Subject: Re: Collective answer
skylendar
Send Email Send Email
 
Sk has been developed on Mandriva 2007. The installation should be
therefore straightforward. Unfortunately, kubuntu uses a different
security concept than a classical linux distro, i.e. no direct access
to root. The installation script, installskydb, on the contrary, uses
root. I haven't tried to modify it, since I don't have ubuntu/kubuntu.
Who wants to do that ?

Regards,

Christophe

#23 From: "Forest" <forest_oakwater@...>
Date: Wed Mar 21, 2007 8:31 pm
Subject: What distros does Skylendar install easily on?
forest_oakwater
Send Email Send Email
 
I'm using OpenSuse 10.1, but have considered switching to Ubuntu
because I have heard it has better video DVD support.

I haven't installed Skylendar yet, will give it a shot this weekend,
but does anyone have any advice about which distros it runs best on?

#24 From: "C.G." <skylendar@...>
Date: Thu Mar 22, 2007 4:43 pm
Subject: Re: What distros does Skylendar install easily on?
skylendar
Send Email Send Email
 
--- Forest <forest_oakwater@...> wrote:

> I'm using OpenSuse 10.1, but have considered
> switching to Ubuntu
> because I have heard it has better video DVD
> support.
>
> I haven't installed Skylendar yet, will give it a
> shot this weekend,
> but does anyone have any advice about which distros
> it runs best on?
>
sk has been developed on Mandriva 2007. Try that.





________________________________________________________________________________\
____
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

#25 From: "Forest" <forest_oakwater@...>
Date: Sun Mar 25, 2007 1:53 am
Subject: Re: Collective answer
forest_oakwater
Send Email Send Email
 
I found this on forum.pcmech.com, after googling "ubuntu root":

"Ubuntu's "sudo" approach might make sense for newbs in a gui
environment but for an experienced *nix user in a server environment
it's just a huge aggravation IMHO. If you want to be able to login as
root you have to setup a root user password with:

$ sudo passwd root
[enter new root password]

then you will be able to login as root."

So, if this information is correct, it should be easy to tweak the
ubuntu root account into behaving normally.

Peace,
Forest

--- In skylendar@yahoogroups.com, "skylendar" <skylendar@...> wrote:
>
> Sk has been developed on Mandriva 2007. The installation should be
> therefore straightforward. Unfortunately, kubuntu uses a different
> security concept than a classical linux distro, i.e. no direct access
> to root. The installation script, installskydb, on the contrary, uses
> root. I haven't tried to modify it, since I don't have ubuntu/kubuntu.
> Who wants to do that ?
>
> Regards,
>
> Christophe
>

#26 From: "C.G." <skylendar@...>
Date: Mon Mar 26, 2007 2:06 pm
Subject: Re: Re: Collective answer
skylendar
Send Email Send Email
 
--- Forest <forest_oakwater@...> wrote:

> I found this on forum.pcmech.com, after googling
> "ubuntu root":
>
> "Ubuntu's "sudo" approach might make sense for newbs
> in a gui
> environment but for an experienced *nix user in a
> server environment
> it's just a huge aggravation IMHO. If you want to be
> able to login as
> root you have to setup a root user password with:
>
> $ sudo passwd root
> [enter new root password]
>
> then you will be able to login as root."
>
> So, if this information is correct, it should be
> easy to tweak the
> ubuntu root account into behaving normally.
>
> Peace,
> Forest
>
> --- In skylendar@yahoogroups.com, "skylendar"
> <skylendar@...> wrote:
> >
> > Sk has been developed on Mandriva 2007. The
> installation should be
> > therefore straightforward. Unfortunately, kubuntu
> uses a different
> > security concept than a classical linux distro,
> i.e. no direct access
> > to root. The installation script, installskydb, on
> the contrary, uses
> > root. I haven't tried to modify it, since I don't
> have ubuntu/kubuntu.
> > Who wants to do that ?
> >
> > Regards,
> >
> > Christophe
> >
>

Did you succeed in instzalling sk on Ubuntu ?




________________________________________________________________________________\
____
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

#27 From: "Forest" <forest_oakwater@...>
Date: Mon Mar 26, 2007 6:58 pm
Subject: Re: Collective answer
forest_oakwater
Send Email Send Email
 
C.G wrote:
> Did you succeed in instzalling sk on Ubuntu ?

No, I'm running Suse 10.1.  I haven't tried installing Skylendar yet.
The Postgresql database piece might be daunting, I want to wait until
I have a good-sized chunk of time to tackle it.

The reason I posted the sudo tweak for Ubuntu is because I saw
another post where someone said they had trouble installing Skylendar
on Ubuntu because Ubuntu doesn't allow users direct access to the
root account.  I thought the tweak might help them.

Peace,
Forest

--- In skylendar@yahoogroups.com, "C.G." <skylendar@...> wrote:
>
>
> --- Forest <forest_oakwater@...> wrote:
>
> > I found this on forum.pcmech.com, after googling
> > "ubuntu root":
> >
> > "Ubuntu's "sudo" approach might make sense for newbs
> > in a gui
> > environment but for an experienced *nix user in a
> > server environment
> > it's just a huge aggravation IMHO. If you want to be
> > able to login as
> > root you have to setup a root user password with:
> >
> > $ sudo passwd root
> > [enter new root password]
> >
> > then you will be able to login as root."
> >
> > So, if this information is correct, it should be
> > easy to tweak the
> > ubuntu root account into behaving normally.
> >
> > Peace,
> > Forest
> >
> > --- In skylendar@yahoogroups.com, "skylendar"
> > <skylendar@> wrote:
> > >
> > > Sk has been developed on Mandriva 2007. The
> > installation should be
> > > therefore straightforward. Unfortunately, kubuntu
> > uses a different
> > > security concept than a classical linux distro,
> > i.e. no direct access
> > > to root. The installation script, installskydb, on
> > the contrary, uses
> > > root. I haven't tried to modify it, since I don't
> > have ubuntu/kubuntu.
> > > Who wants to do that ?
> > >
> > > Regards,
> > >
> > > Christophe
> > >
> >
>
> Did you succeed in instzalling sk on Ubuntu ?
>
>
>
>
>
________________________________________________________________________________\
____
> Get your own web address.
> Have a HUGE year through Yahoo! Small Business.
> http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
>

#28 From: skylendar@yahoogroups.com
Date: Mon Apr 2, 2007 1:49 pm
Subject: New poll for skylendar
skylendar@yahoogroups.com
Send Email Send Email
 
Enter your vote today!  A new poll has been created for the
skylendar group:

Since I don't have any return from the skylendar's users,
I think a small poll wouldn't be useless..

I use skylendar:


   o often
   o sometimes
   o I would like, but I can't install it
   o never


To vote, please visit the following web page:
http://groups.yahoo.com/group/skylendar/surveys?id=2176453

Note: Please do not reply to this message. Poll votes are
not collected via email. To vote, you must go to the Yahoo! Groups
web site listed above.

Thanks!

#30 From: "backtopopagain" <backtopopagain@...>
Date: Thu May 3, 2007 4:48 pm
Subject: Compilation problems
backtopopagain
Send Email Send Email
 
Hello,
I've been trying to install Skylendar on my machine (AMD64, Gentoo
2.16, gcc
4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to compile:
astroutils.cpp: In function 'AstroString& Sprintf(const AstroString&,
AstroString*, ...)':
astroutils.cpp:206: warning: dereferencing type-punned pointer will break
strict-aliasing rules
astroutils.cpp:216: error: cast from 'char*' to 'int' loses precision
astroutils.cpp:224: error: cast from 'char*' to 'int' loses precision

Switching int to long allows the program to compile (the same
modification should be done on astrosql.cpp, lines :211: and:218:).
However, skylendar crashes at the opening (nothing is displayed at
all, I just got the message "KCrash: Application 'skylendar'
crashing..." when using the command line skylendar&).
Obviously, the switch from int to long should be more systematic, but
I don't where to look.

What should I do ?
Thanks a lot in advance

#31 From: "C.G." <skylendar@...>
Date: Mon May 7, 2007 1:49 pm
Subject: Re: Compilation problems
skylendar
Send Email Send Email
 
--- backtopopagain <backtopopagain@...> wrote:

> Hello,
> I've been trying to install Skylendar on my machine
> (AMD64, Gentoo
> 2.16, gcc
> 4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to
> compile:
> astroutils.cpp: In function 'AstroString&
> Sprintf(const AstroString&,
> AstroString*, ...)':
> astroutils.cpp:206: warning: dereferencing
> type-punned pointer will break
> strict-aliasing rules
> astroutils.cpp:216: error: cast from 'char*' to
> 'int' loses precision
> astroutils.cpp:224: error: cast from 'char*' to
> 'int' loses precision
>
> Switching int to long allows the program to compile
> (the same
> modification should be done on astrosql.cpp, lines
> :211: and:218:).
> However, skylendar crashes at the opening (nothing
> is displayed at
> all, I just got the message "KCrash: Application
> 'skylendar'
> crashing..." when using the command line
> skylendar&).
> Obviously, the switch from int to long should be
> more systematic, but
> I don't where to look.
>
> What should I do ?
> Thanks a lot in advance

Post your question on my newsgroup. It could be useful
for possible future users.




________________________________________________________________________________\
____
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

#32 From: "skylendar" <skylendar@...>
Date: Mon May 7, 2007 1:58 pm
Subject: Re: Compilation problems
skylendar
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "backtopopagain"
<backtopopagain@...> wrote:
>
> Hello,
> I've been trying to install Skylendar on my machine (AMD64, Gentoo
> 2.16, gcc
> 4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to compile:
> astroutils.cpp: In function 'AstroString& Sprintf(const
AstroString&,
> AstroString*, ...)':
> astroutils.cpp:206: warning: dereferencing type-punned pointer will
break
> strict-aliasing rules
> astroutils.cpp:216: error: cast from 'char*' to 'int' loses
precision
> astroutils.cpp:224: error: cast from 'char*' to 'int' loses
precision
>
> Switching int to long allows the program to compile (the same
> modification should be done on astrosql.cpp, lines :211: and:218:).
> However, skylendar crashes at the opening (nothing is displayed at
> all, I just got the message "KCrash: Application 'skylendar'
> crashing..." when using the command line skylendar&).
> Obviously, the switch from int to long should be more systematic,
but
> I don't where to look.
>
> What should I do ?
> Thanks a lot in advance
>

Ah, you have already sent your question via the newsgroup. Ok,
sorry...

As for your problem, it could be related to the fact that you use a
64 bits version of linux. I'll check the faulty lines on astroutils,
but since I don't have any amd 64, I can't tell you if your crash is
due to your OS, or to another internal problem.
So far, I haven't received almost no return from the users. Does it
exist a user who succeeded in running sk on an amd64 ? Who wants to
answer ????

#33 From: "skylendar" <skylendar@...>
Date: Thu May 10, 2007 2:47 pm
Subject: Re: Compilation problems
skylendar
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "skylendar" <skylendar@...> wrote:
>
> --- In skylendar@yahoogroups.com, "backtopopagain"
> <backtopopagain@> wrote:
> >
> > Hello,
> > I've been trying to install Skylendar on my machine (AMD64, Gentoo
> > 2.16, gcc
> > 4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to compile:
> > astroutils.cpp: In function 'AstroString& Sprintf(const
> AstroString&,
> > AstroString*, ...)':
> > astroutils.cpp:206: warning: dereferencing type-punned pointer will

Try to replace, in the function Sprintf(), the (int) statements by
(long)

Recompile and execute. Tell me if it works.

C.

#34 From: "backtopopagain" <backtopopagain@...>
Date: Thu May 10, 2007 7:25 pm
Subject: Re: Compilation problems
backtopopagain
Send Email Send Email
 
> Try to replace, in the function Sprintf(), the (int) statements by
> (long)
>
> Recompile and execute. Tell me if it works.

OK, so I replaced int by long in astroutils Sprintf, and ditto in
astrosql.cpp AstroRequest::Exec.

The program compile, but still crashes when launched. Here's an
excerpt of the  error report from valkyrie (a valgrind GUI):


<error>
   <unique>0xF</unique>
   <tid>1</tid>
   <kind>InvalidRead</kind>
   <what>Invalid read of size 1</what>
   <stack>
     <frame>
       <ip>0x4A20992</ip>
       <obj>/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so</obj>
       <fn>strlen</fn>
     </frame>
     <frame>
       <ip>0x6DBFA9C</ip>
       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
     </frame>
     <frame>
       <ip>0x6DC0A52</ip>
       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
       <fn>QString::fromLatin1(char const*, int)</fn>
     </frame>
     <frame>
       <ip>0x6DC0BCC</ip>
       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
       <fn>QString::fromAscii(char const*, int)</fn>
     </frame>
     <frame>
       <ip>0x4A69FD</ip>
       <obj>/usr/kde/3.5/bin/skylendar</obj>
       <fn>AstroPixmap::AstroPixmap(char const*, char const*)</fn>
     </frame>
     <frame>
       <ip>0x4745D4</ip>
       <obj>/usr/kde/3.5/bin/skylendar</obj>
       <fn>AstroResources::SetPixmaps(char const*, ...)</fn>
     </frame>
     <frame>
       <ip>0x494F4B</ip>
       <obj>/usr/kde/3.5/bin/skylendar</obj>
       <fn>AstroResources::AstroResources()</fn>
     </frame>
     <frame>
       <ip>0x4AFD23</ip>
       <obj>/usr/kde/3.5/bin/skylendar</obj>
       <fn>AstroApp::AstroApp(int, char**)</fn>
     </frame>
     <frame>
       <ip>0x4B0071</ip>
       <obj>/usr/kde/3.5/bin/skylendar</obj>
       <fn>main</fn>
     </frame>
   </stack>
   <auxwhat>Address 0xFFFFFFFF is not stack'd, malloc'd or (recently)
free'd</auxwhat>
</error>

#35 From: "skylendar" <skylendar@...>
Date: Mon May 14, 2007 2:25 pm
Subject: Re: Compilation problems
skylendar
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "backtopopagain"
<backtopopagain@...> wrote:
>
>
> > Try to replace, in the function Sprintf(), the (int) statements
by
> > (long)
> >
> > Recompile and execute. Tell me if it works.
>
> OK, so I replaced int by long in astroutils Sprintf, and ditto in
> astrosql.cpp AstroRequest::Exec.
>
> The program compile, but still crashes when launched. Here's an
> excerpt of the  error report from valkyrie (a valgrind GUI):
>
>
> <error>
>   <unique>0xF</unique>
>   <tid>1</tid>
>   <kind>InvalidRead</kind>
>   <what>Invalid read of size 1</what>
>   <stack>
>     <frame>
>       <ip>0x4A20992</ip>
>       <obj>/usr/lib64/valgrind/amd64-
linux/vgpreload_memcheck.so</obj>
>       <fn>strlen</fn>
>     </frame>
>     <frame>
>       <ip>0x6DBFA9C</ip>
>       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
>     </frame>
>     <frame>
>       <ip>0x6DC0A52</ip>
>       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
>       <fn>QString::fromLatin1(char const*, int)</fn>
>     </frame>
>     <frame>
>       <ip>0x6DC0BCC</ip>
>       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
>       <fn>QString::fromAscii(char const*, int)</fn>
>     </frame>
>     <frame>
>       <ip>0x4A69FD</ip>
>       <obj>/usr/kde/3.5/bin/skylendar</obj>
>       <fn>AstroPixmap::AstroPixmap(char const*, char const*)</fn>
>     </frame>
>     <frame>
>       <ip>0x4745D4</ip>
>       <obj>/usr/kde/3.5/bin/skylendar</obj>
>       <fn>AstroResources::SetPixmaps(char const*, ...)</fn>
>     </frame>
>     <frame>
>       <ip>0x494F4B</ip>
>       <obj>/usr/kde/3.5/bin/skylendar</obj>
>       <fn>AstroResources::AstroResources()</fn>
>     </frame>
>     <frame>
>       <ip>0x4AFD23</ip>
>       <obj>/usr/kde/3.5/bin/skylendar</obj>
>       <fn>AstroApp::AstroApp(int, char**)</fn>
>     </frame>
>     <frame>
>       <ip>0x4B0071</ip>
>       <obj>/usr/kde/3.5/bin/skylendar</obj>
>       <fn>main</fn>
>     </frame>
>   </stack>
>   <auxwhat>Address 0xFFFFFFFF is not stack'd, malloc'd or (recently)
> free'd</auxwhat>
> </error>


hmmm, let me check...

#36 From: "skylendar" <skylendar@...>
Date: Fri May 18, 2007 1:34 pm
Subject: Re: Compilation problems
skylendar
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "skylendar" <skylendar@...> wrote:
>
> --- In skylendar@yahoogroups.com, "backtopopagain"
> <backtopopagain@> wrote:
> >
> >
> > > Try to replace, in the function Sprintf(), the (int) statements
> by
> > > (long)
> > >
> > > Recompile and execute. Tell me if it works.
> >
> > OK, so I replaced int by long in astroutils Sprintf, and ditto in
> > astrosql.cpp AstroRequest::Exec.
> >
> > The program compile, but still crashes when launched. Here's an
> > excerpt of the  error report from valkyrie (a valgrind GUI):
> >
> >
> > <error>
> >   <unique>0xF</unique>
> >   <tid>1</tid>
> >   <kind>InvalidRead</kind>
> >   <what>Invalid read of size 1</what>
> >   <stack>
> >     <frame>
> >       <ip>0x4A20992</ip>
> >       <obj>/usr/lib64/valgrind/amd64-
> linux/vgpreload_memcheck.so</obj>
> >       <fn>strlen</fn>
> >     </frame>
> >     <frame>
> >       <ip>0x6DBFA9C</ip>
> >       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
> >     </frame>
> >     <frame>
> >       <ip>0x6DC0A52</ip>
> >       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
> >       <fn>QString::fromLatin1(char const*, int)</fn>
> >     </frame>
> >     <frame>
> >       <ip>0x6DC0BCC</ip>
> >       <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
> >       <fn>QString::fromAscii(char const*, int)</fn>
> >     </frame>
> >     <frame>
> >       <ip>0x4A69FD</ip>
> >       <obj>/usr/kde/3.5/bin/skylendar</obj>
> >       <fn>AstroPixmap::AstroPixmap(char const*, char const*)</fn>
> >     </frame>
> >     <frame>
> >       <ip>0x4745D4</ip>
> >       <obj>/usr/kde/3.5/bin/skylendar</obj>
> >       <fn>AstroResources::SetPixmaps(char const*, ...)</fn>
> >     </frame>
> >     <frame>
> >       <ip>0x494F4B</ip>
> >       <obj>/usr/kde/3.5/bin/skylendar</obj>
> >       <fn>AstroResources::AstroResources()</fn>
> >     </frame>
> >     <frame>
> >       <ip>0x4AFD23</ip>
> >       <obj>/usr/kde/3.5/bin/skylendar</obj>
> >       <fn>AstroApp::AstroApp(int, char**)</fn>
> >     </frame>
> >     <frame>
> >       <ip>0x4B0071</ip>
> >       <obj>/usr/kde/3.5/bin/skylendar</obj>
> >       <fn>main</fn>
> >     </frame>
> >   </stack>
> >   <auxwhat>Address 0xFFFFFFFF is not stack'd, malloc'd or
(recently)
> > free'd</auxwhat>
> > </error>

in AstroResources(), replace all the zeroes within the various calls
of the fill() method, with 0L or NULL.
Also, replace -1 with -1L in the body of SetPixmaps().
Recompile as usual, run and tell me if it works.

C.

#37 From: "backtopopagain" <backtopopagain@...>
Date: Tue May 22, 2007 1:36 pm
Subject: Re: Compilation problems
backtopopagain
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "skylendar" <skylendar@...> wrote:

> in AstroResources(), replace all the zeroes within the various calls
> of the fill() method, with 0L or NULL.
> Also, replace -1 with -1L in the body of SetPixmaps().
> Recompile as usual, run and tell me if it works.

Hello,
Sorry for the delayed answer.
The compilation runs fine. Skylendar still crashes, however: here's
the output of valgrind:

Syscall param write(buf) points to uninitialised byte(s)
     at 0x8999B10: __write_nocancel (in /lib64/libpthread-2.4.so)
     by 0x82A2FDE: (within /usr/lib64/libX11.so.6.2.0)
     by 0x829B3CE: (within /usr/lib64/libX11.so.6.2.0)
     by 0x829B4C0: _XReply (in /usr/lib64/libX11.so.6.2.0)
     by 0x828493D: XInternAtom (in /usr/lib64/libX11.so.6.2.0)
     by 0x82983F2: XSetWMProperties (in /usr/lib64/libX11.so.6.2.0)
     by 0x6AB94DA: QWidget::create(unsigned long, bool, bool) (in
/usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x6B6C4E9: QWidget::QWidget(QWidget*, char const*, unsigned)
(in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x5B3CDFB: KApplication::init(bool) (in
/usr/kde/3.5/lib64/libkdecore.so.4.2.0)
     by 0x5B4B2C1: KApplication::KApplication(bool, bool) (in
/usr/kde/3.5/lib64/libkdecore.so.4.2.0)
     by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
/usr/kde/3.5/bin/skylendar)
     by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)

   Address 0x918FB70 is 248 bytes inside a block of size 16,384 alloc'd
     at 0x4A1EC0C: calloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
     by 0x8289834: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
     by 0x6A8A49E: qt_init_internal(int*, char**, _XDisplay*, unsigned
long, unsigned long) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x6AEB98C: QApplication::construct(int&, char**,
QApplication::Type) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x5B4B103: KApplication::KApplication(bool, bool) (in
/usr/kde/3.5/lib64/libkdecore.so.4.2.0)
     by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
/usr/kde/3.5/bin/skylendar)
     by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)

  Syscall param writev(vector[...]) points to uninitialised byte(s)
     at 0x8DBC2F6: (within /lib64/libc-2.4.so)
     by 0x82A2F9B: (within /usr/lib64/libX11.so.6.2.0)
     by 0x829B1DC: _XSend (in /usr/lib64/libX11.so.6.2.0)
     by 0x828F54E: XQueryExtension (in /usr/lib64/libX11.so.6.2.0)
     by 0x8283F83: XInitExtension (in /usr/lib64/libX11.so.6.2.0)
     by 0x63CFCB9: XFixesFindDisplay (in /usr/lib64/libXfixes.so.3.1.0)
     by 0x63CDBCA: XFixesSetCursorName (in /usr/lib64/libXfixes.so.3.1.0)
     by 0x7943798: XcursorImagesLoadCursor (in
/usr/lib64/libXcursor.so.1.0.2)
     by 0x7946391: XcursorLibraryLoadCursor (in
/usr/lib64/libXcursor.so.1.0.2)
     by 0x6A954C0: QCursor::update() const (in
/usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x6A9580E: QCursor::handle() const (in
/usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x6AB6B12: qt_x11_enforce_cursor(QWidget*) (in
/usr/qt/3/lib64/libqt-mt.so.3.3.8)
   Address 0x918FB71 is 249 bytes inside a block of size 16,384 alloc'd
     at 0x4A1EC0C: calloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
     by 0x8289834: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
     by 0x6A8A49E: qt_init_internal(int*, char**, _XDisplay*, unsigned
long, unsigned long) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x6AEB98C: QApplication::construct(int&, char**,
QApplication::Type) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x5B4B103: KApplication::KApplication(bool, bool) (in
/usr/kde/3.5/lib64/libkdecore.so.4.2.0)
     by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
/usr/kde/3.5/bin/skylendar)
     by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)

  Invalid read of size 1
     at 0x4A20992: strlen (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
     by 0x6DBFA9C: (within /usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x6DC0A52: QString::fromLatin1(char const*, int) (in
/usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x6DC0BCC: QString::fromAscii(char const*, int) (in
/usr/qt/3/lib64/libqt-mt.so.3.3.8)
     by 0x4A6A1D: AstroPixmap::AstroPixmap(char const*, char const*)
(in /usr/kde/3.5/bin/skylendar)
     by 0x4745D4: AstroResources::SetPixmaps(char const*, ...) (in
/usr/kde/3.5/bin/skylendar)
     by 0x494F6B: AstroResources::AstroResources() (in
/usr/kde/3.5/bin/skylendar)
     by 0x4AFD43: AstroApp::AstroApp(int, char**) (in
/usr/kde/3.5/bin/skylendar)
     by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)

#38 From: "skylendar" <skylendar@...>
Date: Thu May 24, 2007 2:13 pm
Subject: Re: Compilation problems
skylendar
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "backtopopagain"
<backtopopagain@...> wrote:
>
> --- In skylendar@yahoogroups.com, "skylendar" <skylendar@> wrote:
>
> > in AstroResources(), replace all the zeroes within the various
calls
> > of the fill() method, with 0L or NULL.
> > Also, replace -1 with -1L in the body of SetPixmaps().
> > Recompile as usual, run and tell me if it works.
>
> Hello,
> Sorry for the delayed answer.
> The compilation runs fine. Skylendar still crashes, however: here's
> the output of valgrind:
>
> Syscall param write(buf) points to uninitialised byte(s)
>     at 0x8999B10: __write_nocancel (in /lib64/libpthread-2.4.so)
>     by 0x82A2FDE: (within /usr/lib64/libX11.so.6.2.0)
>     by 0x829B3CE: (within /usr/lib64/libX11.so.6.2.0)
>     by 0x829B4C0: _XReply (in /usr/lib64/libX11.so.6.2.0)
>     by 0x828493D: XInternAtom (in /usr/lib64/libX11.so.6.2.0)
>     by 0x82983F2: XSetWMProperties (in /usr/lib64/libX11.so.6.2.0)
>     by 0x6AB94DA: QWidget::create(unsigned long, bool, bool) (in
> /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x6B6C4E9: QWidget::QWidget(QWidget*, char const*, unsigned)
> (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x5B3CDFB: KApplication::init(bool) (in
> /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
>     by 0x5B4B2C1: KApplication::KApplication(bool, bool) (in
> /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
>     by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
> /usr/kde/3.5/bin/skylendar)
>     by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
>
>   Address 0x918FB70 is 248 bytes inside a block of size 16,384
alloc'd
>     at 0x4A1EC0C: calloc (in
> /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
>     by 0x8289834: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
>     by 0x6A8A49E: qt_init_internal(int*, char**, _XDisplay*,
unsigned
> long, unsigned long) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x6AEB98C: QApplication::construct(int&, char**,
> QApplication::Type) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x5B4B103: KApplication::KApplication(bool, bool) (in
> /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
>     by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
> /usr/kde/3.5/bin/skylendar)
>     by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
>
>  Syscall param writev(vector[...]) points to uninitialised byte(s)
>     at 0x8DBC2F6: (within /lib64/libc-2.4.so)
>     by 0x82A2F9B: (within /usr/lib64/libX11.so.6.2.0)
>     by 0x829B1DC: _XSend (in /usr/lib64/libX11.so.6.2.0)
>     by 0x828F54E: XQueryExtension (in /usr/lib64/libX11.so.6.2.0)
>     by 0x8283F83: XInitExtension (in /usr/lib64/libX11.so.6.2.0)
>     by 0x63CFCB9: XFixesFindDisplay
(in /usr/lib64/libXfixes.so.3.1.0)
>     by 0x63CDBCA: XFixesSetCursorName
(in /usr/lib64/libXfixes.so.3.1.0)
>     by 0x7943798: XcursorImagesLoadCursor (in
> /usr/lib64/libXcursor.so.1.0.2)
>     by 0x7946391: XcursorLibraryLoadCursor (in
> /usr/lib64/libXcursor.so.1.0.2)
>     by 0x6A954C0: QCursor::update() const (in
> /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x6A9580E: QCursor::handle() const (in
> /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x6AB6B12: qt_x11_enforce_cursor(QWidget*) (in
> /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>   Address 0x918FB71 is 249 bytes inside a block of size 16,384
alloc'd
>     at 0x4A1EC0C: calloc (in
> /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
>     by 0x8289834: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
>     by 0x6A8A49E: qt_init_internal(int*, char**, _XDisplay*,
unsigned
> long, unsigned long) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x6AEB98C: QApplication::construct(int&, char**,
> QApplication::Type) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x5B4B103: KApplication::KApplication(bool, bool) (in
> /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
>     by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
> /usr/kde/3.5/bin/skylendar)
>     by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
>
>  Invalid read of size 1
>     at 0x4A20992: strlen (in
> /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
>     by 0x6DBFA9C: (within /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x6DC0A52: QString::fromLatin1(char const*, int) (in
> /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x6DC0BCC: QString::fromAscii(char const*, int) (in
> /usr/qt/3/lib64/libqt-mt.so.3.3.8)
>     by 0x4A6A1D: AstroPixmap::AstroPixmap(char const*, char const*)
> (in /usr/kde/3.5/bin/skylendar)
>     by 0x4745D4: AstroResources::SetPixmaps(char const*, ...) (in
> /usr/kde/3.5/bin/skylendar)
>     by 0x494F6B: AstroResources::AstroResources() (in
> /usr/kde/3.5/bin/skylendar)
>     by 0x4AFD43: AstroApp::AstroApp(int, char**) (in
> /usr/kde/3.5/bin/skylendar)
>     by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
>

An error seems to occur within the AstroPixmap constructor. Try to
print its argument via a classical printf() or cout << something.
Check the pointers, i.e. if the provided arguments are correctly
retrieved by the method.

C.

#39 From: "charobni" <charobni@...>
Date: Thu May 31, 2007 4:00 pm
Subject: Re: What distros does Skylendar install easily on?
charobni
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "C.G." <skylendar@...>
wrote:
>
> 
> --- Forest <forest_oakwater@...>
wrote:
> 
> > I'm using OpenSuse 10.1, but have
considered
> > switching to Ubuntu
> > because I have heard it
has better video DVD
> > support.
> > 
> > I haven't
installed Skylendar yet, will give it a
> > shot this
weekend,
> > but does anyone have any advice about which
distros
> > it runs best on?
> > 
> sk has been
developed on Mandriva 2007. Try that.
> 
> 
>

> 
> 

>
___________________________________________________________\
_________________________
> Need Mail bonding?
> Go to the
Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
>
http://answers.yahoo.com/dir/?link=list&sid=396546091
>
I
tried to install it on: slackware 10.1, suse 9.3 and 10.2.
No succes at
all.
Always reporting the same problem with the shell script
called
installskydb: something like "pghba.config can not be found..."

#40 From: "skylendar" <skylendar@...>
Date: Mon Jun 4, 2007 2:31 pm
Subject: Re: What distros does Skylendar install easily on?
skylendar
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "charobni" <charobni@...> wrote:
>
> --- In skylendar@yahoogroups.com, "C.G." skylendar@
wrote:
>
> 
> --- Forest forest_oakwater@
wrote:
> 
> > I'm using OpenSuse 10.1, but have
considered
> > switching to Ubuntu
> > because I have
heard it has better video DVD
> > support.
> >

> > I haven't installed Skylendar yet, will give it
a
> > shot this weekend,
> > but does anyone have any
advice about which distros
> > it runs best on?
> >

> sk has been developed on Mandriva 2007. Try that.
>

> 
> 
> 
>

>
___________________________________________________\
_________________________________
> Need Mail
bonding?
> Go to the Yahoo! Mail Q&A for great tips from Yahoo!
Answers users.
>
http://answers.yahoo.com/dir/?link=list&sid=396546091
>
\
0;I tried to install it on: slackware 10.1, suse 9.3 and
10.2.
No succes at all.
Always reporting the same
problem with the shell script called
installskydb: something
like "pghba.config can not be found..."
>


Mandriva 2007, of course !!! As for the other distros, I don't know
since I don't have almost any return from users.

If the script installskydb can't find out pghba.conf, change the default
path within the script and re-execute it.

Please next time, send your message without those cryptic tags. It'll
make the reading  more comfortable.

C.

#41 From: "copyliu2002" <copyliu@...>
Date: Sun Jul 29, 2007 6:10 am
Subject: installskydb error.
copyliu2002
Send Email Send Email
 
# installskydb
Cannot install. Either KDE is not installed, or skylendar is missing.


I compiled it in Slackware-current with  KDE 3.5.7 .


sorry about my bad English... I am a Chineses.

#42 From: "C.G." <skylendar@...>
Date: Mon Jul 30, 2007 2:19 pm
Subject: Re: installskydb error.
skylendar
Send Email Send Email
 
--- copyliu2002 <copyliu@...> wrote:

> # installskydb
> Cannot install. Either KDE is not installed, or
> skylendar is missing.
>
>
> I compiled it in Slackware-current with  KDE 3.5.7 .
>
>
> sorry about my bad English... I am a Chineses.
>

Skylendar has been developed with Mandriva 2007. I
don't know the slackware distro, but I suppose there
are a few differences.
First check where is the file named pg_hba.conf . Then
check installskydb and replace the current path to
pg_hba with the one you have found out.
Check if you have installed the QT driver for postgres
and the plpgsql language for postgres.
It may work.

Greetings,

C.



________________________________________________________________________________\
____
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433

#43 From: "ronvenema" <ronvenema@...>
Date: Wed Aug 15, 2007 2:41 am
Subject: Unable to connect to database
ronvenema
Send Email Send Email
 
Hi all, I was able to compile sk on PcLinuxos which is basically
Mandrivia and able to add the db to postgresql as I was able to
verify by using pgaccess. I also set a user root using skygrant but
when I try to start skylendar I am not able to connect to the db and
when I cancel I get the following errors:

[root@localhost ~]# skylendar
QSqlDatabase: QPSQL7 driver not loaded
QSqlDatabase: available drivers: QMYSQL3
QSqlQuery::exec: database not open
QSqlRecord::position: unable to find field CountryIdx
QSqlQuery::value: not positioned on a valid record
QSqlQuery::exec: database not open
QSqlRecord::position: unable to find field TZFile
QSqlQuery::value: not positioned on a valid record
KCrash: Application 'skylendar' crashing...
Terminated

TIA

#44 From: "skylendar" <skylendar@...>
Date: Thu Aug 16, 2007 2:07 pm
Subject: Re: Unable to connect to database
skylendar
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "ronvenema" <ronvenema@...> wrote:
>
> Hi all, I was able to compile sk on PcLinuxos which is basically
> Mandrivia and able to add the db to postgresql as I was able to
> verify by using pgaccess. I also set a user root using skygrant but
> when I try to start skylendar I am not able to connect to the db
and
> when I cancel I get the following errors:
>
> [root@localhost ~]# skylendar
> QSqlDatabase: QPSQL7 driver not loaded
> QSqlDatabase: available drivers: QMYSQL3
> QSqlQuery::exec: database not open
> QSqlRecord::position: unable to find field CountryIdx
> QSqlQuery::value: not positioned on a valid record
> QSqlQuery::exec: database not open
> QSqlRecord::position: unable to find field TZFile
> QSqlQuery::value: not positioned on a valid record
> KCrash: Application 'skylendar' crashing...
> Terminated
>
> TIA

Again, read the requirements. The log clearly shows that you don't
have the qt driver for postgresql, only the one for mysql. Install it
and re-run sk.

#45 From: Ron Venema <ronvenema@...>
Date: Thu Aug 16, 2007 3:22 pm
Subject: Re: Re: Unable to connect to database
ronvenema
Send Email Send Email
 
skylendar wrote:

--- In skylendar@yahoogroups.com, "ronvenema" <ronvenema@...> wrote:
>
> Hi all, I was able to compile sk on PcLinuxos which is basically
> Mandrivia and able to add the db to postgresql as I was able to
> verify by using pgaccess. I also set a user root using skygrant but
> when I try to start skylendar I am not able to connect to the db
and
> when I cancel I get the following errors:
>
> [root@localhost ~]# skylendar
> QSqlDatabase: QPSQL7 driver not loaded
> QSqlDatabase: available drivers: QMYSQL3
> QSqlQuery::exec: database not open
> QSqlRecord::position: unable to find field CountryIdx
> QSqlQuery::value: not positioned on a valid record
> QSqlQuery::exec: database not open
> QSqlRecord::position: unable to find field TZFile
> QSqlQuery::value: not positioned on a valid record
> KCrash: Application 'skylendar' crashing...
> Terminated
>
> TIA

Again, read the requirements. The log clearly shows that you don't
have the qt driver for postgresql, only the one for mysql. Install it
and re-run sk.

Thanks skylendar, I was looking for a QT3 package but it turned out to be a QT4 package.

#46 From: Dusan Korac <charobni@...>
Date: Mon Aug 20, 2007 11:56 am
Subject: Re: Re: Unable to connect to database, to Ron Venema
charobni
Send Email Send Email
 
Hi, Ron, I installed pclos only because it is based on Mandriva and I was told that skylendar is made to work on mandriva. I couldn't make it work on any other distro. So I need to ask you:
1. Did you finally make it work when you replaced qt4 driver with qt3?
2. How did you replace it, qt3 is not offered on the list of repositories which can be installed, did you download source and compile it?
3. Which exact repositories did you have to download and install in order to  compile and install skylendar properly? I am still on dial-up connection, i dont want to install something i don't need.
4. Any other important information considering installation of skylendar on pclinuxos, some problems you meet and solutions?

Thank you!

Ron Venema <ronvenema@...> wrote:
skylendar wrote:
--- In skylendar@yahoogroups.com, "ronvenema" <ronvenema@...> wrote:
>
> Hi all, I was able to compile sk on PcLinuxos which is basically
> Mandrivia and able to add the db to postgresql as I was able to
> verify by using pgaccess. I also set a user root using skygrant but
> when I try to start skylendar I am not able to connect to the db
and
> when I cancel I get the following errors:
>
> [root@localhost ~]# skylendar
> QSqlDatabase: QPSQL7 driver not loaded
> QSqlDatabase: available drivers: QMYSQL3
> QSqlQuery::exec: database not open
> QSqlRecord::position: unable to find field CountryIdx
> QSqlQuery::value: not positioned on a valid record
> QSqlQuery::exec: database not open
> QSqlRecord::position: unable to find field TZFile
> QSqlQuery::value: not positioned on a valid record
> KCrash: Application 'skylendar' crashing...
> Terminated
>
> TIA

Again, read the requirements. The log clearly shows that you don't
have the qt driver for postgresql, only the one for mysql. Install it
and re-run sk.

Thanks skylendar, I was looking for a QT3 package but it turned out to be a QT4 package.


Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

#47 From: Ron Venema <ronvenema@...>
Date: Tue Aug 21, 2007 2:23 am
Subject: Re: Re: Unable to connect to database, to Ron Venema
ronvenema
Send Email Send Email
 
Dusan Korac wrote:

Hi, Ron, I installed pclos only because it is based on Mandriva and I was told that skylendar is made to work on mandriva. I couldn't make it work on any other distro. So I need to ask you:
1. Did you finally make it work when you replaced qt4 driver with qt3?
2. How did you replace it, qt3 is not offered on the list of repositories which can be installed, did you download source and compile it?
3. Which exact repositories did you have to download and install in order to  compile and install skylendar properly? I am still on dial-up connection, i dont want to install something i don't need.
4. Any other important information considering installation of skylendar on pclinuxos, some problems you meet and solutions?

Thank you!

Ron Venema <ronvenema@qwest.net> wrote:

skylendar wrote:
--- In skylendar@yahoogroups.com, "ronvenema" <ronvenema@...> wrote:
>
> Hi all, I was able to compile sk on PcLinuxos which is basically
> Mandrivia and able to add the db to postgresql as I was able to
> verify by using pgaccess. I also set a user root using skygrant but
> when I try to start skylendar I am not able to connect to the db
and
> when I cancel I get the following errors:
>
> [root@localhost ~]# skylendar
> QSqlDatabase: QPSQL7 driver not loaded
> QSqlDatabase: available drivers: QMYSQL3
> QSqlQuery::exec: database not open
> QSqlRecord::position: unable to find field CountryIdx
> QSqlQuery::value: not positioned on a valid record
> QSqlQuery::exec: database not open
> QSqlRecord::position: unable to find field TZFile
> QSqlQuery::value: not positioned on a valid record
> KCrash: Application 'skylendar' crashing...
> Terminated
>
> TIA

Again, read the requirements. The log clearly shows that you don't
have the qt driver for postgresql, only the one for mysql. Install it
and re-run sk.

Thanks skylendar, I was looking for a QT3 package but it turned out to be a QT4 package.


Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
Hi Dusan, I am using PcLinux 2007 and yes I was able to get skylendar to compile and run. If you haven't compiled any kde applications before then you have to have the basic compiling tools gcc, gcc+, glib etc as well as the development libraries for qt and kde installed. All the required files are available via Synaptic repositories. The specific file that I hadn't installed was qt4-database-plugin-pgsql-lib which is the qt driver for the pgsql database and the reason that I was getting the errors that I noted. The other problem that I had was when I installed the glyph font file via the kde control center it put it in /usr/local/share/ fonts. I had to create a new directory /usr/share/fonts/skylendar and move the files there. I still am having a problem with the ephemeris not providing the correct information but am working on it. Let me know if you have any further problems and I'll try to help.

#48 From: "copyliu2002" <copyliu@...>
Date: Wed Aug 22, 2007 6:09 am
Subject: skylander Crashed!
copyliu2002
Send Email Send Email
 
My system is Arch , with KDE 3.5.7


when i login to database.

QSqlRecord::position: unable to find field CountryIdx
QSqlQuery::value: not positioned on a valid record
QSqlRecord::position: unable to find field TZFile
QSqlQuery::value: not positioned on a valid record
KCrash: Application 'skylendar' crashing...


Crash report.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1231632128 (LWP 13356)]
[KCrash handler]
#6  *__GI_strncpy (s1=0x81af173 "", s2=0x0, n=80) at strncpy.c:41
#7  0x080b554a in AstroResources::SetDefZFile ()
#8  0x080f1b05 in AstroApp::AstroApp ()
#9  0x080f1dee in main ()



what can i do ?

#49 From: "skylendar" <skylendar@...>
Date: Thu Aug 23, 2007 2:05 pm
Subject: Re: skylander Crashed!
skylendar
Send Email Send Email
 
--- In skylendar@yahoogroups.com, "copyliu2002" <copyliu@...> wrote:
>
> My system is Arch , with KDE 3.5.7
>
>
> when i login to database.
>
> QSqlRecord::position: unable to find field CountryIdx
> QSqlQuery::value: not positioned on a valid record
> QSqlRecord::position: unable to find field TZFile
> QSqlQuery::value: not positioned on a valid record
> KCrash: Application 'skylendar' crashing...
>
>
> Crash report.
>
> Using host libthread_db library "/lib/libthread_db.so.1".
> [Thread debugging using libthread_db enabled]
> [New Thread -1231632128 (LWP 13356)]
> [KCrash handler]
> #6  *__GI_strncpy (s1=0x81af173 "", s2=0x0, n=80) at strncpy.c:41
> #7  0x080b554a in AstroResources::SetDefZFile ()
> #8  0x080f1b05 in AstroApp::AstroApp ()
> #9  0x080f1dee in main ()
>
>
>
> what can i do ?
>

edit the script installskydb. Modify the variable PGDATA with the
path of the file pg_hba.conf, i.e. "export PGDATA=xxx" where xxx is
the wnated path.

Try that. It should work.

C.

#50 From: "Copy Liu" <copyliu@...>
Date: Thu Aug 30, 2007 9:48 am
Subject: Re: Re: skylander Crashed!
copyliu2002
Send Email Send Email
 
oh...
i run the script installskydb manually, in the last step.it outputed:
[root@CopyliuPC src]# su -c "createdb -E utf-8 skylendar"   skylendar
CREATE DATABASE
[root@CopyliuPC src]# su -c "createlang plpgsql skylendar"  postgres
[root@CopyliuPC src]# su -c "psql -f installskydb.sql skylendar" skylendar
CREATE FUNCTION
psql:installskydb.sql :48: ERROR:  syntax error at or near "Nb"
LINE 5:  Nb INTEGER;
         ^
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:installskydb.sql:491: NOTICE:  Initial Level (1.2)
psql:installskydb.sql:491: NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "data_pkey" for table "data"
CONTEXT:  SQL statement "CREATE TABLE Data ( Idx Int4 PRIMARY KEY, Name VARCHAR NOT NULL, BirthDay DATE NOT NULL, BirthTime TIME NOT NULL, Gender CHAR NOT NULL, ChartType Int2 DEFAULT 1, Daylight BOOL DEFAULT 'f', TimeZone NUMERIC(5, 2) DEFAULT ' 0.0', Comment TEXT, PlaceIdx Int4 NOT NULL )"
PL/pgSQL function "initskydb" line 11 at SQL statement
psql:installskydb.sql:491: ERROR:  date/time field value out of range: "1-1-2000"
HINT:  Perhaps you need a different "datestyle" setting.
CONTEXT:  SQL statement "INSERT INTO Data (Idx, Name, BirthDay, BirthTime, Gender, ChartType, PlaceIdx) VALUES (NEXTVAL('Data_Idx_Seq'), 'Default Data', '1-1-2000', '12:00', 'N', 1, 1)"
PL/pgSQL function "initskydb" line 35 at SQL statement
You are now connected to database "skylendar" as user "postgres".
psql:installskydb.sql:494: ERROR:  role "skyusers" already exists
You are now connected to database "skylendar" as user "skylendar".
psql:installskydb.sql:497: ERROR:  relation "data" does not exist
psql:installskydb.sql:499: ERROR:  relation "typeicons" does not exist
GRANT
psql:installskydb.sql:505: ERROR:  relation "vdata" does not exist
psql:installskydb.sql:508: ERROR:  relation "data" does not exist
psql:installskydb.sql:511: ERROR:  relation "restrictions" does not exist
DROP FUNCTION
DROP FUNCTION
DROP FUNCTION
psql:installskydb.sql:516: ERROR:  function isfunction(character varying) does not exist
You are now connected to database "skylendar" as user "postgres".
ANALYZE

looks like cannot import the SQL file.
>_<

2007/8/23, skylendar <skylendar@...>:

--- In skylendar@yahoogroups.com, "copyliu2002" <copyliu@...> wrote:
>
> My system is Arch , with KDE 3.5.7
>
>
> when i login to database.
>
> QSqlRecord::position: unable to find field CountryIdx
> QSqlQuery::value: not positioned on a valid record
> QSqlRecord::position: unable to find field TZFile
> QSqlQuery::value: not positioned on a valid record
> KCrash: Application 'skylendar' crashing...
>
>
> Crash report.
>
> Using host libthread_db library "/lib/libthread_db.so.1".
> [Thread debugging using libthread_db enabled]
> [New Thread -1231632128 (LWP 13356)]
> [KCrash handler]
> #6 *__GI_strncpy (s1=0x81af173 "", s2=0x0, n=80) at strncpy.c:41
> #7 0x080b554a in AstroResources::SetDefZFile ()
> #8 0x080f1b05 in AstroApp::AstroApp ()
> #9 0x080f1dee in main ()
>
>
>
> what can i do ?
>

edit the script installskydb. Modify the variable PGDATA with the
path of the file pg_hba.conf, i.e. "export PGDATA=xxx" where xxx is
the wnated path.

Try that. It should work.

C.




--
<Firefox> 我支持 我喜欢 我信赖

Messages 20 - 50 of 142   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help