This forum is for users to receive help with problems with PsychoStats version 3.x. Any off-topic posts will be moved or deleted without warning. General questions should be directed at the General discussion forum instead.
Please be sure to include as much information as you can regarding your problem. ALWAYS use detailed topic titles! Also, Screen shots or links to your malfunctioning websites help. Failure to provide enough detail or evidence of your trouble may result in delayed or no response.
![]() ![]() |
Feb 26 2008, 05:45 PM
Post
#1
|
|
|
PsychoInfant Group: Members Posts: 2 Joined: 26-February 08 Member No.: 67,958 |
ok this is just stumping me i have reinstalled psychostats several times, and wamp severaltimes and activeperl several times, and i cant figure out whats causing this error. it keeps saying that it cant find the DBD::mysql package i am running the latest Wamp with active perl 5.8.8
|
|
|
|
Feb 26 2008, 05:47 PM
Post
#2
|
|
|
PsychoInfant Group: Members Posts: 3 Joined: 26-February 08 Member No.: 67,957 |
haha thats funny i just did that a few minutes ago, wat u need to do is
start>>>Run>>>> and type this in: ppm install DBD::mysql and it shoud go and fetch sum files and install them |
|
|
|
Feb 26 2008, 05:57 PM
Post
#3
|
|
|
PsychoInfant Group: Members Posts: 2 Joined: 26-February 08 Member No.: 67,958 |
i did, and it installed just fine however when i try to run the stats.pl file it cant find it
|
|
|
|
Feb 27 2008, 11:28 AM
Post
#4
|
|
![]() PsychoGeneral Group: Administrators Posts: 20,578 Joined: 28-March 01 From: Silver Spring, MD Member No.: 1 |
You probably didn't actually install it. You probably installed one of the other DBD-MysqlXX modules which are not the same.
If you're running ActiveState Perl 5.10, apparently they don't have all their modules updated, or in a different location that I can't find. Do this at a command prompt: Perl 5.10: CODE ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/DBD-mysql.ppd Perl 5.8: CODE ppm install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd The uwinnipeg.ca site has been supplying PPM's for a long time now, so it's safe. -------------------- Stormtrooper
Before posting new questions please do the following:
|
|
|
|
Mar 11 2008, 12:49 PM
Post
#5
|
|
![]() PsychoGeneral Group: Administrators Posts: 20,578 Joined: 28-March 01 From: Silver Spring, MD Member No.: 1 |
-------------------- Stormtrooper
Before posting new questions please do the following:
|
|
|
|
Feb 25 2009, 09:31 AM
Post
#6
|
|
|
PsychoNewb Group: Members Posts: 6 Joined: 24-February 09 From: Ukraine Member No.: 70,231 |
Hi all,
Guys may I ask you to help me ? I've got: Win XP SP3 WampServer 2.0f Psychostats 3.1 First I installed ActivePerl5.10.0. DBD-mysql was not installed on Perl ignitially, but DBI module was there. I installed DBD-mysql as per FAQ. And it installed but when I run psychostats.bat it tells me it can't find DBD::mysql module. Then I tried to instal Perl 5.8.9.825 and also installed DBD-mysql. Same problem. I will be very grateful if somebody can help me. Thanks in avance. P.S. I checked similar topics but didn't get solutions. The very alike was about the same problem but *nix OS. So hope u can help me. |
|
|
|
Feb 25 2009, 10:12 AM
Post
#7
|
|
|
PsychoNewb Group: Members Posts: 47 Joined: 16-October 06 Member No.: 60,977 |
active perl 5.8.0 Works everything is in the ppm I had the same problems.
Did you try what Stormtrooper posted. I wish I had that last time I reinstalled everything on a win server. |
|
|
|
Feb 25 2009, 10:18 AM
Post
#8
|
|
|
PsychoNewb Group: Members Posts: 6 Joined: 24-February 09 From: Ukraine Member No.: 70,231 |
Yep, tried. Actually modules installed without problems. And I can see it over the PPM, but Psycho tells me it can't find it. The same was on both ActivePerl 5.10 and 5.8
|
|
|
|
Feb 25 2009, 12:42 PM
Post
#9
|
|
![]() PsychoGeneral Group: Administrators Posts: 20,578 Joined: 28-March 01 From: Silver Spring, MD Member No.: 1 |
Don't confuse the DBD-mysqlPP module with the DBD-mysql module. They are completely different. Unless you setup the repository as explained in the PPM docs then you most likely installed the DBD-mysqlPP module instead.
-------------------- Stormtrooper
Before posting new questions please do the following:
|
|
|
|
Feb 25 2009, 01:07 PM
Post
#10
|
|
|
PsychoNewb Group: Members Posts: 6 Joined: 24-February 09 From: Ukraine Member No.: 70,231 |
Nope, I am not pro in Perl but I am not so silly )
I installed DBD-mysql nad no DBD-mysqlPP or else. I installed from the source you provide eralier and also mentioned in FAQ. That is problem. It is installed but Psych don't see it. I have no idea where problem can be. Maybe problem in location ? Is there any general rules I should follow installing WAMP Perl and Psych ? I know rules about Psych location files (lib folder, stats.pl ets). Also why I am installing DBD-mysql and Psychostats checking for DBD::mysql ? Is it ok that names are different I mean "-" and "::" ? |
|
|
|
Feb 25 2009, 01:34 PM
Post
#11
|
|
![]() PsychoGeneral Group: Administrators Posts: 20,578 Joined: 28-March 01 From: Silver Spring, MD Member No.: 1 |
Chances are you have 2 versions or copies of perl installed and each looks for modules in different locations. This is a semi-common problem for some linux systems, but not so usual for Windows.
DBD-mysql and DBD::mysql are essentially the same thing. ActiveState simply refers to their packages w/o the double :: colons. Once DBD-mysql is installed its seen by perl as DBD::mysql. -------------------- Stormtrooper
Before posting new questions please do the following:
|
|
|
|
Feb 25 2009, 02:39 PM
Post
#12
|
|
|
PsychoNewb Group: Members Posts: 6 Joined: 24-February 09 From: Ukraine Member No.: 70,231 |
No, there is only one ActivePerl installed.
Stormtrooper, I suppose here is where no ideas anymore unfortunately. To be honest I read some of Perl and MySQL forums and still have no idea where is the problem. May I ask you then if you have Win OS to give me (upload to some file server) Active Perl with installed DBD-mysql module. I suppose maybe if I will just overwrite it then maybe it will start work. |
|
|
|
Feb 26 2009, 07:37 PM
Post
#13
|
|
![]() PsychoGeneral Group: Administrators Posts: 20,578 Joined: 28-March 01 From: Silver Spring, MD Member No.: 1 |
Open a DOS prompt (start menu -> run -> "cmd") and type in the following and report what you get:
CODE perl -MDBD::mysql -e 'print $DBD::mysql::VERSION' If you get an error then the module is most definitely not installed. If you get a version number back (something like 3.0008) then the module is installed and you can try to run stats.pl by creating a shortcut that runs perl like this: CODE c:\full\path\to\perl\bin\perl.exe c:\full\path\to\stats.pl -v
-------------------- Stormtrooper
Before posting new questions please do the following:
|
|
|
|
Feb 27 2009, 07:21 AM
Post
#14
|
|
|
PsychoNewb Group: Members Posts: 15 Joined: 21-December 04 Member No.: 28,950 |
ok this is just stumping me i have reinstalled psychostats several times, and wamp severaltimes and activeperl several times, and i cant figure out whats causing this error. it keeps saying that it cant find the DBD::mysql package i am running the latest Wamp with active perl 5.8.8 For debian try: CODE sudo apt-get install libclass-dbi-mysql-perl
-------------------- Veterans Of America CS:Source www.voanet.com
|
|
|
|
Feb 27 2009, 02:24 PM
Post
#15
|
|
|
PsychoNewb Group: Members Posts: 6 Joined: 24-February 09 From: Ukraine Member No.: 70,231 |
Stormtrooper, tnx. But I solved the problem. I found on one of the Russians forum ActivePerl-5.10.0.1004-MSWin32-x86-287188 in archive with all required modules. Thus I installed ActivePerl-5.10.0.1004-MSWin32-x86-287188 then unpacked those archive over and it works fine. One more time thanks for your attention and time.
|
|
|
|
Mar 22 2009, 01:36 PM
Post
#16
|
|
|
PsychoInfant Group: Members Posts: 1 Joined: 22-March 09 Member No.: 70,393 |
well your help files is missing i want to read info about dbd::mysql. When i run stats.pl it's give error. In ppm i have dbd::mysqllite so is i still need dbd::mysql? after have dbd::mysqllite if yes so where i can get it?
sorry for bad English |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 2nd September 2010 - 08:21 AM |